@krizaka/charts 0.3.1 → 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/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 +292 -50
- 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/pie-chart.json
CHANGED
|
@@ -96,13 +96,6 @@
|
|
|
96
96
|
"description": "The field (or function) naming the part.",
|
|
97
97
|
"required": true
|
|
98
98
|
},
|
|
99
|
-
{
|
|
100
|
-
"name": "title",
|
|
101
|
-
"type": "string",
|
|
102
|
-
"default": null,
|
|
103
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
104
|
-
"required": true
|
|
105
|
-
},
|
|
106
99
|
{
|
|
107
100
|
"name": "value",
|
|
108
101
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -110,6 +103,13 @@
|
|
|
110
103
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
111
104
|
"required": true
|
|
112
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"name": "actionsMenu",
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"default": null,
|
|
110
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
111
|
+
"required": false
|
|
112
|
+
},
|
|
113
113
|
{
|
|
114
114
|
"name": "brand",
|
|
115
115
|
"type": "BrandId",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"name": "dataTable",
|
|
150
150
|
"type": "boolean",
|
|
151
151
|
"default": null,
|
|
152
|
-
"description": "
|
|
152
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
153
153
|
"required": false
|
|
154
154
|
},
|
|
155
155
|
{
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"name": "exportable",
|
|
178
178
|
"type": "boolean | readonly ExportFormat[]",
|
|
179
179
|
"default": null,
|
|
180
|
-
"description": "
|
|
180
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
181
181
|
"required": false
|
|
182
182
|
},
|
|
183
183
|
{
|
|
@@ -208,6 +208,13 @@
|
|
|
208
208
|
"description": "The id of the figure.",
|
|
209
209
|
"required": false
|
|
210
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"name": "insight",
|
|
213
|
+
"type": "ReactNode",
|
|
214
|
+
"default": null,
|
|
215
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
216
|
+
"required": false
|
|
217
|
+
},
|
|
211
218
|
{
|
|
212
219
|
"name": "labelHeader",
|
|
213
220
|
"type": "string",
|
|
@@ -285,6 +292,13 @@
|
|
|
285
292
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
286
293
|
"required": false
|
|
287
294
|
},
|
|
295
|
+
{
|
|
296
|
+
"name": "title",
|
|
297
|
+
"type": "string",
|
|
298
|
+
"default": null,
|
|
299
|
+
"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.",
|
|
300
|
+
"required": false
|
|
301
|
+
},
|
|
288
302
|
{
|
|
289
303
|
"name": "valueHeader",
|
|
290
304
|
"type": "string",
|
|
@@ -312,13 +326,6 @@
|
|
|
312
326
|
"description": "The field (or function) naming the part.",
|
|
313
327
|
"required": true
|
|
314
328
|
},
|
|
315
|
-
{
|
|
316
|
-
"name": "title",
|
|
317
|
-
"type": "string",
|
|
318
|
-
"default": null,
|
|
319
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
320
|
-
"required": true
|
|
321
|
-
},
|
|
322
329
|
{
|
|
323
330
|
"name": "value",
|
|
324
331
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -326,6 +333,13 @@
|
|
|
326
333
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
327
334
|
"required": true
|
|
328
335
|
},
|
|
336
|
+
{
|
|
337
|
+
"name": "actionsMenu",
|
|
338
|
+
"type": "boolean",
|
|
339
|
+
"default": null,
|
|
340
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
341
|
+
"required": false
|
|
342
|
+
},
|
|
329
343
|
{
|
|
330
344
|
"name": "brand",
|
|
331
345
|
"type": "BrandId",
|
|
@@ -365,7 +379,7 @@
|
|
|
365
379
|
"name": "dataTable",
|
|
366
380
|
"type": "boolean",
|
|
367
381
|
"default": null,
|
|
368
|
-
"description": "
|
|
382
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
369
383
|
"required": false
|
|
370
384
|
},
|
|
371
385
|
{
|
|
@@ -400,7 +414,7 @@
|
|
|
400
414
|
"name": "exportable",
|
|
401
415
|
"type": "boolean | readonly ExportFormat[]",
|
|
402
416
|
"default": null,
|
|
403
|
-
"description": "
|
|
417
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
404
418
|
"required": false
|
|
405
419
|
},
|
|
406
420
|
{
|
|
@@ -431,6 +445,13 @@
|
|
|
431
445
|
"description": "The id of the figure.",
|
|
432
446
|
"required": false
|
|
433
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"name": "insight",
|
|
450
|
+
"type": "ReactNode",
|
|
451
|
+
"default": null,
|
|
452
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
453
|
+
"required": false
|
|
454
|
+
},
|
|
434
455
|
{
|
|
435
456
|
"name": "labelHeader",
|
|
436
457
|
"type": "string",
|
|
@@ -508,6 +529,13 @@
|
|
|
508
529
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
509
530
|
"required": false
|
|
510
531
|
},
|
|
532
|
+
{
|
|
533
|
+
"name": "title",
|
|
534
|
+
"type": "string",
|
|
535
|
+
"default": null,
|
|
536
|
+
"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.",
|
|
537
|
+
"required": false
|
|
538
|
+
},
|
|
511
539
|
{
|
|
512
540
|
"name": "valueHeader",
|
|
513
541
|
"type": "string",
|
|
@@ -863,13 +891,6 @@
|
|
|
863
891
|
"description": "The field (or function) naming the part.",
|
|
864
892
|
"required": true
|
|
865
893
|
},
|
|
866
|
-
{
|
|
867
|
-
"name": "title",
|
|
868
|
-
"type": "string",
|
|
869
|
-
"default": null,
|
|
870
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
871
|
-
"required": true
|
|
872
|
-
},
|
|
873
894
|
{
|
|
874
895
|
"name": "value",
|
|
875
896
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -877,6 +898,13 @@
|
|
|
877
898
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
878
899
|
"required": true
|
|
879
900
|
},
|
|
901
|
+
{
|
|
902
|
+
"name": "actionsMenu",
|
|
903
|
+
"type": "boolean",
|
|
904
|
+
"default": null,
|
|
905
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
906
|
+
"required": false
|
|
907
|
+
},
|
|
880
908
|
{
|
|
881
909
|
"name": "brand",
|
|
882
910
|
"type": "BrandId",
|
|
@@ -916,7 +944,7 @@
|
|
|
916
944
|
"name": "dataTable",
|
|
917
945
|
"type": "boolean",
|
|
918
946
|
"default": null,
|
|
919
|
-
"description": "
|
|
947
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
920
948
|
"required": false
|
|
921
949
|
},
|
|
922
950
|
{
|
|
@@ -944,7 +972,7 @@
|
|
|
944
972
|
"name": "exportable",
|
|
945
973
|
"type": "boolean | readonly ExportFormat[]",
|
|
946
974
|
"default": null,
|
|
947
|
-
"description": "
|
|
975
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
948
976
|
"required": false
|
|
949
977
|
},
|
|
950
978
|
{
|
|
@@ -975,6 +1003,13 @@
|
|
|
975
1003
|
"description": "The id of the figure.",
|
|
976
1004
|
"required": false
|
|
977
1005
|
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "insight",
|
|
1008
|
+
"type": "ReactNode",
|
|
1009
|
+
"default": null,
|
|
1010
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
1011
|
+
"required": false
|
|
1012
|
+
},
|
|
978
1013
|
{
|
|
979
1014
|
"name": "labelHeader",
|
|
980
1015
|
"type": "string",
|
|
@@ -1052,6 +1087,13 @@
|
|
|
1052
1087
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
1053
1088
|
"required": false
|
|
1054
1089
|
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "title",
|
|
1092
|
+
"type": "string",
|
|
1093
|
+
"default": null,
|
|
1094
|
+
"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.",
|
|
1095
|
+
"required": false
|
|
1096
|
+
},
|
|
1055
1097
|
{
|
|
1056
1098
|
"name": "valueHeader",
|
|
1057
1099
|
"type": "string",
|
|
@@ -1079,13 +1121,6 @@
|
|
|
1079
1121
|
"description": "The field (or function) naming the part.",
|
|
1080
1122
|
"required": true
|
|
1081
1123
|
},
|
|
1082
|
-
{
|
|
1083
|
-
"name": "title",
|
|
1084
|
-
"type": "string",
|
|
1085
|
-
"default": null,
|
|
1086
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
1087
|
-
"required": true
|
|
1088
|
-
},
|
|
1089
1124
|
{
|
|
1090
1125
|
"name": "value",
|
|
1091
1126
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -1093,6 +1128,13 @@
|
|
|
1093
1128
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
1094
1129
|
"required": true
|
|
1095
1130
|
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "actionsMenu",
|
|
1133
|
+
"type": "boolean",
|
|
1134
|
+
"default": null,
|
|
1135
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
1136
|
+
"required": false
|
|
1137
|
+
},
|
|
1096
1138
|
{
|
|
1097
1139
|
"name": "brand",
|
|
1098
1140
|
"type": "BrandId",
|
|
@@ -1132,7 +1174,7 @@
|
|
|
1132
1174
|
"name": "dataTable",
|
|
1133
1175
|
"type": "boolean",
|
|
1134
1176
|
"default": null,
|
|
1135
|
-
"description": "
|
|
1177
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
1136
1178
|
"required": false
|
|
1137
1179
|
},
|
|
1138
1180
|
{
|
|
@@ -1167,7 +1209,7 @@
|
|
|
1167
1209
|
"name": "exportable",
|
|
1168
1210
|
"type": "boolean | readonly ExportFormat[]",
|
|
1169
1211
|
"default": null,
|
|
1170
|
-
"description": "
|
|
1212
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
1171
1213
|
"required": false
|
|
1172
1214
|
},
|
|
1173
1215
|
{
|
|
@@ -1198,6 +1240,13 @@
|
|
|
1198
1240
|
"description": "The id of the figure.",
|
|
1199
1241
|
"required": false
|
|
1200
1242
|
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "insight",
|
|
1245
|
+
"type": "ReactNode",
|
|
1246
|
+
"default": null,
|
|
1247
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
1248
|
+
"required": false
|
|
1249
|
+
},
|
|
1201
1250
|
{
|
|
1202
1251
|
"name": "labelHeader",
|
|
1203
1252
|
"type": "string",
|
|
@@ -1275,6 +1324,13 @@
|
|
|
1275
1324
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
1276
1325
|
"required": false
|
|
1277
1326
|
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "title",
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"default": null,
|
|
1331
|
+
"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.",
|
|
1332
|
+
"required": false
|
|
1333
|
+
},
|
|
1278
1334
|
{
|
|
1279
1335
|
"name": "valueHeader",
|
|
1280
1336
|
"type": "string",
|
|
@@ -85,11 +85,18 @@
|
|
|
85
85
|
"required": true
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
"name": "
|
|
89
|
-
"type": "
|
|
88
|
+
"name": "actionsMenu",
|
|
89
|
+
"type": "boolean",
|
|
90
90
|
"default": null,
|
|
91
|
-
"description": "
|
|
92
|
-
"required":
|
|
91
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
92
|
+
"required": false
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "autoRange",
|
|
96
|
+
"type": "boolean",
|
|
97
|
+
"default": null,
|
|
98
|
+
"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.",
|
|
99
|
+
"required": false
|
|
93
100
|
},
|
|
94
101
|
{
|
|
95
102
|
"name": "brand",
|
|
@@ -109,7 +116,7 @@
|
|
|
109
116
|
"name": "dataTable",
|
|
110
117
|
"type": "boolean",
|
|
111
118
|
"default": null,
|
|
112
|
-
"description": "
|
|
119
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
113
120
|
"required": false
|
|
114
121
|
},
|
|
115
122
|
{
|
|
@@ -151,7 +158,14 @@
|
|
|
151
158
|
"name": "exportable",
|
|
152
159
|
"type": "boolean | readonly ExportFormat[]",
|
|
153
160
|
"default": null,
|
|
154
|
-
"description": "
|
|
161
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
162
|
+
"required": false
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "filterable",
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"default": null,
|
|
168
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
155
169
|
"required": false
|
|
156
170
|
},
|
|
157
171
|
{
|
|
@@ -175,6 +189,13 @@
|
|
|
175
189
|
"description": "The id of the figure.",
|
|
176
190
|
"required": false
|
|
177
191
|
},
|
|
192
|
+
{
|
|
193
|
+
"name": "insight",
|
|
194
|
+
"type": "ReactNode",
|
|
195
|
+
"default": null,
|
|
196
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
197
|
+
"required": false
|
|
198
|
+
},
|
|
178
199
|
{
|
|
179
200
|
"name": "labels",
|
|
180
201
|
"type": "Partial<TickerLabels>",
|
|
@@ -217,6 +238,13 @@
|
|
|
217
238
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
218
239
|
"required": false
|
|
219
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"name": "minPoints",
|
|
243
|
+
"type": "number",
|
|
244
|
+
"default": null,
|
|
245
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
246
|
+
"required": false
|
|
247
|
+
},
|
|
220
248
|
{
|
|
221
249
|
"name": "onSelect",
|
|
222
250
|
"type": "((datum: Point, index: number) => void)",
|
|
@@ -266,6 +294,13 @@
|
|
|
266
294
|
"description": "How the times are written. Default `\"time\"` (`14:30`); `\"datetime\"` for auctions over several days.",
|
|
267
295
|
"required": false
|
|
268
296
|
},
|
|
297
|
+
{
|
|
298
|
+
"name": "title",
|
|
299
|
+
"type": "string",
|
|
300
|
+
"default": null,
|
|
301
|
+
"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.",
|
|
302
|
+
"required": false
|
|
303
|
+
},
|
|
269
304
|
{
|
|
270
305
|
"name": "xLabel",
|
|
271
306
|
"type": "string",
|
|
@@ -483,11 +518,18 @@
|
|
|
483
518
|
"required": true
|
|
484
519
|
},
|
|
485
520
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"type": "
|
|
521
|
+
"name": "actionsMenu",
|
|
522
|
+
"type": "boolean",
|
|
488
523
|
"default": null,
|
|
489
|
-
"description": "
|
|
490
|
-
"required":
|
|
524
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
525
|
+
"required": false
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "autoRange",
|
|
529
|
+
"type": "boolean",
|
|
530
|
+
"default": null,
|
|
531
|
+
"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.",
|
|
532
|
+
"required": false
|
|
491
533
|
},
|
|
492
534
|
{
|
|
493
535
|
"name": "brand",
|
|
@@ -507,7 +549,7 @@
|
|
|
507
549
|
"name": "dataTable",
|
|
508
550
|
"type": "boolean",
|
|
509
551
|
"default": null,
|
|
510
|
-
"description": "
|
|
552
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
511
553
|
"required": false
|
|
512
554
|
},
|
|
513
555
|
{
|
|
@@ -549,7 +591,14 @@
|
|
|
549
591
|
"name": "exportable",
|
|
550
592
|
"type": "boolean | readonly ExportFormat[]",
|
|
551
593
|
"default": null,
|
|
552
|
-
"description": "
|
|
594
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
595
|
+
"required": false
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "filterable",
|
|
599
|
+
"type": "boolean",
|
|
600
|
+
"default": null,
|
|
601
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
553
602
|
"required": false
|
|
554
603
|
},
|
|
555
604
|
{
|
|
@@ -573,6 +622,13 @@
|
|
|
573
622
|
"description": "The id of the figure.",
|
|
574
623
|
"required": false
|
|
575
624
|
},
|
|
625
|
+
{
|
|
626
|
+
"name": "insight",
|
|
627
|
+
"type": "ReactNode",
|
|
628
|
+
"default": null,
|
|
629
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
630
|
+
"required": false
|
|
631
|
+
},
|
|
576
632
|
{
|
|
577
633
|
"name": "labels",
|
|
578
634
|
"type": "Partial<TickerLabels>",
|
|
@@ -615,6 +671,13 @@
|
|
|
615
671
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
616
672
|
"required": false
|
|
617
673
|
},
|
|
674
|
+
{
|
|
675
|
+
"name": "minPoints",
|
|
676
|
+
"type": "number",
|
|
677
|
+
"default": null,
|
|
678
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
679
|
+
"required": false
|
|
680
|
+
},
|
|
618
681
|
{
|
|
619
682
|
"name": "onSelect",
|
|
620
683
|
"type": "((datum: Point, index: number) => void)",
|
|
@@ -664,6 +727,13 @@
|
|
|
664
727
|
"description": "How the times are written. Default `\"time\"` (`14:30`); `\"datetime\"` for auctions over several days.",
|
|
665
728
|
"required": false
|
|
666
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"name": "title",
|
|
732
|
+
"type": "string",
|
|
733
|
+
"default": null,
|
|
734
|
+
"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.",
|
|
735
|
+
"required": false
|
|
736
|
+
},
|
|
667
737
|
{
|
|
668
738
|
"name": "xLabel",
|
|
669
739
|
"type": "string",
|
|
@@ -85,13 +85,6 @@
|
|
|
85
85
|
"description": "The entities compared, one value per axis each.",
|
|
86
86
|
"required": true
|
|
87
87
|
},
|
|
88
|
-
{
|
|
89
|
-
"name": "title",
|
|
90
|
-
"type": "string",
|
|
91
|
-
"default": null,
|
|
92
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
93
|
-
"required": true
|
|
94
|
-
},
|
|
95
88
|
{
|
|
96
89
|
"name": "x",
|
|
97
90
|
"type": "string | ((datum: T, index: number) => string)",
|
|
@@ -99,6 +92,13 @@
|
|
|
99
92
|
"description": "The field (or function) naming the axis.",
|
|
100
93
|
"required": true
|
|
101
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"name": "actionsMenu",
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"default": null,
|
|
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
102
|
{
|
|
103
103
|
"name": "brand",
|
|
104
104
|
"type": "BrandId",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"name": "dataTable",
|
|
118
118
|
"type": "boolean",
|
|
119
119
|
"default": null,
|
|
120
|
-
"description": "
|
|
120
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
121
121
|
"required": false
|
|
122
122
|
},
|
|
123
123
|
{
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"name": "exportable",
|
|
146
146
|
"type": "boolean | readonly ExportFormat[]",
|
|
147
147
|
"default": null,
|
|
148
|
-
"description": "
|
|
148
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
149
149
|
"required": false
|
|
150
150
|
},
|
|
151
151
|
{
|
|
@@ -176,6 +176,13 @@
|
|
|
176
176
|
"description": "The id of the figure.",
|
|
177
177
|
"required": false
|
|
178
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"name": "insight",
|
|
181
|
+
"type": "ReactNode",
|
|
182
|
+
"default": null,
|
|
183
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
184
|
+
"required": false
|
|
185
|
+
},
|
|
179
186
|
{
|
|
180
187
|
"name": "labels",
|
|
181
188
|
"type": "ChartLabelsInput",
|
|
@@ -239,6 +246,13 @@
|
|
|
239
246
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
240
247
|
"required": false
|
|
241
248
|
},
|
|
249
|
+
{
|
|
250
|
+
"name": "title",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"default": null,
|
|
253
|
+
"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.",
|
|
254
|
+
"required": false
|
|
255
|
+
},
|
|
242
256
|
{
|
|
243
257
|
"name": "xLabel",
|
|
244
258
|
"type": "string",
|
|
@@ -292,13 +306,6 @@
|
|
|
292
306
|
"description": "The entities compared, one value per axis each.",
|
|
293
307
|
"required": true
|
|
294
308
|
},
|
|
295
|
-
{
|
|
296
|
-
"name": "title",
|
|
297
|
-
"type": "string",
|
|
298
|
-
"default": null,
|
|
299
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
300
|
-
"required": true
|
|
301
|
-
},
|
|
302
309
|
{
|
|
303
310
|
"name": "x",
|
|
304
311
|
"type": "string | ((datum: T, index: number) => string)",
|
|
@@ -306,6 +313,13 @@
|
|
|
306
313
|
"description": "The field (or function) naming the axis.",
|
|
307
314
|
"required": true
|
|
308
315
|
},
|
|
316
|
+
{
|
|
317
|
+
"name": "actionsMenu",
|
|
318
|
+
"type": "boolean",
|
|
319
|
+
"default": null,
|
|
320
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
321
|
+
"required": false
|
|
322
|
+
},
|
|
309
323
|
{
|
|
310
324
|
"name": "brand",
|
|
311
325
|
"type": "BrandId",
|
|
@@ -324,7 +338,7 @@
|
|
|
324
338
|
"name": "dataTable",
|
|
325
339
|
"type": "boolean",
|
|
326
340
|
"default": null,
|
|
327
|
-
"description": "
|
|
341
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
328
342
|
"required": false
|
|
329
343
|
},
|
|
330
344
|
{
|
|
@@ -352,7 +366,7 @@
|
|
|
352
366
|
"name": "exportable",
|
|
353
367
|
"type": "boolean | readonly ExportFormat[]",
|
|
354
368
|
"default": null,
|
|
355
|
-
"description": "
|
|
369
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
356
370
|
"required": false
|
|
357
371
|
},
|
|
358
372
|
{
|
|
@@ -383,6 +397,13 @@
|
|
|
383
397
|
"description": "The id of the figure.",
|
|
384
398
|
"required": false
|
|
385
399
|
},
|
|
400
|
+
{
|
|
401
|
+
"name": "insight",
|
|
402
|
+
"type": "ReactNode",
|
|
403
|
+
"default": null,
|
|
404
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
405
|
+
"required": false
|
|
406
|
+
},
|
|
386
407
|
{
|
|
387
408
|
"name": "labels",
|
|
388
409
|
"type": "ChartLabelsInput",
|
|
@@ -446,6 +467,13 @@
|
|
|
446
467
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
447
468
|
"required": false
|
|
448
469
|
},
|
|
470
|
+
{
|
|
471
|
+
"name": "title",
|
|
472
|
+
"type": "string",
|
|
473
|
+
"default": null,
|
|
474
|
+
"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.",
|
|
475
|
+
"required": false
|
|
476
|
+
},
|
|
449
477
|
{
|
|
450
478
|
"name": "xLabel",
|
|
451
479
|
"type": "string",
|