Docs
API
Public entry points for high-level charts and primitives.
High-level charts
| Chart | Import |
| ------- | ---------------------------------------------------------------------------- |
| Line | @kamod-ch/charts/line → LineChart |
| Area | @kamod-ch/charts/area → AreaChart |
| Bar | @kamod-ch/charts/bar → BarChart |
| Pie | @kamod-ch/charts/pie → PieChart |
| Donut | @kamod-ch/charts/donut → DonutChart |
| Scatter | @kamod-ch/charts/scatter → ScatterChart |
| Motion | @kamod-ch/charts/motion → animated charts, MotionConfig, AnimatedValue |
Root import @kamod-ch/charts re-exports the same high-level charts plus primitives. It does not load @kamod-ch/motion.
Detail pages
Primitives and modules
Useful public modules when composing custom charts:
@kamod-ch/charts/core—Chart,ResponsiveContainer, layout helpers@kamod-ch/charts/series—LineSeries,AreaSeries,BarSeries,PieSeries,ScatterSeries,StackedLineSeries, stack helpers@kamod-ch/charts/primitives—Grid,Legend,Tooltip,ReferenceLine,ReferenceArea,ReferencePoint,Crosshair,LiveRegion@kamod-ch/charts/axes—XAxis,YAxis@kamod-ch/charts/accessibility—DataTable,buildChartDescription@kamod-ch/charts/theme.css— semantic chart tokens
Prop tables on chart pages list the most important fields. For completeness, rely on the TypeScript definitions shipped with the package.