Commit e6218d2
feat(kumo): add Chart component with ECharts integration (#93)
* feat(kumo): add Chart component with ECharts integration
- Add Chart, ChartPalette, and TimeseriesChart components
- Integrate Apache ECharts for data visualization
- Add accessibility improvements to Button examples (aria-labels)
- Update component registry with new Chart component
- Add demo and documentation pages
* docs: reorganize chart documentation into dedicated charts section
- Add Charts navigation section to sidebar with collapsible menu
- Split chart examples into dedicated pages (timeseries, custom)
- Create charts landing page with setup instructions and navigation
- Move chart.astro to charts/custom.astro for better organization
- Remove debug code block from ChartDemo component
* docs: add comprehensive timeseries chart examples
- Add BasicLineChartDemo showing simple time-based data
- Add IncompleteDataChartDemo demonstrating incomplete data regions
- Add TimeRangeSelectionChartDemo with interactive time range selection
- Expand timeseries page with multiple examples and usage patterns
- Include code examples for each chart variant
* refactor(kumo): split timeseriess to separate file
* refactor(docs): add small demo for chart docs index
* feat(docs): improve the chart color palette docs
* feat(kumo): add chart legend
* feat(chart): add legend inactive state
* refactor(chart): extract Color.ts, add chart package export entry
* refactor(chart): rename yAxisTickNumber to yAxisTickCount, convert ChartPalette to namespace, add JSDoc, export types
* feat(chart): add yAxisTickLabelFormat prop and xAxisTickCount wiring
Adds a yAxisTickLabelFormat callback to TimeseriesChart for custom y-axis tick label formatting, wires xAxisTickCount to the x-axis splitNumber, applies the formatter in tooltips, and adds a CustomXAxisLabelFormat demo with docs.
* feat(chart): add gradient prop to TimeseriesChart with docs example
* feat(chart): add loading state with animated sine-wave skeleton to TimeseriesChart
* chore: add changeset for TimeseriesChart component
* refactor(chart): remove unused cn import from TimeseriesChart
---------
Co-authored-by: geoquant <1237781+geoquant@users.noreply.github.com>1 parent 3170d65 commit e6218d2
File tree
19 files changed
+2270
-12
lines changed- .changeset
- packages
- kumo-docs-astro
- src
- components
- demos/Chart
- pages/charts
- kumo
- src
- components/chart
- styles
19 files changed
+2270
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
242 | 249 | | |
243 | 250 | | |
244 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
245 | 290 | | |
246 | 291 | | |
247 | 292 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments