# XWUIChartCalibrationPlot

A calibration plot (same family as a calibration curve: it bins predictions and plots the mean predicted value against the actual outcome rate to assess how well a probabilistic model is calibrated): a fixed-type wrapper around `XWUIChart` that renders one plotted series per group for direct comparison. Pass each group as a `series` of `{ x, y }` values plus a `block` preset (1-4) and `size` (`sm` / `md` / `lg`); the shared block config also exposes legend, grid, axis, data-label, and tooltip-formatter toggles. Use it to spot where a model is over- or under-confident.

## Basic Usage

Two monthly `{ x, y }` series, "Series A" and "Series B", plotted as calibration bins at the md size preset.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A calibration plot binning two monthly series of predicted-versus-actual values.
```

## Credit Default Calibration

A lending scorecard's predicted default probability plotted against the realized default rate across score bands.

```example
file: examples/CreditDefault.ts
html: examples/CreditDefault.html
title: Credit Default Calibration
description: Predicted default probability against realized default rate across credit score bands.
```

## Clinical Risk Calibration

Predicted patient risk versus observed event rate for the development and validation cohorts, compared in block 2.

```example
file: examples/RiskScore.ts
html: examples/RiskScore.html
title: Clinical Risk Calibration
description: Predicted risk against observed event rate for dev and validation cohorts in block 2.
```

```api
```
