Components
Components
LineChart
Multi-series line chart with optional tooltip.
newfree
Install
@hewnui/ui · @hewnui/themes · hewnui
First install? Follow Getting started for peers, CSS and providers.
LineChart plots one or more series with theme-token colors, grid/axis labels,
and draw-in motion. Use LineChart.Tooltip for point details.
Usage
States
loading, empty, and error via the status prop (empty also when series
have no points).
Accessibility
role="img" plus required summary. Points are keyboard-focusable when a
tooltip is used.
API reference
Props for LineChart from @hewnui/ui/line-chart. Generated from component types — not hand-written.
Prop
Type