# XWUIChartPareto

A Pareto chart backed by `XWUIChart` that pairs descending bars with a cumulative-percentage line, the standard tool for finding the vital few categories that drive most of the total (the 80/20 view). Provide named `series` of `{ x, y }` points and pick a `block` (1-4) variant plus a `size` preset; legend and grid auto-toggle per block unless overridden.

## Basic Usage

Two named series - `Series A` (30→64) and `Series B` (22→52) across Jan-Jun - combined into sorted bars with a cumulative line.

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

## Manufacturing Defect Causes

A single-series Pareto of quarterly assembly-line defects that ranks causes high-to-low and overlays a cumulative line to spotlight the vital few.

```example
file: examples/DefectCauses.ts
html: examples/DefectCauses.html
title: Manufacturing Defect Causes
description: Assembly-line defect counts sorted descending with a cumulative-percentage line.
```

## Customer Complaint Reasons

Support tickets for March grouped by complaint reason and ranked as a Pareto so the team can prioritize the largest sources of frustration.

```example
file: examples/ComplaintReasons.ts
html: examples/ComplaintReasons.html
title: Customer Complaint Reasons
description: March support-ticket reasons ranked descending with data labels.
```

```api
```
