Components / AI components / Forms & generated UI
Generative UIExperimental alpha

Chart

Bounded bar, line and area charts with aligned series, gap semantics and equivalent data.

Chart preview

Loading example…

Interactions use local sample data.

Usage and props

Supply aligned immutable measured data, null for unreported samples, units and provenance. Acknowledge series selection with props. Up to four series of 60 points; equivalent data remains complete.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

title · points or series · unit · source · state · hiddenSeries · onSeriesVisibilityChange
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard