@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,503 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sankey",
|
|
3
|
+
"package": "@krizaka/charts",
|
|
4
|
+
"type": "chart",
|
|
5
|
+
"title": "Sankey",
|
|
6
|
+
"summary": "Flows between stages — credits from plans to models to outcomes — with widths proportional to the amounts.",
|
|
7
|
+
"description": "Flows between stages — credits from plans to models to outcomes — with widths proportional to the amounts.",
|
|
8
|
+
"status": "beta",
|
|
9
|
+
"category": "charts",
|
|
10
|
+
"platforms": "web",
|
|
11
|
+
"engine": "echarts",
|
|
12
|
+
"tier": "advanced",
|
|
13
|
+
"whenToUse": [
|
|
14
|
+
"Where an amount goes, in two or three steps: credits by plan, then by model, then by outcome.",
|
|
15
|
+
"A journey with branches: viewers from sources to subscriptions."
|
|
16
|
+
],
|
|
17
|
+
"whenNotToUse": [
|
|
18
|
+
{
|
|
19
|
+
"when": "A single sequence of stages that only loses people.",
|
|
20
|
+
"use": "funnel"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"when": "A split at one level.",
|
|
24
|
+
"use": "pie-chart"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"bestPractices": [
|
|
28
|
+
"Keep to about a dozen nodes; group the small flows.",
|
|
29
|
+
"Use `vertical` on narrow screens."
|
|
30
|
+
],
|
|
31
|
+
"accessibility": {
|
|
32
|
+
"keyboard": [
|
|
33
|
+
{
|
|
34
|
+
"keys": "Tab",
|
|
35
|
+
"action": "Moves the focus to the plot (one tab stop), then to the data and export buttons."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"keys": "Arrow keys",
|
|
39
|
+
"action": "Walk the items one by one: each is announced and highlighted, its tooltip shown."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"keys": "Home / End",
|
|
43
|
+
"action": "Jump to the first or the last item."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"keys": "Esc",
|
|
47
|
+
"action": "Hides the tooltip and clears the highlight."
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"notes": [
|
|
51
|
+
"The plot is a group named by the title and described by a summary written from the data, read before anything else.",
|
|
52
|
+
"The data table is always in the page for assistive technology; “Show data” reveals it for everyone.",
|
|
53
|
+
"The engine (ECharts core and this one chart type) loads when the chart nears the screen; a skeleton of the same height holds its place, so nothing shifts.",
|
|
54
|
+
"Under reduced motion the chart is drawn without animation.",
|
|
55
|
+
"The keyboard walks the flows; the table lists every source, target and amount."
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"related": [
|
|
59
|
+
"funnel",
|
|
60
|
+
"treemap",
|
|
61
|
+
"pie-chart"
|
|
62
|
+
],
|
|
63
|
+
"source": "packages/charts/src/meta/sankey.ts",
|
|
64
|
+
"install": {
|
|
65
|
+
"web": "npm install @krizaka/charts",
|
|
66
|
+
"native": "npx expo install react-native-svg\nnpm install @krizaka/charts"
|
|
67
|
+
},
|
|
68
|
+
"web": {
|
|
69
|
+
"entry": "@krizaka/charts/sankey",
|
|
70
|
+
"import": "import { Sankey } from \"@krizaka/charts/sankey\";",
|
|
71
|
+
"props": [
|
|
72
|
+
{
|
|
73
|
+
"component": "Sankey",
|
|
74
|
+
"description": "",
|
|
75
|
+
"props": [
|
|
76
|
+
{
|
|
77
|
+
"name": "data",
|
|
78
|
+
"type": "readonly T[]",
|
|
79
|
+
"default": null,
|
|
80
|
+
"description": "One row per flow.",
|
|
81
|
+
"required": true
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "source",
|
|
85
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
86
|
+
"default": null,
|
|
87
|
+
"description": "The fields (or functions) naming where the flow comes from and where it goes.",
|
|
88
|
+
"required": true
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "target",
|
|
92
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
93
|
+
"default": null,
|
|
94
|
+
"description": "The field (or function) naming where the flow goes.",
|
|
95
|
+
"required": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "title",
|
|
99
|
+
"type": "string",
|
|
100
|
+
"default": null,
|
|
101
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
102
|
+
"required": true
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "value",
|
|
106
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
107
|
+
"default": null,
|
|
108
|
+
"description": "The field of its amount.",
|
|
109
|
+
"required": true
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "brand",
|
|
113
|
+
"type": "BrandId",
|
|
114
|
+
"default": null,
|
|
115
|
+
"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`).",
|
|
116
|
+
"required": false
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "className",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"default": null,
|
|
122
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
123
|
+
"required": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "dataTable",
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"default": null,
|
|
129
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
130
|
+
"required": false
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "description",
|
|
134
|
+
"type": "ReactNode",
|
|
135
|
+
"default": null,
|
|
136
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
137
|
+
"required": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "empty",
|
|
141
|
+
"type": "ReactNode",
|
|
142
|
+
"default": null,
|
|
143
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
144
|
+
"required": false
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "error",
|
|
148
|
+
"type": "ReactNode",
|
|
149
|
+
"default": null,
|
|
150
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
151
|
+
"required": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "exportable",
|
|
155
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
156
|
+
"default": null,
|
|
157
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
158
|
+
"required": false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "format",
|
|
162
|
+
"type": "ValueFormat",
|
|
163
|
+
"default": null,
|
|
164
|
+
"description": "How the amounts are written.",
|
|
165
|
+
"required": false
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "height",
|
|
169
|
+
"type": "number",
|
|
170
|
+
"default": null,
|
|
171
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
172
|
+
"required": false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "hideTitle",
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"default": null,
|
|
178
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
179
|
+
"required": false
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "id",
|
|
183
|
+
"type": "string",
|
|
184
|
+
"default": null,
|
|
185
|
+
"description": "The id of the figure.",
|
|
186
|
+
"required": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "labels",
|
|
190
|
+
"type": "ChartLabelsInput",
|
|
191
|
+
"default": null,
|
|
192
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
193
|
+
"required": false
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "live",
|
|
197
|
+
"type": "boolean",
|
|
198
|
+
"default": null,
|
|
199
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
200
|
+
"required": false
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "loading",
|
|
204
|
+
"type": "boolean",
|
|
205
|
+
"default": null,
|
|
206
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
207
|
+
"required": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "locale",
|
|
211
|
+
"type": "Locale",
|
|
212
|
+
"default": null,
|
|
213
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
214
|
+
"required": false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "renderer",
|
|
218
|
+
"type": "Renderer",
|
|
219
|
+
"default": null,
|
|
220
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
221
|
+
"required": false
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "sourceLabel",
|
|
225
|
+
"type": "string",
|
|
226
|
+
"default": null,
|
|
227
|
+
"description": "The headers of the data table.",
|
|
228
|
+
"required": false
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "style",
|
|
232
|
+
"type": "CSSProperties",
|
|
233
|
+
"default": null,
|
|
234
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
235
|
+
"required": false
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "summary",
|
|
239
|
+
"type": "\"hidden\" | \"visible\"",
|
|
240
|
+
"default": null,
|
|
241
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
242
|
+
"required": false
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "summaryText",
|
|
246
|
+
"type": "string",
|
|
247
|
+
"default": null,
|
|
248
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
249
|
+
"required": false
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "targetLabel",
|
|
253
|
+
"type": "string",
|
|
254
|
+
"default": null,
|
|
255
|
+
"description": "The header of the targets.",
|
|
256
|
+
"required": false
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "valueLabel",
|
|
260
|
+
"type": "string",
|
|
261
|
+
"default": null,
|
|
262
|
+
"description": "The header of the amounts.",
|
|
263
|
+
"required": false
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "vertical",
|
|
267
|
+
"type": "boolean",
|
|
268
|
+
"default": null,
|
|
269
|
+
"description": "Lay the stages out top to bottom (narrow screens). Default: left to right.",
|
|
270
|
+
"required": false
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"examples": [
|
|
276
|
+
{
|
|
277
|
+
"name": "credit-flow",
|
|
278
|
+
"title": "Credit flow",
|
|
279
|
+
"description": "A month of Orazaka credits, from plans to models to outcomes.",
|
|
280
|
+
"path": "examples/sankey/credit-flow.tsx",
|
|
281
|
+
"module": "@krizaka/charts/registry/examples/sankey/credit-flow",
|
|
282
|
+
"code": "import { Sankey } from \"@krizaka/charts/sankey\";\n\n// Thousands of credits in September.\nconst flows = [\n { from: \"Pro plans\", to: \"Chat\", credits: 182 },\n { from: \"Pro plans\", to: \"Image\", credits: 64 },\n { from: \"Studio plans\", to: \"Video\", credits: 121 },\n { from: \"Studio plans\", to: \"Image\", credits: 48 },\n { from: \"Studio plans\", to: \"Chat\", credits: 37 },\n { from: \"Chat\", to: \"Delivered\", credits: 211 },\n { from: \"Chat\", to: \"Refunded\", credits: 8 },\n { from: \"Image\", to: \"Delivered\", credits: 104 },\n { from: \"Image\", to: \"Refunded\", credits: 8 },\n { from: \"Video\", to: \"Delivered\", credits: 109 },\n { from: \"Video\", to: \"Refunded\", credits: 12 },\n];\n\nexport default function CreditFlow() {\n return (\n <Sankey\n title=\"Where the credits went (k)\"\n data={flows}\n source=\"from\"\n target=\"to\"\n value=\"credits\"\n format=\"integer\"\n sourceLabel=\"From\"\n targetLabel=\"To\"\n valueLabel=\"Credits (k)\"\n />\n );\n}\n"
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"native": null,
|
|
287
|
+
"files": [],
|
|
288
|
+
"dependencies": [
|
|
289
|
+
"@krizaka/intl@workspace:^",
|
|
290
|
+
"d3-geo@^3.1.1",
|
|
291
|
+
"echarts@^6.1.0",
|
|
292
|
+
"topojson-client@^3.1.0"
|
|
293
|
+
],
|
|
294
|
+
"registryDependencies": [],
|
|
295
|
+
"demo": {
|
|
296
|
+
"path": "examples/sankey/credit-flow.tsx",
|
|
297
|
+
"content": "import { Sankey } from \"@krizaka/charts/sankey\";\n\n// Thousands of credits in September.\nconst flows = [\n { from: \"Pro plans\", to: \"Chat\", credits: 182 },\n { from: \"Pro plans\", to: \"Image\", credits: 64 },\n { from: \"Studio plans\", to: \"Video\", credits: 121 },\n { from: \"Studio plans\", to: \"Image\", credits: 48 },\n { from: \"Studio plans\", to: \"Chat\", credits: 37 },\n { from: \"Chat\", to: \"Delivered\", credits: 211 },\n { from: \"Chat\", to: \"Refunded\", credits: 8 },\n { from: \"Image\", to: \"Delivered\", credits: 104 },\n { from: \"Image\", to: \"Refunded\", credits: 8 },\n { from: \"Video\", to: \"Delivered\", credits: 109 },\n { from: \"Video\", to: \"Refunded\", credits: 12 },\n];\n\nexport default function CreditFlow() {\n return (\n <Sankey\n title=\"Where the credits went (k)\"\n data={flows}\n source=\"from\"\n target=\"to\"\n value=\"credits\"\n format=\"integer\"\n sourceLabel=\"From\"\n targetLabel=\"To\"\n valueLabel=\"Credits (k)\"\n />\n );\n}\n"
|
|
298
|
+
},
|
|
299
|
+
"props": [
|
|
300
|
+
{
|
|
301
|
+
"component": "Sankey",
|
|
302
|
+
"description": "",
|
|
303
|
+
"props": [
|
|
304
|
+
{
|
|
305
|
+
"name": "data",
|
|
306
|
+
"type": "readonly T[]",
|
|
307
|
+
"default": null,
|
|
308
|
+
"description": "One row per flow.",
|
|
309
|
+
"required": true
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "source",
|
|
313
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
314
|
+
"default": null,
|
|
315
|
+
"description": "The fields (or functions) naming where the flow comes from and where it goes.",
|
|
316
|
+
"required": true
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "target",
|
|
320
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
321
|
+
"default": null,
|
|
322
|
+
"description": "The field (or function) naming where the flow goes.",
|
|
323
|
+
"required": true
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "title",
|
|
327
|
+
"type": "string",
|
|
328
|
+
"default": null,
|
|
329
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
330
|
+
"required": true
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "value",
|
|
334
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
335
|
+
"default": null,
|
|
336
|
+
"description": "The field of its amount.",
|
|
337
|
+
"required": true
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "brand",
|
|
341
|
+
"type": "BrandId",
|
|
342
|
+
"default": null,
|
|
343
|
+
"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`).",
|
|
344
|
+
"required": false
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "className",
|
|
348
|
+
"type": "string",
|
|
349
|
+
"default": null,
|
|
350
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
351
|
+
"required": false
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "dataTable",
|
|
355
|
+
"type": "boolean",
|
|
356
|
+
"default": null,
|
|
357
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
358
|
+
"required": false
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "description",
|
|
362
|
+
"type": "ReactNode",
|
|
363
|
+
"default": null,
|
|
364
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
365
|
+
"required": false
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "empty",
|
|
369
|
+
"type": "ReactNode",
|
|
370
|
+
"default": null,
|
|
371
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
372
|
+
"required": false
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "error",
|
|
376
|
+
"type": "ReactNode",
|
|
377
|
+
"default": null,
|
|
378
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
379
|
+
"required": false
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "exportable",
|
|
383
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
384
|
+
"default": null,
|
|
385
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
386
|
+
"required": false
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "format",
|
|
390
|
+
"type": "ValueFormat",
|
|
391
|
+
"default": null,
|
|
392
|
+
"description": "How the amounts are written.",
|
|
393
|
+
"required": false
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "height",
|
|
397
|
+
"type": "number",
|
|
398
|
+
"default": null,
|
|
399
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
400
|
+
"required": false
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "hideTitle",
|
|
404
|
+
"type": "boolean",
|
|
405
|
+
"default": null,
|
|
406
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
407
|
+
"required": false
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "id",
|
|
411
|
+
"type": "string",
|
|
412
|
+
"default": null,
|
|
413
|
+
"description": "The id of the figure.",
|
|
414
|
+
"required": false
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "labels",
|
|
418
|
+
"type": "ChartLabelsInput",
|
|
419
|
+
"default": null,
|
|
420
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
421
|
+
"required": false
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "live",
|
|
425
|
+
"type": "boolean",
|
|
426
|
+
"default": null,
|
|
427
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
428
|
+
"required": false
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "loading",
|
|
432
|
+
"type": "boolean",
|
|
433
|
+
"default": null,
|
|
434
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
435
|
+
"required": false
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "locale",
|
|
439
|
+
"type": "Locale",
|
|
440
|
+
"default": null,
|
|
441
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
442
|
+
"required": false
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "renderer",
|
|
446
|
+
"type": "Renderer",
|
|
447
|
+
"default": null,
|
|
448
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
449
|
+
"required": false
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "sourceLabel",
|
|
453
|
+
"type": "string",
|
|
454
|
+
"default": null,
|
|
455
|
+
"description": "The headers of the data table.",
|
|
456
|
+
"required": false
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "style",
|
|
460
|
+
"type": "CSSProperties",
|
|
461
|
+
"default": null,
|
|
462
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
463
|
+
"required": false
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "summary",
|
|
467
|
+
"type": "\"hidden\" | \"visible\"",
|
|
468
|
+
"default": null,
|
|
469
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
470
|
+
"required": false
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "summaryText",
|
|
474
|
+
"type": "string",
|
|
475
|
+
"default": null,
|
|
476
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
477
|
+
"required": false
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"name": "targetLabel",
|
|
481
|
+
"type": "string",
|
|
482
|
+
"default": null,
|
|
483
|
+
"description": "The header of the targets.",
|
|
484
|
+
"required": false
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "valueLabel",
|
|
488
|
+
"type": "string",
|
|
489
|
+
"default": null,
|
|
490
|
+
"description": "The header of the amounts.",
|
|
491
|
+
"required": false
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "vertical",
|
|
495
|
+
"type": "boolean",
|
|
496
|
+
"default": null,
|
|
497
|
+
"description": "Lay the stages out top to bottom (narrow screens). Default: left to right.",
|
|
498
|
+
"required": false
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
}
|