# XWUIChartRegression

A regression chart: a fixed-type wrapper around `XWUIChart` that overlays a fitted trend
line on the plotted series so you can see the modelled relationship alongside the raw
values. Pass your data as `series` of `{ x, y }` values plus an optional `block` preset
(1-4) and `size` (`sm` / `md` / `lg`); the shared block config also forwards
legend, grid, axis, data-label, and tooltip toggles. Use it to show how well a trend
explains the data.

## Basic Usage

Two named series of monthly values rendered with a fitted regression line at the medium
size preset.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two monthly series with a fitted trend line via the regression chart type.
```

## Ad Spend vs Sales

Monthly advertising spend plotted against sales revenue, with a fitted line that captures the positive return on each extra dollar spent.

```example
file: examples/AdSpendSales.ts
html: examples/AdSpendSales.html
title: Ad Spend vs Sales
description: Marketing spend against revenue with a positive-slope regression fit.
```

## House Size vs Price

Home living area in square feet plotted against listing price, the regression line estimating the dollars-per-square-foot trend.

```example
file: examples/HouseSizePrice.ts
html: examples/HouseSizePrice.html
title: House Size vs Price
description: Floor area against listing price with a fitted price-per-square-foot line.
```

```api
```
