TheDocumentation Index
Fetch the complete documentation index at: https://genui.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
chart template renders interactive charts using Chart.js configuration.
Not the same as the
Chart component in @std/dynamic. The top-level chart template and the Chart component used inside an @std/dynamic tree are rendered by two different components with different prop shapes — components/templates/ChartRenderer.tsx for the top-level template, and the entry in lib/json-render/catalog.ts for @std/dynamic. If you’re composing a dashboard, use the shape documented in Dynamic Template. A payload that renders correctly in one context will not work in the other.Content Schema
Chart type:
bar, line, pie, doughnut, radar, polarArea, scatter, bubbleChart.js data configuration with
labels and datasetsChart.js options for customization (scales, plugins, etc.)
Supported Chart Types
| Type | Description |
|---|---|
bar | Vertical or horizontal bar charts |
line | Line charts with optional fill |
pie | Pie charts |
doughnut | Doughnut charts |
radar | Radar/spider charts |
polarArea | Polar area charts |
scatter | Scatter plots |
bubble | Bubble charts |
Example: Bar Chart
Example: Line Chart with Multiple Datasets
Example: Pie Chart
Use Cases
- Analytics dashboards: Traffic, revenue, user metrics
- Reports: Visual data summaries
- Comparisons: Before/after, year-over-year
- Distributions: Market share, survey results