@krizaka/charts 0.0.0-stage → 0.2.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/LICENSE +202 -0
- package/README.md +59 -2
- package/dist/bar.d.ts +17 -0
- package/dist/bar.js +17 -0
- package/dist/bar.js.map +1 -0
- package/dist/candlestick-IG626XL4.js +13 -0
- package/dist/candlestick-IG626XL4.js.map +1 -0
- package/dist/candlestick.d.ts +42 -0
- package/dist/candlestick.js +13 -0
- package/dist/candlestick.js.map +1 -0
- package/dist/canvas-4MSYDVFO.js +14 -0
- package/dist/canvas-4MSYDVFO.js.map +1 -0
- package/dist/cartesian-BRhNQ3ib.d.ts +34 -0
- package/dist/chart.d.ts +58 -0
- package/dist/chart.js +11 -0
- package/dist/chart.js.map +1 -0
- package/dist/chunk-3CJHBJXA.js +186 -0
- package/dist/chunk-3CJHBJXA.js.map +1 -0
- package/dist/chunk-4LBXEAGC.js +133 -0
- package/dist/chunk-4LBXEAGC.js.map +1 -0
- package/dist/chunk-6FINSUOS.js +49 -0
- package/dist/chunk-6FINSUOS.js.map +1 -0
- package/dist/chunk-AA5EWWYV.js +38 -0
- package/dist/chunk-AA5EWWYV.js.map +1 -0
- package/dist/chunk-ANUCSRUN.js +43 -0
- package/dist/chunk-ANUCSRUN.js.map +1 -0
- package/dist/chunk-ARARFMNE.js +88 -0
- package/dist/chunk-ARARFMNE.js.map +1 -0
- package/dist/chunk-BISL7DYW.js +66 -0
- package/dist/chunk-BISL7DYW.js.map +1 -0
- package/dist/chunk-BV4DBGN7.js +178 -0
- package/dist/chunk-BV4DBGN7.js.map +1 -0
- package/dist/chunk-C4MFZLJM.js +19 -0
- package/dist/chunk-C4MFZLJM.js.map +1 -0
- package/dist/chunk-CSSZLFLO.js +116 -0
- package/dist/chunk-CSSZLFLO.js.map +1 -0
- package/dist/chunk-CVWSMUUB.js +378 -0
- package/dist/chunk-CVWSMUUB.js.map +1 -0
- package/dist/chunk-E5DKBSWX.js +2 -0
- package/dist/chunk-E5DKBSWX.js.map +1 -0
- package/dist/chunk-EEP7PS2L.js +54 -0
- package/dist/chunk-EEP7PS2L.js.map +1 -0
- package/dist/chunk-EQLC2QVN.js +73 -0
- package/dist/chunk-EQLC2QVN.js.map +1 -0
- package/dist/chunk-FINOPIDN.js +2 -0
- package/dist/chunk-FINOPIDN.js.map +1 -0
- package/dist/chunk-G2KF2WL4.js +2 -0
- package/dist/chunk-G2KF2WL4.js.map +1 -0
- package/dist/chunk-I3D7KUGN.js +205 -0
- package/dist/chunk-I3D7KUGN.js.map +1 -0
- package/dist/chunk-IKQV3NSL.js +76 -0
- package/dist/chunk-IKQV3NSL.js.map +1 -0
- package/dist/chunk-JTKR7ZWP.js +468 -0
- package/dist/chunk-JTKR7ZWP.js.map +1 -0
- package/dist/chunk-KNDHO67X.js +78 -0
- package/dist/chunk-KNDHO67X.js.map +1 -0
- package/dist/chunk-L2EKYWVI.js +94 -0
- package/dist/chunk-L2EKYWVI.js.map +1 -0
- package/dist/chunk-MXLITIGU.js +92 -0
- package/dist/chunk-MXLITIGU.js.map +1 -0
- package/dist/chunk-NCIQMRV3.js +155 -0
- package/dist/chunk-NCIQMRV3.js.map +1 -0
- package/dist/chunk-OB5EFDDH.js +118 -0
- package/dist/chunk-OB5EFDDH.js.map +1 -0
- package/dist/chunk-OIRHLJBC.js +83 -0
- package/dist/chunk-OIRHLJBC.js.map +1 -0
- package/dist/chunk-PBQV3B6O.js +145 -0
- package/dist/chunk-PBQV3B6O.js.map +1 -0
- package/dist/chunk-POQIHFAZ.js +2 -0
- package/dist/chunk-POQIHFAZ.js.map +1 -0
- package/dist/chunk-PWMMXRMC.js +234 -0
- package/dist/chunk-PWMMXRMC.js.map +1 -0
- package/dist/chunk-SLEJDQ3A.js +81 -0
- package/dist/chunk-SLEJDQ3A.js.map +1 -0
- package/dist/chunk-TPJDOB7R.js +15 -0
- package/dist/chunk-TPJDOB7R.js.map +1 -0
- package/dist/chunk-VKZZY2QD.js +103 -0
- package/dist/chunk-VKZZY2QD.js.map +1 -0
- package/dist/chunk-W5FX4TU3.js +102 -0
- package/dist/chunk-W5FX4TU3.js.map +1 -0
- package/dist/chunk-W5ILLSPK.js +107 -0
- package/dist/chunk-W5ILLSPK.js.map +1 -0
- package/dist/chunk-WBHFVBSK.js +25 -0
- package/dist/chunk-WBHFVBSK.js.map +1 -0
- package/dist/chunk-WNUFGMS7.js +113 -0
- package/dist/chunk-WNUFGMS7.js.map +1 -0
- package/dist/chunk-WVTIKOII.js +15 -0
- package/dist/chunk-WVTIKOII.js.map +1 -0
- package/dist/chunk-XDDALY4C.js +166 -0
- package/dist/chunk-XDDALY4C.js.map +1 -0
- package/dist/chunk-XLLYNNC6.js +89 -0
- package/dist/chunk-XLLYNNC6.js.map +1 -0
- package/dist/context-BgYUymEO.d.ts +163 -0
- package/dist/credits.d.ts +42 -0
- package/dist/credits.js +21 -0
- package/dist/credits.js.map +1 -0
- package/dist/earnings.d.ts +29 -0
- package/dist/earnings.js +22 -0
- package/dist/earnings.js.map +1 -0
- package/dist/frame-I7_xYGy5.d.ts +45 -0
- package/dist/full-S2MBPEEP.js +11 -0
- package/dist/full-S2MBPEEP.js.map +1 -0
- package/dist/funnel-QU5ZPC52.js +13 -0
- package/dist/funnel-QU5ZPC52.js.map +1 -0
- package/dist/funnel.d.ts +26 -0
- package/dist/funnel.js +13 -0
- package/dist/funnel.js.map +1 -0
- package/dist/gauge.d.ts +38 -0
- package/dist/gauge.js +13 -0
- package/dist/gauge.js.map +1 -0
- package/dist/geo.d.ts +37 -0
- package/dist/geo.js +13 -0
- package/dist/geo.js.map +1 -0
- package/dist/globe.d.ts +36 -0
- package/dist/globe.js +12 -0
- package/dist/globe.js.map +1 -0
- package/dist/goal.d.ts +26 -0
- package/dist/goal.js +17 -0
- package/dist/goal.js.map +1 -0
- package/dist/heatmap-JWQOKUGM.js +13 -0
- package/dist/heatmap-JWQOKUGM.js.map +1 -0
- package/dist/heatmap.d.ts +47 -0
- package/dist/heatmap.js +15 -0
- package/dist/heatmap.js.map +1 -0
- package/dist/host-_F8RgiIz.d.ts +15 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +148 -0
- package/dist/index.js.map +1 -0
- package/dist/labels-DE_743fQ.d.ts +72 -0
- package/dist/latency.d.ts +33 -0
- package/dist/latency.js +24 -0
- package/dist/latency.js.map +1 -0
- package/dist/line.d.ts +25 -0
- package/dist/line.js +19 -0
- package/dist/line.js.map +1 -0
- package/dist/native.d.ts +494 -0
- package/dist/native.js +1244 -0
- package/dist/native.js.map +1 -0
- package/dist/pie.d.ts +37 -0
- package/dist/pie.js +16 -0
- package/dist/pie.js.map +1 -0
- package/dist/provider.d.ts +73 -0
- package/dist/provider.js +24 -0
- package/dist/provider.js.map +1 -0
- package/dist/radar-75GRJ2IK.js +13 -0
- package/dist/radar-75GRJ2IK.js.map +1 -0
- package/dist/radar.d.ts +22 -0
- package/dist/radar.js +13 -0
- package/dist/radar.js.map +1 -0
- package/dist/sankey-XQTX2EG6.js +13 -0
- package/dist/sankey-XQTX2EG6.js.map +1 -0
- package/dist/sankey.d.ts +28 -0
- package/dist/sankey.js +13 -0
- package/dist/sankey.js.map +1 -0
- package/dist/scatter-XSNG4OKD.js +13 -0
- package/dist/scatter-XSNG4OKD.js.map +1 -0
- package/dist/scatter.d.ts +41 -0
- package/dist/scatter.js +15 -0
- package/dist/scatter.js.map +1 -0
- package/dist/sparkline.d.ts +26 -0
- package/dist/sparkline.js +16 -0
- package/dist/sparkline.js.map +1 -0
- package/dist/svg-BJUHYX3B.js +14 -0
- package/dist/svg-BJUHYX3B.js.map +1 -0
- package/dist/throughput.d.ts +37 -0
- package/dist/throughput.js +24 -0
- package/dist/throughput.js.map +1 -0
- package/dist/ticker.d.ts +38 -0
- package/dist/ticker.js +22 -0
- package/dist/ticker.js.map +1 -0
- package/dist/treemap-OMGGGB5U.js +13 -0
- package/dist/treemap-OMGGGB5U.js.map +1 -0
- package/dist/treemap.d.ts +24 -0
- package/dist/treemap.js +14 -0
- package/dist/treemap.js.map +1 -0
- package/dist/world-110m-DVFWXS42.js +18 -0
- package/dist/world-110m-DVFWXS42.js.map +1 -0
- package/package.json +614 -3
- package/registry/area-chart.json +785 -0
- package/registry/bar-chart.json +784 -0
- package/registry/calendar-heatmap.json +460 -0
- package/registry/candlestick.json +553 -0
- package/registry/chart.json +441 -0
- package/registry/charts-provider.json +191 -0
- package/registry/credit-usage.json +473 -0
- package/registry/earnings-chart.json +703 -0
- package/registry/examples/area-chart/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/credits-usage.js +38 -0
- package/registry/examples/area-chart/credits-usage.tsx +32 -0
- package/registry/examples/area-chart/native/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/native/credits-usage.dark.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.js +33 -0
- package/registry/examples/area-chart/native/credits-usage.light.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.tsx +27 -0
- package/registry/examples/area-chart/storage.d.ts +4 -0
- package/registry/examples/area-chart/storage.js +27 -0
- package/registry/examples/area-chart/storage.tsx +21 -0
- package/registry/examples/bar-chart/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/jobs-by-status.js +37 -0
- package/registry/examples/bar-chart/jobs-by-status.tsx +31 -0
- package/registry/examples/bar-chart/native/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/native/jobs-by-status.dark.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.js +32 -0
- package/registry/examples/bar-chart/native/jobs-by-status.light.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.tsx +26 -0
- package/registry/examples/bar-chart/plans-by-quarter.d.ts +4 -0
- package/registry/examples/bar-chart/plans-by-quarter.js +31 -0
- package/registry/examples/bar-chart/plans-by-quarter.tsx +26 -0
- package/registry/examples/bar-chart/top-supporters.d.ts +4 -0
- package/registry/examples/bar-chart/top-supporters.js +32 -0
- package/registry/examples/bar-chart/top-supporters.tsx +27 -0
- package/registry/examples/calendar-heatmap/publishing.d.ts +4 -0
- package/registry/examples/calendar-heatmap/publishing.js +28 -0
- package/registry/examples/calendar-heatmap/publishing.tsx +23 -0
- package/registry/examples/candlestick/auction-bids.d.ts +4 -0
- package/registry/examples/candlestick/auction-bids.js +37 -0
- package/registry/examples/candlestick/auction-bids.tsx +32 -0
- package/registry/examples/chart/polar-uploads.d.ts +4 -0
- package/registry/examples/chart/polar-uploads.js +34 -0
- package/registry/examples/chart/polar-uploads.tsx +30 -0
- package/registry/examples/charts-provider/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/french-orazaka.js +26 -0
- package/registry/examples/charts-provider/french-orazaka.tsx +22 -0
- package/registry/examples/charts-provider/native/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/native/french-orazaka.dark.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.js +17 -0
- package/registry/examples/charts-provider/native/french-orazaka.light.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.tsx +17 -0
- package/registry/examples/credit-usage/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/monthly-credits.js +24 -0
- package/registry/examples/credit-usage/monthly-credits.tsx +19 -0
- package/registry/examples/credit-usage/native/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/native/monthly-credits.dark.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.js +23 -0
- package/registry/examples/credit-usage/native/monthly-credits.light.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.tsx +18 -0
- package/registry/examples/credit-usage/storage-plan.d.ts +4 -0
- package/registry/examples/credit-usage/storage-plan.js +21 -0
- package/registry/examples/credit-usage/storage-plan.tsx +15 -0
- package/registry/examples/earnings-chart/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/creator-month.js +29 -0
- package/registry/examples/earnings-chart/creator-month.tsx +24 -0
- package/registry/examples/earnings-chart/gross-and-net.d.ts +4 -0
- package/registry/examples/earnings-chart/gross-and-net.js +29 -0
- package/registry/examples/earnings-chart/gross-and-net.tsx +24 -0
- package/registry/examples/earnings-chart/native/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/native/creator-month.dark.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.js +29 -0
- package/registry/examples/earnings-chart/native/creator-month.light.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.tsx +24 -0
- package/registry/examples/funnel/signup.d.ts +4 -0
- package/registry/examples/funnel/signup.js +30 -0
- package/registry/examples/funnel/signup.tsx +24 -0
- package/registry/examples/gauge/challenge-goal.d.ts +4 -0
- package/registry/examples/gauge/challenge-goal.js +24 -0
- package/registry/examples/gauge/challenge-goal.tsx +18 -0
- package/registry/examples/gauge/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/credits-quota.js +26 -0
- package/registry/examples/gauge/credits-quota.tsx +19 -0
- package/registry/examples/gauge/native/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/native/credits-quota.dark.png +0 -0
- package/registry/examples/gauge/native/credits-quota.js +25 -0
- package/registry/examples/gauge/native/credits-quota.light.png +0 -0
- package/registry/examples/gauge/native/credits-quota.tsx +18 -0
- package/registry/examples/geo-map/viewers.d.ts +4 -0
- package/registry/examples/geo-map/viewers.js +43 -0
- package/registry/examples/geo-map/viewers.tsx +29 -0
- package/registry/examples/globe/deployment-regions.d.ts +4 -0
- package/registry/examples/globe/deployment-regions.js +36 -0
- package/registry/examples/globe/deployment-regions.tsx +30 -0
- package/registry/examples/goal-progress/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/challenge-pot.js +22 -0
- package/registry/examples/goal-progress/challenge-pot.tsx +16 -0
- package/registry/examples/goal-progress/goal-reached.d.ts +4 -0
- package/registry/examples/goal-progress/goal-reached.js +11 -0
- package/registry/examples/goal-progress/goal-reached.tsx +6 -0
- package/registry/examples/goal-progress/native/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/native/challenge-pot.dark.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.js +11 -0
- package/registry/examples/goal-progress/native/challenge-pot.light.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.tsx +6 -0
- package/registry/examples/heatmap/upload-activity.d.ts +4 -0
- package/registry/examples/heatmap/upload-activity.js +30 -0
- package/registry/examples/heatmap/upload-activity.tsx +25 -0
- package/registry/examples/job-throughput/live-hours.d.ts +4 -0
- package/registry/examples/job-throughput/live-hours.js +33 -0
- package/registry/examples/job-throughput/live-hours.tsx +28 -0
- package/registry/examples/job-throughput/native/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/native/week-of-jobs.dark.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/native/week-of-jobs.light.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.tsx +16 -0
- package/registry/examples/job-throughput/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/week-of-jobs.tsx +16 -0
- package/registry/examples/latency-chart/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/by-capability.js +26 -0
- package/registry/examples/latency-chart/by-capability.tsx +21 -0
- package/registry/examples/latency-chart/native/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/native/by-capability.dark.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.js +17 -0
- package/registry/examples/latency-chart/native/by-capability.light.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.tsx +13 -0
- package/registry/examples/latency-chart/time-to-result.d.ts +4 -0
- package/registry/examples/latency-chart/time-to-result.js +27 -0
- package/registry/examples/latency-chart/time-to-result.tsx +22 -0
- package/registry/examples/line-chart/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/creator-earnings.js +35 -0
- package/registry/examples/line-chart/creator-earnings.tsx +30 -0
- package/registry/examples/line-chart/forecast.d.ts +4 -0
- package/registry/examples/line-chart/forecast.js +36 -0
- package/registry/examples/line-chart/forecast.tsx +30 -0
- package/registry/examples/line-chart/live-jobs.d.ts +4 -0
- package/registry/examples/line-chart/live-jobs.js +21 -0
- package/registry/examples/line-chart/live-jobs.tsx +23 -0
- package/registry/examples/line-chart/native/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/native/creator-earnings.dark.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.js +32 -0
- package/registry/examples/line-chart/native/creator-earnings.light.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.tsx +26 -0
- package/registry/examples/line-chart/states.d.ts +4 -0
- package/registry/examples/line-chart/states.js +16 -0
- package/registry/examples/line-chart/states.tsx +13 -0
- package/registry/examples/pie-chart/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/credit-spend.js +30 -0
- package/registry/examples/pie-chart/credit-spend.tsx +24 -0
- package/registry/examples/pie-chart/native/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/native/credit-spend.dark.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.js +17 -0
- package/registry/examples/pie-chart/native/credit-spend.light.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.tsx +12 -0
- package/registry/examples/pie-chart/storage-by-kind.d.ts +4 -0
- package/registry/examples/pie-chart/storage-by-kind.js +31 -0
- package/registry/examples/pie-chart/storage-by-kind.tsx +26 -0
- package/registry/examples/price-ticker/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/auction-room.js +21 -0
- package/registry/examples/price-ticker/auction-room.tsx +17 -0
- package/registry/examples/price-ticker/native/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/native/auction-room.dark.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.js +19 -0
- package/registry/examples/price-ticker/native/auction-room.light.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.tsx +15 -0
- package/registry/examples/price-ticker/no-bid-yet.d.ts +4 -0
- package/registry/examples/price-ticker/no-bid-yet.js +11 -0
- package/registry/examples/price-ticker/no-bid-yet.tsx +6 -0
- package/registry/examples/radar-chart/model-comparison.d.ts +4 -0
- package/registry/examples/radar-chart/model-comparison.js +33 -0
- package/registry/examples/radar-chart/model-comparison.tsx +28 -0
- package/registry/examples/sankey/credit-flow.d.ts +4 -0
- package/registry/examples/sankey/credit-flow.js +37 -0
- package/registry/examples/sankey/credit-flow.tsx +32 -0
- package/registry/examples/scatter-chart/watch-time.d.ts +4 -0
- package/registry/examples/scatter-chart/watch-time.js +36 -0
- package/registry/examples/scatter-chart/watch-time.tsx +31 -0
- package/registry/examples/sparkline/bars.d.ts +4 -0
- package/registry/examples/sparkline/bars.js +12 -0
- package/registry/examples/sparkline/bars.tsx +7 -0
- package/registry/examples/sparkline/native/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/native/stat-trend.dark.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.js +12 -0
- package/registry/examples/sparkline/native/stat-trend.light.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.tsx +7 -0
- package/registry/examples/sparkline/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/stat-trend.js +18 -0
- package/registry/examples/sparkline/stat-trend.tsx +15 -0
- package/registry/examples/sparkline/table-rows.d.ts +4 -0
- package/registry/examples/sparkline/table-rows.js +23 -0
- package/registry/examples/sparkline/table-rows.tsx +26 -0
- package/registry/examples/treemap/storage.d.ts +4 -0
- package/registry/examples/treemap/storage.js +17 -0
- package/registry/examples/treemap/storage.tsx +13 -0
- package/registry/funnel.json +487 -0
- package/registry/gauge.json +600 -0
- package/registry/geo-map.json +484 -0
- package/registry/globe.json +469 -0
- package/registry/goal-progress.json +520 -0
- package/registry/heatmap.json +531 -0
- package/registry/index.json +582 -0
- package/registry/job-throughput.json +654 -0
- package/registry/latency-chart.json +671 -0
- package/registry/line-chart.json +793 -0
- package/registry/pie-chart.json +1288 -0
- package/registry/price-ticker.json +684 -0
- package/registry/radar-chart.json +459 -0
- package/registry/sankey.json +503 -0
- package/registry/scatter-chart.json +559 -0
- package/registry/sparkline.json +563 -0
- package/registry/treemap.json +432 -0
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "geo-map",
|
|
3
|
+
"package": "@krizaka/charts",
|
|
4
|
+
"type": "chart",
|
|
5
|
+
"title": "Geo map",
|
|
6
|
+
"summary": "Where: a world choropleth in one sequential hue, bubbles on places, country names in the reader's language — plain SVG, the world loaded on demand.",
|
|
7
|
+
"description": "Where: a world choropleth in one sequential hue, bubbles on places, country names in the reader's language — plain SVG, the world loaded on demand.",
|
|
8
|
+
"status": "beta",
|
|
9
|
+
"category": "charts",
|
|
10
|
+
"platforms": "web",
|
|
11
|
+
"engine": "svg",
|
|
12
|
+
"tier": "advanced",
|
|
13
|
+
"whenToUse": [
|
|
14
|
+
"An audience by country: a creator's viewers, a service's users.",
|
|
15
|
+
"Places with an amount: cities, data centres, as bubbles."
|
|
16
|
+
],
|
|
17
|
+
"whenNotToUse": [
|
|
18
|
+
{
|
|
19
|
+
"when": "Deployment regions and the links between them, as a showpiece.",
|
|
20
|
+
"use": "globe"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"when": "A precise comparison between a few countries.",
|
|
24
|
+
"use": "bar-chart"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"bestPractices": [
|
|
28
|
+
"Key the regions by ISO 3166-1 alpha-2 (`FR`, `US`): the names come from `Intl.DisplayNames` in the reader's locale.",
|
|
29
|
+
"Map rates (per viewer, per capita) rather than raw counts when the countries' sizes differ widely.",
|
|
30
|
+
"Pair it with a ranked table or bars when the exact order matters."
|
|
31
|
+
],
|
|
32
|
+
"accessibility": {
|
|
33
|
+
"keyboard": [
|
|
34
|
+
{
|
|
35
|
+
"keys": "Arrow keys",
|
|
36
|
+
"action": "Walk the regions that have data, largest first, then the places."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"keys": "Home / End",
|
|
40
|
+
"action": "Jump to the largest or the last item."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"keys": "Esc",
|
|
44
|
+
"action": "Clears the active region."
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"notes": [
|
|
48
|
+
"The summary names the five largest regions with their shares; the table lists every region and place.",
|
|
49
|
+
"The Equal Earth projection keeps areas true: no country looks larger than it is.",
|
|
50
|
+
"The world's countries (~38 kB) are loaded only when a map is drawn; a skeleton holds the height meanwhile."
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"related": [
|
|
54
|
+
"globe",
|
|
55
|
+
"bar-chart",
|
|
56
|
+
"heatmap"
|
|
57
|
+
],
|
|
58
|
+
"source": "packages/charts/src/meta/geo-map.ts",
|
|
59
|
+
"install": {
|
|
60
|
+
"web": "npm install @krizaka/charts",
|
|
61
|
+
"native": "npx expo install react-native-svg\nnpm install @krizaka/charts"
|
|
62
|
+
},
|
|
63
|
+
"web": {
|
|
64
|
+
"entry": "@krizaka/charts/geo",
|
|
65
|
+
"import": "import { GeoMap } from \"@krizaka/charts/geo\";",
|
|
66
|
+
"props": [
|
|
67
|
+
{
|
|
68
|
+
"component": "GeoMap",
|
|
69
|
+
"description": "",
|
|
70
|
+
"props": [
|
|
71
|
+
{
|
|
72
|
+
"name": "data",
|
|
73
|
+
"type": "readonly T[]",
|
|
74
|
+
"default": null,
|
|
75
|
+
"description": "One row per region with a value.",
|
|
76
|
+
"required": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "region",
|
|
80
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
81
|
+
"default": null,
|
|
82
|
+
"description": "The field (or function) of the region's ISO 3166-1 alpha-2 code (`\"FR\"`, `\"US\"`).",
|
|
83
|
+
"required": true
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "title",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"default": null,
|
|
89
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
90
|
+
"required": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "value",
|
|
94
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
95
|
+
"default": null,
|
|
96
|
+
"description": "The field (or function) of its value.",
|
|
97
|
+
"required": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "brand",
|
|
101
|
+
"type": "BrandId",
|
|
102
|
+
"default": null,
|
|
103
|
+
"description": "The brand whose palette the charts use. Without it, a chart follows a `.brand-<id>` ancestor, else Krizaka. Set it\nwhen the app loads a brand stylesheet on `:root` (`@krizaka/tokens/brands/orazaka.css`).",
|
|
104
|
+
"required": false
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "className",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"default": null,
|
|
110
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
111
|
+
"required": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "dataTable",
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"default": null,
|
|
117
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
118
|
+
"required": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "description",
|
|
122
|
+
"type": "ReactNode",
|
|
123
|
+
"default": null,
|
|
124
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
125
|
+
"required": false
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "empty",
|
|
129
|
+
"type": "ReactNode",
|
|
130
|
+
"default": null,
|
|
131
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
132
|
+
"required": false
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "error",
|
|
136
|
+
"type": "ReactNode",
|
|
137
|
+
"default": null,
|
|
138
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
139
|
+
"required": false
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "exportable",
|
|
143
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
144
|
+
"default": null,
|
|
145
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
146
|
+
"required": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "format",
|
|
150
|
+
"type": "ValueFormat",
|
|
151
|
+
"default": null,
|
|
152
|
+
"description": "How the values are written.",
|
|
153
|
+
"required": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "height",
|
|
157
|
+
"type": "number",
|
|
158
|
+
"default": null,
|
|
159
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
160
|
+
"required": false
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "hideTitle",
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"default": null,
|
|
166
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
167
|
+
"required": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "id",
|
|
171
|
+
"type": "string",
|
|
172
|
+
"default": null,
|
|
173
|
+
"description": "The id of the figure.",
|
|
174
|
+
"required": false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "labels",
|
|
178
|
+
"type": "ChartLabelsInput",
|
|
179
|
+
"default": null,
|
|
180
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
181
|
+
"required": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "live",
|
|
185
|
+
"type": "boolean",
|
|
186
|
+
"default": null,
|
|
187
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
188
|
+
"required": false
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "loading",
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"default": null,
|
|
194
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
195
|
+
"required": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "locale",
|
|
199
|
+
"type": "Locale",
|
|
200
|
+
"default": null,
|
|
201
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
202
|
+
"required": false
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "onSelect",
|
|
206
|
+
"type": "((datum: T, index: number) => void)",
|
|
207
|
+
"default": null,
|
|
208
|
+
"description": "Called with the row when a region is clicked (or Enter is pressed on it).",
|
|
209
|
+
"required": false
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "points",
|
|
213
|
+
"type": "readonly GeoPoint[]",
|
|
214
|
+
"default": null,
|
|
215
|
+
"description": "Bubbles on places, their area by `value`.",
|
|
216
|
+
"required": false
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "regionLabel",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"default": null,
|
|
222
|
+
"description": "The header of the regions and of the values in the table (“Country”, “Viewers”).",
|
|
223
|
+
"required": false
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "steps",
|
|
227
|
+
"type": "number",
|
|
228
|
+
"default": null,
|
|
229
|
+
"description": "The number of colour steps of the scale. Default 5.",
|
|
230
|
+
"required": false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "style",
|
|
234
|
+
"type": "CSSProperties",
|
|
235
|
+
"default": null,
|
|
236
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
237
|
+
"required": false
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "summary",
|
|
241
|
+
"type": "\"hidden\" | \"visible\"",
|
|
242
|
+
"default": null,
|
|
243
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
244
|
+
"required": false
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "summaryText",
|
|
248
|
+
"type": "string",
|
|
249
|
+
"default": null,
|
|
250
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
251
|
+
"required": false
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "valueLabel",
|
|
255
|
+
"type": "string",
|
|
256
|
+
"default": null,
|
|
257
|
+
"description": "The header of the values (“Viewers”).",
|
|
258
|
+
"required": false
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"examples": [
|
|
264
|
+
{
|
|
265
|
+
"name": "viewers",
|
|
266
|
+
"title": "Viewers by country",
|
|
267
|
+
"description": "A creator's viewers by country, the top cities as bubbles.",
|
|
268
|
+
"path": "examples/geo-map/viewers.tsx",
|
|
269
|
+
"module": "@krizaka/charts/registry/examples/geo-map/viewers",
|
|
270
|
+
"code": "import { GeoMap } from \"@krizaka/charts/geo\";\n\nconst countries = [\n { code: \"FR\", viewers: 48_200 }, { code: \"CA\", viewers: 31_500 }, { code: \"BE\", viewers: 9_800 },\n { code: \"CH\", viewers: 7_400 }, { code: \"MA\", viewers: 12_900 }, { code: \"SN\", viewers: 6_100 },\n { code: \"US\", viewers: 15_300 }, { code: \"DE\", viewers: 4_200 }, { code: \"TN\", viewers: 5_600 },\n { code: \"CI\", viewers: 4_900 }, { code: \"BR\", viewers: 2_300 }, { code: \"JP\", viewers: 1_800 },\n];\nconst cities = [\n { label: \"Paris\", lon: 2.35, lat: 48.86, value: 21_400 },\n { label: \"Montréal\", lon: -73.57, lat: 45.5, value: 17_800 },\n { label: \"Casablanca\", lon: -7.59, lat: 33.57, value: 6_300 },\n { label: \"Dakar\", lon: -17.45, lat: 14.69, value: 3_900 },\n];\n\nexport default function Viewers() {\n return (\n <GeoMap\n title=\"Viewers by country, last 90 days\"\n data={countries}\n region=\"code\"\n value=\"viewers\"\n points={cities}\n format=\"compact\"\n regionLabel=\"Country\"\n valueLabel=\"Viewers\"\n />\n );\n}\n"
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"native": null,
|
|
275
|
+
"files": [],
|
|
276
|
+
"dependencies": [
|
|
277
|
+
"@krizaka/intl@workspace:^",
|
|
278
|
+
"d3-geo@^3.1.1",
|
|
279
|
+
"echarts@^6.1.0",
|
|
280
|
+
"topojson-client@^3.1.0"
|
|
281
|
+
],
|
|
282
|
+
"registryDependencies": [],
|
|
283
|
+
"demo": {
|
|
284
|
+
"path": "examples/geo-map/viewers.tsx",
|
|
285
|
+
"content": "import { GeoMap } from \"@krizaka/charts/geo\";\n\nconst countries = [\n { code: \"FR\", viewers: 48_200 }, { code: \"CA\", viewers: 31_500 }, { code: \"BE\", viewers: 9_800 },\n { code: \"CH\", viewers: 7_400 }, { code: \"MA\", viewers: 12_900 }, { code: \"SN\", viewers: 6_100 },\n { code: \"US\", viewers: 15_300 }, { code: \"DE\", viewers: 4_200 }, { code: \"TN\", viewers: 5_600 },\n { code: \"CI\", viewers: 4_900 }, { code: \"BR\", viewers: 2_300 }, { code: \"JP\", viewers: 1_800 },\n];\nconst cities = [\n { label: \"Paris\", lon: 2.35, lat: 48.86, value: 21_400 },\n { label: \"Montréal\", lon: -73.57, lat: 45.5, value: 17_800 },\n { label: \"Casablanca\", lon: -7.59, lat: 33.57, value: 6_300 },\n { label: \"Dakar\", lon: -17.45, lat: 14.69, value: 3_900 },\n];\n\nexport default function Viewers() {\n return (\n <GeoMap\n title=\"Viewers by country, last 90 days\"\n data={countries}\n region=\"code\"\n value=\"viewers\"\n points={cities}\n format=\"compact\"\n regionLabel=\"Country\"\n valueLabel=\"Viewers\"\n />\n );\n}\n"
|
|
286
|
+
},
|
|
287
|
+
"props": [
|
|
288
|
+
{
|
|
289
|
+
"component": "GeoMap",
|
|
290
|
+
"description": "",
|
|
291
|
+
"props": [
|
|
292
|
+
{
|
|
293
|
+
"name": "data",
|
|
294
|
+
"type": "readonly T[]",
|
|
295
|
+
"default": null,
|
|
296
|
+
"description": "One row per region with a value.",
|
|
297
|
+
"required": true
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "region",
|
|
301
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
302
|
+
"default": null,
|
|
303
|
+
"description": "The field (or function) of the region's ISO 3166-1 alpha-2 code (`\"FR\"`, `\"US\"`).",
|
|
304
|
+
"required": true
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "title",
|
|
308
|
+
"type": "string",
|
|
309
|
+
"default": null,
|
|
310
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
311
|
+
"required": true
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "value",
|
|
315
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
316
|
+
"default": null,
|
|
317
|
+
"description": "The field (or function) of its value.",
|
|
318
|
+
"required": true
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "brand",
|
|
322
|
+
"type": "BrandId",
|
|
323
|
+
"default": null,
|
|
324
|
+
"description": "The brand whose palette the charts use. Without it, a chart follows a `.brand-<id>` ancestor, else Krizaka. Set it\nwhen the app loads a brand stylesheet on `:root` (`@krizaka/tokens/brands/orazaka.css`).",
|
|
325
|
+
"required": false
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "className",
|
|
329
|
+
"type": "string",
|
|
330
|
+
"default": null,
|
|
331
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
332
|
+
"required": false
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "dataTable",
|
|
336
|
+
"type": "boolean",
|
|
337
|
+
"default": null,
|
|
338
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
339
|
+
"required": false
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "description",
|
|
343
|
+
"type": "ReactNode",
|
|
344
|
+
"default": null,
|
|
345
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
346
|
+
"required": false
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "empty",
|
|
350
|
+
"type": "ReactNode",
|
|
351
|
+
"default": null,
|
|
352
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
353
|
+
"required": false
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "error",
|
|
357
|
+
"type": "ReactNode",
|
|
358
|
+
"default": null,
|
|
359
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
360
|
+
"required": false
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "exportable",
|
|
364
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
365
|
+
"default": null,
|
|
366
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
367
|
+
"required": false
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "format",
|
|
371
|
+
"type": "ValueFormat",
|
|
372
|
+
"default": null,
|
|
373
|
+
"description": "How the values are written.",
|
|
374
|
+
"required": false
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "height",
|
|
378
|
+
"type": "number",
|
|
379
|
+
"default": null,
|
|
380
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
381
|
+
"required": false
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "hideTitle",
|
|
385
|
+
"type": "boolean",
|
|
386
|
+
"default": null,
|
|
387
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
388
|
+
"required": false
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "id",
|
|
392
|
+
"type": "string",
|
|
393
|
+
"default": null,
|
|
394
|
+
"description": "The id of the figure.",
|
|
395
|
+
"required": false
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "labels",
|
|
399
|
+
"type": "ChartLabelsInput",
|
|
400
|
+
"default": null,
|
|
401
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
402
|
+
"required": false
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "live",
|
|
406
|
+
"type": "boolean",
|
|
407
|
+
"default": null,
|
|
408
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
409
|
+
"required": false
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "loading",
|
|
413
|
+
"type": "boolean",
|
|
414
|
+
"default": null,
|
|
415
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
416
|
+
"required": false
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "locale",
|
|
420
|
+
"type": "Locale",
|
|
421
|
+
"default": null,
|
|
422
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
423
|
+
"required": false
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "onSelect",
|
|
427
|
+
"type": "((datum: T, index: number) => void)",
|
|
428
|
+
"default": null,
|
|
429
|
+
"description": "Called with the row when a region is clicked (or Enter is pressed on it).",
|
|
430
|
+
"required": false
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "points",
|
|
434
|
+
"type": "readonly GeoPoint[]",
|
|
435
|
+
"default": null,
|
|
436
|
+
"description": "Bubbles on places, their area by `value`.",
|
|
437
|
+
"required": false
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "regionLabel",
|
|
441
|
+
"type": "string",
|
|
442
|
+
"default": null,
|
|
443
|
+
"description": "The header of the regions and of the values in the table (“Country”, “Viewers”).",
|
|
444
|
+
"required": false
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "steps",
|
|
448
|
+
"type": "number",
|
|
449
|
+
"default": null,
|
|
450
|
+
"description": "The number of colour steps of the scale. Default 5.",
|
|
451
|
+
"required": false
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "style",
|
|
455
|
+
"type": "CSSProperties",
|
|
456
|
+
"default": null,
|
|
457
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
458
|
+
"required": false
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "summary",
|
|
462
|
+
"type": "\"hidden\" | \"visible\"",
|
|
463
|
+
"default": null,
|
|
464
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
465
|
+
"required": false
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "summaryText",
|
|
469
|
+
"type": "string",
|
|
470
|
+
"default": null,
|
|
471
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
472
|
+
"required": false
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "valueLabel",
|
|
476
|
+
"type": "string",
|
|
477
|
+
"default": null,
|
|
478
|
+
"description": "The header of the values (“Viewers”).",
|
|
479
|
+
"required": false
|
|
480
|
+
}
|
|
481
|
+
]
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|