# XWUIChartGantt

A Gantt-type chart that is a thin wrapper over the shared `XWUIChart` engine, forcing `type: "gantt"` and feeding it the component's `data.series` (plus optional `data.nodes` / `data.links`). It sizes the canvas from a `size` config of `sm` (320×220), `md` (400×300, default), or `lg` (560×360), and supports a `block` slot (1-4) that drives default legend/grid behavior. It also forwards the full set of chart toggles - `showLegend`, `showGrid`, `showXAxis`/`showYAxis`/`showZAxis`, `showTitle`, `showDataLabels`, `interactive`, `use3D`, `lineWeight`, `lineStyle`, `lineArrows`, and more - straight through to the underlying chart.

## Basic Usage

Two named series ("Series A" and "Series B") of six monthly `{ x, y }` points each (Jan-Jun), rendered at the default `md` size.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A medium-size Gantt chart fed two six-point monthly series (Series A and Series B).
```

## Task Timeline

A single-series timeline mapping each release phase to its duration in days.

```example
file: examples/TaskTimeline.ts
html: examples/TaskTimeline.html
title: Task Timeline
description: A large single-series timeline of release-phase durations with X-axis labels and a day unit.
```

## Styled Tracks

Two work tracks across four sprints with legend, data labels, and grid values turned on.

```example
file: examples/StyledTracks.ts
html: examples/StyledTracks.html
title: Styled Tracks
description: A two-series sprint chart with the legend, per-point data labels, and Y grid values enabled.
```

```api
```
