@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,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/gauge/native/credits-quota.tsx
|
|
4
|
+
import { Gauge } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function CreditsQuota() {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
Gauge,
|
|
9
|
+
{
|
|
10
|
+
title: "Credits used this month",
|
|
11
|
+
value: 41250,
|
|
12
|
+
max: 5e4,
|
|
13
|
+
format: "compact",
|
|
14
|
+
caption: "of 50K credits",
|
|
15
|
+
zones: [
|
|
16
|
+
{ to: 4e4, tone: "success" },
|
|
17
|
+
{ to: 47500, tone: "warning" },
|
|
18
|
+
{ to: 5e4, tone: "danger" }
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
CreditsQuota as default
|
|
25
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Gauge } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
export default function CreditsQuota() {
|
|
4
|
+
return (
|
|
5
|
+
<Gauge
|
|
6
|
+
title="Credits used this month"
|
|
7
|
+
value={41_250}
|
|
8
|
+
max={50_000}
|
|
9
|
+
format="compact"
|
|
10
|
+
caption="of 50K credits"
|
|
11
|
+
zones={[
|
|
12
|
+
{ to: 40_000, tone: "success" },
|
|
13
|
+
{ to: 47_500, tone: "warning" },
|
|
14
|
+
{ to: 50_000, tone: "danger" },
|
|
15
|
+
]}
|
|
16
|
+
/>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/geo-map/viewers.tsx
|
|
4
|
+
import { GeoMap } from "@krizaka/charts/geo";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var countries = [
|
|
7
|
+
{ code: "FR", viewers: 48200 },
|
|
8
|
+
{ code: "CA", viewers: 31500 },
|
|
9
|
+
{ code: "BE", viewers: 9800 },
|
|
10
|
+
{ code: "CH", viewers: 7400 },
|
|
11
|
+
{ code: "MA", viewers: 12900 },
|
|
12
|
+
{ code: "SN", viewers: 6100 },
|
|
13
|
+
{ code: "US", viewers: 15300 },
|
|
14
|
+
{ code: "DE", viewers: 4200 },
|
|
15
|
+
{ code: "TN", viewers: 5600 },
|
|
16
|
+
{ code: "CI", viewers: 4900 },
|
|
17
|
+
{ code: "BR", viewers: 2300 },
|
|
18
|
+
{ code: "JP", viewers: 1800 }
|
|
19
|
+
];
|
|
20
|
+
var cities = [
|
|
21
|
+
{ label: "Paris", lon: 2.35, lat: 48.86, value: 21400 },
|
|
22
|
+
{ label: "Montr\xE9al", lon: -73.57, lat: 45.5, value: 17800 },
|
|
23
|
+
{ label: "Casablanca", lon: -7.59, lat: 33.57, value: 6300 },
|
|
24
|
+
{ label: "Dakar", lon: -17.45, lat: 14.69, value: 3900 }
|
|
25
|
+
];
|
|
26
|
+
function Viewers() {
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
GeoMap,
|
|
29
|
+
{
|
|
30
|
+
title: "Viewers by country, last 90 days",
|
|
31
|
+
data: countries,
|
|
32
|
+
region: "code",
|
|
33
|
+
value: "viewers",
|
|
34
|
+
points: cities,
|
|
35
|
+
format: "compact",
|
|
36
|
+
regionLabel: "Country",
|
|
37
|
+
valueLabel: "Viewers"
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
Viewers as default
|
|
43
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GeoMap } from "@krizaka/charts/geo";
|
|
2
|
+
|
|
3
|
+
const countries = [
|
|
4
|
+
{ code: "FR", viewers: 48_200 }, { code: "CA", viewers: 31_500 }, { code: "BE", viewers: 9_800 },
|
|
5
|
+
{ code: "CH", viewers: 7_400 }, { code: "MA", viewers: 12_900 }, { code: "SN", viewers: 6_100 },
|
|
6
|
+
{ code: "US", viewers: 15_300 }, { code: "DE", viewers: 4_200 }, { code: "TN", viewers: 5_600 },
|
|
7
|
+
{ code: "CI", viewers: 4_900 }, { code: "BR", viewers: 2_300 }, { code: "JP", viewers: 1_800 },
|
|
8
|
+
];
|
|
9
|
+
const cities = [
|
|
10
|
+
{ label: "Paris", lon: 2.35, lat: 48.86, value: 21_400 },
|
|
11
|
+
{ label: "Montréal", lon: -73.57, lat: 45.5, value: 17_800 },
|
|
12
|
+
{ label: "Casablanca", lon: -7.59, lat: 33.57, value: 6_300 },
|
|
13
|
+
{ label: "Dakar", lon: -17.45, lat: 14.69, value: 3_900 },
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
export default function Viewers() {
|
|
17
|
+
return (
|
|
18
|
+
<GeoMap
|
|
19
|
+
title="Viewers by country, last 90 days"
|
|
20
|
+
data={countries}
|
|
21
|
+
region="code"
|
|
22
|
+
value="viewers"
|
|
23
|
+
points={cities}
|
|
24
|
+
format="compact"
|
|
25
|
+
regionLabel="Country"
|
|
26
|
+
valueLabel="Viewers"
|
|
27
|
+
/>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/globe/deployment-regions.tsx
|
|
4
|
+
import { Globe3D } from "@krizaka/charts/globe";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var regions = [
|
|
7
|
+
{ label: "Paris \xB7 eu-west-3", lon: 2.35, lat: 48.86, value: 0.9998, tone: "success" },
|
|
8
|
+
{ label: "Frankfurt \xB7 eu-central-1", lon: 8.68, lat: 50.11, value: 0.9995, tone: "success" },
|
|
9
|
+
{ label: "Montr\xE9al \xB7 ca-central-1", lon: -73.57, lat: 45.5, value: 0.9991, tone: "success" },
|
|
10
|
+
{ label: "Virginia \xB7 us-east-1", lon: -77.46, lat: 38.95, value: 0.9962, tone: "warning" },
|
|
11
|
+
{ label: "Singapore \xB7 ap-southeast-1", lon: 103.82, lat: 1.35, value: 0.9997, tone: "success" }
|
|
12
|
+
];
|
|
13
|
+
function DeploymentRegions() {
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
Globe3D,
|
|
16
|
+
{
|
|
17
|
+
title: "Orazaka regions",
|
|
18
|
+
description: "Availability over 30 days \xB7 replication from Paris",
|
|
19
|
+
points: regions,
|
|
20
|
+
arcs: [
|
|
21
|
+
{ from: regions[0].label, to: regions[1].label },
|
|
22
|
+
{ from: regions[0].label, to: regions[2].label },
|
|
23
|
+
{ from: regions[2].label, to: regions[3].label },
|
|
24
|
+
{ from: regions[1].label, to: regions[4].label }
|
|
25
|
+
],
|
|
26
|
+
regions: ["FR", "DE", "BE", "CH", "CA", "US", "SG"],
|
|
27
|
+
center: [-20, 40],
|
|
28
|
+
format: { style: "number", options: { style: "percent", maximumFractionDigits: 2 } },
|
|
29
|
+
pointLabel: "Region",
|
|
30
|
+
valueLabel: "Availability"
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
DeploymentRegions as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Globe3D } from "@krizaka/charts/globe";
|
|
2
|
+
|
|
3
|
+
const regions = [
|
|
4
|
+
{ label: "Paris · eu-west-3", lon: 2.35, lat: 48.86, value: 0.9998, tone: "success" as const },
|
|
5
|
+
{ label: "Frankfurt · eu-central-1", lon: 8.68, lat: 50.11, value: 0.9995, tone: "success" as const },
|
|
6
|
+
{ label: "Montréal · ca-central-1", lon: -73.57, lat: 45.5, value: 0.9991, tone: "success" as const },
|
|
7
|
+
{ label: "Virginia · us-east-1", lon: -77.46, lat: 38.95, value: 0.9962, tone: "warning" as const },
|
|
8
|
+
{ label: "Singapore · ap-southeast-1", lon: 103.82, lat: 1.35, value: 0.9997, tone: "success" as const },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export default function DeploymentRegions() {
|
|
12
|
+
return (
|
|
13
|
+
<Globe3D
|
|
14
|
+
title="Orazaka regions"
|
|
15
|
+
description="Availability over 30 days · replication from Paris"
|
|
16
|
+
points={regions}
|
|
17
|
+
arcs={[
|
|
18
|
+
{ from: regions[0]!.label, to: regions[1]!.label },
|
|
19
|
+
{ from: regions[0]!.label, to: regions[2]!.label },
|
|
20
|
+
{ from: regions[2]!.label, to: regions[3]!.label },
|
|
21
|
+
{ from: regions[1]!.label, to: regions[4]!.label },
|
|
22
|
+
]}
|
|
23
|
+
regions={["FR", "DE", "BE", "CH", "CA", "US", "SG"]}
|
|
24
|
+
center={[-20, 40]}
|
|
25
|
+
format={{ style: "number", options: { style: "percent", maximumFractionDigits: 2 } }}
|
|
26
|
+
pointLabel="Region"
|
|
27
|
+
valueLabel="Availability"
|
|
28
|
+
/>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-progress/challenge-pot.tsx
|
|
4
|
+
import { GoalProgress } from "@krizaka/charts/goal";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function ChallengePot() {
|
|
7
|
+
return /* @__PURE__ */ jsx(
|
|
8
|
+
GoalProgress,
|
|
9
|
+
{
|
|
10
|
+
title: "Backflip on the beach",
|
|
11
|
+
raised: 26200,
|
|
12
|
+
goal: 5e4,
|
|
13
|
+
currency: "USD",
|
|
14
|
+
supporters: 41,
|
|
15
|
+
timeLeft: "3 days",
|
|
16
|
+
height: 200
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
ChallengePot as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GoalProgress } from "@krizaka/charts/goal";
|
|
2
|
+
|
|
3
|
+
// An Orochia challenge: fans pledge towards a goal, held in escrow until it is met.
|
|
4
|
+
export default function ChallengePot() {
|
|
5
|
+
return (
|
|
6
|
+
<GoalProgress
|
|
7
|
+
title="Backflip on the beach"
|
|
8
|
+
raised={262_00}
|
|
9
|
+
goal={500_00}
|
|
10
|
+
currency="USD"
|
|
11
|
+
supporters={41}
|
|
12
|
+
timeLeft="3 days"
|
|
13
|
+
height={200}
|
|
14
|
+
/>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-progress/goal-reached.tsx
|
|
4
|
+
import { GoalProgress } from "@krizaka/charts/goal";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function GoalReached() {
|
|
7
|
+
return /* @__PURE__ */ jsx(GoalProgress, { title: "Cover of the summer hit", raised: 118e3, goal: 1e5, currency: "EUR", supporters: 128, height: 200, locale: "fr-FR", labels: { raised: "collect\xE9s sur {goal}", reached: "Objectif atteint", supporters: "{count} soutiens" } });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
GoalReached as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GoalProgress } from "@krizaka/charts/goal";
|
|
2
|
+
|
|
3
|
+
// Past the goal: the arc stays full, the amount keeps counting, “Goal reached” is written.
|
|
4
|
+
export default function GoalReached() {
|
|
5
|
+
return <GoalProgress title="Cover of the summer hit" raised={1_180_00} goal={1_000_00} currency="EUR" supporters={128} height={200} locale="fr-FR" labels={{ raised: "collectés sur {goal}", reached: "Objectif atteint", supporters: "{count} soutiens" }} />;
|
|
6
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/goal-progress/native/challenge-pot.tsx
|
|
4
|
+
import { GoalProgress } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function NativeChallengePot() {
|
|
7
|
+
return /* @__PURE__ */ jsx(GoalProgress, { title: "Backflip on the beach", raised: 26200, goal: 5e4, currency: "USD", supporters: 41, timeLeft: "3 days", height: 180 });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
NativeChallengePot as default
|
|
11
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GoalProgress } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
// The challenge screen of the app.
|
|
4
|
+
export default function NativeChallengePot() {
|
|
5
|
+
return <GoalProgress title="Backflip on the beach" raised={262_00} goal={500_00} currency="USD" supporters={41} timeLeft="3 days" height={180} />;
|
|
6
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/heatmap/upload-activity.tsx
|
|
4
|
+
import { Heatmap } from "@krizaka/charts/heatmap";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var days = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
7
|
+
var hours = ["00", "03", "06", "09", "12", "15", "18", "21"];
|
|
8
|
+
var cells = days.flatMap(
|
|
9
|
+
(day, d) => hours.map((hour, h) => ({ day, hour: `${hour}:00`, uploads: Math.round((h >= 5 ? 40 : h >= 3 ? 22 : 6) * (d >= 5 ? 1.6 : 1) + (d * 7 + h * 3) % 11) }))
|
|
10
|
+
);
|
|
11
|
+
function UploadActivity() {
|
|
12
|
+
return /* @__PURE__ */ jsx(
|
|
13
|
+
Heatmap,
|
|
14
|
+
{
|
|
15
|
+
title: "Uploads by day and hour",
|
|
16
|
+
description: "Last 4 weeks, Montr\xE9al time",
|
|
17
|
+
data: cells,
|
|
18
|
+
x: "hour",
|
|
19
|
+
y: "day",
|
|
20
|
+
value: "uploads",
|
|
21
|
+
yCategories: days,
|
|
22
|
+
xLabel: "Hour",
|
|
23
|
+
yLabel: "Day",
|
|
24
|
+
format: "integer"
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
UploadActivity as default
|
|
30
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Heatmap } from "@krizaka/charts/heatmap";
|
|
2
|
+
|
|
3
|
+
const days = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
|
4
|
+
const hours = ["00", "03", "06", "09", "12", "15", "18", "21"];
|
|
5
|
+
// A deterministic week: evenings and weekends are busier.
|
|
6
|
+
const cells = days.flatMap((day, d) =>
|
|
7
|
+
hours.map((hour, h) => ({ day, hour: `${hour}:00`, uploads: Math.round((h >= 5 ? 40 : h >= 3 ? 22 : 6) * (d >= 5 ? 1.6 : 1) + ((d * 7 + h * 3) % 11)) })),
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
export default function UploadActivity() {
|
|
11
|
+
return (
|
|
12
|
+
<Heatmap
|
|
13
|
+
title="Uploads by day and hour"
|
|
14
|
+
description="Last 4 weeks, Montréal time"
|
|
15
|
+
data={cells}
|
|
16
|
+
x="hour"
|
|
17
|
+
y="day"
|
|
18
|
+
value="uploads"
|
|
19
|
+
yCategories={days}
|
|
20
|
+
xLabel="Hour"
|
|
21
|
+
yLabel="Day"
|
|
22
|
+
format="integer"
|
|
23
|
+
/>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/job-throughput/live-hours.tsx
|
|
4
|
+
import { JobThroughput } from "@krizaka/charts/throughput";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var hours = [
|
|
7
|
+
{ hour: "2026-10-11T09:00:00Z", done: 212, rejected: 4, waiting: 9 },
|
|
8
|
+
{ hour: "2026-10-11T10:00:00Z", done: 268, rejected: 7, waiting: 14 },
|
|
9
|
+
{ hour: "2026-10-11T11:00:00Z", done: 301, rejected: 22, waiting: 31 },
|
|
10
|
+
{ hour: "2026-10-11T12:00:00Z", done: 244, rejected: 5, waiting: 12 },
|
|
11
|
+
{ hour: "2026-10-11T13:00:00Z", done: 190, rejected: 3, waiting: 40 }
|
|
12
|
+
];
|
|
13
|
+
function LiveHours() {
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
JobThroughput,
|
|
16
|
+
{
|
|
17
|
+
title: "Requests per hour",
|
|
18
|
+
data: hours,
|
|
19
|
+
x: "hour",
|
|
20
|
+
period: "time",
|
|
21
|
+
live: true,
|
|
22
|
+
statuses: [
|
|
23
|
+
{ key: "done", label: "Done", tone: "success", outcome: "succeeded" },
|
|
24
|
+
{ key: "rejected", label: "Rejected", tone: "danger", outcome: "failed" },
|
|
25
|
+
{ key: "waiting", label: "Waiting", tone: "neutral" }
|
|
26
|
+
],
|
|
27
|
+
labels: { total: "requests over {count} hours" }
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
LiveHours as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { JobThroughput } from "@krizaka/charts/throughput";
|
|
2
|
+
|
|
3
|
+
// The console, per hour and live: its own statuses, translated by the app.
|
|
4
|
+
const hours = [
|
|
5
|
+
{ hour: "2026-10-11T09:00:00Z", done: 212, rejected: 4, waiting: 9 },
|
|
6
|
+
{ hour: "2026-10-11T10:00:00Z", done: 268, rejected: 7, waiting: 14 },
|
|
7
|
+
{ hour: "2026-10-11T11:00:00Z", done: 301, rejected: 22, waiting: 31 },
|
|
8
|
+
{ hour: "2026-10-11T12:00:00Z", done: 244, rejected: 5, waiting: 12 },
|
|
9
|
+
{ hour: "2026-10-11T13:00:00Z", done: 190, rejected: 3, waiting: 40 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export default function LiveHours() {
|
|
13
|
+
return (
|
|
14
|
+
<JobThroughput
|
|
15
|
+
title="Requests per hour"
|
|
16
|
+
data={hours}
|
|
17
|
+
x="hour"
|
|
18
|
+
period="time"
|
|
19
|
+
live
|
|
20
|
+
statuses={[
|
|
21
|
+
{ key: "done", label: "Done", tone: "success", outcome: "succeeded" },
|
|
22
|
+
{ key: "rejected", label: "Rejected", tone: "danger", outcome: "failed" },
|
|
23
|
+
{ key: "waiting", label: "Waiting", tone: "neutral" },
|
|
24
|
+
]}
|
|
25
|
+
labels={{ total: "requests over {count} hours" }}
|
|
26
|
+
/>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/job-throughput/native/week-of-jobs.tsx
|
|
4
|
+
import { JobThroughput } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var days = [
|
|
7
|
+
{ day: "2026-10-05", completed: 1240, failed: 38, running: 0, queued: 0 },
|
|
8
|
+
{ day: "2026-10-06", completed: 1612, failed: 41, running: 0, queued: 0 },
|
|
9
|
+
{ day: "2026-10-07", completed: 1505, failed: 95, running: 0, queued: 0 },
|
|
10
|
+
{ day: "2026-10-08", completed: 1788, failed: 27, running: 0, queued: 0 },
|
|
11
|
+
{ day: "2026-10-09", completed: 1934, failed: 33, running: 0, queued: 0 },
|
|
12
|
+
{ day: "2026-10-10", completed: 1102, failed: 19, running: 0, queued: 0 },
|
|
13
|
+
{ day: "2026-10-11", completed: 986, failed: 12, running: 24, queued: 63 }
|
|
14
|
+
];
|
|
15
|
+
function NativeWeekOfJobs() {
|
|
16
|
+
return /* @__PURE__ */ jsx(JobThroughput, { title: "Jobs this week", data: days, height: 160, labels: { total: "jobs over {count} days" } });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
NativeWeekOfJobs as default
|
|
20
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JobThroughput } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
const days = [
|
|
4
|
+
{ day: "2026-10-05", completed: 1_240, failed: 38, running: 0, queued: 0 },
|
|
5
|
+
{ day: "2026-10-06", completed: 1_612, failed: 41, running: 0, queued: 0 },
|
|
6
|
+
{ day: "2026-10-07", completed: 1_505, failed: 95, running: 0, queued: 0 },
|
|
7
|
+
{ day: "2026-10-08", completed: 1_788, failed: 27, running: 0, queued: 0 },
|
|
8
|
+
{ day: "2026-10-09", completed: 1_934, failed: 33, running: 0, queued: 0 },
|
|
9
|
+
{ day: "2026-10-10", completed: 1_102, failed: 19, running: 0, queued: 0 },
|
|
10
|
+
{ day: "2026-10-11", completed: 986, failed: 12, running: 24, queued: 63 },
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
// The mobile Jobs screen: the total and the success rate first.
|
|
14
|
+
export default function NativeWeekOfJobs() {
|
|
15
|
+
return <JobThroughput title="Jobs this week" data={days} height={160} labels={{ total: "jobs over {count} days" }} />;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/job-throughput/week-of-jobs.tsx
|
|
4
|
+
import { JobThroughput } from "@krizaka/charts/throughput";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var days = [
|
|
7
|
+
{ day: "2026-10-05", completed: 1240, failed: 38, running: 0, queued: 0 },
|
|
8
|
+
{ day: "2026-10-06", completed: 1612, failed: 41, running: 0, queued: 0 },
|
|
9
|
+
{ day: "2026-10-07", completed: 1505, failed: 95, running: 0, queued: 0 },
|
|
10
|
+
{ day: "2026-10-08", completed: 1788, failed: 27, running: 0, queued: 0 },
|
|
11
|
+
{ day: "2026-10-09", completed: 1934, failed: 33, running: 0, queued: 0 },
|
|
12
|
+
{ day: "2026-10-10", completed: 1102, failed: 19, running: 0, queued: 0 },
|
|
13
|
+
{ day: "2026-10-11", completed: 986, failed: 12, running: 24, queued: 63 }
|
|
14
|
+
];
|
|
15
|
+
function WeekOfJobs() {
|
|
16
|
+
return /* @__PURE__ */ jsx(JobThroughput, { title: "Jobs this week", data: days, labels: { total: "jobs over {count} days" } });
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
WeekOfJobs as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JobThroughput } from "@krizaka/charts/throughput";
|
|
2
|
+
|
|
3
|
+
// Orazaka jobs per day, by status (the default statuses: completed, failed, running, queued).
|
|
4
|
+
const days = [
|
|
5
|
+
{ day: "2026-10-05", completed: 1_240, failed: 38, running: 0, queued: 0 },
|
|
6
|
+
{ day: "2026-10-06", completed: 1_612, failed: 41, running: 0, queued: 0 },
|
|
7
|
+
{ day: "2026-10-07", completed: 1_505, failed: 95, running: 0, queued: 0 },
|
|
8
|
+
{ day: "2026-10-08", completed: 1_788, failed: 27, running: 0, queued: 0 },
|
|
9
|
+
{ day: "2026-10-09", completed: 1_934, failed: 33, running: 0, queued: 0 },
|
|
10
|
+
{ day: "2026-10-10", completed: 1_102, failed: 19, running: 0, queued: 0 },
|
|
11
|
+
{ day: "2026-10-11", completed: 986, failed: 12, running: 24, queued: 63 },
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
export default function WeekOfJobs() {
|
|
15
|
+
return <JobThroughput title="Jobs this week" data={days} labels={{ total: "jobs over {count} days" }} />;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/latency-chart/by-capability.tsx
|
|
4
|
+
import { LatencyChart } from "@krizaka/charts/latency";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var capabilities = [
|
|
7
|
+
{ name: "Chat", p50: 420, p95: 1180 },
|
|
8
|
+
{ name: "Embeddings", p50: 85, p95: 210 },
|
|
9
|
+
{ name: "Speech to text", p50: 1350, p95: 2900 },
|
|
10
|
+
{ name: "Image", p50: 4200, p95: 9800 },
|
|
11
|
+
{ name: "Translation", p50: 610, p95: 1640 }
|
|
12
|
+
];
|
|
13
|
+
function ByCapability() {
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
LatencyChart,
|
|
16
|
+
{
|
|
17
|
+
title: "Latency by capability",
|
|
18
|
+
description: "Last 24 hours",
|
|
19
|
+
data: capabilities,
|
|
20
|
+
objective: { value: 2e3, label: "Objective" }
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
ByCapability as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LatencyChart } from "@krizaka/charts/latency";
|
|
2
|
+
|
|
3
|
+
// Milliseconds, per capability, over the last 24 hours (the console's supervision).
|
|
4
|
+
const capabilities = [
|
|
5
|
+
{ name: "Chat", p50: 420, p95: 1_180 },
|
|
6
|
+
{ name: "Embeddings", p50: 85, p95: 210 },
|
|
7
|
+
{ name: "Speech to text", p50: 1_350, p95: 2_900 },
|
|
8
|
+
{ name: "Image", p50: 4_200, p95: 9_800 },
|
|
9
|
+
{ name: "Translation", p50: 610, p95: 1_640 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export default function ByCapability() {
|
|
13
|
+
return (
|
|
14
|
+
<LatencyChart
|
|
15
|
+
title="Latency by capability"
|
|
16
|
+
description="Last 24 hours"
|
|
17
|
+
data={capabilities}
|
|
18
|
+
objective={{ value: 2_000, label: "Objective" }}
|
|
19
|
+
/>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/latency-chart/native/by-capability.tsx
|
|
4
|
+
import { LatencyChart } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var capabilities = [
|
|
7
|
+
{ name: "Chat", p50: 420, p95: 1180 },
|
|
8
|
+
{ name: "Embed", p50: 85, p95: 210 },
|
|
9
|
+
{ name: "Speech", p50: 1350, p95: 2900 },
|
|
10
|
+
{ name: "Image", p50: 4200, p95: 9800 }
|
|
11
|
+
];
|
|
12
|
+
function NativeByCapability() {
|
|
13
|
+
return /* @__PURE__ */ jsx(LatencyChart, { title: "Latency by capability", data: capabilities, height: 170, objective: { value: 2e3, label: "Objective" } });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
NativeByCapability as default
|
|
17
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LatencyChart } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
const capabilities = [
|
|
4
|
+
{ name: "Chat", p50: 420, p95: 1_180 },
|
|
5
|
+
{ name: "Embed", p50: 85, p95: 210 },
|
|
6
|
+
{ name: "Speech", p50: 1_350, p95: 2_900 },
|
|
7
|
+
{ name: "Image", p50: 4_200, p95: 9_800 },
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Short names: the bars stand upright on a phone.
|
|
11
|
+
export default function NativeByCapability() {
|
|
12
|
+
return <LatencyChart title="Latency by capability" data={capabilities} height={170} objective={{ value: 2_000, label: "Objective" }} />;
|
|
13
|
+
}
|