# XWUIChartVarianceBridge

A variance-bridge chart backed by `XWUIChart` - a waterfall-style view that walks from a starting figure to an ending one through stacked positive and negative variances, used to explain what drove a change. Provide named `series` of `{ x, y }` deltas and pick a `block` (1-4) variant plus a `size` preset; legend and grid auto-toggle per block unless overridden.

## Basic Usage

Two named monthly series - `Series A` (30→64) and `Series B` (22→52) across Jan-Jun - bridged as running variances.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two monthly series drawn as a variance-bridge chart at the md preset.
```

## Budget vs Actual Cost Bridge

Bridges a fiscal-year budget to the actual spend through each signed operating-cost driver.

```example
file: examples/BudgetVarianceBridge.ts
html: examples/BudgetVarianceBridge.html
title: Budget vs Actual Cost Bridge
description: Variance bridge from $1.2M budget to $1.35M actual across labelled cost drivers, lg preset with dollar units and grid.
```

## Gross-to-Net Profit Bridge

Decomposes gross revenue down to net profit through COGS, OpEx, R&D and taxes.

```example
file: examples/RevenueToProfitBridge.ts
html: examples/RevenueToProfitBridge.html
title: Gross-to-Net Profit Bridge
description: Income-statement waterfall from gross revenue to net profit at the md preset with the block-2 variant and no legend.
```

```api
```
