@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
package/registry/area-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": [
|
|
@@ -81,11 +92,18 @@
|
|
|
81
92
|
"required": true
|
|
82
93
|
},
|
|
83
94
|
{
|
|
84
|
-
"name": "
|
|
85
|
-
"type": "
|
|
95
|
+
"name": "actionsMenu",
|
|
96
|
+
"type": "boolean",
|
|
86
97
|
"default": null,
|
|
87
|
-
"description": "
|
|
88
|
-
"required":
|
|
98
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
99
|
+
"required": false
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "autoRange",
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"default": null,
|
|
105
|
+
"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.",
|
|
106
|
+
"required": false
|
|
89
107
|
},
|
|
90
108
|
{
|
|
91
109
|
"name": "brand",
|
|
@@ -112,7 +130,7 @@
|
|
|
112
130
|
"name": "dataTable",
|
|
113
131
|
"type": "boolean",
|
|
114
132
|
"default": null,
|
|
115
|
-
"description": "
|
|
133
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
116
134
|
"required": false
|
|
117
135
|
},
|
|
118
136
|
{
|
|
@@ -154,7 +172,14 @@
|
|
|
154
172
|
"name": "exportable",
|
|
155
173
|
"type": "boolean | readonly ExportFormat[]",
|
|
156
174
|
"default": null,
|
|
157
|
-
"description": "
|
|
175
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
176
|
+
"required": false
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "filterable",
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"default": null,
|
|
182
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
158
183
|
"required": false
|
|
159
184
|
},
|
|
160
185
|
{
|
|
@@ -185,6 +210,13 @@
|
|
|
185
210
|
"description": "The id of the figure.",
|
|
186
211
|
"required": false
|
|
187
212
|
},
|
|
213
|
+
{
|
|
214
|
+
"name": "insight",
|
|
215
|
+
"type": "ReactNode",
|
|
216
|
+
"default": null,
|
|
217
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
218
|
+
"required": false
|
|
219
|
+
},
|
|
188
220
|
{
|
|
189
221
|
"name": "labels",
|
|
190
222
|
"type": "ChartLabelsInput",
|
|
@@ -227,6 +259,13 @@
|
|
|
227
259
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
228
260
|
"required": false
|
|
229
261
|
},
|
|
262
|
+
{
|
|
263
|
+
"name": "minPoints",
|
|
264
|
+
"type": "number",
|
|
265
|
+
"default": null,
|
|
266
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
267
|
+
"required": false
|
|
268
|
+
},
|
|
230
269
|
{
|
|
231
270
|
"name": "onSelect",
|
|
232
271
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -276,6 +315,13 @@
|
|
|
276
315
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
277
316
|
"required": false
|
|
278
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"name": "title",
|
|
320
|
+
"type": "string",
|
|
321
|
+
"default": null,
|
|
322
|
+
"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.",
|
|
323
|
+
"required": false
|
|
324
|
+
},
|
|
279
325
|
{
|
|
280
326
|
"name": "x",
|
|
281
327
|
"type": "string | ((datum: T, index: number) => unknown)",
|
|
@@ -542,11 +588,18 @@
|
|
|
542
588
|
"required": true
|
|
543
589
|
},
|
|
544
590
|
{
|
|
545
|
-
"name": "
|
|
546
|
-
"type": "
|
|
591
|
+
"name": "actionsMenu",
|
|
592
|
+
"type": "boolean",
|
|
547
593
|
"default": null,
|
|
548
|
-
"description": "
|
|
549
|
-
"required":
|
|
594
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
595
|
+
"required": false
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "autoRange",
|
|
599
|
+
"type": "boolean",
|
|
600
|
+
"default": null,
|
|
601
|
+
"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.",
|
|
602
|
+
"required": false
|
|
550
603
|
},
|
|
551
604
|
{
|
|
552
605
|
"name": "brand",
|
|
@@ -573,7 +626,7 @@
|
|
|
573
626
|
"name": "dataTable",
|
|
574
627
|
"type": "boolean",
|
|
575
628
|
"default": null,
|
|
576
|
-
"description": "
|
|
629
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
577
630
|
"required": false
|
|
578
631
|
},
|
|
579
632
|
{
|
|
@@ -615,7 +668,14 @@
|
|
|
615
668
|
"name": "exportable",
|
|
616
669
|
"type": "boolean | readonly ExportFormat[]",
|
|
617
670
|
"default": null,
|
|
618
|
-
"description": "
|
|
671
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
672
|
+
"required": false
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "filterable",
|
|
676
|
+
"type": "boolean",
|
|
677
|
+
"default": null,
|
|
678
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
619
679
|
"required": false
|
|
620
680
|
},
|
|
621
681
|
{
|
|
@@ -646,6 +706,13 @@
|
|
|
646
706
|
"description": "The id of the figure.",
|
|
647
707
|
"required": false
|
|
648
708
|
},
|
|
709
|
+
{
|
|
710
|
+
"name": "insight",
|
|
711
|
+
"type": "ReactNode",
|
|
712
|
+
"default": null,
|
|
713
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
714
|
+
"required": false
|
|
715
|
+
},
|
|
649
716
|
{
|
|
650
717
|
"name": "labels",
|
|
651
718
|
"type": "ChartLabelsInput",
|
|
@@ -688,6 +755,13 @@
|
|
|
688
755
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
689
756
|
"required": false
|
|
690
757
|
},
|
|
758
|
+
{
|
|
759
|
+
"name": "minPoints",
|
|
760
|
+
"type": "number",
|
|
761
|
+
"default": null,
|
|
762
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
763
|
+
"required": false
|
|
764
|
+
},
|
|
691
765
|
{
|
|
692
766
|
"name": "onSelect",
|
|
693
767
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -737,6 +811,13 @@
|
|
|
737
811
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
738
812
|
"required": false
|
|
739
813
|
},
|
|
814
|
+
{
|
|
815
|
+
"name": "title",
|
|
816
|
+
"type": "string",
|
|
817
|
+
"default": null,
|
|
818
|
+
"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.",
|
|
819
|
+
"required": false
|
|
820
|
+
},
|
|
740
821
|
{
|
|
741
822
|
"name": "x",
|
|
742
823
|
"type": "string | ((datum: T, index: number) => unknown)",
|
package/registry/bar-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",
|
|
@@ -117,7 +135,7 @@
|
|
|
117
135
|
"name": "dataTable",
|
|
118
136
|
"type": "boolean",
|
|
119
137
|
"default": null,
|
|
120
|
-
"description": "
|
|
138
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
121
139
|
"required": false
|
|
122
140
|
},
|
|
123
141
|
{
|
|
@@ -145,7 +163,14 @@
|
|
|
145
163
|
"name": "exportable",
|
|
146
164
|
"type": "boolean | readonly ExportFormat[]",
|
|
147
165
|
"default": null,
|
|
148
|
-
"description": "
|
|
166
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
167
|
+
"required": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "filterable",
|
|
171
|
+
"type": "boolean",
|
|
172
|
+
"default": null,
|
|
173
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
149
174
|
"required": false
|
|
150
175
|
},
|
|
151
176
|
{
|
|
@@ -183,6 +208,13 @@
|
|
|
183
208
|
"description": "The id of the figure.",
|
|
184
209
|
"required": false
|
|
185
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
|
+
},
|
|
186
218
|
{
|
|
187
219
|
"name": "labels",
|
|
188
220
|
"type": "ChartLabelsInput",
|
|
@@ -225,6 +257,13 @@
|
|
|
225
257
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
226
258
|
"required": false
|
|
227
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"name": "minPoints",
|
|
262
|
+
"type": "number",
|
|
263
|
+
"default": null,
|
|
264
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
265
|
+
"required": false
|
|
266
|
+
},
|
|
228
267
|
{
|
|
229
268
|
"name": "onSelect",
|
|
230
269
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -274,6 +313,13 @@
|
|
|
274
313
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
275
314
|
"required": false
|
|
276
315
|
},
|
|
316
|
+
{
|
|
317
|
+
"name": "title",
|
|
318
|
+
"type": "string",
|
|
319
|
+
"default": null,
|
|
320
|
+
"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.",
|
|
321
|
+
"required": false
|
|
322
|
+
},
|
|
277
323
|
{
|
|
278
324
|
"name": "valueLabels",
|
|
279
325
|
"type": "boolean",
|
|
@@ -548,11 +594,18 @@
|
|
|
548
594
|
"required": true
|
|
549
595
|
},
|
|
550
596
|
{
|
|
551
|
-
"name": "
|
|
552
|
-
"type": "
|
|
597
|
+
"name": "actionsMenu",
|
|
598
|
+
"type": "boolean",
|
|
553
599
|
"default": null,
|
|
554
|
-
"description": "
|
|
555
|
-
"required":
|
|
600
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
601
|
+
"required": false
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "autoRange",
|
|
605
|
+
"type": "boolean",
|
|
606
|
+
"default": null,
|
|
607
|
+
"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.",
|
|
608
|
+
"required": false
|
|
556
609
|
},
|
|
557
610
|
{
|
|
558
611
|
"name": "brand",
|
|
@@ -572,7 +625,7 @@
|
|
|
572
625
|
"name": "dataTable",
|
|
573
626
|
"type": "boolean",
|
|
574
627
|
"default": null,
|
|
575
|
-
"description": "
|
|
628
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
576
629
|
"required": false
|
|
577
630
|
},
|
|
578
631
|
{
|
|
@@ -600,7 +653,14 @@
|
|
|
600
653
|
"name": "exportable",
|
|
601
654
|
"type": "boolean | readonly ExportFormat[]",
|
|
602
655
|
"default": null,
|
|
603
|
-
"description": "
|
|
656
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
657
|
+
"required": false
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "filterable",
|
|
661
|
+
"type": "boolean",
|
|
662
|
+
"default": null,
|
|
663
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
604
664
|
"required": false
|
|
605
665
|
},
|
|
606
666
|
{
|
|
@@ -638,6 +698,13 @@
|
|
|
638
698
|
"description": "The id of the figure.",
|
|
639
699
|
"required": false
|
|
640
700
|
},
|
|
701
|
+
{
|
|
702
|
+
"name": "insight",
|
|
703
|
+
"type": "ReactNode",
|
|
704
|
+
"default": null,
|
|
705
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
706
|
+
"required": false
|
|
707
|
+
},
|
|
641
708
|
{
|
|
642
709
|
"name": "labels",
|
|
643
710
|
"type": "ChartLabelsInput",
|
|
@@ -680,6 +747,13 @@
|
|
|
680
747
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
681
748
|
"required": false
|
|
682
749
|
},
|
|
750
|
+
{
|
|
751
|
+
"name": "minPoints",
|
|
752
|
+
"type": "number",
|
|
753
|
+
"default": null,
|
|
754
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
755
|
+
"required": false
|
|
756
|
+
},
|
|
683
757
|
{
|
|
684
758
|
"name": "onSelect",
|
|
685
759
|
"type": "((datum: T, index: number) => void)",
|
|
@@ -729,6 +803,13 @@
|
|
|
729
803
|
"description": "Horizontal lines at a value: a goal, a payout threshold.",
|
|
730
804
|
"required": false
|
|
731
805
|
},
|
|
806
|
+
{
|
|
807
|
+
"name": "title",
|
|
808
|
+
"type": "string",
|
|
809
|
+
"default": null,
|
|
810
|
+
"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.",
|
|
811
|
+
"required": false
|
|
812
|
+
},
|
|
732
813
|
{
|
|
733
814
|
"name": "valueLabels",
|
|
734
815
|
"type": "boolean",
|
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "web",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "gap",
|
|
17
|
+
"reason": "Advanced tier: no phone screen needs it yet.",
|
|
18
|
+
"issue": "krizaka/krizaka-ui#280"
|
|
19
|
+
},
|
|
20
|
+
"desktop": {
|
|
21
|
+
"state": "yes"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
11
24
|
"engine": "echarts",
|
|
12
25
|
"tier": "advanced",
|
|
13
26
|
"whenToUse": [
|
|
@@ -86,13 +99,6 @@
|
|
|
86
99
|
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
87
100
|
"required": true
|
|
88
101
|
},
|
|
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
102
|
{
|
|
97
103
|
"name": "value",
|
|
98
104
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -100,6 +106,13 @@
|
|
|
100
106
|
"description": "The field of the day's value.",
|
|
101
107
|
"required": true
|
|
102
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"name": "actionsMenu",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": null,
|
|
113
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
114
|
+
"required": false
|
|
115
|
+
},
|
|
103
116
|
{
|
|
104
117
|
"name": "brand",
|
|
105
118
|
"type": "BrandId",
|
|
@@ -118,7 +131,7 @@
|
|
|
118
131
|
"name": "dataTable",
|
|
119
132
|
"type": "boolean",
|
|
120
133
|
"default": null,
|
|
121
|
-
"description": "
|
|
134
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
122
135
|
"required": false
|
|
123
136
|
},
|
|
124
137
|
{
|
|
@@ -146,7 +159,7 @@
|
|
|
146
159
|
"name": "exportable",
|
|
147
160
|
"type": "boolean | readonly ExportFormat[]",
|
|
148
161
|
"default": null,
|
|
149
|
-
"description": "
|
|
162
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
150
163
|
"required": false
|
|
151
164
|
},
|
|
152
165
|
{
|
|
@@ -177,6 +190,13 @@
|
|
|
177
190
|
"description": "The id of the figure.",
|
|
178
191
|
"required": false
|
|
179
192
|
},
|
|
193
|
+
{
|
|
194
|
+
"name": "insight",
|
|
195
|
+
"type": "ReactNode",
|
|
196
|
+
"default": null,
|
|
197
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
198
|
+
"required": false
|
|
199
|
+
},
|
|
180
200
|
{
|
|
181
201
|
"name": "labels",
|
|
182
202
|
"type": "ChartLabelsInput",
|
|
@@ -240,6 +260,13 @@
|
|
|
240
260
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
241
261
|
"required": false
|
|
242
262
|
},
|
|
263
|
+
{
|
|
264
|
+
"name": "title",
|
|
265
|
+
"type": "string",
|
|
266
|
+
"default": null,
|
|
267
|
+
"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.",
|
|
268
|
+
"required": false
|
|
269
|
+
},
|
|
243
270
|
{
|
|
244
271
|
"name": "valueLabel",
|
|
245
272
|
"type": "string",
|
|
@@ -293,13 +320,6 @@
|
|
|
293
320
|
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
294
321
|
"required": true
|
|
295
322
|
},
|
|
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
323
|
{
|
|
304
324
|
"name": "value",
|
|
305
325
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -307,6 +327,13 @@
|
|
|
307
327
|
"description": "The field of the day's value.",
|
|
308
328
|
"required": true
|
|
309
329
|
},
|
|
330
|
+
{
|
|
331
|
+
"name": "actionsMenu",
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"default": null,
|
|
334
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
335
|
+
"required": false
|
|
336
|
+
},
|
|
310
337
|
{
|
|
311
338
|
"name": "brand",
|
|
312
339
|
"type": "BrandId",
|
|
@@ -325,7 +352,7 @@
|
|
|
325
352
|
"name": "dataTable",
|
|
326
353
|
"type": "boolean",
|
|
327
354
|
"default": null,
|
|
328
|
-
"description": "
|
|
355
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
329
356
|
"required": false
|
|
330
357
|
},
|
|
331
358
|
{
|
|
@@ -353,7 +380,7 @@
|
|
|
353
380
|
"name": "exportable",
|
|
354
381
|
"type": "boolean | readonly ExportFormat[]",
|
|
355
382
|
"default": null,
|
|
356
|
-
"description": "
|
|
383
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
357
384
|
"required": false
|
|
358
385
|
},
|
|
359
386
|
{
|
|
@@ -384,6 +411,13 @@
|
|
|
384
411
|
"description": "The id of the figure.",
|
|
385
412
|
"required": false
|
|
386
413
|
},
|
|
414
|
+
{
|
|
415
|
+
"name": "insight",
|
|
416
|
+
"type": "ReactNode",
|
|
417
|
+
"default": null,
|
|
418
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
419
|
+
"required": false
|
|
420
|
+
},
|
|
387
421
|
{
|
|
388
422
|
"name": "labels",
|
|
389
423
|
"type": "ChartLabelsInput",
|
|
@@ -447,6 +481,13 @@
|
|
|
447
481
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
448
482
|
"required": false
|
|
449
483
|
},
|
|
484
|
+
{
|
|
485
|
+
"name": "title",
|
|
486
|
+
"type": "string",
|
|
487
|
+
"default": null,
|
|
488
|
+
"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.",
|
|
489
|
+
"required": false
|
|
490
|
+
},
|
|
450
491
|
{
|
|
451
492
|
"name": "valueLabel",
|
|
452
493
|
"type": "string",
|