semiotic 3.5.3 → 3.6.0
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 +62 -4
- package/README.md +19 -12
- package/ai/componentMetadata.cjs +9 -2
- package/ai/dist/mcp-server.js +253 -3
- package/ai/examples.md +27 -0
- package/ai/schema.json +319 -49
- package/ai/system-prompt.md +1 -1
- package/dist/components/ai/audienceProfile.d.ts +90 -0
- package/dist/components/ai/audiences.d.ts +31 -0
- package/dist/components/ai/chartCapabilities.d.ts +55 -0
- package/dist/components/ai/chartCapabilityTypes.d.ts +196 -0
- package/dist/components/ai/diffProfile.d.ts +51 -0
- package/dist/components/ai/inferIntent.d.ts +24 -0
- package/dist/components/ai/intents.d.ts +34 -0
- package/dist/components/ai/profileData.d.ts +16 -0
- package/dist/components/ai/qualityFixtures.d.ts +2 -0
- package/dist/components/ai/qualityScorecard.d.ts +82 -0
- package/dist/components/ai/repairChartConfig.d.ts +73 -0
- package/dist/components/ai/streamingTypes.d.ts +64 -0
- package/dist/components/ai/suggestCharts.d.ts +76 -0
- package/dist/components/ai/suggestDashboard.d.ts +92 -0
- package/dist/components/ai/suggestStreamCharts.d.ts +34 -0
- package/dist/components/ai/suggestStretchCharts.d.ts +60 -0
- package/dist/components/ai/useChartSuggestions.d.ts +22 -0
- package/dist/components/charts/geo/ChoroplethMap.capability.d.ts +2 -0
- package/dist/components/charts/geo/DistanceCartogram.capability.d.ts +2 -0
- package/dist/components/charts/geo/FlowMap.capability.d.ts +2 -0
- package/dist/components/charts/geo/ProportionalSymbolMap.capability.d.ts +2 -0
- package/dist/components/charts/index.d.ts +4 -4
- package/dist/components/charts/network/ChordDiagram.capability.d.ts +2 -0
- package/dist/components/charts/network/CirclePack.capability.d.ts +2 -0
- package/dist/components/charts/network/ForceDirectedGraph.capability.d.ts +2 -0
- package/dist/components/charts/network/OrbitDiagram.capability.d.ts +2 -0
- package/dist/components/charts/network/ProcessSankey.capability.d.ts +2 -0
- package/dist/components/charts/network/SankeyDiagram.capability.d.ts +2 -0
- package/dist/components/charts/network/TreeDiagram.capability.d.ts +2 -0
- package/dist/components/charts/network/Treemap.capability.d.ts +2 -0
- package/dist/components/charts/network/Treemap.d.ts +8 -0
- package/dist/components/charts/ordinal/BarChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/BoxPlot.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/DonutChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/DotPlot.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/FunnelChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/GaugeChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/GaugeChart.d.ts +10 -0
- package/dist/components/charts/ordinal/GroupedBarChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/Histogram.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/Histogram.d.ts +4 -2
- package/dist/components/charts/ordinal/LikertChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/LikertChart.d.ts +1 -1
- package/dist/components/charts/ordinal/LikertChart.defaults.d.ts +1 -0
- package/dist/components/charts/ordinal/PieChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/RidgelinePlot.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/StackedBarChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/SwarmPlot.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/SwimlaneChart.capability.d.ts +2 -0
- package/dist/components/charts/ordinal/ViolinPlot.capability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.capability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeHistogram.capability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +22 -0
- package/dist/components/charts/realtime/RealtimeLineChart.capability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.capability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeWaterfallChart.capability.d.ts +2 -0
- package/dist/components/charts/realtime/TemporalHistogram.capability.d.ts +7 -0
- package/dist/components/charts/shared/chartSpecs.d.ts +0 -34
- package/dist/components/charts/shared/gaugeGradient.d.ts +62 -0
- package/dist/components/charts/shared/hooks.d.ts +2 -2
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +2 -2
- package/dist/components/charts/shared/types.d.ts +11 -2
- package/dist/components/charts/shared/useChartSetup.d.ts +2 -2
- package/dist/components/charts/shared/useCustomChartSetup.d.ts +1 -1
- package/dist/components/charts/xy/AreaChart.capability.d.ts +10 -0
- package/dist/components/charts/xy/AreaChart.d.ts +15 -0
- package/dist/components/charts/xy/BubbleChart.capability.d.ts +2 -0
- package/dist/components/charts/xy/CandlestickChart.capability.d.ts +2 -0
- package/dist/components/charts/xy/ConnectedScatterplot.capability.d.ts +2 -0
- package/dist/components/charts/xy/DifferenceChart.capability.d.ts +8 -0
- package/dist/components/charts/xy/Heatmap.capability.d.ts +9 -0
- package/dist/components/charts/xy/LineChart.capability.d.ts +9 -0
- package/dist/components/charts/xy/MinimapChart.capability.d.ts +2 -0
- package/dist/components/charts/xy/MultiAxisLineChart.capability.d.ts +2 -0
- package/dist/components/charts/xy/QuadrantChart.capability.d.ts +2 -0
- package/dist/components/charts/xy/QuadrantChart.d.ts +5 -2
- package/dist/components/charts/xy/QuadrantChart.defaults.d.ts +2 -0
- package/dist/components/charts/xy/Scatterplot.capability.d.ts +2 -0
- package/dist/components/charts/xy/StackedAreaChart.capability.d.ts +2 -0
- package/dist/components/data/DataSummarizer.d.ts +45 -0
- package/dist/components/semiotic-ai.d.ts +36 -1
- package/dist/components/semiotic-realtime.d.ts +3 -3
- package/dist/components/semiotic-server.d.ts +1 -0
- package/dist/components/semiotic-xy.d.ts +2 -2
- package/dist/components/semiotic.d.ts +5 -4
- package/dist/components/server/renderToStaticSVG.d.ts +2 -0
- package/dist/components/server/staticLegend.d.ts +35 -0
- package/dist/components/store/ThemeStore.d.ts +2 -0
- package/dist/components/store/useChartFocus.d.ts +43 -0
- package/dist/components/store/useChartInterrogation.d.ts +141 -0
- package/dist/components/stream/NetworkSVGOverlay.d.ts +2 -1
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +2 -1
- package/dist/components/stream/SVGOverlay.d.ts +2 -1
- package/dist/components/stream/SceneToSVG.d.ts +1 -1
- package/dist/components/stream/geoTypes.d.ts +2 -1
- package/dist/components/stream/hoverUtils.d.ts +1 -0
- package/dist/components/stream/legendRenderer.d.ts +2 -1
- package/dist/components/stream/networkTypes.d.ts +2 -1
- package/dist/components/stream/ordinalTypes.d.ts +16 -2
- package/dist/components/stream/renderers/wedgePathBuilder.d.ts +31 -0
- package/dist/components/stream/types.d.ts +2 -1
- package/dist/components/types/legendTypes.d.ts +15 -0
- package/dist/components/types/marginType.d.ts +17 -3
- 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 +36 -1
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-realtime.d.ts +3 -3
- package/dist/semiotic-server.d.ts +1 -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 -2
- package/dist/semiotic.d.ts +5 -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 +25 -24
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.
|
|
4
|
+
"version": "3.6.0",
|
|
5
5
|
"description": "React data visualization library for charts, networks, and beyond",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"default": 400
|
|
22
22
|
},
|
|
23
23
|
"margin": {
|
|
24
|
-
"type": "object"
|
|
24
|
+
"type": "object",
|
|
25
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
25
26
|
},
|
|
26
27
|
"className": {
|
|
27
28
|
"type": "string"
|
|
@@ -220,7 +221,8 @@
|
|
|
220
221
|
"default": 400
|
|
221
222
|
},
|
|
222
223
|
"margin": {
|
|
223
|
-
"type": "object"
|
|
224
|
+
"type": "object",
|
|
225
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
224
226
|
},
|
|
225
227
|
"className": {
|
|
226
228
|
"type": "string"
|
|
@@ -354,6 +356,17 @@
|
|
|
354
356
|
],
|
|
355
357
|
"default": "monotoneX"
|
|
356
358
|
},
|
|
359
|
+
"gradientFill": {
|
|
360
|
+
"type": [
|
|
361
|
+
"boolean",
|
|
362
|
+
"object"
|
|
363
|
+
],
|
|
364
|
+
"description": "Renderer-space area gradient. true uses default opacity; object supports opacity or colorStops."
|
|
365
|
+
},
|
|
366
|
+
"semanticGradient": {
|
|
367
|
+
"type": "array",
|
|
368
|
+
"description": "User-facing gradient stops: [{ at: 0-100, color, opacity? }], where 0 is baseline and 100 is line/top. Takes precedence over gradientFill."
|
|
369
|
+
},
|
|
357
370
|
"areaOpacity": {
|
|
358
371
|
"type": "number",
|
|
359
372
|
"description": "Area fill opacity (0-1)",
|
|
@@ -407,7 +420,8 @@
|
|
|
407
420
|
"default": 400
|
|
408
421
|
},
|
|
409
422
|
"margin": {
|
|
410
|
-
"type": "object"
|
|
423
|
+
"type": "object",
|
|
424
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
411
425
|
},
|
|
412
426
|
"className": {
|
|
413
427
|
"type": "string"
|
|
@@ -580,7 +594,8 @@
|
|
|
580
594
|
"default": 400
|
|
581
595
|
},
|
|
582
596
|
"margin": {
|
|
583
|
-
"type": "object"
|
|
597
|
+
"type": "object",
|
|
598
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
584
599
|
},
|
|
585
600
|
"className": {
|
|
586
601
|
"type": "string"
|
|
@@ -749,7 +764,8 @@
|
|
|
749
764
|
"default": 400
|
|
750
765
|
},
|
|
751
766
|
"margin": {
|
|
752
|
-
"type": "object"
|
|
767
|
+
"type": "object",
|
|
768
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
753
769
|
},
|
|
754
770
|
"className": {
|
|
755
771
|
"type": "string"
|
|
@@ -864,7 +880,29 @@
|
|
|
864
880
|
},
|
|
865
881
|
"quadrants": {
|
|
866
882
|
"type": "object",
|
|
867
|
-
"description": "
|
|
883
|
+
"description": "Optional configuration overrides for the four quadrants: { topRight, topLeft, bottomRight, bottomLeft }, each with partial { label, color, opacity }. Omitted quadrants and fields use built-in defaults.",
|
|
884
|
+
"default": {
|
|
885
|
+
"topLeft": {
|
|
886
|
+
"label": "Low / High",
|
|
887
|
+
"color": "#E9C46A",
|
|
888
|
+
"opacity": 0.08
|
|
889
|
+
},
|
|
890
|
+
"topRight": {
|
|
891
|
+
"label": "High / High",
|
|
892
|
+
"color": "#2A9D8F",
|
|
893
|
+
"opacity": 0.08
|
|
894
|
+
},
|
|
895
|
+
"bottomLeft": {
|
|
896
|
+
"label": "Low / Low",
|
|
897
|
+
"color": "#E76F51",
|
|
898
|
+
"opacity": 0.08
|
|
899
|
+
},
|
|
900
|
+
"bottomRight": {
|
|
901
|
+
"label": "High / Low",
|
|
902
|
+
"color": "#86BBD8",
|
|
903
|
+
"opacity": 0.08
|
|
904
|
+
}
|
|
905
|
+
}
|
|
868
906
|
},
|
|
869
907
|
"showQuadrantLabels": {
|
|
870
908
|
"type": "boolean",
|
|
@@ -897,9 +935,7 @@
|
|
|
897
935
|
"default": 0.8
|
|
898
936
|
}
|
|
899
937
|
},
|
|
900
|
-
"required": [
|
|
901
|
-
"quadrants"
|
|
902
|
-
]
|
|
938
|
+
"required": []
|
|
903
939
|
}
|
|
904
940
|
}
|
|
905
941
|
},
|
|
@@ -920,7 +956,8 @@
|
|
|
920
956
|
"default": 400
|
|
921
957
|
},
|
|
922
958
|
"margin": {
|
|
923
|
-
"type": "object"
|
|
959
|
+
"type": "object",
|
|
960
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
924
961
|
},
|
|
925
962
|
"className": {
|
|
926
963
|
"type": "string"
|
|
@@ -1054,7 +1091,8 @@
|
|
|
1054
1091
|
"default": 400
|
|
1055
1092
|
},
|
|
1056
1093
|
"margin": {
|
|
1057
|
-
"type": "object"
|
|
1094
|
+
"type": "object",
|
|
1095
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1058
1096
|
},
|
|
1059
1097
|
"className": {
|
|
1060
1098
|
"type": "string"
|
|
@@ -1218,7 +1256,8 @@
|
|
|
1218
1256
|
"default": 400
|
|
1219
1257
|
},
|
|
1220
1258
|
"margin": {
|
|
1221
|
-
"type": "object"
|
|
1259
|
+
"type": "object",
|
|
1260
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1222
1261
|
},
|
|
1223
1262
|
"className": {
|
|
1224
1263
|
"type": "string"
|
|
@@ -1382,7 +1421,8 @@
|
|
|
1382
1421
|
"default": 400
|
|
1383
1422
|
},
|
|
1384
1423
|
"margin": {
|
|
1385
|
-
"type": "object"
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1386
1426
|
},
|
|
1387
1427
|
"className": {
|
|
1388
1428
|
"type": "string"
|
|
@@ -1549,7 +1589,8 @@
|
|
|
1549
1589
|
"default": 400
|
|
1550
1590
|
},
|
|
1551
1591
|
"margin": {
|
|
1552
|
-
"type": "object"
|
|
1592
|
+
"type": "object",
|
|
1593
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1553
1594
|
},
|
|
1554
1595
|
"className": {
|
|
1555
1596
|
"type": "string"
|
|
@@ -1719,7 +1760,8 @@
|
|
|
1719
1760
|
"default": 400
|
|
1720
1761
|
},
|
|
1721
1762
|
"margin": {
|
|
1722
|
-
"type": "object"
|
|
1763
|
+
"type": "object",
|
|
1764
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1723
1765
|
},
|
|
1724
1766
|
"className": {
|
|
1725
1767
|
"type": "string"
|
|
@@ -1882,7 +1924,8 @@
|
|
|
1882
1924
|
"default": 400
|
|
1883
1925
|
},
|
|
1884
1926
|
"margin": {
|
|
1885
|
-
"type": "object"
|
|
1927
|
+
"type": "object",
|
|
1928
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
1886
1929
|
},
|
|
1887
1930
|
"className": {
|
|
1888
1931
|
"type": "string"
|
|
@@ -2040,7 +2083,8 @@
|
|
|
2040
2083
|
"default": 400
|
|
2041
2084
|
},
|
|
2042
2085
|
"margin": {
|
|
2043
|
-
"type": "object"
|
|
2086
|
+
"type": "object",
|
|
2087
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2044
2088
|
},
|
|
2045
2089
|
"className": {
|
|
2046
2090
|
"type": "string"
|
|
@@ -2136,7 +2180,14 @@
|
|
|
2136
2180
|
},
|
|
2137
2181
|
"levels": {
|
|
2138
2182
|
"type": "array",
|
|
2139
|
-
"description": "Ordered response labels, most negative to most positive
|
|
2183
|
+
"description": "Ordered response labels, most negative to most positive. Defaults to a 5-point Very Low to Very High scale. Odd count = center is neutral.",
|
|
2184
|
+
"default": [
|
|
2185
|
+
"Very Low",
|
|
2186
|
+
"Low",
|
|
2187
|
+
"Neutral",
|
|
2188
|
+
"High",
|
|
2189
|
+
"Very High"
|
|
2190
|
+
]
|
|
2140
2191
|
},
|
|
2141
2192
|
"categoryAccessor": {
|
|
2142
2193
|
"type": [
|
|
@@ -2182,9 +2233,7 @@
|
|
|
2182
2233
|
"default": 20
|
|
2183
2234
|
}
|
|
2184
2235
|
},
|
|
2185
|
-
"required": [
|
|
2186
|
-
"levels"
|
|
2187
|
-
]
|
|
2236
|
+
"required": []
|
|
2188
2237
|
}
|
|
2189
2238
|
}
|
|
2190
2239
|
},
|
|
@@ -2205,7 +2254,8 @@
|
|
|
2205
2254
|
"default": 400
|
|
2206
2255
|
},
|
|
2207
2256
|
"margin": {
|
|
2208
|
-
"type": "object"
|
|
2257
|
+
"type": "object",
|
|
2258
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2209
2259
|
},
|
|
2210
2260
|
"className": {
|
|
2211
2261
|
"type": "string"
|
|
@@ -2358,7 +2408,8 @@
|
|
|
2358
2408
|
"default": 400
|
|
2359
2409
|
},
|
|
2360
2410
|
"margin": {
|
|
2361
|
-
"type": "object"
|
|
2411
|
+
"type": "object",
|
|
2412
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2362
2413
|
},
|
|
2363
2414
|
"className": {
|
|
2364
2415
|
"type": "string"
|
|
@@ -2524,7 +2575,8 @@
|
|
|
2524
2575
|
"default": 400
|
|
2525
2576
|
},
|
|
2526
2577
|
"margin": {
|
|
2527
|
-
"type": "object"
|
|
2578
|
+
"type": "object",
|
|
2579
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2528
2580
|
},
|
|
2529
2581
|
"className": {
|
|
2530
2582
|
"type": "string"
|
|
@@ -2677,7 +2729,8 @@
|
|
|
2677
2729
|
"default": 400
|
|
2678
2730
|
},
|
|
2679
2731
|
"margin": {
|
|
2680
|
-
"type": "object"
|
|
2732
|
+
"type": "object",
|
|
2733
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2681
2734
|
},
|
|
2682
2735
|
"className": {
|
|
2683
2736
|
"type": "string"
|
|
@@ -2823,7 +2876,8 @@
|
|
|
2823
2876
|
"default": 400
|
|
2824
2877
|
},
|
|
2825
2878
|
"margin": {
|
|
2826
|
-
"type": "object"
|
|
2879
|
+
"type": "object",
|
|
2880
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2827
2881
|
},
|
|
2828
2882
|
"className": {
|
|
2829
2883
|
"type": "string"
|
|
@@ -2982,7 +3036,8 @@
|
|
|
2982
3036
|
"default": 400
|
|
2983
3037
|
},
|
|
2984
3038
|
"margin": {
|
|
2985
|
-
"type": "object"
|
|
3039
|
+
"type": "object",
|
|
3040
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
2986
3041
|
},
|
|
2987
3042
|
"className": {
|
|
2988
3043
|
"type": "string"
|
|
@@ -3123,7 +3178,8 @@
|
|
|
3123
3178
|
"default": 400
|
|
3124
3179
|
},
|
|
3125
3180
|
"margin": {
|
|
3126
|
-
"type": "object"
|
|
3181
|
+
"type": "object",
|
|
3182
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3127
3183
|
},
|
|
3128
3184
|
"className": {
|
|
3129
3185
|
"type": "string"
|
|
@@ -3288,7 +3344,8 @@
|
|
|
3288
3344
|
"default": 400
|
|
3289
3345
|
},
|
|
3290
3346
|
"margin": {
|
|
3291
|
-
"type": "object"
|
|
3347
|
+
"type": "object",
|
|
3348
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3292
3349
|
},
|
|
3293
3350
|
"className": {
|
|
3294
3351
|
"type": "string"
|
|
@@ -3416,7 +3473,8 @@
|
|
|
3416
3473
|
"default": 400
|
|
3417
3474
|
},
|
|
3418
3475
|
"margin": {
|
|
3419
|
-
"type": "object"
|
|
3476
|
+
"type": "object",
|
|
3477
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3420
3478
|
},
|
|
3421
3479
|
"className": {
|
|
3422
3480
|
"type": "string"
|
|
@@ -3556,7 +3614,8 @@
|
|
|
3556
3614
|
"default": 400
|
|
3557
3615
|
},
|
|
3558
3616
|
"margin": {
|
|
3559
|
-
"type": "object"
|
|
3617
|
+
"type": "object",
|
|
3618
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3560
3619
|
},
|
|
3561
3620
|
"className": {
|
|
3562
3621
|
"type": "string"
|
|
@@ -3653,6 +3712,10 @@
|
|
|
3653
3712
|
"type": "array",
|
|
3654
3713
|
"description": "Array of { value, color, label? } defining threshold zones. Last value should equal max."
|
|
3655
3714
|
},
|
|
3715
|
+
"gradientFill": {
|
|
3716
|
+
"type": "object",
|
|
3717
|
+
"description": "Arc-length gradient for the gauge band. Color stops are sampled along the sweep from start to end."
|
|
3718
|
+
},
|
|
3656
3719
|
"arcWidth": {
|
|
3657
3720
|
"type": "number",
|
|
3658
3721
|
"description": "Arc thickness as fraction of radius (0-1)",
|
|
@@ -3667,6 +3730,11 @@
|
|
|
3667
3730
|
"description": "Arc sweep angle in degrees (gap centered at bottom)",
|
|
3668
3731
|
"default": 240
|
|
3669
3732
|
},
|
|
3733
|
+
"fillZones": {
|
|
3734
|
+
"type": "boolean",
|
|
3735
|
+
"description": "When true, the arc fills up to the current value; when false, the full arc is shown.",
|
|
3736
|
+
"default": true
|
|
3737
|
+
},
|
|
3670
3738
|
"showNeedle": {
|
|
3671
3739
|
"type": "boolean",
|
|
3672
3740
|
"default": true
|
|
@@ -3674,6 +3742,10 @@
|
|
|
3674
3742
|
"needleColor": {
|
|
3675
3743
|
"type": "string"
|
|
3676
3744
|
},
|
|
3745
|
+
"color": {
|
|
3746
|
+
"type": "string",
|
|
3747
|
+
"description": "Fallback fill color used when no thresholds are defined"
|
|
3748
|
+
},
|
|
3677
3749
|
"valueFormat": {
|
|
3678
3750
|
"type": "function"
|
|
3679
3751
|
},
|
|
@@ -3705,7 +3777,8 @@
|
|
|
3705
3777
|
"default": 400
|
|
3706
3778
|
},
|
|
3707
3779
|
"margin": {
|
|
3708
|
-
"type": "object"
|
|
3780
|
+
"type": "object",
|
|
3781
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3709
3782
|
},
|
|
3710
3783
|
"className": {
|
|
3711
3784
|
"type": "string"
|
|
@@ -3896,7 +3969,8 @@
|
|
|
3896
3969
|
"default": 400
|
|
3897
3970
|
},
|
|
3898
3971
|
"margin": {
|
|
3899
|
-
"type": "object"
|
|
3972
|
+
"type": "object",
|
|
3973
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
3900
3974
|
},
|
|
3901
3975
|
"className": {
|
|
3902
3976
|
"type": "string"
|
|
@@ -4092,7 +4166,8 @@
|
|
|
4092
4166
|
"default": 400
|
|
4093
4167
|
},
|
|
4094
4168
|
"margin": {
|
|
4095
|
-
"type": "object"
|
|
4169
|
+
"type": "object",
|
|
4170
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
4096
4171
|
},
|
|
4097
4172
|
"className": {
|
|
4098
4173
|
"type": "string"
|
|
@@ -4266,7 +4341,8 @@
|
|
|
4266
4341
|
"default": 400
|
|
4267
4342
|
},
|
|
4268
4343
|
"margin": {
|
|
4269
|
-
"type": "object"
|
|
4344
|
+
"type": "object",
|
|
4345
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
4270
4346
|
},
|
|
4271
4347
|
"className": {
|
|
4272
4348
|
"type": "string"
|
|
@@ -4444,7 +4520,8 @@
|
|
|
4444
4520
|
"default": 400
|
|
4445
4521
|
},
|
|
4446
4522
|
"margin": {
|
|
4447
|
-
"type": "object"
|
|
4523
|
+
"type": "object",
|
|
4524
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
4448
4525
|
},
|
|
4449
4526
|
"className": {
|
|
4450
4527
|
"type": "string"
|
|
@@ -4588,7 +4665,8 @@
|
|
|
4588
4665
|
"default": 400
|
|
4589
4666
|
},
|
|
4590
4667
|
"margin": {
|
|
4591
|
-
"type": "object"
|
|
4668
|
+
"type": "object",
|
|
4669
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
4592
4670
|
},
|
|
4593
4671
|
"className": {
|
|
4594
4672
|
"type": "string"
|
|
@@ -4736,7 +4814,8 @@
|
|
|
4736
4814
|
"default": 400
|
|
4737
4815
|
},
|
|
4738
4816
|
"margin": {
|
|
4739
|
-
"type": "object"
|
|
4817
|
+
"type": "object",
|
|
4818
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
4740
4819
|
},
|
|
4741
4820
|
"className": {
|
|
4742
4821
|
"type": "string"
|
|
@@ -5185,6 +5264,15 @@
|
|
|
5185
5264
|
"type": "number",
|
|
5186
5265
|
"description": "Time bin size in milliseconds (required)"
|
|
5187
5266
|
},
|
|
5267
|
+
"direction": {
|
|
5268
|
+
"type": "string",
|
|
5269
|
+
"enum": [
|
|
5270
|
+
"up",
|
|
5271
|
+
"down"
|
|
5272
|
+
],
|
|
5273
|
+
"description": "Bar growth direction. Use \"down\" for mirrored histograms; explicit valueExtent is reversed.",
|
|
5274
|
+
"default": "up"
|
|
5275
|
+
},
|
|
5188
5276
|
"categoryAccessor": {
|
|
5189
5277
|
"type": [
|
|
5190
5278
|
"string",
|
|
@@ -5730,7 +5818,8 @@
|
|
|
5730
5818
|
"default": 400
|
|
5731
5819
|
},
|
|
5732
5820
|
"margin": {
|
|
5733
|
-
"type": "object"
|
|
5821
|
+
"type": "object",
|
|
5822
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
5734
5823
|
},
|
|
5735
5824
|
"className": {
|
|
5736
5825
|
"type": "string"
|
|
@@ -5902,7 +5991,8 @@
|
|
|
5902
5991
|
"default": 400
|
|
5903
5992
|
},
|
|
5904
5993
|
"margin": {
|
|
5905
|
-
"type": "object"
|
|
5994
|
+
"type": "object",
|
|
5995
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
5906
5996
|
},
|
|
5907
5997
|
"className": {
|
|
5908
5998
|
"type": "string"
|
|
@@ -6092,7 +6182,8 @@
|
|
|
6092
6182
|
"default": 400
|
|
6093
6183
|
},
|
|
6094
6184
|
"margin": {
|
|
6095
|
-
"type": "object"
|
|
6185
|
+
"type": "object",
|
|
6186
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6096
6187
|
},
|
|
6097
6188
|
"className": {
|
|
6098
6189
|
"type": "string"
|
|
@@ -6204,7 +6295,8 @@
|
|
|
6204
6295
|
"default": 400
|
|
6205
6296
|
},
|
|
6206
6297
|
"margin": {
|
|
6207
|
-
"type": "object"
|
|
6298
|
+
"type": "object",
|
|
6299
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6208
6300
|
},
|
|
6209
6301
|
"className": {
|
|
6210
6302
|
"type": "string"
|
|
@@ -6312,7 +6404,8 @@
|
|
|
6312
6404
|
"default": 400
|
|
6313
6405
|
},
|
|
6314
6406
|
"margin": {
|
|
6315
|
-
"type": "object"
|
|
6407
|
+
"type": "object",
|
|
6408
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6316
6409
|
},
|
|
6317
6410
|
"className": {
|
|
6318
6411
|
"type": "string"
|
|
@@ -6433,7 +6526,8 @@
|
|
|
6433
6526
|
"default": 400
|
|
6434
6527
|
},
|
|
6435
6528
|
"margin": {
|
|
6436
|
-
"type": "object"
|
|
6529
|
+
"type": "object",
|
|
6530
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6437
6531
|
},
|
|
6438
6532
|
"className": {
|
|
6439
6533
|
"type": "string"
|
|
@@ -6567,7 +6661,8 @@
|
|
|
6567
6661
|
"default": 400
|
|
6568
6662
|
},
|
|
6569
6663
|
"margin": {
|
|
6570
|
-
"type": "object"
|
|
6664
|
+
"type": "object",
|
|
6665
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6571
6666
|
},
|
|
6572
6667
|
"className": {
|
|
6573
6668
|
"type": "string"
|
|
@@ -6690,7 +6785,8 @@
|
|
|
6690
6785
|
"default": 400
|
|
6691
6786
|
},
|
|
6692
6787
|
"margin": {
|
|
6693
|
-
"type": "object"
|
|
6788
|
+
"type": "object",
|
|
6789
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6694
6790
|
},
|
|
6695
6791
|
"className": {
|
|
6696
6792
|
"type": "string"
|
|
@@ -6807,7 +6903,8 @@
|
|
|
6807
6903
|
"default": 400
|
|
6808
6904
|
},
|
|
6809
6905
|
"margin": {
|
|
6810
|
-
"type": "object"
|
|
6906
|
+
"type": "object",
|
|
6907
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
6811
6908
|
},
|
|
6812
6909
|
"className": {
|
|
6813
6910
|
"type": "string"
|
|
@@ -7059,7 +7156,8 @@
|
|
|
7059
7156
|
"default": 400
|
|
7060
7157
|
},
|
|
7061
7158
|
"margin": {
|
|
7062
|
-
"type": "object"
|
|
7159
|
+
"type": "object",
|
|
7160
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
7063
7161
|
},
|
|
7064
7162
|
"className": {
|
|
7065
7163
|
"type": "string"
|
|
@@ -7260,6 +7358,178 @@
|
|
|
7260
7358
|
"required": []
|
|
7261
7359
|
}
|
|
7262
7360
|
}
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"type": "function",
|
|
7364
|
+
"function": {
|
|
7365
|
+
"name": "TemporalHistogram",
|
|
7366
|
+
"description": "Static-data temporal histogram with binned aggregation. Use when data is a bounded array rather than a push stream.",
|
|
7367
|
+
"parameters": {
|
|
7368
|
+
"type": "object",
|
|
7369
|
+
"properties": {
|
|
7370
|
+
"data": {
|
|
7371
|
+
"type": "array",
|
|
7372
|
+
"description": "Array of temporal observations"
|
|
7373
|
+
},
|
|
7374
|
+
"binSize": {
|
|
7375
|
+
"type": "number",
|
|
7376
|
+
"description": "Time bin size in milliseconds (required)"
|
|
7377
|
+
},
|
|
7378
|
+
"size": {
|
|
7379
|
+
"type": "array",
|
|
7380
|
+
"description": "[width, height] in pixels"
|
|
7381
|
+
},
|
|
7382
|
+
"width": {
|
|
7383
|
+
"type": "number",
|
|
7384
|
+
"description": "Alias for size[0]"
|
|
7385
|
+
},
|
|
7386
|
+
"height": {
|
|
7387
|
+
"type": "number",
|
|
7388
|
+
"description": "Alias for size[1]"
|
|
7389
|
+
},
|
|
7390
|
+
"margin": {
|
|
7391
|
+
"type": "object",
|
|
7392
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
7393
|
+
},
|
|
7394
|
+
"className": {
|
|
7395
|
+
"type": "string"
|
|
7396
|
+
},
|
|
7397
|
+
"timeAccessor": {
|
|
7398
|
+
"type": [
|
|
7399
|
+
"string",
|
|
7400
|
+
"function"
|
|
7401
|
+
],
|
|
7402
|
+
"description": "Key for time/x values"
|
|
7403
|
+
},
|
|
7404
|
+
"valueAccessor": {
|
|
7405
|
+
"type": [
|
|
7406
|
+
"string",
|
|
7407
|
+
"function"
|
|
7408
|
+
],
|
|
7409
|
+
"description": "Key for y values"
|
|
7410
|
+
},
|
|
7411
|
+
"direction": {
|
|
7412
|
+
"type": "string",
|
|
7413
|
+
"enum": [
|
|
7414
|
+
"up",
|
|
7415
|
+
"down"
|
|
7416
|
+
],
|
|
7417
|
+
"description": "Bar growth direction. Use \"down\" for mirrored histograms; explicit valueExtent is reversed.",
|
|
7418
|
+
"default": "up"
|
|
7419
|
+
},
|
|
7420
|
+
"categoryAccessor": {
|
|
7421
|
+
"type": [
|
|
7422
|
+
"string",
|
|
7423
|
+
"function"
|
|
7424
|
+
],
|
|
7425
|
+
"description": "Key for category grouping"
|
|
7426
|
+
},
|
|
7427
|
+
"colors": {
|
|
7428
|
+
"type": "object",
|
|
7429
|
+
"description": "Map of category to color string"
|
|
7430
|
+
},
|
|
7431
|
+
"timeExtent": {
|
|
7432
|
+
"type": "array"
|
|
7433
|
+
},
|
|
7434
|
+
"valueExtent": {
|
|
7435
|
+
"type": "array"
|
|
7436
|
+
},
|
|
7437
|
+
"extentPadding": {
|
|
7438
|
+
"type": "number"
|
|
7439
|
+
},
|
|
7440
|
+
"showAxes": {
|
|
7441
|
+
"type": "boolean"
|
|
7442
|
+
},
|
|
7443
|
+
"background": {
|
|
7444
|
+
"type": "string"
|
|
7445
|
+
},
|
|
7446
|
+
"enableHover": {
|
|
7447
|
+
"type": [
|
|
7448
|
+
"boolean",
|
|
7449
|
+
"object"
|
|
7450
|
+
]
|
|
7451
|
+
},
|
|
7452
|
+
"tooltip": {
|
|
7453
|
+
"type": [
|
|
7454
|
+
"function",
|
|
7455
|
+
"object"
|
|
7456
|
+
],
|
|
7457
|
+
"description": "Tooltip content function or config"
|
|
7458
|
+
},
|
|
7459
|
+
"annotations": {
|
|
7460
|
+
"type": "array",
|
|
7461
|
+
"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.",
|
|
7462
|
+
"items": {
|
|
7463
|
+
"type": "object",
|
|
7464
|
+
"properties": {
|
|
7465
|
+
"type": {
|
|
7466
|
+
"type": "string",
|
|
7467
|
+
"enum": [
|
|
7468
|
+
"widget",
|
|
7469
|
+
"label",
|
|
7470
|
+
"callout",
|
|
7471
|
+
"text",
|
|
7472
|
+
"bracket",
|
|
7473
|
+
"y-threshold",
|
|
7474
|
+
"x-threshold",
|
|
7475
|
+
"band",
|
|
7476
|
+
"enclose",
|
|
7477
|
+
"rect-enclose",
|
|
7478
|
+
"highlight",
|
|
7479
|
+
"trend",
|
|
7480
|
+
"envelope",
|
|
7481
|
+
"anomaly-band",
|
|
7482
|
+
"forecast"
|
|
7483
|
+
],
|
|
7484
|
+
"description": "Annotation type"
|
|
7485
|
+
}
|
|
7486
|
+
},
|
|
7487
|
+
"required": [
|
|
7488
|
+
"type"
|
|
7489
|
+
]
|
|
7490
|
+
}
|
|
7491
|
+
},
|
|
7492
|
+
"fill": {
|
|
7493
|
+
"type": "string"
|
|
7494
|
+
},
|
|
7495
|
+
"stroke": {
|
|
7496
|
+
"type": "string"
|
|
7497
|
+
},
|
|
7498
|
+
"strokeWidth": {
|
|
7499
|
+
"type": "number"
|
|
7500
|
+
},
|
|
7501
|
+
"gap": {
|
|
7502
|
+
"type": "number"
|
|
7503
|
+
},
|
|
7504
|
+
"linkedHover": {
|
|
7505
|
+
"type": [
|
|
7506
|
+
"boolean",
|
|
7507
|
+
"string",
|
|
7508
|
+
"object"
|
|
7509
|
+
]
|
|
7510
|
+
},
|
|
7511
|
+
"linkedBrush": {
|
|
7512
|
+
"type": [
|
|
7513
|
+
"string",
|
|
7514
|
+
"object"
|
|
7515
|
+
],
|
|
7516
|
+
"description": "Cross-chart brush coordination via LinkedCharts. String: selection name. Object: { name, xField, yField }."
|
|
7517
|
+
},
|
|
7518
|
+
"brush": {
|
|
7519
|
+
"type": [
|
|
7520
|
+
"boolean",
|
|
7521
|
+
"string",
|
|
7522
|
+
"object"
|
|
7523
|
+
],
|
|
7524
|
+
"description": "Enable brush selection. true defaults to { dimension: \"x\", snap: \"bin\" }. String: \"x\". Object: { dimension, snap: \"continuous\"|\"bin\", snapDuring }."
|
|
7525
|
+
}
|
|
7526
|
+
},
|
|
7527
|
+
"required": [
|
|
7528
|
+
"data",
|
|
7529
|
+
"binSize"
|
|
7530
|
+
]
|
|
7531
|
+
}
|
|
7532
|
+
}
|
|
7263
7533
|
}
|
|
7264
7534
|
]
|
|
7265
7535
|
}
|