# XWUIChartDrilldown

A drilldown chart variant backed by `XWUIChart` that starts from a summary view and lets a click expand a category into its underlying detail series, keeping a high-level overview and the breakdown in one place. Provide named `series` of `{ x, y }` points and choose a `block` (1-4) and `size` preset.

## Basic Usage

Two named monthly series (Series A and Series B), each spanning Jan through Jun, shown as the drillable top level.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two six-month series rendered as a drilldown chart at the md preset.
```

## Revenue by Region then Country

Regional revenue across six months as the summary level, set up to drill from each region down into its countries.

```example
file: examples/RevenueByRegion.ts
html: examples/RevenueByRegion.html
title: Revenue by Region then Country
description: Americas/EMEA/APAC monthly revenue at the lg preset with legend, x-axis labels and a "k" unit.
```

## Traffic by Channel

Weekly traffic broken out by acquisition channel, the overview a click drills into per-campaign.

```example
file: examples/TrafficByChannel.ts
html: examples/TrafficByChannel.html
title: Traffic by Channel
description: Organic/Paid/Referral series across six weeks with data labels, legend and a "k" unit.
```

```api
```
