@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,460 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "calendar-heatmap",
|
|
3
|
+
"package": "@krizaka/charts",
|
|
4
|
+
"type": "chart",
|
|
5
|
+
"title": "Calendar heatmap",
|
|
6
|
+
"summary": "One cell a day over a year, weeks in columns, in one sequential hue: streaks, rhythms and gaps at a glance.",
|
|
7
|
+
"description": "One cell a day over a year, weeks in columns, in one sequential hue: streaks, rhythms and gaps at a glance.",
|
|
8
|
+
"status": "beta",
|
|
9
|
+
"category": "charts",
|
|
10
|
+
"platforms": "web",
|
|
11
|
+
"engine": "echarts",
|
|
12
|
+
"tier": "advanced",
|
|
13
|
+
"whenToUse": [
|
|
14
|
+
"A daily habit or activity over months: publications, contributions, active days."
|
|
15
|
+
],
|
|
16
|
+
"whenNotToUse": [
|
|
17
|
+
{
|
|
18
|
+
"when": "Two categorical dimensions (weekday × hour).",
|
|
19
|
+
"use": "heatmap"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"when": "A trend over time.",
|
|
23
|
+
"use": "line-chart"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"bestPractices": [
|
|
27
|
+
"Pass ISO dates (`2026-04-12`): the month and weekday names come from the locale.",
|
|
28
|
+
"Leave days without activity out of the data: they are drawn empty."
|
|
29
|
+
],
|
|
30
|
+
"accessibility": {
|
|
31
|
+
"keyboard": [
|
|
32
|
+
{
|
|
33
|
+
"keys": "Tab",
|
|
34
|
+
"action": "Moves the focus to the plot (one tab stop), then to the data and export buttons."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"keys": "Arrow keys",
|
|
38
|
+
"action": "Walk the items one by one: each is announced and highlighted, its tooltip shown."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"keys": "Home / End",
|
|
42
|
+
"action": "Jump to the first or the last item."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"keys": "Esc",
|
|
46
|
+
"action": "Hides the tooltip and clears the highlight."
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"notes": [
|
|
50
|
+
"The plot is a group named by the title and described by a summary written from the data, read before anything else.",
|
|
51
|
+
"The data table is always in the page for assistive technology; “Show data” reveals it for everyone.",
|
|
52
|
+
"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.",
|
|
53
|
+
"Under reduced motion the chart is drawn without animation.",
|
|
54
|
+
"The summary says the total, the busiest day and the number of active days."
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"related": [
|
|
58
|
+
"heatmap",
|
|
59
|
+
"line-chart",
|
|
60
|
+
"bar-chart"
|
|
61
|
+
],
|
|
62
|
+
"source": "packages/charts/src/meta/calendar-heatmap.ts",
|
|
63
|
+
"install": {
|
|
64
|
+
"web": "npm install @krizaka/charts",
|
|
65
|
+
"native": "npx expo install react-native-svg\nnpm install @krizaka/charts"
|
|
66
|
+
},
|
|
67
|
+
"web": {
|
|
68
|
+
"entry": "@krizaka/charts/heatmap",
|
|
69
|
+
"import": "import { CalendarHeatmap } from \"@krizaka/charts/heatmap\";",
|
|
70
|
+
"props": [
|
|
71
|
+
{
|
|
72
|
+
"component": "CalendarHeatmap",
|
|
73
|
+
"description": "",
|
|
74
|
+
"props": [
|
|
75
|
+
{
|
|
76
|
+
"name": "data",
|
|
77
|
+
"type": "readonly T[]",
|
|
78
|
+
"default": null,
|
|
79
|
+
"description": "One row per day (days without a row read as nothing).",
|
|
80
|
+
"required": true
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "date",
|
|
84
|
+
"type": "string | ((datum: T, index: number) => unknown)",
|
|
85
|
+
"default": null,
|
|
86
|
+
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
87
|
+
"required": true
|
|
88
|
+
},
|
|
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
|
+
{
|
|
97
|
+
"name": "value",
|
|
98
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
99
|
+
"default": null,
|
|
100
|
+
"description": "The field of the day's value.",
|
|
101
|
+
"required": true
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "brand",
|
|
105
|
+
"type": "BrandId",
|
|
106
|
+
"default": null,
|
|
107
|
+
"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`).",
|
|
108
|
+
"required": false
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "className",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"default": null,
|
|
114
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
115
|
+
"required": false
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "dataTable",
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"default": null,
|
|
121
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
122
|
+
"required": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "description",
|
|
126
|
+
"type": "ReactNode",
|
|
127
|
+
"default": null,
|
|
128
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
129
|
+
"required": false
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "empty",
|
|
133
|
+
"type": "ReactNode",
|
|
134
|
+
"default": null,
|
|
135
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
136
|
+
"required": false
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "error",
|
|
140
|
+
"type": "ReactNode",
|
|
141
|
+
"default": null,
|
|
142
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
143
|
+
"required": false
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "exportable",
|
|
147
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
148
|
+
"default": null,
|
|
149
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
150
|
+
"required": false
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "format",
|
|
154
|
+
"type": "ValueFormat",
|
|
155
|
+
"default": null,
|
|
156
|
+
"description": "How the values are written.",
|
|
157
|
+
"required": false
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "height",
|
|
161
|
+
"type": "number",
|
|
162
|
+
"default": null,
|
|
163
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
164
|
+
"required": false
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "hideTitle",
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"default": null,
|
|
170
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
171
|
+
"required": false
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "id",
|
|
175
|
+
"type": "string",
|
|
176
|
+
"default": null,
|
|
177
|
+
"description": "The id of the figure.",
|
|
178
|
+
"required": false
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "labels",
|
|
182
|
+
"type": "ChartLabelsInput",
|
|
183
|
+
"default": null,
|
|
184
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
185
|
+
"required": false
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "live",
|
|
189
|
+
"type": "boolean",
|
|
190
|
+
"default": null,
|
|
191
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
192
|
+
"required": false
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "loading",
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"default": null,
|
|
198
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
199
|
+
"required": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "locale",
|
|
203
|
+
"type": "Locale",
|
|
204
|
+
"default": null,
|
|
205
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
206
|
+
"required": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "range",
|
|
210
|
+
"type": "readonly [string, string]",
|
|
211
|
+
"default": null,
|
|
212
|
+
"description": "The first and last days shown. Default: the year before the last day of the data.",
|
|
213
|
+
"required": false
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "renderer",
|
|
217
|
+
"type": "Renderer",
|
|
218
|
+
"default": null,
|
|
219
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
220
|
+
"required": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "style",
|
|
224
|
+
"type": "CSSProperties",
|
|
225
|
+
"default": null,
|
|
226
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
227
|
+
"required": false
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "summary",
|
|
231
|
+
"type": "\"hidden\" | \"visible\"",
|
|
232
|
+
"default": null,
|
|
233
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
234
|
+
"required": false
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "summaryText",
|
|
238
|
+
"type": "string",
|
|
239
|
+
"default": null,
|
|
240
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
241
|
+
"required": false
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "valueLabel",
|
|
245
|
+
"type": "string",
|
|
246
|
+
"default": null,
|
|
247
|
+
"description": "The header of the values in the data table.",
|
|
248
|
+
"required": false
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"examples": [
|
|
254
|
+
{
|
|
255
|
+
"name": "publishing",
|
|
256
|
+
"title": "A year of publishing",
|
|
257
|
+
"description": "A creator's videos published per day over a year.",
|
|
258
|
+
"path": "examples/calendar-heatmap/publishing.tsx",
|
|
259
|
+
"module": "@krizaka/charts/registry/examples/calendar-heatmap/publishing",
|
|
260
|
+
"code": "import { CalendarHeatmap } from \"@krizaka/charts/heatmap\";\n\n// A deterministic year: a rhythm of three videos a week, a summer break, a busy autumn.\nconst days = Array.from({ length: 365 }, (_, i) => {\n const date = new Date(Date.UTC(2025, 9, 12 + i));\n const weekday = date.getUTCDay();\n const summer = date.getUTCMonth() === 6;\n const videos = summer ? 0 : [1, 3, 5].includes(weekday) ? 1 + ((i * 7) % 3) : (i * 13) % 9 === 0 ? 1 : 0;\n return { date: date.toISOString().slice(0, 10), videos };\n}).filter((d) => d.videos > 0);\n\nexport default function Publishing() {\n return (\n <CalendarHeatmap\n title=\"Videos published, last 12 months\"\n data={days}\n date=\"date\"\n value=\"videos\"\n format=\"integer\"\n valueLabel=\"Videos\"\n />\n );\n}\n"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"native": null,
|
|
265
|
+
"files": [],
|
|
266
|
+
"dependencies": [
|
|
267
|
+
"@krizaka/intl@workspace:^",
|
|
268
|
+
"d3-geo@^3.1.1",
|
|
269
|
+
"echarts@^6.1.0",
|
|
270
|
+
"topojson-client@^3.1.0"
|
|
271
|
+
],
|
|
272
|
+
"registryDependencies": [],
|
|
273
|
+
"demo": {
|
|
274
|
+
"path": "examples/calendar-heatmap/publishing.tsx",
|
|
275
|
+
"content": "import { CalendarHeatmap } from \"@krizaka/charts/heatmap\";\n\n// A deterministic year: a rhythm of three videos a week, a summer break, a busy autumn.\nconst days = Array.from({ length: 365 }, (_, i) => {\n const date = new Date(Date.UTC(2025, 9, 12 + i));\n const weekday = date.getUTCDay();\n const summer = date.getUTCMonth() === 6;\n const videos = summer ? 0 : [1, 3, 5].includes(weekday) ? 1 + ((i * 7) % 3) : (i * 13) % 9 === 0 ? 1 : 0;\n return { date: date.toISOString().slice(0, 10), videos };\n}).filter((d) => d.videos > 0);\n\nexport default function Publishing() {\n return (\n <CalendarHeatmap\n title=\"Videos published, last 12 months\"\n data={days}\n date=\"date\"\n value=\"videos\"\n format=\"integer\"\n valueLabel=\"Videos\"\n />\n );\n}\n"
|
|
276
|
+
},
|
|
277
|
+
"props": [
|
|
278
|
+
{
|
|
279
|
+
"component": "CalendarHeatmap",
|
|
280
|
+
"description": "",
|
|
281
|
+
"props": [
|
|
282
|
+
{
|
|
283
|
+
"name": "data",
|
|
284
|
+
"type": "readonly T[]",
|
|
285
|
+
"default": null,
|
|
286
|
+
"description": "One row per day (days without a row read as nothing).",
|
|
287
|
+
"required": true
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "date",
|
|
291
|
+
"type": "string | ((datum: T, index: number) => unknown)",
|
|
292
|
+
"default": null,
|
|
293
|
+
"description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
|
|
294
|
+
"required": true
|
|
295
|
+
},
|
|
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
|
+
{
|
|
304
|
+
"name": "value",
|
|
305
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
306
|
+
"default": null,
|
|
307
|
+
"description": "The field of the day's value.",
|
|
308
|
+
"required": true
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "brand",
|
|
312
|
+
"type": "BrandId",
|
|
313
|
+
"default": null,
|
|
314
|
+
"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`).",
|
|
315
|
+
"required": false
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "className",
|
|
319
|
+
"type": "string",
|
|
320
|
+
"default": null,
|
|
321
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
322
|
+
"required": false
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "dataTable",
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"default": null,
|
|
328
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
329
|
+
"required": false
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "description",
|
|
333
|
+
"type": "ReactNode",
|
|
334
|
+
"default": null,
|
|
335
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
336
|
+
"required": false
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "empty",
|
|
340
|
+
"type": "ReactNode",
|
|
341
|
+
"default": null,
|
|
342
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
343
|
+
"required": false
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "error",
|
|
347
|
+
"type": "ReactNode",
|
|
348
|
+
"default": null,
|
|
349
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
350
|
+
"required": false
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "exportable",
|
|
354
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
355
|
+
"default": null,
|
|
356
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
357
|
+
"required": false
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "format",
|
|
361
|
+
"type": "ValueFormat",
|
|
362
|
+
"default": null,
|
|
363
|
+
"description": "How the values are written.",
|
|
364
|
+
"required": false
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "height",
|
|
368
|
+
"type": "number",
|
|
369
|
+
"default": null,
|
|
370
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
371
|
+
"required": false
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "hideTitle",
|
|
375
|
+
"type": "boolean",
|
|
376
|
+
"default": null,
|
|
377
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
378
|
+
"required": false
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "id",
|
|
382
|
+
"type": "string",
|
|
383
|
+
"default": null,
|
|
384
|
+
"description": "The id of the figure.",
|
|
385
|
+
"required": false
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "labels",
|
|
389
|
+
"type": "ChartLabelsInput",
|
|
390
|
+
"default": null,
|
|
391
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
392
|
+
"required": false
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "live",
|
|
396
|
+
"type": "boolean",
|
|
397
|
+
"default": null,
|
|
398
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
399
|
+
"required": false
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "loading",
|
|
403
|
+
"type": "boolean",
|
|
404
|
+
"default": null,
|
|
405
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
406
|
+
"required": false
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "locale",
|
|
410
|
+
"type": "Locale",
|
|
411
|
+
"default": null,
|
|
412
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
413
|
+
"required": false
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "range",
|
|
417
|
+
"type": "readonly [string, string]",
|
|
418
|
+
"default": null,
|
|
419
|
+
"description": "The first and last days shown. Default: the year before the last day of the data.",
|
|
420
|
+
"required": false
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "renderer",
|
|
424
|
+
"type": "Renderer",
|
|
425
|
+
"default": null,
|
|
426
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
427
|
+
"required": false
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "style",
|
|
431
|
+
"type": "CSSProperties",
|
|
432
|
+
"default": null,
|
|
433
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
434
|
+
"required": false
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "summary",
|
|
438
|
+
"type": "\"hidden\" | \"visible\"",
|
|
439
|
+
"default": null,
|
|
440
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
441
|
+
"required": false
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "summaryText",
|
|
445
|
+
"type": "string",
|
|
446
|
+
"default": null,
|
|
447
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
448
|
+
"required": false
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "valueLabel",
|
|
452
|
+
"type": "string",
|
|
453
|
+
"default": null,
|
|
454
|
+
"description": "The header of the values in the data table.",
|
|
455
|
+
"required": false
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
}
|