Multi-Series Comparison
Compare multiple product lines across time with lines, stacked bars, and area charts.
Implementation
import { LineChart, StackedBarChart, PieChart } from "@chartts/react"
<div className="space-y-6">
<LineChart data={revenue} x="month" y={products} className="h-72" />
<div className="grid grid-cols-2 gap-4">
<StackedBarChart data={quarterly} x="quarter" y={products} className="h-72" />
<PieChart data={share} value="revenue" label="product" className="h-72" />
</div>
</div>