# XWUIChartAny

A strategy-pattern chart that picks which concrete `XWUIChart<Type>` renderer to instantiate from `config.type` (e.g. `'Line'`, `'Bar'`, `'AccelerationTime'`), letting you switch chart shape at runtime - from JSON, a form, or over the wire - without code changes. It defaults to a line chart, forwards live data/config updates to the active child, and throws (no silent fallback) when a requested type can't be resolved.

## Basic Usage

Standard two-series data rendered through the default (`Line`) strategy.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two monthly series rendered via the default line strategy of the Any chart.
```

## Traffic Sources as a Pie

The Any-chart switched to a pie via `config.type`, splitting sessions by channel - one field flip re-renders as bars or a donut.

```example
file: examples/TrafficSourcePie.ts
html: examples/TrafficSourcePie.html
title: Traffic Sources as a Pie
description: Session share by channel rendered through the Any chart's Pie strategy.
```

## Revenue Bars with Target Line

The Any-chart resolved to a bar renderer with a declarative `lineY` annotation marking the quarterly target.

```example
file: examples/RevenueBarTarget.ts
html: examples/RevenueBarTarget.html
title: Revenue Bars with Target Line
description: Quarterly revenue via the Bar strategy with a target reference-line annotation.
```

```api
```
