semiotic 3.5.1 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +26 -23
- package/README.md +27 -21
- package/ai/chartSuggestions.cjs +191 -3
- package/ai/componentMetadata.cjs +3 -3
- package/ai/dist/mcp-server.js +266 -48
- package/ai/examples.md +68 -0
- package/ai/schema.json +914 -1
- package/ai/system-prompt.md +4 -1
- package/dist/components/ThemeProvider.d.ts +2 -2
- package/dist/components/Tooltip/FlippingTooltip.d.ts +16 -1
- package/dist/components/charts/geo/FlowMap.d.ts +13 -4
- package/dist/components/charts/index.d.ts +6 -0
- package/dist/components/charts/network/OrbitDiagram.d.ts +5 -5
- package/dist/components/charts/network/ProcessSankey.d.ts +163 -0
- package/dist/components/charts/network/SankeyDiagram.d.ts +5 -1
- package/dist/components/charts/network/processSankey/algorithm.d.ts +193 -0
- package/dist/components/charts/network/processSankey/buildScenes.d.ts +51 -0
- package/dist/components/charts/network/processSankey/ribbonInputs.d.ts +32 -0
- package/dist/components/charts/network/processSankey/streamingLayout.d.ts +71 -0
- package/dist/components/charts/network/processSankey/tooltipUtils.d.ts +41 -0
- package/dist/components/charts/ordinal/BarChart.d.ts +12 -0
- package/dist/components/charts/ordinal/DotPlot.d.ts +9 -0
- package/dist/components/charts/ordinal/GaugeChart.d.ts +20 -0
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +5 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +16 -11
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +2 -0
- package/dist/components/charts/realtime/defaultRealtimeTooltip.d.ts +19 -0
- package/dist/components/charts/shared/axisExtent.d.ts +59 -0
- package/dist/components/charts/shared/chartSpecs.d.ts +75 -0
- package/dist/components/charts/shared/colorUtils.d.ts +8 -2
- package/dist/components/charts/shared/networkUtils.d.ts +3 -5
- package/dist/components/charts/shared/radialGeometry.d.ts +99 -0
- package/dist/components/charts/shared/regressionUtils.d.ts +59 -0
- package/dist/components/charts/shared/selectionUtils.d.ts +8 -1
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +5 -0
- package/dist/components/charts/shared/tooltipUtils.d.ts +11 -0
- package/dist/components/charts/shared/types.d.ts +19 -0
- package/dist/components/charts/shared/useAreaSeriesSetup.d.ts +78 -0
- package/dist/components/charts/shared/useChartSetup.d.ts +2 -0
- package/dist/components/charts/shared/useCustomChartSetup.d.ts +1 -0
- package/dist/components/charts/shared/useEncodingDomain.d.ts +48 -0
- package/dist/components/charts/shared/useFrameImperativeHandle.d.ts +1 -1
- package/dist/components/charts/shared/useNetworkChartSetup.d.ts +150 -0
- package/dist/components/charts/shared/useOrdinalPieceStyle.d.ts +87 -0
- package/dist/components/charts/shared/useSeriesFeatures.d.ts +57 -0
- package/dist/components/charts/shared/useStreamStatus.d.ts +33 -0
- package/dist/components/charts/shared/useXYLineStyle.d.ts +69 -0
- package/dist/components/charts/shared/useXYPointStyle.d.ts +87 -0
- package/dist/components/charts/shared/withChartWrapper.d.ts +10 -3
- package/dist/components/charts/xy/AreaChart.d.ts +36 -2
- package/dist/components/charts/xy/BubbleChart.d.ts +9 -0
- package/dist/components/charts/xy/ConnectedScatterplot.d.ts +16 -0
- package/dist/components/charts/xy/DifferenceChart.d.ts +172 -0
- package/dist/components/charts/xy/LineChart.d.ts +26 -2
- package/dist/components/charts/xy/Scatterplot.d.ts +39 -1
- package/dist/components/geometry/ribbonGeometry.d.ts +76 -0
- package/dist/components/semiotic-ai.d.ts +2 -0
- package/dist/components/semiotic-network.d.ts +4 -0
- package/dist/components/semiotic-realtime.d.ts +2 -0
- package/dist/components/semiotic-utils.d.ts +4 -0
- package/dist/components/semiotic-xy.d.ts +2 -0
- package/dist/components/semiotic.d.ts +4 -4
- package/dist/components/server/renderToStaticSVG.d.ts +2 -1
- package/dist/components/server/serverChartConfigs.d.ts +3 -0
- package/dist/components/server/staticAnnotations.d.ts +1 -1
- package/dist/components/server/themeResolver.d.ts +7 -1
- package/dist/components/store/ThemeStore.d.ts +7 -1
- package/dist/components/stream/AccessibleDataTable.d.ts +2 -2
- package/dist/components/stream/GeoPipelineStore.d.ts +21 -0
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +8 -0
- package/dist/components/stream/PipelineStore.d.ts +25 -13
- package/dist/components/stream/SVGOverlay.d.ts +9 -18
- package/dist/components/stream/accessorUtils.d.ts +2 -1
- package/dist/components/stream/annotationAccessorResolver.d.ts +39 -0
- package/dist/components/stream/geoTypes.d.ts +12 -0
- package/dist/components/stream/layouts/hierarchyLayoutPlugin.d.ts +1 -1
- package/dist/components/stream/networkTypes.d.ts +11 -0
- package/dist/components/stream/ordinalTypes.d.ts +27 -1
- package/dist/components/stream/renderers/cornerRadii.d.ts +33 -0
- package/dist/components/stream/renderers/wedgePathBuilder.d.ts +56 -0
- package/dist/components/stream/types.d.ts +127 -11
- package/dist/components/stream/xySceneBuilders/areaGradient.d.ts +20 -0
- package/dist/components/stream/xySceneBuilders/barScene.d.ts +2 -2
- package/dist/components/stream/xySceneBuilders/candlestickScene.d.ts +2 -2
- package/dist/components/stream/xySceneBuilders/heatmapScene.d.ts +2 -2
- package/dist/components/stream/xySceneBuilders/lineScene.d.ts +4 -3
- package/dist/components/stream/xySceneBuilders/pointScene.d.ts +2 -2
- package/dist/components/stream/xySceneBuilders/ribbonScene.d.ts +107 -0
- package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +2 -2
- package/dist/components/stream/xySceneBuilders/types.d.ts +9 -12
- package/dist/components/stream/xySceneBuilders/waterfallScene.d.ts +2 -2
- package/dist/components/types/legendTypes.d.ts +1 -1
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +2 -0
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-network.d.ts +4 -0
- package/dist/semiotic-realtime.d.ts +2 -0
- package/dist/semiotic-recipes.min.js +1 -1
- package/dist/semiotic-recipes.module.min.js +1 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils.d.ts +4 -0
- package/dist/semiotic-utils.min.js +1 -1
- package/dist/semiotic-utils.module.min.js +1 -1
- package/dist/semiotic-xy.d.ts +2 -0
- package/dist/semiotic.d.ts +4 -4
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +23 -10
- package/dist/components/stream/xySceneBuilders/boundsScene.d.ts +0 -9
package/ai/schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"name": "semiotic",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.3",
|
|
5
5
|
"description": "React data visualization library for charts, networks, and beyond",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
@@ -93,6 +93,15 @@
|
|
|
93
93
|
]
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
+
"axisExtent": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"enum": [
|
|
99
|
+
"nice",
|
|
100
|
+
"exact"
|
|
101
|
+
],
|
|
102
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
103
|
+
"default": "nice"
|
|
104
|
+
},
|
|
96
105
|
"xLabel": {
|
|
97
106
|
"type": "string"
|
|
98
107
|
},
|
|
@@ -171,6 +180,21 @@
|
|
|
171
180
|
"type": "number",
|
|
172
181
|
"description": "Opacity of the filled area (0-1)",
|
|
173
182
|
"default": 0.3
|
|
183
|
+
},
|
|
184
|
+
"forecast": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"description": "Forecast overlay config — tagged training/observed/forecast region with optional envelope. See ForecastConfig."
|
|
187
|
+
},
|
|
188
|
+
"anomaly": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"description": "Anomaly overlay config — ±σ band + anomaly dot annotations. See AnomalyConfig."
|
|
191
|
+
},
|
|
192
|
+
"band": {
|
|
193
|
+
"type": [
|
|
194
|
+
"object",
|
|
195
|
+
"array"
|
|
196
|
+
],
|
|
197
|
+
"description": "Asymmetric min/max envelope drawn under the line. `{ y0Accessor, y1Accessor, style?, perSeries?, interactive? }` or an array of those for percentile fans. Distinct from `forecast`/`anomaly` (computed) — band is pure data passthrough. Hovered datum is enriched with `band: { y0, y1 }` and `bands: [...]`."
|
|
174
198
|
}
|
|
175
199
|
},
|
|
176
200
|
"required": [
|
|
@@ -268,6 +292,15 @@
|
|
|
268
292
|
]
|
|
269
293
|
}
|
|
270
294
|
},
|
|
295
|
+
"axisExtent": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"enum": [
|
|
298
|
+
"nice",
|
|
299
|
+
"exact"
|
|
300
|
+
],
|
|
301
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
302
|
+
"default": "nice"
|
|
303
|
+
},
|
|
271
304
|
"xLabel": {
|
|
272
305
|
"type": "string"
|
|
273
306
|
},
|
|
@@ -334,6 +367,21 @@
|
|
|
334
367
|
"lineWidth": {
|
|
335
368
|
"type": "number",
|
|
336
369
|
"default": 2
|
|
370
|
+
},
|
|
371
|
+
"forecast": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"description": "Forecast overlay config — tagged training/observed/forecast region with optional envelope. See ForecastConfig."
|
|
374
|
+
},
|
|
375
|
+
"anomaly": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"description": "Anomaly overlay config — ±σ band + anomaly dot annotations. See AnomalyConfig."
|
|
378
|
+
},
|
|
379
|
+
"band": {
|
|
380
|
+
"type": [
|
|
381
|
+
"object",
|
|
382
|
+
"array"
|
|
383
|
+
],
|
|
384
|
+
"description": "Asymmetric min/max envelope drawn under the area. See LineChart.band — same shape, same enrichment."
|
|
337
385
|
}
|
|
338
386
|
},
|
|
339
387
|
"required": [
|
|
@@ -431,6 +479,15 @@
|
|
|
431
479
|
]
|
|
432
480
|
}
|
|
433
481
|
},
|
|
482
|
+
"axisExtent": {
|
|
483
|
+
"type": "string",
|
|
484
|
+
"enum": [
|
|
485
|
+
"nice",
|
|
486
|
+
"exact"
|
|
487
|
+
],
|
|
488
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
489
|
+
"default": "nice"
|
|
490
|
+
},
|
|
434
491
|
"xLabel": {
|
|
435
492
|
"type": "string"
|
|
436
493
|
},
|
|
@@ -595,6 +652,15 @@
|
|
|
595
652
|
]
|
|
596
653
|
}
|
|
597
654
|
},
|
|
655
|
+
"axisExtent": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"enum": [
|
|
658
|
+
"nice",
|
|
659
|
+
"exact"
|
|
660
|
+
],
|
|
661
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
662
|
+
"default": "nice"
|
|
663
|
+
},
|
|
598
664
|
"xLabel": {
|
|
599
665
|
"type": "string"
|
|
600
666
|
},
|
|
@@ -642,6 +708,22 @@
|
|
|
642
708
|
"pointOpacity": {
|
|
643
709
|
"type": "number",
|
|
644
710
|
"default": 0.8
|
|
711
|
+
},
|
|
712
|
+
"regression": {
|
|
713
|
+
"type": [
|
|
714
|
+
"boolean",
|
|
715
|
+
"string",
|
|
716
|
+
"object"
|
|
717
|
+
],
|
|
718
|
+
"description": "Overlay a regression line. true = linear, 'linear' | 'polynomial' | 'loess' = method, or full RegressionConfig object. Sugar over the trend annotation."
|
|
719
|
+
},
|
|
720
|
+
"forecast": {
|
|
721
|
+
"type": "object",
|
|
722
|
+
"description": "Forecast overlay config — tagged future points + optional envelope. See ForecastConfig."
|
|
723
|
+
},
|
|
724
|
+
"anomaly": {
|
|
725
|
+
"type": "object",
|
|
726
|
+
"description": "Anomaly overlay config — ±σ band + anomaly dot annotations. See AnomalyConfig."
|
|
645
727
|
}
|
|
646
728
|
},
|
|
647
729
|
"required": [
|
|
@@ -739,6 +821,15 @@
|
|
|
739
821
|
]
|
|
740
822
|
}
|
|
741
823
|
},
|
|
824
|
+
"axisExtent": {
|
|
825
|
+
"type": "string",
|
|
826
|
+
"enum": [
|
|
827
|
+
"nice",
|
|
828
|
+
"exact"
|
|
829
|
+
],
|
|
830
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
831
|
+
"default": "nice"
|
|
832
|
+
},
|
|
742
833
|
"xLabel": {
|
|
743
834
|
"type": "string"
|
|
744
835
|
},
|
|
@@ -900,6 +991,15 @@
|
|
|
900
991
|
]
|
|
901
992
|
}
|
|
902
993
|
},
|
|
994
|
+
"axisExtent": {
|
|
995
|
+
"type": "string",
|
|
996
|
+
"enum": [
|
|
997
|
+
"nice",
|
|
998
|
+
"exact"
|
|
999
|
+
],
|
|
1000
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1001
|
+
"default": "nice"
|
|
1002
|
+
},
|
|
903
1003
|
"xLabel": {
|
|
904
1004
|
"type": "string"
|
|
905
1005
|
},
|
|
@@ -1026,6 +1126,15 @@
|
|
|
1026
1126
|
]
|
|
1027
1127
|
}
|
|
1028
1128
|
},
|
|
1129
|
+
"axisExtent": {
|
|
1130
|
+
"type": "string",
|
|
1131
|
+
"enum": [
|
|
1132
|
+
"nice",
|
|
1133
|
+
"exact"
|
|
1134
|
+
],
|
|
1135
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1136
|
+
"default": "nice"
|
|
1137
|
+
},
|
|
1029
1138
|
"xLabel": {
|
|
1030
1139
|
"type": "string"
|
|
1031
1140
|
},
|
|
@@ -1181,6 +1290,15 @@
|
|
|
1181
1290
|
]
|
|
1182
1291
|
}
|
|
1183
1292
|
},
|
|
1293
|
+
"axisExtent": {
|
|
1294
|
+
"type": "string",
|
|
1295
|
+
"enum": [
|
|
1296
|
+
"nice",
|
|
1297
|
+
"exact"
|
|
1298
|
+
],
|
|
1299
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1300
|
+
"default": "nice"
|
|
1301
|
+
},
|
|
1184
1302
|
"xLabel": {
|
|
1185
1303
|
"type": "string"
|
|
1186
1304
|
},
|
|
@@ -1230,6 +1348,14 @@
|
|
|
1230
1348
|
"bubbleStrokeColor": {
|
|
1231
1349
|
"type": "string",
|
|
1232
1350
|
"default": "white"
|
|
1351
|
+
},
|
|
1352
|
+
"regression": {
|
|
1353
|
+
"type": [
|
|
1354
|
+
"boolean",
|
|
1355
|
+
"string",
|
|
1356
|
+
"object"
|
|
1357
|
+
],
|
|
1358
|
+
"description": "Overlay a regression line on the bubbles. Same shape as Scatterplot's regression prop."
|
|
1233
1359
|
}
|
|
1234
1360
|
},
|
|
1235
1361
|
"required": [
|
|
@@ -1331,6 +1457,15 @@
|
|
|
1331
1457
|
]
|
|
1332
1458
|
}
|
|
1333
1459
|
},
|
|
1460
|
+
"axisExtent": {
|
|
1461
|
+
"type": "string",
|
|
1462
|
+
"enum": [
|
|
1463
|
+
"nice",
|
|
1464
|
+
"exact"
|
|
1465
|
+
],
|
|
1466
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1467
|
+
"default": "nice"
|
|
1468
|
+
},
|
|
1334
1469
|
"xLabel": {
|
|
1335
1470
|
"type": "string"
|
|
1336
1471
|
},
|
|
@@ -1486,6 +1621,15 @@
|
|
|
1486
1621
|
]
|
|
1487
1622
|
}
|
|
1488
1623
|
},
|
|
1624
|
+
"axisExtent": {
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"enum": [
|
|
1627
|
+
"nice",
|
|
1628
|
+
"exact"
|
|
1629
|
+
],
|
|
1630
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1631
|
+
"default": "nice"
|
|
1632
|
+
},
|
|
1489
1633
|
"xLabel": {
|
|
1490
1634
|
"type": "string"
|
|
1491
1635
|
},
|
|
@@ -1534,6 +1678,22 @@
|
|
|
1534
1678
|
"function"
|
|
1535
1679
|
],
|
|
1536
1680
|
"description": "Accessor for unique point IDs, used by point-anchored annotations"
|
|
1681
|
+
},
|
|
1682
|
+
"regression": {
|
|
1683
|
+
"type": [
|
|
1684
|
+
"boolean",
|
|
1685
|
+
"string",
|
|
1686
|
+
"object"
|
|
1687
|
+
],
|
|
1688
|
+
"description": "Overlay a regression line under the connected path. Same shape as Scatterplot's regression prop."
|
|
1689
|
+
},
|
|
1690
|
+
"forecast": {
|
|
1691
|
+
"type": "object",
|
|
1692
|
+
"description": "Forecast overlay config — same shape as LineChart's forecast prop."
|
|
1693
|
+
},
|
|
1694
|
+
"anomaly": {
|
|
1695
|
+
"type": "object",
|
|
1696
|
+
"description": "Anomaly overlay config — ±σ band + anomaly dot annotations."
|
|
1537
1697
|
}
|
|
1538
1698
|
},
|
|
1539
1699
|
"required": [
|
|
@@ -1631,6 +1791,15 @@
|
|
|
1631
1791
|
]
|
|
1632
1792
|
}
|
|
1633
1793
|
},
|
|
1794
|
+
"axisExtent": {
|
|
1795
|
+
"type": "string",
|
|
1796
|
+
"enum": [
|
|
1797
|
+
"nice",
|
|
1798
|
+
"exact"
|
|
1799
|
+
],
|
|
1800
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1801
|
+
"default": "nice"
|
|
1802
|
+
},
|
|
1634
1803
|
"categoryLabel": {
|
|
1635
1804
|
"type": "string"
|
|
1636
1805
|
},
|
|
@@ -1680,6 +1849,14 @@
|
|
|
1680
1849
|
"barPadding": {
|
|
1681
1850
|
"type": "number",
|
|
1682
1851
|
"default": 40
|
|
1852
|
+
},
|
|
1853
|
+
"regression": {
|
|
1854
|
+
"type": [
|
|
1855
|
+
"boolean",
|
|
1856
|
+
"string",
|
|
1857
|
+
"object"
|
|
1858
|
+
],
|
|
1859
|
+
"description": "Overlay a regression line through the bar tops. Accepts true (linear), a method ('linear' | 'polynomial' | 'loess'), or a full RegressionConfig. Pixels resolve through the band scale."
|
|
1683
1860
|
}
|
|
1684
1861
|
},
|
|
1685
1862
|
"required": [
|
|
@@ -1778,6 +1955,15 @@
|
|
|
1778
1955
|
]
|
|
1779
1956
|
}
|
|
1780
1957
|
},
|
|
1958
|
+
"axisExtent": {
|
|
1959
|
+
"type": "string",
|
|
1960
|
+
"enum": [
|
|
1961
|
+
"nice",
|
|
1962
|
+
"exact"
|
|
1963
|
+
],
|
|
1964
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
1965
|
+
"default": "nice"
|
|
1966
|
+
},
|
|
1781
1967
|
"categoryLabel": {
|
|
1782
1968
|
"type": "string"
|
|
1783
1969
|
},
|
|
@@ -1926,6 +2112,15 @@
|
|
|
1926
2112
|
]
|
|
1927
2113
|
}
|
|
1928
2114
|
},
|
|
2115
|
+
"axisExtent": {
|
|
2116
|
+
"type": "string",
|
|
2117
|
+
"enum": [
|
|
2118
|
+
"nice",
|
|
2119
|
+
"exact"
|
|
2120
|
+
],
|
|
2121
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2122
|
+
"default": "nice"
|
|
2123
|
+
},
|
|
1929
2124
|
"categoryLabel": {
|
|
1930
2125
|
"type": "string"
|
|
1931
2126
|
},
|
|
@@ -2083,6 +2278,15 @@
|
|
|
2083
2278
|
]
|
|
2084
2279
|
}
|
|
2085
2280
|
},
|
|
2281
|
+
"axisExtent": {
|
|
2282
|
+
"type": "string",
|
|
2283
|
+
"enum": [
|
|
2284
|
+
"nice",
|
|
2285
|
+
"exact"
|
|
2286
|
+
],
|
|
2287
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2288
|
+
"default": "nice"
|
|
2289
|
+
},
|
|
2086
2290
|
"categoryLabel": {
|
|
2087
2291
|
"type": "string"
|
|
2088
2292
|
},
|
|
@@ -2226,6 +2430,15 @@
|
|
|
2226
2430
|
]
|
|
2227
2431
|
}
|
|
2228
2432
|
},
|
|
2433
|
+
"axisExtent": {
|
|
2434
|
+
"type": "string",
|
|
2435
|
+
"enum": [
|
|
2436
|
+
"nice",
|
|
2437
|
+
"exact"
|
|
2438
|
+
],
|
|
2439
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2440
|
+
"default": "nice"
|
|
2441
|
+
},
|
|
2229
2442
|
"categoryLabel": {
|
|
2230
2443
|
"type": "string"
|
|
2231
2444
|
},
|
|
@@ -2383,6 +2596,15 @@
|
|
|
2383
2596
|
]
|
|
2384
2597
|
}
|
|
2385
2598
|
},
|
|
2599
|
+
"axisExtent": {
|
|
2600
|
+
"type": "string",
|
|
2601
|
+
"enum": [
|
|
2602
|
+
"nice",
|
|
2603
|
+
"exact"
|
|
2604
|
+
],
|
|
2605
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2606
|
+
"default": "nice"
|
|
2607
|
+
},
|
|
2386
2608
|
"categoryLabel": {
|
|
2387
2609
|
"type": "string"
|
|
2388
2610
|
},
|
|
@@ -2527,6 +2749,15 @@
|
|
|
2527
2749
|
]
|
|
2528
2750
|
}
|
|
2529
2751
|
},
|
|
2752
|
+
"axisExtent": {
|
|
2753
|
+
"type": "string",
|
|
2754
|
+
"enum": [
|
|
2755
|
+
"nice",
|
|
2756
|
+
"exact"
|
|
2757
|
+
],
|
|
2758
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2759
|
+
"default": "nice"
|
|
2760
|
+
},
|
|
2530
2761
|
"categoryLabel": {
|
|
2531
2762
|
"type": "string"
|
|
2532
2763
|
},
|
|
@@ -2664,6 +2895,15 @@
|
|
|
2664
2895
|
]
|
|
2665
2896
|
}
|
|
2666
2897
|
},
|
|
2898
|
+
"axisExtent": {
|
|
2899
|
+
"type": "string",
|
|
2900
|
+
"enum": [
|
|
2901
|
+
"nice",
|
|
2902
|
+
"exact"
|
|
2903
|
+
],
|
|
2904
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
2905
|
+
"default": "nice"
|
|
2906
|
+
},
|
|
2667
2907
|
"categoryLabel": {
|
|
2668
2908
|
"type": "string"
|
|
2669
2909
|
},
|
|
@@ -2814,6 +3054,15 @@
|
|
|
2814
3054
|
]
|
|
2815
3055
|
}
|
|
2816
3056
|
},
|
|
3057
|
+
"axisExtent": {
|
|
3058
|
+
"type": "string",
|
|
3059
|
+
"enum": [
|
|
3060
|
+
"nice",
|
|
3061
|
+
"exact"
|
|
3062
|
+
],
|
|
3063
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3064
|
+
"default": "nice"
|
|
3065
|
+
},
|
|
2817
3066
|
"categoryLabel": {
|
|
2818
3067
|
"type": "string"
|
|
2819
3068
|
},
|
|
@@ -2946,6 +3195,15 @@
|
|
|
2946
3195
|
]
|
|
2947
3196
|
}
|
|
2948
3197
|
},
|
|
3198
|
+
"axisExtent": {
|
|
3199
|
+
"type": "string",
|
|
3200
|
+
"enum": [
|
|
3201
|
+
"nice",
|
|
3202
|
+
"exact"
|
|
3203
|
+
],
|
|
3204
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3205
|
+
"default": "nice"
|
|
3206
|
+
},
|
|
2949
3207
|
"categoryLabel": {
|
|
2950
3208
|
"type": "string"
|
|
2951
3209
|
},
|
|
@@ -2997,6 +3255,14 @@
|
|
|
2997
3255
|
"categoryPadding": {
|
|
2998
3256
|
"type": "number",
|
|
2999
3257
|
"default": 10
|
|
3258
|
+
},
|
|
3259
|
+
"regression": {
|
|
3260
|
+
"type": [
|
|
3261
|
+
"boolean",
|
|
3262
|
+
"string",
|
|
3263
|
+
"object"
|
|
3264
|
+
],
|
|
3265
|
+
"description": "Overlay a regression line through the dots. Same shape as Scatterplot's regression prop."
|
|
3000
3266
|
}
|
|
3001
3267
|
},
|
|
3002
3268
|
"required": [
|
|
@@ -3094,6 +3360,15 @@
|
|
|
3094
3360
|
]
|
|
3095
3361
|
}
|
|
3096
3362
|
},
|
|
3363
|
+
"axisExtent": {
|
|
3364
|
+
"type": "string",
|
|
3365
|
+
"enum": [
|
|
3366
|
+
"nice",
|
|
3367
|
+
"exact"
|
|
3368
|
+
],
|
|
3369
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3370
|
+
"default": "nice"
|
|
3371
|
+
},
|
|
3097
3372
|
"data": {
|
|
3098
3373
|
"type": "array",
|
|
3099
3374
|
"description": "Array of data objects"
|
|
@@ -3213,6 +3488,15 @@
|
|
|
3213
3488
|
]
|
|
3214
3489
|
}
|
|
3215
3490
|
},
|
|
3491
|
+
"axisExtent": {
|
|
3492
|
+
"type": "string",
|
|
3493
|
+
"enum": [
|
|
3494
|
+
"nice",
|
|
3495
|
+
"exact"
|
|
3496
|
+
],
|
|
3497
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3498
|
+
"default": "nice"
|
|
3499
|
+
},
|
|
3216
3500
|
"data": {
|
|
3217
3501
|
"type": "array",
|
|
3218
3502
|
"description": "Array of data objects"
|
|
@@ -3344,6 +3628,15 @@
|
|
|
3344
3628
|
]
|
|
3345
3629
|
}
|
|
3346
3630
|
},
|
|
3631
|
+
"axisExtent": {
|
|
3632
|
+
"type": "string",
|
|
3633
|
+
"enum": [
|
|
3634
|
+
"nice",
|
|
3635
|
+
"exact"
|
|
3636
|
+
],
|
|
3637
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3638
|
+
"default": "nice"
|
|
3639
|
+
},
|
|
3347
3640
|
"value": {
|
|
3348
3641
|
"type": "number",
|
|
3349
3642
|
"description": "Current gauge value"
|
|
@@ -3365,6 +3658,10 @@
|
|
|
3365
3658
|
"description": "Arc thickness as fraction of radius (0-1)",
|
|
3366
3659
|
"default": 0.3
|
|
3367
3660
|
},
|
|
3661
|
+
"cornerRadius": {
|
|
3662
|
+
"type": "number",
|
|
3663
|
+
"description": "Pixel radius for rounded segment ends. Same semantics as DonutChart's cornerRadius. Omit for sharp corners."
|
|
3664
|
+
},
|
|
3368
3665
|
"sweep": {
|
|
3369
3666
|
"type": "number",
|
|
3370
3667
|
"description": "Arc sweep angle in degrees (gap centered at bottom)",
|
|
@@ -3480,6 +3777,15 @@
|
|
|
3480
3777
|
]
|
|
3481
3778
|
}
|
|
3482
3779
|
},
|
|
3780
|
+
"axisExtent": {
|
|
3781
|
+
"type": "string",
|
|
3782
|
+
"enum": [
|
|
3783
|
+
"nice",
|
|
3784
|
+
"exact"
|
|
3785
|
+
],
|
|
3786
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3787
|
+
"default": "nice"
|
|
3788
|
+
},
|
|
3483
3789
|
"nodes": {
|
|
3484
3790
|
"type": "array",
|
|
3485
3791
|
"description": "Array of node objects"
|
|
@@ -3662,6 +3968,15 @@
|
|
|
3662
3968
|
]
|
|
3663
3969
|
}
|
|
3664
3970
|
},
|
|
3971
|
+
"axisExtent": {
|
|
3972
|
+
"type": "string",
|
|
3973
|
+
"enum": [
|
|
3974
|
+
"nice",
|
|
3975
|
+
"exact"
|
|
3976
|
+
],
|
|
3977
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
3978
|
+
"default": "nice"
|
|
3979
|
+
},
|
|
3665
3980
|
"edges": {
|
|
3666
3981
|
"type": "array",
|
|
3667
3982
|
"description": "Array of edge objects with source, target, and value"
|
|
@@ -3849,6 +4164,15 @@
|
|
|
3849
4164
|
]
|
|
3850
4165
|
}
|
|
3851
4166
|
},
|
|
4167
|
+
"axisExtent": {
|
|
4168
|
+
"type": "string",
|
|
4169
|
+
"enum": [
|
|
4170
|
+
"nice",
|
|
4171
|
+
"exact"
|
|
4172
|
+
],
|
|
4173
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
4174
|
+
"default": "nice"
|
|
4175
|
+
},
|
|
3852
4176
|
"edges": {
|
|
3853
4177
|
"type": "array",
|
|
3854
4178
|
"description": "Array of edge objects with source, target, and value"
|
|
@@ -4014,6 +4338,15 @@
|
|
|
4014
4338
|
]
|
|
4015
4339
|
}
|
|
4016
4340
|
},
|
|
4341
|
+
"axisExtent": {
|
|
4342
|
+
"type": "string",
|
|
4343
|
+
"enum": [
|
|
4344
|
+
"nice",
|
|
4345
|
+
"exact"
|
|
4346
|
+
],
|
|
4347
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
4348
|
+
"default": "nice"
|
|
4349
|
+
},
|
|
4017
4350
|
"data": {
|
|
4018
4351
|
"type": "object",
|
|
4019
4352
|
"description": "Root node object with nested children"
|
|
@@ -4183,6 +4516,15 @@
|
|
|
4183
4516
|
]
|
|
4184
4517
|
}
|
|
4185
4518
|
},
|
|
4519
|
+
"axisExtent": {
|
|
4520
|
+
"type": "string",
|
|
4521
|
+
"enum": [
|
|
4522
|
+
"nice",
|
|
4523
|
+
"exact"
|
|
4524
|
+
],
|
|
4525
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
4526
|
+
"default": "nice"
|
|
4527
|
+
},
|
|
4186
4528
|
"data": {
|
|
4187
4529
|
"type": "object",
|
|
4188
4530
|
"description": "Root node object with nested children"
|
|
@@ -4318,6 +4660,15 @@
|
|
|
4318
4660
|
]
|
|
4319
4661
|
}
|
|
4320
4662
|
},
|
|
4663
|
+
"axisExtent": {
|
|
4664
|
+
"type": "string",
|
|
4665
|
+
"enum": [
|
|
4666
|
+
"nice",
|
|
4667
|
+
"exact"
|
|
4668
|
+
],
|
|
4669
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
4670
|
+
"default": "nice"
|
|
4671
|
+
},
|
|
4321
4672
|
"data": {
|
|
4322
4673
|
"type": "object",
|
|
4323
4674
|
"description": "Root node object with nested children"
|
|
@@ -4457,6 +4808,15 @@
|
|
|
4457
4808
|
]
|
|
4458
4809
|
}
|
|
4459
4810
|
},
|
|
4811
|
+
"axisExtent": {
|
|
4812
|
+
"type": "string",
|
|
4813
|
+
"enum": [
|
|
4814
|
+
"nice",
|
|
4815
|
+
"exact"
|
|
4816
|
+
],
|
|
4817
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
4818
|
+
"default": "nice"
|
|
4819
|
+
},
|
|
4460
4820
|
"data": {
|
|
4461
4821
|
"type": "object",
|
|
4462
4822
|
"description": "Hierarchical root object with children: { name: 'root', children: [...] }"
|
|
@@ -5442,6 +5802,15 @@
|
|
|
5442
5802
|
]
|
|
5443
5803
|
}
|
|
5444
5804
|
},
|
|
5805
|
+
"axisExtent": {
|
|
5806
|
+
"type": "string",
|
|
5807
|
+
"enum": [
|
|
5808
|
+
"nice",
|
|
5809
|
+
"exact"
|
|
5810
|
+
],
|
|
5811
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
5812
|
+
"default": "nice"
|
|
5813
|
+
},
|
|
5445
5814
|
"categoryLabel": {
|
|
5446
5815
|
"type": "string"
|
|
5447
5816
|
},
|
|
@@ -5605,6 +5974,15 @@
|
|
|
5605
5974
|
]
|
|
5606
5975
|
}
|
|
5607
5976
|
},
|
|
5977
|
+
"axisExtent": {
|
|
5978
|
+
"type": "string",
|
|
5979
|
+
"enum": [
|
|
5980
|
+
"nice",
|
|
5981
|
+
"exact"
|
|
5982
|
+
],
|
|
5983
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
5984
|
+
"default": "nice"
|
|
5985
|
+
},
|
|
5608
5986
|
"categoryLabel": {
|
|
5609
5987
|
"type": "string"
|
|
5610
5988
|
},
|
|
@@ -5655,6 +6033,10 @@
|
|
|
5655
6033
|
"description": "Padding between lanes in pixels",
|
|
5656
6034
|
"default": 40
|
|
5657
6035
|
},
|
|
6036
|
+
"roundedTop": {
|
|
6037
|
+
"type": "number",
|
|
6038
|
+
"description": "Rounded corner radius (px) applied to the outermost ends of each lane — left+right for horizontal, top+bottom for vertical. Middle segments stay square; single-segment lanes round all four corners."
|
|
6039
|
+
},
|
|
5658
6040
|
"brush": {
|
|
5659
6041
|
"type": "boolean",
|
|
5660
6042
|
"description": "Enable value-axis brush selection"
|
|
@@ -5782,6 +6164,15 @@
|
|
|
5782
6164
|
]
|
|
5783
6165
|
}
|
|
5784
6166
|
},
|
|
6167
|
+
"axisExtent": {
|
|
6168
|
+
"type": "string",
|
|
6169
|
+
"enum": [
|
|
6170
|
+
"nice",
|
|
6171
|
+
"exact"
|
|
6172
|
+
],
|
|
6173
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6174
|
+
"default": "nice"
|
|
6175
|
+
},
|
|
5785
6176
|
"data": {
|
|
5786
6177
|
"type": "array"
|
|
5787
6178
|
},
|
|
@@ -5885,6 +6276,15 @@
|
|
|
5885
6276
|
]
|
|
5886
6277
|
}
|
|
5887
6278
|
},
|
|
6279
|
+
"axisExtent": {
|
|
6280
|
+
"type": "string",
|
|
6281
|
+
"enum": [
|
|
6282
|
+
"nice",
|
|
6283
|
+
"exact"
|
|
6284
|
+
],
|
|
6285
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6286
|
+
"default": "nice"
|
|
6287
|
+
},
|
|
5888
6288
|
"data": {
|
|
5889
6289
|
"type": "array"
|
|
5890
6290
|
}
|
|
@@ -5983,6 +6383,15 @@
|
|
|
5983
6383
|
]
|
|
5984
6384
|
}
|
|
5985
6385
|
},
|
|
6386
|
+
"axisExtent": {
|
|
6387
|
+
"type": "string",
|
|
6388
|
+
"enum": [
|
|
6389
|
+
"nice",
|
|
6390
|
+
"exact"
|
|
6391
|
+
],
|
|
6392
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6393
|
+
"default": "nice"
|
|
6394
|
+
},
|
|
5986
6395
|
"areas": {
|
|
5987
6396
|
"type": [
|
|
5988
6397
|
"array",
|
|
@@ -6096,6 +6505,15 @@
|
|
|
6096
6505
|
]
|
|
6097
6506
|
}
|
|
6098
6507
|
},
|
|
6508
|
+
"axisExtent": {
|
|
6509
|
+
"type": "string",
|
|
6510
|
+
"enum": [
|
|
6511
|
+
"nice",
|
|
6512
|
+
"exact"
|
|
6513
|
+
],
|
|
6514
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6515
|
+
"default": "nice"
|
|
6516
|
+
},
|
|
6099
6517
|
"points": {
|
|
6100
6518
|
"type": "array"
|
|
6101
6519
|
},
|
|
@@ -6221,6 +6639,15 @@
|
|
|
6221
6639
|
]
|
|
6222
6640
|
}
|
|
6223
6641
|
},
|
|
6642
|
+
"axisExtent": {
|
|
6643
|
+
"type": "string",
|
|
6644
|
+
"enum": [
|
|
6645
|
+
"nice",
|
|
6646
|
+
"exact"
|
|
6647
|
+
],
|
|
6648
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6649
|
+
"default": "nice"
|
|
6650
|
+
},
|
|
6224
6651
|
"flows": {
|
|
6225
6652
|
"type": "array"
|
|
6226
6653
|
},
|
|
@@ -6232,6 +6659,12 @@
|
|
|
6232
6659
|
"string",
|
|
6233
6660
|
"function"
|
|
6234
6661
|
]
|
|
6662
|
+
},
|
|
6663
|
+
"lineIdAccessor": {
|
|
6664
|
+
"type": [
|
|
6665
|
+
"string",
|
|
6666
|
+
"function"
|
|
6667
|
+
]
|
|
6235
6668
|
}
|
|
6236
6669
|
},
|
|
6237
6670
|
"required": [
|
|
@@ -6329,6 +6762,15 @@
|
|
|
6329
6762
|
]
|
|
6330
6763
|
}
|
|
6331
6764
|
},
|
|
6765
|
+
"axisExtent": {
|
|
6766
|
+
"type": "string",
|
|
6767
|
+
"enum": [
|
|
6768
|
+
"nice",
|
|
6769
|
+
"exact"
|
|
6770
|
+
],
|
|
6771
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6772
|
+
"default": "nice"
|
|
6773
|
+
},
|
|
6332
6774
|
"points": {
|
|
6333
6775
|
"type": "array"
|
|
6334
6776
|
},
|
|
@@ -6347,6 +6789,477 @@
|
|
|
6347
6789
|
]
|
|
6348
6790
|
}
|
|
6349
6791
|
}
|
|
6792
|
+
},
|
|
6793
|
+
{
|
|
6794
|
+
"type": "function",
|
|
6795
|
+
"function": {
|
|
6796
|
+
"name": "ProcessSankey",
|
|
6797
|
+
"description": "Temporal sankey with a real time x-axis. Edges carry startTime/endTime; nodes can declare an explicit xExtent lifetime. Use for timestamped flow events (PR commits, campaign-finance contributions, supply-chain shipments).",
|
|
6798
|
+
"parameters": {
|
|
6799
|
+
"type": "object",
|
|
6800
|
+
"properties": {
|
|
6801
|
+
"width": {
|
|
6802
|
+
"type": "number",
|
|
6803
|
+
"default": 600
|
|
6804
|
+
},
|
|
6805
|
+
"height": {
|
|
6806
|
+
"type": "number",
|
|
6807
|
+
"default": 400
|
|
6808
|
+
},
|
|
6809
|
+
"margin": {
|
|
6810
|
+
"type": "object"
|
|
6811
|
+
},
|
|
6812
|
+
"className": {
|
|
6813
|
+
"type": "string"
|
|
6814
|
+
},
|
|
6815
|
+
"title": {
|
|
6816
|
+
"type": "string"
|
|
6817
|
+
},
|
|
6818
|
+
"enableHover": {
|
|
6819
|
+
"type": "boolean",
|
|
6820
|
+
"default": true
|
|
6821
|
+
},
|
|
6822
|
+
"showLegend": {
|
|
6823
|
+
"type": "boolean"
|
|
6824
|
+
},
|
|
6825
|
+
"showGrid": {
|
|
6826
|
+
"type": "boolean",
|
|
6827
|
+
"default": false
|
|
6828
|
+
},
|
|
6829
|
+
"colorBy": {
|
|
6830
|
+
"type": [
|
|
6831
|
+
"string",
|
|
6832
|
+
"function"
|
|
6833
|
+
]
|
|
6834
|
+
},
|
|
6835
|
+
"colorScheme": {
|
|
6836
|
+
"type": [
|
|
6837
|
+
"string",
|
|
6838
|
+
"array"
|
|
6839
|
+
],
|
|
6840
|
+
"default": "category10"
|
|
6841
|
+
},
|
|
6842
|
+
"tooltip": {
|
|
6843
|
+
"type": [
|
|
6844
|
+
"boolean",
|
|
6845
|
+
"function",
|
|
6846
|
+
"object"
|
|
6847
|
+
]
|
|
6848
|
+
},
|
|
6849
|
+
"annotations": {
|
|
6850
|
+
"type": "array",
|
|
6851
|
+
"description": "Annotation objects to render on the chart. Each must have a `type` field. Position using your data field names (e.g. { type: \"widget\", month: \"Jan\", revenue: 500 }). Supported types: \"widget\" (arbitrary HTML/React content via foreignObject — v3 replacement for htmlAnnotationRules), \"label\" (callout with connector), \"callout\" (circle + label), \"text\" (plain label), \"y-threshold\" (horizontal reference line), \"x-threshold\" (vertical reference line), \"band\" (shaded y-region), \"enclose\" (circle around points), \"rect-enclose\" (rect around points), \"highlight\" (colored dots on filtered points), \"trend\" (regression line), \"envelope\" (upper/lower bounds), \"anomaly-band\" (mean ± stddev), \"forecast\" (extrapolated trend). Widget annotations accept: content (ReactNode), dx, dy, width, height, anchor (\"fixed\"|\"latest\"|\"sticky\"). Threshold annotations accept: value, label, color, strokeWidth, strokeDasharray. Enclose annotations accept: coordinates (array of data objects), label, color, padding.",
|
|
6852
|
+
"items": {
|
|
6853
|
+
"type": "object",
|
|
6854
|
+
"properties": {
|
|
6855
|
+
"type": {
|
|
6856
|
+
"type": "string",
|
|
6857
|
+
"enum": [
|
|
6858
|
+
"widget",
|
|
6859
|
+
"label",
|
|
6860
|
+
"callout",
|
|
6861
|
+
"text",
|
|
6862
|
+
"bracket",
|
|
6863
|
+
"y-threshold",
|
|
6864
|
+
"x-threshold",
|
|
6865
|
+
"band",
|
|
6866
|
+
"enclose",
|
|
6867
|
+
"rect-enclose",
|
|
6868
|
+
"highlight",
|
|
6869
|
+
"trend",
|
|
6870
|
+
"envelope",
|
|
6871
|
+
"anomaly-band",
|
|
6872
|
+
"forecast"
|
|
6873
|
+
],
|
|
6874
|
+
"description": "Annotation type"
|
|
6875
|
+
}
|
|
6876
|
+
},
|
|
6877
|
+
"required": [
|
|
6878
|
+
"type"
|
|
6879
|
+
]
|
|
6880
|
+
}
|
|
6881
|
+
},
|
|
6882
|
+
"axisExtent": {
|
|
6883
|
+
"type": "string",
|
|
6884
|
+
"enum": [
|
|
6885
|
+
"nice",
|
|
6886
|
+
"exact"
|
|
6887
|
+
],
|
|
6888
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
6889
|
+
"default": "nice"
|
|
6890
|
+
},
|
|
6891
|
+
"edges": {
|
|
6892
|
+
"type": "array",
|
|
6893
|
+
"description": "Array of timed edge records with source, target, value, startTime, endTime. Omit for push-mode."
|
|
6894
|
+
},
|
|
6895
|
+
"nodes": {
|
|
6896
|
+
"type": "array",
|
|
6897
|
+
"description": "Optional array of node objects. Nodes may carry an `xExtent: [start, end]` to bound the lane explicitly."
|
|
6898
|
+
},
|
|
6899
|
+
"domain": {
|
|
6900
|
+
"type": "array",
|
|
6901
|
+
"description": "[tStart, tEnd] of the chart's x-axis (required)."
|
|
6902
|
+
},
|
|
6903
|
+
"axisTicks": {
|
|
6904
|
+
"type": "array",
|
|
6905
|
+
"description": "Optional [{ date, label }] tick array for the time axis."
|
|
6906
|
+
},
|
|
6907
|
+
"sourceAccessor": {
|
|
6908
|
+
"type": [
|
|
6909
|
+
"string",
|
|
6910
|
+
"function"
|
|
6911
|
+
],
|
|
6912
|
+
"default": "source"
|
|
6913
|
+
},
|
|
6914
|
+
"targetAccessor": {
|
|
6915
|
+
"type": [
|
|
6916
|
+
"string",
|
|
6917
|
+
"function"
|
|
6918
|
+
],
|
|
6919
|
+
"default": "target"
|
|
6920
|
+
},
|
|
6921
|
+
"valueAccessor": {
|
|
6922
|
+
"type": [
|
|
6923
|
+
"string",
|
|
6924
|
+
"function"
|
|
6925
|
+
],
|
|
6926
|
+
"default": "value"
|
|
6927
|
+
},
|
|
6928
|
+
"nodeIdAccessor": {
|
|
6929
|
+
"type": [
|
|
6930
|
+
"string",
|
|
6931
|
+
"function"
|
|
6932
|
+
],
|
|
6933
|
+
"default": "id"
|
|
6934
|
+
},
|
|
6935
|
+
"startTimeAccessor": {
|
|
6936
|
+
"type": [
|
|
6937
|
+
"string",
|
|
6938
|
+
"function"
|
|
6939
|
+
],
|
|
6940
|
+
"default": "startTime"
|
|
6941
|
+
},
|
|
6942
|
+
"endTimeAccessor": {
|
|
6943
|
+
"type": [
|
|
6944
|
+
"string",
|
|
6945
|
+
"function"
|
|
6946
|
+
],
|
|
6947
|
+
"default": "endTime"
|
|
6948
|
+
},
|
|
6949
|
+
"xExtentAccessor": {
|
|
6950
|
+
"type": [
|
|
6951
|
+
"string",
|
|
6952
|
+
"function"
|
|
6953
|
+
],
|
|
6954
|
+
"default": "xExtent"
|
|
6955
|
+
},
|
|
6956
|
+
"edgeIdAccessor": {
|
|
6957
|
+
"type": [
|
|
6958
|
+
"string",
|
|
6959
|
+
"function"
|
|
6960
|
+
],
|
|
6961
|
+
"default": "id"
|
|
6962
|
+
},
|
|
6963
|
+
"legendPosition": {
|
|
6964
|
+
"type": "string",
|
|
6965
|
+
"enum": [
|
|
6966
|
+
"right",
|
|
6967
|
+
"left",
|
|
6968
|
+
"top",
|
|
6969
|
+
"bottom"
|
|
6970
|
+
],
|
|
6971
|
+
"default": "right"
|
|
6972
|
+
},
|
|
6973
|
+
"pairing": {
|
|
6974
|
+
"type": "string",
|
|
6975
|
+
"enum": [
|
|
6976
|
+
"value",
|
|
6977
|
+
"temporal"
|
|
6978
|
+
],
|
|
6979
|
+
"description": "Edge-side pairing strategy at transit nodes.",
|
|
6980
|
+
"default": "temporal"
|
|
6981
|
+
},
|
|
6982
|
+
"packing": {
|
|
6983
|
+
"type": "string",
|
|
6984
|
+
"enum": [
|
|
6985
|
+
"off",
|
|
6986
|
+
"reuse"
|
|
6987
|
+
],
|
|
6988
|
+
"description": "Lane reuse — pack lifetime-disjoint nodes into the same row.",
|
|
6989
|
+
"default": "reuse"
|
|
6990
|
+
},
|
|
6991
|
+
"laneOrder": {
|
|
6992
|
+
"type": "string",
|
|
6993
|
+
"enum": [
|
|
6994
|
+
"insertion",
|
|
6995
|
+
"crossing-min",
|
|
6996
|
+
"inside-out",
|
|
6997
|
+
"crossing-min+inside-out"
|
|
6998
|
+
],
|
|
6999
|
+
"default": "crossing-min"
|
|
7000
|
+
},
|
|
7001
|
+
"ribbonLane": {
|
|
7002
|
+
"type": "string",
|
|
7003
|
+
"enum": [
|
|
7004
|
+
"source",
|
|
7005
|
+
"target",
|
|
7006
|
+
"both"
|
|
7007
|
+
],
|
|
7008
|
+
"default": "both"
|
|
7009
|
+
},
|
|
7010
|
+
"lifetimeMode": {
|
|
7011
|
+
"type": "string",
|
|
7012
|
+
"enum": [
|
|
7013
|
+
"full",
|
|
7014
|
+
"half"
|
|
7015
|
+
],
|
|
7016
|
+
"default": "half"
|
|
7017
|
+
},
|
|
7018
|
+
"showLaneRails": {
|
|
7019
|
+
"type": "boolean",
|
|
7020
|
+
"default": false
|
|
7021
|
+
},
|
|
7022
|
+
"showQualityReadout": {
|
|
7023
|
+
"type": "boolean",
|
|
7024
|
+
"default": false
|
|
7025
|
+
},
|
|
7026
|
+
"edgeOpacity": {
|
|
7027
|
+
"type": "number",
|
|
7028
|
+
"default": 0.35
|
|
7029
|
+
},
|
|
7030
|
+
"showParticles": {
|
|
7031
|
+
"type": "boolean",
|
|
7032
|
+
"default": false
|
|
7033
|
+
},
|
|
7034
|
+
"particleStyle": {
|
|
7035
|
+
"type": "object",
|
|
7036
|
+
"description": "ParticleStyle config — same shape as SankeyDiagram. Defaults from DEFAULT_PARTICLE_STYLE (radius 3, opacity 0.7, spawnRate 0.1, maxPerEdge 50)."
|
|
7037
|
+
}
|
|
7038
|
+
},
|
|
7039
|
+
"required": [
|
|
7040
|
+
"domain"
|
|
7041
|
+
]
|
|
7042
|
+
}
|
|
7043
|
+
}
|
|
7044
|
+
},
|
|
7045
|
+
{
|
|
7046
|
+
"type": "function",
|
|
7047
|
+
"function": {
|
|
7048
|
+
"name": "DifferenceChart",
|
|
7049
|
+
"description": "Two-series difference chart: fills the area between series A and series B with a color that switches at each crossover — A's color where A > B, B's color where B > A. Crossovers are linearly interpolated so segments meet at zero-width vertices. Both series can be drawn as overlay lines on top of the fill. Classic uses: temperature anomaly (actual vs. normal), forecast accuracy (actual vs. predicted), budget variance.",
|
|
7050
|
+
"parameters": {
|
|
7051
|
+
"type": "object",
|
|
7052
|
+
"properties": {
|
|
7053
|
+
"width": {
|
|
7054
|
+
"type": "number",
|
|
7055
|
+
"default": 600
|
|
7056
|
+
},
|
|
7057
|
+
"height": {
|
|
7058
|
+
"type": "number",
|
|
7059
|
+
"default": 400
|
|
7060
|
+
},
|
|
7061
|
+
"margin": {
|
|
7062
|
+
"type": "object"
|
|
7063
|
+
},
|
|
7064
|
+
"className": {
|
|
7065
|
+
"type": "string"
|
|
7066
|
+
},
|
|
7067
|
+
"title": {
|
|
7068
|
+
"type": "string"
|
|
7069
|
+
},
|
|
7070
|
+
"enableHover": {
|
|
7071
|
+
"type": "boolean",
|
|
7072
|
+
"default": true
|
|
7073
|
+
},
|
|
7074
|
+
"showLegend": {
|
|
7075
|
+
"type": "boolean"
|
|
7076
|
+
},
|
|
7077
|
+
"showGrid": {
|
|
7078
|
+
"type": "boolean",
|
|
7079
|
+
"default": false
|
|
7080
|
+
},
|
|
7081
|
+
"colorBy": {
|
|
7082
|
+
"type": [
|
|
7083
|
+
"string",
|
|
7084
|
+
"function"
|
|
7085
|
+
]
|
|
7086
|
+
},
|
|
7087
|
+
"colorScheme": {
|
|
7088
|
+
"type": [
|
|
7089
|
+
"string",
|
|
7090
|
+
"array"
|
|
7091
|
+
],
|
|
7092
|
+
"default": "category10"
|
|
7093
|
+
},
|
|
7094
|
+
"tooltip": {
|
|
7095
|
+
"type": [
|
|
7096
|
+
"boolean",
|
|
7097
|
+
"function",
|
|
7098
|
+
"object"
|
|
7099
|
+
]
|
|
7100
|
+
},
|
|
7101
|
+
"annotations": {
|
|
7102
|
+
"type": "array",
|
|
7103
|
+
"description": "Annotation objects to render on the chart. Each must have a `type` field. Position using your data field names (e.g. { type: \"widget\", month: \"Jan\", revenue: 500 }). Supported types: \"widget\" (arbitrary HTML/React content via foreignObject — v3 replacement for htmlAnnotationRules), \"label\" (callout with connector), \"callout\" (circle + label), \"text\" (plain label), \"y-threshold\" (horizontal reference line), \"x-threshold\" (vertical reference line), \"band\" (shaded y-region), \"enclose\" (circle around points), \"rect-enclose\" (rect around points), \"highlight\" (colored dots on filtered points), \"trend\" (regression line), \"envelope\" (upper/lower bounds), \"anomaly-band\" (mean ± stddev), \"forecast\" (extrapolated trend). Widget annotations accept: content (ReactNode), dx, dy, width, height, anchor (\"fixed\"|\"latest\"|\"sticky\"). Threshold annotations accept: value, label, color, strokeWidth, strokeDasharray. Enclose annotations accept: coordinates (array of data objects), label, color, padding.",
|
|
7104
|
+
"items": {
|
|
7105
|
+
"type": "object",
|
|
7106
|
+
"properties": {
|
|
7107
|
+
"type": {
|
|
7108
|
+
"type": "string",
|
|
7109
|
+
"enum": [
|
|
7110
|
+
"widget",
|
|
7111
|
+
"label",
|
|
7112
|
+
"callout",
|
|
7113
|
+
"text",
|
|
7114
|
+
"bracket",
|
|
7115
|
+
"y-threshold",
|
|
7116
|
+
"x-threshold",
|
|
7117
|
+
"band",
|
|
7118
|
+
"enclose",
|
|
7119
|
+
"rect-enclose",
|
|
7120
|
+
"highlight",
|
|
7121
|
+
"trend",
|
|
7122
|
+
"envelope",
|
|
7123
|
+
"anomaly-band",
|
|
7124
|
+
"forecast"
|
|
7125
|
+
],
|
|
7126
|
+
"description": "Annotation type"
|
|
7127
|
+
}
|
|
7128
|
+
},
|
|
7129
|
+
"required": [
|
|
7130
|
+
"type"
|
|
7131
|
+
]
|
|
7132
|
+
}
|
|
7133
|
+
},
|
|
7134
|
+
"axisExtent": {
|
|
7135
|
+
"type": "string",
|
|
7136
|
+
"enum": [
|
|
7137
|
+
"nice",
|
|
7138
|
+
"exact"
|
|
7139
|
+
],
|
|
7140
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
7141
|
+
"default": "nice"
|
|
7142
|
+
},
|
|
7143
|
+
"xLabel": {
|
|
7144
|
+
"type": "string"
|
|
7145
|
+
},
|
|
7146
|
+
"yLabel": {
|
|
7147
|
+
"type": "string"
|
|
7148
|
+
},
|
|
7149
|
+
"data": {
|
|
7150
|
+
"type": "array",
|
|
7151
|
+
"description": "Array of `{x, a, b}` objects. Omit for push API mode."
|
|
7152
|
+
},
|
|
7153
|
+
"xAccessor": {
|
|
7154
|
+
"type": [
|
|
7155
|
+
"string",
|
|
7156
|
+
"function"
|
|
7157
|
+
],
|
|
7158
|
+
"description": "Key for x values",
|
|
7159
|
+
"default": "x"
|
|
7160
|
+
},
|
|
7161
|
+
"seriesAAccessor": {
|
|
7162
|
+
"type": [
|
|
7163
|
+
"string",
|
|
7164
|
+
"function"
|
|
7165
|
+
],
|
|
7166
|
+
"description": "Key for series A values",
|
|
7167
|
+
"default": "a"
|
|
7168
|
+
},
|
|
7169
|
+
"seriesBAccessor": {
|
|
7170
|
+
"type": [
|
|
7171
|
+
"string",
|
|
7172
|
+
"function"
|
|
7173
|
+
],
|
|
7174
|
+
"description": "Key for series B values",
|
|
7175
|
+
"default": "b"
|
|
7176
|
+
},
|
|
7177
|
+
"seriesALabel": {
|
|
7178
|
+
"type": "string",
|
|
7179
|
+
"description": "Display label for series A in legend + tooltip",
|
|
7180
|
+
"default": "A"
|
|
7181
|
+
},
|
|
7182
|
+
"seriesBLabel": {
|
|
7183
|
+
"type": "string",
|
|
7184
|
+
"description": "Display label for series B",
|
|
7185
|
+
"default": "B"
|
|
7186
|
+
},
|
|
7187
|
+
"seriesAColor": {
|
|
7188
|
+
"type": "string",
|
|
7189
|
+
"description": "Fill color when series A is higher. Defaults to var(--semiotic-danger)."
|
|
7190
|
+
},
|
|
7191
|
+
"seriesBColor": {
|
|
7192
|
+
"type": "string",
|
|
7193
|
+
"description": "Fill color when series B is higher. Defaults to var(--semiotic-info)."
|
|
7194
|
+
},
|
|
7195
|
+
"showLines": {
|
|
7196
|
+
"type": "boolean",
|
|
7197
|
+
"description": "Draw the two series as overlay lines on top of the fill",
|
|
7198
|
+
"default": true
|
|
7199
|
+
},
|
|
7200
|
+
"lineWidth": {
|
|
7201
|
+
"type": "number",
|
|
7202
|
+
"default": 1.5
|
|
7203
|
+
},
|
|
7204
|
+
"showPoints": {
|
|
7205
|
+
"type": "boolean",
|
|
7206
|
+
"description": "Show points at each data vertex on the overlay lines",
|
|
7207
|
+
"default": false
|
|
7208
|
+
},
|
|
7209
|
+
"pointRadius": {
|
|
7210
|
+
"type": "number",
|
|
7211
|
+
"default": 3
|
|
7212
|
+
},
|
|
7213
|
+
"curve": {
|
|
7214
|
+
"type": "string",
|
|
7215
|
+
"enum": [
|
|
7216
|
+
"linear",
|
|
7217
|
+
"monotoneX",
|
|
7218
|
+
"monotoneY",
|
|
7219
|
+
"step",
|
|
7220
|
+
"stepAfter",
|
|
7221
|
+
"stepBefore",
|
|
7222
|
+
"basis",
|
|
7223
|
+
"cardinal",
|
|
7224
|
+
"catmullRom"
|
|
7225
|
+
],
|
|
7226
|
+
"default": "linear"
|
|
7227
|
+
},
|
|
7228
|
+
"areaOpacity": {
|
|
7229
|
+
"type": "number",
|
|
7230
|
+
"description": "Difference fill opacity (0-1)",
|
|
7231
|
+
"default": 0.6
|
|
7232
|
+
},
|
|
7233
|
+
"gradientFill": {
|
|
7234
|
+
"type": [
|
|
7235
|
+
"boolean",
|
|
7236
|
+
"object"
|
|
7237
|
+
],
|
|
7238
|
+
"description": "Tip→base gradient across each segment; same shape as AreaChart.gradientFill"
|
|
7239
|
+
},
|
|
7240
|
+
"xExtent": {
|
|
7241
|
+
"type": "array",
|
|
7242
|
+
"description": "Fixed x domain `[min, max]`. Either bound may be `undefined`."
|
|
7243
|
+
},
|
|
7244
|
+
"yExtent": {
|
|
7245
|
+
"type": "array",
|
|
7246
|
+
"description": "Fixed y domain `[min, max]`. Either bound may be `undefined`."
|
|
7247
|
+
},
|
|
7248
|
+
"pointIdAccessor": {
|
|
7249
|
+
"type": [
|
|
7250
|
+
"string",
|
|
7251
|
+
"function"
|
|
7252
|
+
],
|
|
7253
|
+
"description": "Stable ID for push-mode remove()/update()"
|
|
7254
|
+
},
|
|
7255
|
+
"windowSize": {
|
|
7256
|
+
"type": "number",
|
|
7257
|
+
"description": "Max raw rows in the push buffer; older rows evict FIFO. Recommended for long-running streams."
|
|
7258
|
+
}
|
|
7259
|
+
},
|
|
7260
|
+
"required": []
|
|
7261
|
+
}
|
|
7262
|
+
}
|
|
6350
7263
|
}
|
|
6351
7264
|
]
|
|
6352
7265
|
}
|