Composed charts

Bars, lines and areas layered in a single ComposedChart. A dual-axis example maps two independent scales onto left and right Y-axes.

$bunx shadcn@latest add @nx-ui/chart
Registry item
Installs withutils

Dual-axis bar + line

Diverted tonnage as bars on the left axis, with the diversion-rate percentage tracked as a line on the right axis.

Bars over an area

Weekly completed movements as bars, with the outstanding backlog shaded behind them on the same axis.

API reference

Exported parts and their props, extracted from the component source.