@krizaka/charts 0.3.1 → 0.5.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 +93 -12
- package/registry/bar-chart.json +93 -12
- package/registry/calendar-heatmap.json +59 -18
- package/registry/candlestick.json +59 -18
- package/registry/chart-card.json +248 -0
- package/registry/chart.json +53 -12
- package/registry/charts-provider.json +13 -2
- package/registry/credit-usage.json +11 -0
- package/registry/earnings-chart.json +93 -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 +59 -18
- package/registry/gauge.json +53 -14
- package/registry/geo-map.json +59 -18
- package/registry/globe.json +54 -12
- package/registry/goal-progress.json +47 -8
- package/registry/heatmap.json +59 -18
- package/registry/index.json +362 -1
- package/registry/job-throughput.json +93 -12
- package/registry/kpi-stat.json +309 -0
- package/registry/latency-chart.json +93 -12
- package/registry/line-chart.json +93 -12
- package/registry/pie-chart.json +103 -36
- package/registry/price-ticker.json +93 -12
- package/registry/radar-chart.json +59 -18
- package/registry/sankey.json +59 -18
- package/registry/scatter-chart.json +59 -18
- package/registry/sparkline.json +49 -10
- package/registry/treemap.json +53 -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
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "yes"
|
|
17
|
+
},
|
|
18
|
+
"desktop": {
|
|
19
|
+
"state": "yes"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
11
22
|
"engine": "svg",
|
|
12
23
|
"tier": "ready-made",
|
|
13
24
|
"whenToUse": [
|
|
@@ -72,11 +83,18 @@
|
|
|
72
83
|
"required": true
|
|
73
84
|
},
|
|
74
85
|
{
|
|
75
|
-
"name": "
|
|
76
|
-
"type": "
|
|
86
|
+
"name": "actionsMenu",
|
|
87
|
+
"type": "boolean",
|
|
77
88
|
"default": null,
|
|
78
|
-
"description": "
|
|
79
|
-
"required":
|
|
89
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
90
|
+
"required": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "autoRange",
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"default": null,
|
|
96
|
+
"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.",
|
|
97
|
+
"required": false
|
|
80
98
|
},
|
|
81
99
|
{
|
|
82
100
|
"name": "brand",
|
|
@@ -96,7 +114,7 @@
|
|
|
96
114
|
"name": "dataTable",
|
|
97
115
|
"type": "boolean",
|
|
98
116
|
"default": null,
|
|
99
|
-
"description": "
|
|
117
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
100
118
|
"required": false
|
|
101
119
|
},
|
|
102
120
|
{
|
|
@@ -124,7 +142,14 @@
|
|
|
124
142
|
"name": "exportable",
|
|
125
143
|
"type": "boolean | readonly ExportFormat[]",
|
|
126
144
|
"default": null,
|
|
127
|
-
"description": "
|
|
145
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
146
|
+
"required": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "filterable",
|
|
150
|
+
"type": "boolean",
|
|
151
|
+
"default": null,
|
|
152
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
128
153
|
"required": false
|
|
129
154
|
},
|
|
130
155
|
{
|
|
@@ -155,6 +180,13 @@
|
|
|
155
180
|
"description": "The id of the figure.",
|
|
156
181
|
"required": false
|
|
157
182
|
},
|
|
183
|
+
{
|
|
184
|
+
"name": "insight",
|
|
185
|
+
"type": "ReactNode",
|
|
186
|
+
"default": null,
|
|
187
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
188
|
+
"required": false
|
|
189
|
+
},
|
|
158
190
|
{
|
|
159
191
|
"name": "labels",
|
|
160
192
|
"type": "Partial<LatencyLabels>",
|
|
@@ -197,6 +229,13 @@
|
|
|
197
229
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
198
230
|
"required": false
|
|
199
231
|
},
|
|
232
|
+
{
|
|
233
|
+
"name": "minPoints",
|
|
234
|
+
"type": "number",
|
|
235
|
+
"default": null,
|
|
236
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
237
|
+
"required": false
|
|
238
|
+
},
|
|
200
239
|
{
|
|
201
240
|
"name": "objective",
|
|
202
241
|
"type": "{ readonly value: number; readonly label: string; }",
|
|
@@ -246,6 +285,13 @@
|
|
|
246
285
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
247
286
|
"required": false
|
|
248
287
|
},
|
|
288
|
+
{
|
|
289
|
+
"name": "title",
|
|
290
|
+
"type": "string",
|
|
291
|
+
"default": null,
|
|
292
|
+
"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.",
|
|
293
|
+
"required": false
|
|
294
|
+
},
|
|
249
295
|
{
|
|
250
296
|
"name": "vertical",
|
|
251
297
|
"type": "boolean",
|
|
@@ -463,11 +509,18 @@
|
|
|
463
509
|
"required": true
|
|
464
510
|
},
|
|
465
511
|
{
|
|
466
|
-
"name": "
|
|
467
|
-
"type": "
|
|
512
|
+
"name": "actionsMenu",
|
|
513
|
+
"type": "boolean",
|
|
468
514
|
"default": null,
|
|
469
|
-
"description": "
|
|
470
|
-
"required":
|
|
515
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
516
|
+
"required": false
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "autoRange",
|
|
520
|
+
"type": "boolean",
|
|
521
|
+
"default": null,
|
|
522
|
+
"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.",
|
|
523
|
+
"required": false
|
|
471
524
|
},
|
|
472
525
|
{
|
|
473
526
|
"name": "brand",
|
|
@@ -487,7 +540,7 @@
|
|
|
487
540
|
"name": "dataTable",
|
|
488
541
|
"type": "boolean",
|
|
489
542
|
"default": null,
|
|
490
|
-
"description": "
|
|
543
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
491
544
|
"required": false
|
|
492
545
|
},
|
|
493
546
|
{
|
|
@@ -515,7 +568,14 @@
|
|
|
515
568
|
"name": "exportable",
|
|
516
569
|
"type": "boolean | readonly ExportFormat[]",
|
|
517
570
|
"default": null,
|
|
518
|
-
"description": "
|
|
571
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
572
|
+
"required": false
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "filterable",
|
|
576
|
+
"type": "boolean",
|
|
577
|
+
"default": null,
|
|
578
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
519
579
|
"required": false
|
|
520
580
|
},
|
|
521
581
|
{
|
|
@@ -546,6 +606,13 @@
|
|
|
546
606
|
"description": "The id of the figure.",
|
|
547
607
|
"required": false
|
|
548
608
|
},
|
|
609
|
+
{
|
|
610
|
+
"name": "insight",
|
|
611
|
+
"type": "ReactNode",
|
|
612
|
+
"default": null,
|
|
613
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
614
|
+
"required": false
|
|
615
|
+
},
|
|
549
616
|
{
|
|
550
617
|
"name": "labels",
|
|
551
618
|
"type": "Partial<LatencyLabels>",
|
|
@@ -588,6 +655,13 @@
|
|
|
588
655
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
589
656
|
"required": false
|
|
590
657
|
},
|
|
658
|
+
{
|
|
659
|
+
"name": "minPoints",
|
|
660
|
+
"type": "number",
|
|
661
|
+
"default": null,
|
|
662
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
663
|
+
"required": false
|
|
664
|
+
},
|
|
591
665
|
{
|
|
592
666
|
"name": "objective",
|
|
593
667
|
"type": "{ readonly value: number; readonly label: string; }",
|
|
@@ -637,6 +711,13 @@
|
|
|
637
711
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
638
712
|
"required": false
|
|
639
713
|
},
|
|
714
|
+
{
|
|
715
|
+
"name": "title",
|
|
716
|
+
"type": "string",
|
|
717
|
+
"default": null,
|
|
718
|
+
"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.",
|
|
719
|
+
"required": false
|
|
720
|
+
},
|
|
640
721
|
{
|
|
641
722
|
"name": "vertical",
|
|
642
723
|
"type": "boolean",
|
package/registry/line-chart.json
CHANGED
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "yes"
|
|
17
|
+
},
|
|
18
|
+
"desktop": {
|
|
19
|
+
"state": "yes"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
11
22
|
"engine": "svg",
|
|
12
23
|
"tier": "core",
|
|
13
24
|
"whenToUse": [
|
|
@@ -93,11 +104,18 @@
|
|
|
93
104
|
"required": true
|
|
94
105
|
},
|
|
95
106
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"type": "
|
|
107
|
+
"name": "actionsMenu",
|
|
108
|
+
"type": "boolean",
|
|
98
109
|
"default": null,
|
|
99
|
-
"description": "
|
|
100
|
-
"required":
|
|
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
|
+
{
|
|
114
|
+
"name": "autoRange",
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"default": null,
|
|
117
|
+
"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.",
|
|
118
|
+
"required": false
|
|
101
119
|
},
|
|
102
120
|
{
|
|
103
121
|
"name": "brand",
|
|
@@ -124,7 +142,7 @@
|
|
|
124
142
|
"name": "dataTable",
|
|
125
143
|
"type": "boolean",
|
|
126
144
|
"default": null,
|
|
127
|
-
"description": "
|
|
145
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
128
146
|
"required": false
|
|
129
147
|
},
|
|
130
148
|
{
|
|
@@ -166,7 +184,14 @@
|
|
|
166
184
|
"name": "exportable",
|
|
167
185
|
"type": "boolean | readonly ExportFormat[]",
|
|
168
186
|
"default": null,
|
|
169
|
-
"description": "
|
|
187
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
188
|
+
"required": false
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "filterable",
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"default": null,
|
|
194
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
170
195
|
"required": false
|
|
171
196
|
},
|
|
172
197
|
{
|
|
@@ -197,6 +222,13 @@
|
|
|
197
222
|
"description": "The id of the figure.",
|
|
198
223
|
"required": false
|
|
199
224
|
},
|
|
225
|
+
{
|
|
226
|
+
"name": "insight",
|
|
227
|
+
"type": "ReactNode",
|
|
228
|
+
"default": null,
|
|
229
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
230
|
+
"required": false
|
|
231
|
+
},
|
|
200
232
|
{
|
|
201
233
|
"name": "labels",
|
|
202
234
|
"type": "ChartLabelsInput",
|
|
@@ -239,6 +271,13 @@
|
|
|
239
271
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
240
272
|
"required": false
|
|
241
273
|
},
|
|
274
|
+
{
|
|
275
|
+
"name": "minPoints",
|
|
276
|
+
"type": "number",
|
|
277
|
+
"default": null,
|
|
278
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
279
|
+
"required": false
|
|
280
|
+
},
|
|
242
281
|
{
|
|
243
282
|
"name": "onSelect",
|
|
244
283
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -281,6 +320,13 @@
|
|
|
281
320
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
282
321
|
"required": false
|
|
283
322
|
},
|
|
323
|
+
{
|
|
324
|
+
"name": "title",
|
|
325
|
+
"type": "string",
|
|
326
|
+
"default": null,
|
|
327
|
+
"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.",
|
|
328
|
+
"required": false
|
|
329
|
+
},
|
|
284
330
|
{
|
|
285
331
|
"name": "x",
|
|
286
332
|
"type": "string | ((datum: T, index: number) => unknown)",
|
|
@@ -557,11 +603,18 @@
|
|
|
557
603
|
"required": true
|
|
558
604
|
},
|
|
559
605
|
{
|
|
560
|
-
"name": "
|
|
561
|
-
"type": "
|
|
606
|
+
"name": "actionsMenu",
|
|
607
|
+
"type": "boolean",
|
|
562
608
|
"default": null,
|
|
563
|
-
"description": "
|
|
564
|
-
"required":
|
|
609
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
610
|
+
"required": false
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "autoRange",
|
|
614
|
+
"type": "boolean",
|
|
615
|
+
"default": null,
|
|
616
|
+
"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.",
|
|
617
|
+
"required": false
|
|
565
618
|
},
|
|
566
619
|
{
|
|
567
620
|
"name": "brand",
|
|
@@ -588,7 +641,7 @@
|
|
|
588
641
|
"name": "dataTable",
|
|
589
642
|
"type": "boolean",
|
|
590
643
|
"default": null,
|
|
591
|
-
"description": "
|
|
644
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
592
645
|
"required": false
|
|
593
646
|
},
|
|
594
647
|
{
|
|
@@ -630,7 +683,14 @@
|
|
|
630
683
|
"name": "exportable",
|
|
631
684
|
"type": "boolean | readonly ExportFormat[]",
|
|
632
685
|
"default": null,
|
|
633
|
-
"description": "
|
|
686
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
687
|
+
"required": false
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "filterable",
|
|
691
|
+
"type": "boolean",
|
|
692
|
+
"default": null,
|
|
693
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
634
694
|
"required": false
|
|
635
695
|
},
|
|
636
696
|
{
|
|
@@ -661,6 +721,13 @@
|
|
|
661
721
|
"description": "The id of the figure.",
|
|
662
722
|
"required": false
|
|
663
723
|
},
|
|
724
|
+
{
|
|
725
|
+
"name": "insight",
|
|
726
|
+
"type": "ReactNode",
|
|
727
|
+
"default": null,
|
|
728
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
729
|
+
"required": false
|
|
730
|
+
},
|
|
664
731
|
{
|
|
665
732
|
"name": "labels",
|
|
666
733
|
"type": "ChartLabelsInput",
|
|
@@ -703,6 +770,13 @@
|
|
|
703
770
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
704
771
|
"required": false
|
|
705
772
|
},
|
|
773
|
+
{
|
|
774
|
+
"name": "minPoints",
|
|
775
|
+
"type": "number",
|
|
776
|
+
"default": null,
|
|
777
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
778
|
+
"required": false
|
|
779
|
+
},
|
|
706
780
|
{
|
|
707
781
|
"name": "onSelect",
|
|
708
782
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -745,6 +819,13 @@
|
|
|
745
819
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
746
820
|
"required": false
|
|
747
821
|
},
|
|
822
|
+
{
|
|
823
|
+
"name": "title",
|
|
824
|
+
"type": "string",
|
|
825
|
+
"default": null,
|
|
826
|
+
"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.",
|
|
827
|
+
"required": false
|
|
828
|
+
},
|
|
748
829
|
{
|
|
749
830
|
"name": "x",
|
|
750
831
|
"type": "string | ((datum: T, index: number) => unknown)",
|