# XWUIChartPolynomial

XWUIChartPolynomial wraps XWUIChart with the chart `type` fixed to `'polynomial'`, plotting one or more `{series}` and fitting a smooth polynomial curve through their points. Use it when you want to reveal the underlying curved trend in noisy or non-linear data rather than connect the raw points straight. Configure it with `block` (1-4, clamped) to pick the variant layout and `size` (`sm`, `md`, or `lg`) to set the dimensions.

## Basic Usage

This example fits two monthly series (Series A and Series B, Jan-Jun) at medium size, drawing a polynomial trend curve through each.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Two monthly series (Series A and Series B, Jan-Jun) with polynomial trend curves at medium size.
```

## Vehicle Speed vs Fuel Economy

Fuel economy plotted against cruising speed fits an inverted-U curve that peaks near 50 mph, showing efficiency falling off at both crawl and highway speeds.

```example
file: examples/SpeedVsFuelEconomy.ts
html: examples/SpeedVsFuelEconomy.html
title: Vehicle Speed vs Fuel Economy
description: Sedan fuel economy versus cruising speed fitted as an inverted-U polynomial curve.
```

## Fertilizer Dose vs Crop Yield

Winter-wheat yield against nitrogen dose fits a curve that climbs, plateaus, then dips, illustrating diminishing returns and loss from over-fertilizing.

```example
file: examples/FertilizerDoseYield.ts
html: examples/FertilizerDoseYield.html
title: Fertilizer Dose vs Crop Yield
description: Winter-wheat yield versus nitrogen dose fitted as a diminishing-returns polynomial curve.
```

```api
```
