# XWUIChartRollingAverage

A rolling-average chart: a fixed-type wrapper around `XWUIChart` that smooths a time series
with a moving average so short-term noise drops away and the underlying trend stands out.
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 when the trend matters more than the jitter.

## Basic Usage

Two named series of monthly values rendered as smoothed rolling-average lines at the medium
size preset.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two monthly series smoothed into trend lines via the rollingAverage chart type.
```

## Daily Signups vs 7-Day Rolling Average

Spiky daily signups overlaid by a true 7-day trailing mean, so the growth trend reads through the weekend noise.

```example
file: examples/SignupsRolling7Day.ts
html: examples/SignupsRolling7Day.html
title: Daily Signups vs 7-Day Rolling Average
description: Raw daily signups against a computed 7-day moving average on a shared day axis.
```

## Stock Close vs 30-Day Moving Average

Two years of monthly closing prices with a trailing moving average that crosses the price at each trend turn.

```example
file: examples/StockMovingAverage.ts
html: examples/StockMovingAverage.html
title: Stock Close vs 30-Day Moving Average
description: Monthly share-price close versus a trailing moving average as a trend signal.
```

```api
```
