@krizaka/charts 0.3.0 → 0.4.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/README.md +1 -1
- package/dist/actions-5VG352VZ.js +53 -0
- package/dist/actions-5VG352VZ.js.map +1 -0
- package/dist/bar.d.ts +3 -3
- package/dist/bar.js +7 -6
- package/dist/candlestick.d.ts +2 -2
- package/dist/candlestick.js +6 -5
- package/dist/card.d.ts +52 -0
- package/dist/card.js +19 -0
- package/dist/card.js.map +1 -0
- package/dist/{cartesian-BRhNQ3ib.d.ts → cartesian-CEY_wwe_.d.ts} +12 -2
- package/dist/chart.d.ts +2 -2
- package/dist/chart.js +5 -4
- package/dist/{chunk-BV4DBGN7.js → chunk-7W4T255Q.js} +4 -4
- package/dist/{chunk-W5ILLSPK.js → chunk-AGSSNMK5.js} +5 -5
- package/dist/{chunk-VKZZY2QD.js → chunk-FE4LUGAE.js} +5 -5
- package/dist/{chunk-ARARFMNE.js → chunk-FIQHMJZK.js} +5 -5
- package/dist/chunk-FIQHMJZK.js.map +1 -0
- package/dist/{chunk-ANUCSRUN.js → chunk-GD7TWEN3.js} +3 -3
- package/dist/chunk-GRRFPI27.js +89 -0
- package/dist/chunk-GRRFPI27.js.map +1 -0
- package/dist/{chunk-SLEJDQ3A.js → chunk-HH65IEUV.js} +3 -3
- package/dist/{chunk-OIRHLJBC.js → chunk-IJTI6VJD.js} +3 -3
- package/dist/{chunk-WVTIKOII.js → chunk-IURCLBUQ.js} +2 -2
- package/dist/{chunk-CVWSMUUB.js → chunk-JST4HJC3.js} +33 -15
- package/dist/chunk-JST4HJC3.js.map +1 -0
- package/dist/{chunk-IKQV3NSL.js → chunk-KERGFVSN.js} +3 -3
- package/dist/{chunk-XDDALY4C.js → chunk-KMQ7RANJ.js} +5 -5
- package/dist/{chunk-NCIQMRV3.js → chunk-LLUQEK5J.js} +5 -5
- package/dist/{chunk-AA5EWWYV.js → chunk-LZPZWBBY.js} +2 -2
- package/dist/{chunk-PBQV3B6O.js → chunk-MK2ZFUWM.js} +31 -16
- package/dist/chunk-MK2ZFUWM.js.map +1 -0
- package/dist/{chunk-CSSZLFLO.js → chunk-MRGMLDNS.js} +5 -5
- package/dist/{chunk-I3D7KUGN.js → chunk-NLTZWJLV.js} +3 -3
- package/dist/{chunk-PWMMXRMC.js → chunk-NV52AKHG.js} +3 -3
- package/dist/{chunk-MXLITIGU.js → chunk-NWJ5VDN7.js} +5 -5
- package/dist/{chunk-3CJHBJXA.js → chunk-OVASCEGF.js} +12 -73
- package/dist/chunk-OVASCEGF.js.map +1 -0
- package/dist/{chunk-EQLC2QVN.js → chunk-OZOAKP5F.js} +4 -4
- package/dist/chunk-OZOAKP5F.js.map +1 -0
- package/dist/{chunk-KNDHO67X.js → chunk-P2NK5L3B.js} +3 -3
- package/dist/{chunk-JTKR7ZWP.js → chunk-P6RS2L23.js} +140 -36
- package/dist/chunk-P6RS2L23.js.map +1 -0
- package/dist/{chunk-W5FX4TU3.js → chunk-PGD6SH5I.js} +30 -2
- package/dist/chunk-PGD6SH5I.js.map +1 -0
- package/dist/{chunk-4LBXEAGC.js → chunk-PWZHIGPO.js} +5 -5
- package/dist/{chunk-L2EKYWVI.js → chunk-VEOJNMPF.js} +3 -3
- package/dist/chunk-YHQFW2PR.js +71 -0
- package/dist/chunk-YHQFW2PR.js.map +1 -0
- package/dist/{chunk-C4MFZLJM.js → chunk-Z4T3JFNU.js} +2 -2
- package/dist/{chunk-EEP7PS2L.js → chunk-ZF7LVQTR.js} +3 -3
- package/dist/{context-BgYUymEO.d.ts → context-DNW7bJYw.d.ts} +19 -0
- package/dist/credits.d.ts +1 -1
- package/dist/credits.js +7 -6
- package/dist/earnings.d.ts +3 -3
- package/dist/earnings.js +8 -7
- package/dist/{frame-I7_xYGy5.d.ts → frame-B1HDNm7c.d.ts} +9 -5
- package/dist/funnel.d.ts +2 -2
- package/dist/funnel.js +6 -5
- package/dist/gauge.d.ts +2 -2
- package/dist/gauge.js +4 -3
- package/dist/geo.d.ts +2 -2
- package/dist/geo.js +5 -4
- package/dist/globe.d.ts +2 -2
- package/dist/globe.js +4 -3
- package/dist/goal.d.ts +2 -2
- package/dist/goal.js +5 -4
- package/dist/heatmap.d.ts +2 -2
- package/dist/heatmap.js +6 -5
- package/dist/index.d.ts +5 -3
- package/dist/index.js +45 -37
- package/dist/latency.d.ts +3 -3
- package/dist/latency.js +8 -7
- package/dist/line.d.ts +3 -3
- package/dist/line.js +7 -6
- package/dist/native.d.ts +19 -0
- package/dist/native.js +13 -1
- package/dist/native.js.map +1 -1
- package/dist/pie.d.ts +2 -2
- package/dist/pie.js +6 -5
- package/dist/provider.d.ts +2 -2
- package/dist/provider.js +4 -2
- package/dist/radar.d.ts +2 -2
- package/dist/radar.js +6 -5
- package/dist/sankey.d.ts +2 -2
- package/dist/sankey.js +6 -5
- package/dist/scatter.d.ts +2 -2
- package/dist/scatter.js +6 -5
- package/dist/sparkline.d.ts +2 -2
- package/dist/sparkline.js +6 -5
- package/dist/table-sheet-CQBIAV5N.js +36 -0
- package/dist/table-sheet-CQBIAV5N.js.map +1 -0
- package/dist/throughput.d.ts +3 -3
- package/dist/throughput.js +8 -7
- package/dist/ticker.d.ts +3 -3
- package/dist/ticker.js +8 -7
- package/dist/treemap.d.ts +2 -2
- package/dist/treemap.js +7 -6
- package/package.json +295 -53
- package/registry/area-chart.json +82 -12
- package/registry/bar-chart.json +82 -12
- package/registry/calendar-heatmap.json +46 -18
- package/registry/candlestick.json +46 -18
- package/registry/chart-card.json +235 -0
- package/registry/chart.json +40 -12
- package/registry/charts-provider.json +2 -2
- package/registry/earnings-chart.json +82 -12
- package/registry/examples/chart-card/before-after.d.ts +4 -0
- package/registry/examples/chart-card/before-after.js +22 -0
- package/registry/examples/chart-card/before-after.tsx +22 -0
- package/registry/examples/chart-card/jobs-activity.d.ts +4 -0
- package/registry/examples/chart-card/jobs-activity.js +20 -0
- package/registry/examples/chart-card/jobs-activity.tsx +20 -0
- package/registry/examples/chart-card/sparse-and-empty.d.ts +4 -0
- package/registry/examples/chart-card/sparse-and-empty.js +16 -0
- package/registry/examples/chart-card/sparse-and-empty.tsx +18 -0
- package/registry/examples/chart-card/usage-donut.d.ts +4 -0
- package/registry/examples/chart-card/usage-donut.js +18 -0
- package/registry/examples/chart-card/usage-donut.tsx +18 -0
- package/registry/examples/charts-provider/french-orazaka.js +1 -1
- package/registry/examples/charts-provider/french-orazaka.tsx +1 -1
- package/registry/examples/kpi-stat/dashboard-row.d.ts +4 -0
- package/registry/examples/kpi-stat/dashboard-row.js +19 -0
- package/registry/examples/kpi-stat/dashboard-row.tsx +17 -0
- package/registry/examples/kpi-stat/single.d.ts +4 -0
- package/registry/examples/kpi-stat/single.js +11 -0
- package/registry/examples/kpi-stat/single.tsx +6 -0
- package/registry/funnel.json +46 -18
- package/registry/gauge.json +42 -14
- package/registry/geo-map.json +46 -18
- package/registry/globe.json +40 -12
- package/registry/goal-progress.json +36 -8
- package/registry/heatmap.json +46 -18
- package/registry/index.json +49 -1
- package/registry/job-throughput.json +82 -12
- package/registry/kpi-stat.json +296 -0
- package/registry/latency-chart.json +82 -12
- package/registry/line-chart.json +82 -12
- package/registry/pie-chart.json +92 -36
- package/registry/price-ticker.json +82 -12
- package/registry/radar-chart.json +46 -18
- package/registry/sankey.json +46 -18
- package/registry/scatter-chart.json +46 -18
- package/registry/sparkline.json +38 -10
- package/registry/treemap.json +40 -12
- package/dist/chunk-3CJHBJXA.js.map +0 -1
- package/dist/chunk-ARARFMNE.js.map +0 -1
- package/dist/chunk-CVWSMUUB.js.map +0 -1
- package/dist/chunk-EQLC2QVN.js.map +0 -1
- package/dist/chunk-JTKR7ZWP.js.map +0 -1
- package/dist/chunk-PBQV3B6O.js.map +0 -1
- package/dist/chunk-W5FX4TU3.js.map +0 -1
- /package/dist/{chunk-BV4DBGN7.js.map → chunk-7W4T255Q.js.map} +0 -0
- /package/dist/{chunk-W5ILLSPK.js.map → chunk-AGSSNMK5.js.map} +0 -0
- /package/dist/{chunk-VKZZY2QD.js.map → chunk-FE4LUGAE.js.map} +0 -0
- /package/dist/{chunk-ANUCSRUN.js.map → chunk-GD7TWEN3.js.map} +0 -0
- /package/dist/{chunk-SLEJDQ3A.js.map → chunk-HH65IEUV.js.map} +0 -0
- /package/dist/{chunk-OIRHLJBC.js.map → chunk-IJTI6VJD.js.map} +0 -0
- /package/dist/{chunk-WVTIKOII.js.map → chunk-IURCLBUQ.js.map} +0 -0
- /package/dist/{chunk-IKQV3NSL.js.map → chunk-KERGFVSN.js.map} +0 -0
- /package/dist/{chunk-XDDALY4C.js.map → chunk-KMQ7RANJ.js.map} +0 -0
- /package/dist/{chunk-NCIQMRV3.js.map → chunk-LLUQEK5J.js.map} +0 -0
- /package/dist/{chunk-AA5EWWYV.js.map → chunk-LZPZWBBY.js.map} +0 -0
- /package/dist/{chunk-CSSZLFLO.js.map → chunk-MRGMLDNS.js.map} +0 -0
- /package/dist/{chunk-I3D7KUGN.js.map → chunk-NLTZWJLV.js.map} +0 -0
- /package/dist/{chunk-PWMMXRMC.js.map → chunk-NV52AKHG.js.map} +0 -0
- /package/dist/{chunk-MXLITIGU.js.map → chunk-NWJ5VDN7.js.map} +0 -0
- /package/dist/{chunk-KNDHO67X.js.map → chunk-P2NK5L3B.js.map} +0 -0
- /package/dist/{chunk-4LBXEAGC.js.map → chunk-PWZHIGPO.js.map} +0 -0
- /package/dist/{chunk-L2EKYWVI.js.map → chunk-VEOJNMPF.js.map} +0 -0
- /package/dist/{chunk-C4MFZLJM.js.map → chunk-Z4T3JFNU.js.map} +0 -0
- /package/dist/{chunk-EEP7PS2L.js.map → chunk-ZF7LVQTR.js.map} +0 -0
package/registry/area-chart.json
CHANGED
|
@@ -81,11 +81,18 @@
|
|
|
81
81
|
"required": true
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
"name": "
|
|
85
|
-
"type": "
|
|
84
|
+
"name": "actionsMenu",
|
|
85
|
+
"type": "boolean",
|
|
86
86
|
"default": null,
|
|
87
|
-
"description": "
|
|
88
|
-
"required":
|
|
87
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
88
|
+
"required": false
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "autoRange",
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"default": null,
|
|
94
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
95
|
+
"required": false
|
|
89
96
|
},
|
|
90
97
|
{
|
|
91
98
|
"name": "brand",
|
|
@@ -112,7 +119,7 @@
|
|
|
112
119
|
"name": "dataTable",
|
|
113
120
|
"type": "boolean",
|
|
114
121
|
"default": null,
|
|
115
|
-
"description": "
|
|
122
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
116
123
|
"required": false
|
|
117
124
|
},
|
|
118
125
|
{
|
|
@@ -154,7 +161,14 @@
|
|
|
154
161
|
"name": "exportable",
|
|
155
162
|
"type": "boolean | readonly ExportFormat[]",
|
|
156
163
|
"default": null,
|
|
157
|
-
"description": "
|
|
164
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
165
|
+
"required": false
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "filterable",
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"default": null,
|
|
171
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
158
172
|
"required": false
|
|
159
173
|
},
|
|
160
174
|
{
|
|
@@ -185,6 +199,13 @@
|
|
|
185
199
|
"description": "The id of the figure.",
|
|
186
200
|
"required": false
|
|
187
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"name": "insight",
|
|
204
|
+
"type": "ReactNode",
|
|
205
|
+
"default": null,
|
|
206
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
207
|
+
"required": false
|
|
208
|
+
},
|
|
188
209
|
{
|
|
189
210
|
"name": "labels",
|
|
190
211
|
"type": "ChartLabelsInput",
|
|
@@ -227,6 +248,13 @@
|
|
|
227
248
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
228
249
|
"required": false
|
|
229
250
|
},
|
|
251
|
+
{
|
|
252
|
+
"name": "minPoints",
|
|
253
|
+
"type": "number",
|
|
254
|
+
"default": null,
|
|
255
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
256
|
+
"required": false
|
|
257
|
+
},
|
|
230
258
|
{
|
|
231
259
|
"name": "onSelect",
|
|
232
260
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -276,6 +304,13 @@
|
|
|
276
304
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
277
305
|
"required": false
|
|
278
306
|
},
|
|
307
|
+
{
|
|
308
|
+
"name": "title",
|
|
309
|
+
"type": "string",
|
|
310
|
+
"default": null,
|
|
311
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
312
|
+
"required": false
|
|
313
|
+
},
|
|
279
314
|
{
|
|
280
315
|
"name": "x",
|
|
281
316
|
"type": "string | ((datum: T, index: number) => unknown)",
|
|
@@ -542,11 +577,18 @@
|
|
|
542
577
|
"required": true
|
|
543
578
|
},
|
|
544
579
|
{
|
|
545
|
-
"name": "
|
|
546
|
-
"type": "
|
|
580
|
+
"name": "actionsMenu",
|
|
581
|
+
"type": "boolean",
|
|
547
582
|
"default": null,
|
|
548
|
-
"description": "
|
|
549
|
-
"required":
|
|
583
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
584
|
+
"required": false
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "autoRange",
|
|
588
|
+
"type": "boolean",
|
|
589
|
+
"default": null,
|
|
590
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
591
|
+
"required": false
|
|
550
592
|
},
|
|
551
593
|
{
|
|
552
594
|
"name": "brand",
|
|
@@ -573,7 +615,7 @@
|
|
|
573
615
|
"name": "dataTable",
|
|
574
616
|
"type": "boolean",
|
|
575
617
|
"default": null,
|
|
576
|
-
"description": "
|
|
618
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
577
619
|
"required": false
|
|
578
620
|
},
|
|
579
621
|
{
|
|
@@ -615,7 +657,14 @@
|
|
|
615
657
|
"name": "exportable",
|
|
616
658
|
"type": "boolean | readonly ExportFormat[]",
|
|
617
659
|
"default": null,
|
|
618
|
-
"description": "
|
|
660
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
661
|
+
"required": false
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "filterable",
|
|
665
|
+
"type": "boolean",
|
|
666
|
+
"default": null,
|
|
667
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
619
668
|
"required": false
|
|
620
669
|
},
|
|
621
670
|
{
|
|
@@ -646,6 +695,13 @@
|
|
|
646
695
|
"description": "The id of the figure.",
|
|
647
696
|
"required": false
|
|
648
697
|
},
|
|
698
|
+
{
|
|
699
|
+
"name": "insight",
|
|
700
|
+
"type": "ReactNode",
|
|
701
|
+
"default": null,
|
|
702
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
703
|
+
"required": false
|
|
704
|
+
},
|
|
649
705
|
{
|
|
650
706
|
"name": "labels",
|
|
651
707
|
"type": "ChartLabelsInput",
|
|
@@ -688,6 +744,13 @@
|
|
|
688
744
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
689
745
|
"required": false
|
|
690
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"name": "minPoints",
|
|
749
|
+
"type": "number",
|
|
750
|
+
"default": null,
|
|
751
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
752
|
+
"required": false
|
|
753
|
+
},
|
|
691
754
|
{
|
|
692
755
|
"name": "onSelect",
|
|
693
756
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -737,6 +800,13 @@
|
|
|
737
800
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
738
801
|
"required": false
|
|
739
802
|
},
|
|
803
|
+
{
|
|
804
|
+
"name": "title",
|
|
805
|
+
"type": "string",
|
|
806
|
+
"default": null,
|
|
807
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
808
|
+
"required": false
|
|
809
|
+
},
|
|
740
810
|
{
|
|
741
811
|
"name": "x",
|
|
742
812
|
"type": "string | ((datum: T, index: number) => unknown)",
|
package/registry/bar-chart.json
CHANGED
|
@@ -93,11 +93,18 @@
|
|
|
93
93
|
"required": true
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"type": "
|
|
96
|
+
"name": "actionsMenu",
|
|
97
|
+
"type": "boolean",
|
|
98
98
|
"default": null,
|
|
99
|
-
"description": "
|
|
100
|
-
"required":
|
|
99
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
100
|
+
"required": false
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "autoRange",
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"default": null,
|
|
106
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
107
|
+
"required": false
|
|
101
108
|
},
|
|
102
109
|
{
|
|
103
110
|
"name": "brand",
|
|
@@ -117,7 +124,7 @@
|
|
|
117
124
|
"name": "dataTable",
|
|
118
125
|
"type": "boolean",
|
|
119
126
|
"default": null,
|
|
120
|
-
"description": "
|
|
127
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
121
128
|
"required": false
|
|
122
129
|
},
|
|
123
130
|
{
|
|
@@ -145,7 +152,14 @@
|
|
|
145
152
|
"name": "exportable",
|
|
146
153
|
"type": "boolean | readonly ExportFormat[]",
|
|
147
154
|
"default": null,
|
|
148
|
-
"description": "
|
|
155
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
156
|
+
"required": false
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "filterable",
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"default": null,
|
|
162
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
149
163
|
"required": false
|
|
150
164
|
},
|
|
151
165
|
{
|
|
@@ -183,6 +197,13 @@
|
|
|
183
197
|
"description": "The id of the figure.",
|
|
184
198
|
"required": false
|
|
185
199
|
},
|
|
200
|
+
{
|
|
201
|
+
"name": "insight",
|
|
202
|
+
"type": "ReactNode",
|
|
203
|
+
"default": null,
|
|
204
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
205
|
+
"required": false
|
|
206
|
+
},
|
|
186
207
|
{
|
|
187
208
|
"name": "labels",
|
|
188
209
|
"type": "ChartLabelsInput",
|
|
@@ -225,6 +246,13 @@
|
|
|
225
246
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
226
247
|
"required": false
|
|
227
248
|
},
|
|
249
|
+
{
|
|
250
|
+
"name": "minPoints",
|
|
251
|
+
"type": "number",
|
|
252
|
+
"default": null,
|
|
253
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
254
|
+
"required": false
|
|
255
|
+
},
|
|
228
256
|
{
|
|
229
257
|
"name": "onSelect",
|
|
230
258
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -274,6 +302,13 @@
|
|
|
274
302
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
275
303
|
"required": false
|
|
276
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"name": "title",
|
|
307
|
+
"type": "string",
|
|
308
|
+
"default": null,
|
|
309
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
310
|
+
"required": false
|
|
311
|
+
},
|
|
277
312
|
{
|
|
278
313
|
"name": "valueLabels",
|
|
279
314
|
"type": "boolean",
|
|
@@ -548,11 +583,18 @@
|
|
|
548
583
|
"required": true
|
|
549
584
|
},
|
|
550
585
|
{
|
|
551
|
-
"name": "
|
|
552
|
-
"type": "
|
|
586
|
+
"name": "actionsMenu",
|
|
587
|
+
"type": "boolean",
|
|
553
588
|
"default": null,
|
|
554
|
-
"description": "
|
|
555
|
-
"required":
|
|
589
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
590
|
+
"required": false
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "autoRange",
|
|
594
|
+
"type": "boolean",
|
|
595
|
+
"default": null,
|
|
596
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
597
|
+
"required": false
|
|
556
598
|
},
|
|
557
599
|
{
|
|
558
600
|
"name": "brand",
|
|
@@ -572,7 +614,7 @@
|
|
|
572
614
|
"name": "dataTable",
|
|
573
615
|
"type": "boolean",
|
|
574
616
|
"default": null,
|
|
575
|
-
"description": "
|
|
617
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
576
618
|
"required": false
|
|
577
619
|
},
|
|
578
620
|
{
|
|
@@ -600,7 +642,14 @@
|
|
|
600
642
|
"name": "exportable",
|
|
601
643
|
"type": "boolean | readonly ExportFormat[]",
|
|
602
644
|
"default": null,
|
|
603
|
-
"description": "
|
|
645
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
646
|
+
"required": false
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "filterable",
|
|
650
|
+
"type": "boolean",
|
|
651
|
+
"default": null,
|
|
652
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
604
653
|
"required": false
|
|
605
654
|
},
|
|
606
655
|
{
|
|
@@ -638,6 +687,13 @@
|
|
|
638
687
|
"description": "The id of the figure.",
|
|
639
688
|
"required": false
|
|
640
689
|
},
|
|
690
|
+
{
|
|
691
|
+
"name": "insight",
|
|
692
|
+
"type": "ReactNode",
|
|
693
|
+
"default": null,
|
|
694
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
695
|
+
"required": false
|
|
696
|
+
},
|
|
641
697
|
{
|
|
642
698
|
"name": "labels",
|
|
643
699
|
"type": "ChartLabelsInput",
|
|
@@ -680,6 +736,13 @@
|
|
|
680
736
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
681
737
|
"required": false
|
|
682
738
|
},
|
|
739
|
+
{
|
|
740
|
+
"name": "minPoints",
|
|
741
|
+
"type": "number",
|
|
742
|
+
"default": null,
|
|
743
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
744
|
+
"required": false
|
|
745
|
+
},
|
|
683
746
|
{
|
|
684
747
|
"name": "onSelect",
|
|
685
748
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -729,6 +792,13 @@
|
|
|
729
792
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
730
793
|
"required": false
|
|
731
794
|
},
|
|
795
|
+
{
|
|
796
|
+
"name": "title",
|
|
797
|
+
"type": "string",
|
|
798
|
+
"default": null,
|
|
799
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
800
|
+
"required": false
|
|
801
|
+
},
|
|
732
802
|
{
|
|
733
803
|
"name": "valueLabels",
|
|
734
804
|
"type": "boolean",
|
|
@@ -86,13 +86,6 @@
|
|
|
86
86
|
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
87
87
|
"required": true
|
|
88
88
|
},
|
|
89
|
-
{
|
|
90
|
-
"name": "title",
|
|
91
|
-
"type": "string",
|
|
92
|
-
"default": null,
|
|
93
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
94
|
-
"required": true
|
|
95
|
-
},
|
|
96
89
|
{
|
|
97
90
|
"name": "value",
|
|
98
91
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -100,6 +93,13 @@
|
|
|
100
93
|
"description": "The field of the day's value.",
|
|
101
94
|
"required": true
|
|
102
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"name": "actionsMenu",
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"default": null,
|
|
100
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
101
|
+
"required": false
|
|
102
|
+
},
|
|
103
103
|
{
|
|
104
104
|
"name": "brand",
|
|
105
105
|
"type": "BrandId",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"name": "dataTable",
|
|
119
119
|
"type": "boolean",
|
|
120
120
|
"default": null,
|
|
121
|
-
"description": "
|
|
121
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
122
122
|
"required": false
|
|
123
123
|
},
|
|
124
124
|
{
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"name": "exportable",
|
|
147
147
|
"type": "boolean | readonly ExportFormat[]",
|
|
148
148
|
"default": null,
|
|
149
|
-
"description": "
|
|
149
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
150
150
|
"required": false
|
|
151
151
|
},
|
|
152
152
|
{
|
|
@@ -177,6 +177,13 @@
|
|
|
177
177
|
"description": "The id of the figure.",
|
|
178
178
|
"required": false
|
|
179
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"name": "insight",
|
|
182
|
+
"type": "ReactNode",
|
|
183
|
+
"default": null,
|
|
184
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
185
|
+
"required": false
|
|
186
|
+
},
|
|
180
187
|
{
|
|
181
188
|
"name": "labels",
|
|
182
189
|
"type": "ChartLabelsInput",
|
|
@@ -240,6 +247,13 @@
|
|
|
240
247
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
241
248
|
"required": false
|
|
242
249
|
},
|
|
250
|
+
{
|
|
251
|
+
"name": "title",
|
|
252
|
+
"type": "string",
|
|
253
|
+
"default": null,
|
|
254
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
255
|
+
"required": false
|
|
256
|
+
},
|
|
243
257
|
{
|
|
244
258
|
"name": "valueLabel",
|
|
245
259
|
"type": "string",
|
|
@@ -293,13 +307,6 @@
|
|
|
293
307
|
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
294
308
|
"required": true
|
|
295
309
|
},
|
|
296
|
-
{
|
|
297
|
-
"name": "title",
|
|
298
|
-
"type": "string",
|
|
299
|
-
"default": null,
|
|
300
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
301
|
-
"required": true
|
|
302
|
-
},
|
|
303
310
|
{
|
|
304
311
|
"name": "value",
|
|
305
312
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -307,6 +314,13 @@
|
|
|
307
314
|
"description": "The field of the day's value.",
|
|
308
315
|
"required": true
|
|
309
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"name": "actionsMenu",
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"default": null,
|
|
321
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
322
|
+
"required": false
|
|
323
|
+
},
|
|
310
324
|
{
|
|
311
325
|
"name": "brand",
|
|
312
326
|
"type": "BrandId",
|
|
@@ -325,7 +339,7 @@
|
|
|
325
339
|
"name": "dataTable",
|
|
326
340
|
"type": "boolean",
|
|
327
341
|
"default": null,
|
|
328
|
-
"description": "
|
|
342
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
329
343
|
"required": false
|
|
330
344
|
},
|
|
331
345
|
{
|
|
@@ -353,7 +367,7 @@
|
|
|
353
367
|
"name": "exportable",
|
|
354
368
|
"type": "boolean | readonly ExportFormat[]",
|
|
355
369
|
"default": null,
|
|
356
|
-
"description": "
|
|
370
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
357
371
|
"required": false
|
|
358
372
|
},
|
|
359
373
|
{
|
|
@@ -384,6 +398,13 @@
|
|
|
384
398
|
"description": "The id of the figure.",
|
|
385
399
|
"required": false
|
|
386
400
|
},
|
|
401
|
+
{
|
|
402
|
+
"name": "insight",
|
|
403
|
+
"type": "ReactNode",
|
|
404
|
+
"default": null,
|
|
405
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
406
|
+
"required": false
|
|
407
|
+
},
|
|
387
408
|
{
|
|
388
409
|
"name": "labels",
|
|
389
410
|
"type": "ChartLabelsInput",
|
|
@@ -447,6 +468,13 @@
|
|
|
447
468
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
448
469
|
"required": false
|
|
449
470
|
},
|
|
471
|
+
{
|
|
472
|
+
"name": "title",
|
|
473
|
+
"type": "string",
|
|
474
|
+
"default": null,
|
|
475
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
476
|
+
"required": false
|
|
477
|
+
},
|
|
450
478
|
{
|
|
451
479
|
"name": "valueLabel",
|
|
452
480
|
"type": "string",
|
|
@@ -102,13 +102,6 @@
|
|
|
102
102
|
"description": "The field of the price at the start of the period.",
|
|
103
103
|
"required": true
|
|
104
104
|
},
|
|
105
|
-
{
|
|
106
|
-
"name": "title",
|
|
107
|
-
"type": "string",
|
|
108
|
-
"default": null,
|
|
109
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
110
|
-
"required": true
|
|
111
|
-
},
|
|
112
105
|
{
|
|
113
106
|
"name": "x",
|
|
114
107
|
"type": "string | ((datum: T, index: number) => unknown)",
|
|
@@ -116,6 +109,13 @@
|
|
|
116
109
|
"description": "The field of the period (a date, an hour).",
|
|
117
110
|
"required": true
|
|
118
111
|
},
|
|
112
|
+
{
|
|
113
|
+
"name": "actionsMenu",
|
|
114
|
+
"type": "boolean",
|
|
115
|
+
"default": null,
|
|
116
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
117
|
+
"required": false
|
|
118
|
+
},
|
|
119
119
|
{
|
|
120
120
|
"name": "brand",
|
|
121
121
|
"type": "BrandId",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"name": "dataTable",
|
|
142
142
|
"type": "boolean",
|
|
143
143
|
"default": null,
|
|
144
|
-
"description": "
|
|
144
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
145
145
|
"required": false
|
|
146
146
|
},
|
|
147
147
|
{
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"name": "exportable",
|
|
170
170
|
"type": "boolean | readonly ExportFormat[]",
|
|
171
171
|
"default": null,
|
|
172
|
-
"description": "
|
|
172
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
173
173
|
"required": false
|
|
174
174
|
},
|
|
175
175
|
{
|
|
@@ -200,6 +200,13 @@
|
|
|
200
200
|
"description": "The id of the figure.",
|
|
201
201
|
"required": false
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"name": "insight",
|
|
205
|
+
"type": "ReactNode",
|
|
206
|
+
"default": null,
|
|
207
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
208
|
+
"required": false
|
|
209
|
+
},
|
|
203
210
|
{
|
|
204
211
|
"name": "labels",
|
|
205
212
|
"type": "ChartLabelsInput",
|
|
@@ -263,6 +270,13 @@
|
|
|
263
270
|
"description": "Horizontal lines: a reserve price, a target.",
|
|
264
271
|
"required": false
|
|
265
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"name": "title",
|
|
275
|
+
"type": "string",
|
|
276
|
+
"default": null,
|
|
277
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
278
|
+
"required": false
|
|
279
|
+
},
|
|
266
280
|
{
|
|
267
281
|
"name": "volume",
|
|
268
282
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -358,13 +372,6 @@
|
|
|
358
372
|
"description": "The field of the price at the start of the period.",
|
|
359
373
|
"required": true
|
|
360
374
|
},
|
|
361
|
-
{
|
|
362
|
-
"name": "title",
|
|
363
|
-
"type": "string",
|
|
364
|
-
"default": null,
|
|
365
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
366
|
-
"required": true
|
|
367
|
-
},
|
|
368
375
|
{
|
|
369
376
|
"name": "x",
|
|
370
377
|
"type": "string | ((datum: T, index: number) => unknown)",
|
|
@@ -372,6 +379,13 @@
|
|
|
372
379
|
"description": "The field of the period (a date, an hour).",
|
|
373
380
|
"required": true
|
|
374
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"name": "actionsMenu",
|
|
384
|
+
"type": "boolean",
|
|
385
|
+
"default": null,
|
|
386
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
387
|
+
"required": false
|
|
388
|
+
},
|
|
375
389
|
{
|
|
376
390
|
"name": "brand",
|
|
377
391
|
"type": "BrandId",
|
|
@@ -397,7 +411,7 @@
|
|
|
397
411
|
"name": "dataTable",
|
|
398
412
|
"type": "boolean",
|
|
399
413
|
"default": null,
|
|
400
|
-
"description": "
|
|
414
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
401
415
|
"required": false
|
|
402
416
|
},
|
|
403
417
|
{
|
|
@@ -425,7 +439,7 @@
|
|
|
425
439
|
"name": "exportable",
|
|
426
440
|
"type": "boolean | readonly ExportFormat[]",
|
|
427
441
|
"default": null,
|
|
428
|
-
"description": "
|
|
442
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
429
443
|
"required": false
|
|
430
444
|
},
|
|
431
445
|
{
|
|
@@ -456,6 +470,13 @@
|
|
|
456
470
|
"description": "The id of the figure.",
|
|
457
471
|
"required": false
|
|
458
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"name": "insight",
|
|
475
|
+
"type": "ReactNode",
|
|
476
|
+
"default": null,
|
|
477
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
478
|
+
"required": false
|
|
479
|
+
},
|
|
459
480
|
{
|
|
460
481
|
"name": "labels",
|
|
461
482
|
"type": "ChartLabelsInput",
|
|
@@ -519,6 +540,13 @@
|
|
|
519
540
|
"description": "Horizontal lines: a reserve price, a target.",
|
|
520
541
|
"required": false
|
|
521
542
|
},
|
|
543
|
+
{
|
|
544
|
+
"name": "title",
|
|
545
|
+
"type": "string",
|
|
546
|
+
"default": null,
|
|
547
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
548
|
+
"required": false
|
|
549
|
+
},
|
|
522
550
|
{
|
|
523
551
|
"name": "volume",
|
|
524
552
|
"type": "string | ((datum: T, index: number) => number)",
|