Skip to content

Line Chart

Basic line chart with tooltip and crosshair:

PreviewCode
RTL

Multi-series Line Chart

Multiple lines with different curves:

PreviewCode
RTL

Legend — Line Chart

Add legend: true to label each series below the chart:

PreviewCode
RTL

Bar Chart

Grouped bar chart comparing categories:

PreviewCode
RTL

Stacked Bar Chart

Bar chart with variant: 'stacked' — series stack vertically per category:

PreviewCode
RTL

Horizontal Bar Chart

Bar chart with variant: 'grouped-horizontal' — categories on the Y axis, values on the X axis:

PreviewCode
RTL

Horizontal Stacked Bar Chart

Use variant: 'stacked-horizontal' — horizontal bars stacked per category:

PreviewCode
RTL

Legend — Bar Chart

Grouped bar chart with a legend positioned at the top:

PreviewCode
RTL

Area Chart

Filled area with monotone curve and low opacity:

PreviewCode
RTL

Legend — Area Chart

Multi-series area chart with a bottom legend:

PreviewCode
RTL

Step Line Chart

Line chart with step interpolation:

PreviewCode
RTL

Reactive Chart

Chart that updates when signal data changes:

PreviewCode
RTL

Reactive Bar Chart

Bar chart that updates when signal data changes, with stagger animation on new bars:

PreviewCode
RTL

Event Hooks

Using onHover and onClick to react to chart interactions:

PreviewCode
RTL

Pie Chart

Basic pie chart with labeled slices:

PreviewCode
RTL

Donut Chart

Donut chart with tooltip:

PreviewCode
RTL

Semi-circle Donut

Semicircle donut — useful for gauges and progress indicators:

PreviewCode
RTL

Sparkline — Line

Minimal inline sparkline inside a table cell or card:

PreviewCode
RTL

Sparkline — Area

Area variant with fill:

PreviewCode
RTL

Sparkline — Bar

Bar variant — one rect per value:

PreviewCode
RTL

Sparkline — Reactive

Sparkline that updates when signal data changes:

PreviewCode
RTL

Sparkline — Stack

Horizontal stacked bar — proportional segments with per-segment colors:

PreviewCode
RTL

Custom Tooltip

Rich HTML tooltip with custom formatting:

PreviewCode
RTL

Pie Chart with Plugin

A donut chart that installs a custom plugin to draw a total count label in the center hole:

PreviewCode
RTL