Repository navigation
Commit 7bebd3a
committed
Add LineChartNode, a data-driven line chart node
LineChartNode (type lineChart) and LineChartProperties: a series read from
variables['data'] through xField/yField (numbers or wall-clock dates), an
optional domain, plot insets, bands, y ticks, area gradient, area bands,
a polyline or Catmull-Rom curve, reference lines, x ticks, markers,
vertical lines and a scrub readout. List bindings and their JSON shapes
are documented on the class. Properties decode with defaults when
missing, and default text style paints have fixed ids so defaults compare
equal.
Register it with NodeJsonConverter, cover it in the every-node-type
round-trip test and add JSON round-trip and default tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F3B1XCZZ7QGvZLUGgSG5H41 parent cd38fe3 commit 7bebd3a
7 files changed
Lines changed: 1221 additions & 0 deletions
File tree
- lib/src/api
- nodes
- test
- nodes/display
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
1 | 9 | | |
2 | 10 | | |
3 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments