@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.
Files changed (388) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +59 -2
  3. package/dist/bar.d.ts +17 -0
  4. package/dist/bar.js +17 -0
  5. package/dist/bar.js.map +1 -0
  6. package/dist/candlestick-IG626XL4.js +13 -0
  7. package/dist/candlestick-IG626XL4.js.map +1 -0
  8. package/dist/candlestick.d.ts +42 -0
  9. package/dist/candlestick.js +13 -0
  10. package/dist/candlestick.js.map +1 -0
  11. package/dist/canvas-4MSYDVFO.js +14 -0
  12. package/dist/canvas-4MSYDVFO.js.map +1 -0
  13. package/dist/cartesian-BRhNQ3ib.d.ts +34 -0
  14. package/dist/chart.d.ts +58 -0
  15. package/dist/chart.js +11 -0
  16. package/dist/chart.js.map +1 -0
  17. package/dist/chunk-3CJHBJXA.js +186 -0
  18. package/dist/chunk-3CJHBJXA.js.map +1 -0
  19. package/dist/chunk-4LBXEAGC.js +133 -0
  20. package/dist/chunk-4LBXEAGC.js.map +1 -0
  21. package/dist/chunk-6FINSUOS.js +49 -0
  22. package/dist/chunk-6FINSUOS.js.map +1 -0
  23. package/dist/chunk-AA5EWWYV.js +38 -0
  24. package/dist/chunk-AA5EWWYV.js.map +1 -0
  25. package/dist/chunk-ANUCSRUN.js +43 -0
  26. package/dist/chunk-ANUCSRUN.js.map +1 -0
  27. package/dist/chunk-ARARFMNE.js +88 -0
  28. package/dist/chunk-ARARFMNE.js.map +1 -0
  29. package/dist/chunk-BISL7DYW.js +66 -0
  30. package/dist/chunk-BISL7DYW.js.map +1 -0
  31. package/dist/chunk-BV4DBGN7.js +178 -0
  32. package/dist/chunk-BV4DBGN7.js.map +1 -0
  33. package/dist/chunk-C4MFZLJM.js +19 -0
  34. package/dist/chunk-C4MFZLJM.js.map +1 -0
  35. package/dist/chunk-CSSZLFLO.js +116 -0
  36. package/dist/chunk-CSSZLFLO.js.map +1 -0
  37. package/dist/chunk-CVWSMUUB.js +378 -0
  38. package/dist/chunk-CVWSMUUB.js.map +1 -0
  39. package/dist/chunk-E5DKBSWX.js +2 -0
  40. package/dist/chunk-E5DKBSWX.js.map +1 -0
  41. package/dist/chunk-EEP7PS2L.js +54 -0
  42. package/dist/chunk-EEP7PS2L.js.map +1 -0
  43. package/dist/chunk-EQLC2QVN.js +73 -0
  44. package/dist/chunk-EQLC2QVN.js.map +1 -0
  45. package/dist/chunk-FINOPIDN.js +2 -0
  46. package/dist/chunk-FINOPIDN.js.map +1 -0
  47. package/dist/chunk-G2KF2WL4.js +2 -0
  48. package/dist/chunk-G2KF2WL4.js.map +1 -0
  49. package/dist/chunk-I3D7KUGN.js +205 -0
  50. package/dist/chunk-I3D7KUGN.js.map +1 -0
  51. package/dist/chunk-IKQV3NSL.js +76 -0
  52. package/dist/chunk-IKQV3NSL.js.map +1 -0
  53. package/dist/chunk-JTKR7ZWP.js +468 -0
  54. package/dist/chunk-JTKR7ZWP.js.map +1 -0
  55. package/dist/chunk-KNDHO67X.js +78 -0
  56. package/dist/chunk-KNDHO67X.js.map +1 -0
  57. package/dist/chunk-L2EKYWVI.js +94 -0
  58. package/dist/chunk-L2EKYWVI.js.map +1 -0
  59. package/dist/chunk-MXLITIGU.js +92 -0
  60. package/dist/chunk-MXLITIGU.js.map +1 -0
  61. package/dist/chunk-NCIQMRV3.js +155 -0
  62. package/dist/chunk-NCIQMRV3.js.map +1 -0
  63. package/dist/chunk-OB5EFDDH.js +118 -0
  64. package/dist/chunk-OB5EFDDH.js.map +1 -0
  65. package/dist/chunk-OIRHLJBC.js +83 -0
  66. package/dist/chunk-OIRHLJBC.js.map +1 -0
  67. package/dist/chunk-PBQV3B6O.js +145 -0
  68. package/dist/chunk-PBQV3B6O.js.map +1 -0
  69. package/dist/chunk-POQIHFAZ.js +2 -0
  70. package/dist/chunk-POQIHFAZ.js.map +1 -0
  71. package/dist/chunk-PWMMXRMC.js +234 -0
  72. package/dist/chunk-PWMMXRMC.js.map +1 -0
  73. package/dist/chunk-SLEJDQ3A.js +81 -0
  74. package/dist/chunk-SLEJDQ3A.js.map +1 -0
  75. package/dist/chunk-TPJDOB7R.js +15 -0
  76. package/dist/chunk-TPJDOB7R.js.map +1 -0
  77. package/dist/chunk-VKZZY2QD.js +103 -0
  78. package/dist/chunk-VKZZY2QD.js.map +1 -0
  79. package/dist/chunk-W5FX4TU3.js +102 -0
  80. package/dist/chunk-W5FX4TU3.js.map +1 -0
  81. package/dist/chunk-W5ILLSPK.js +107 -0
  82. package/dist/chunk-W5ILLSPK.js.map +1 -0
  83. package/dist/chunk-WBHFVBSK.js +25 -0
  84. package/dist/chunk-WBHFVBSK.js.map +1 -0
  85. package/dist/chunk-WNUFGMS7.js +113 -0
  86. package/dist/chunk-WNUFGMS7.js.map +1 -0
  87. package/dist/chunk-WVTIKOII.js +15 -0
  88. package/dist/chunk-WVTIKOII.js.map +1 -0
  89. package/dist/chunk-XDDALY4C.js +166 -0
  90. package/dist/chunk-XDDALY4C.js.map +1 -0
  91. package/dist/chunk-XLLYNNC6.js +89 -0
  92. package/dist/chunk-XLLYNNC6.js.map +1 -0
  93. package/dist/context-BgYUymEO.d.ts +163 -0
  94. package/dist/credits.d.ts +42 -0
  95. package/dist/credits.js +21 -0
  96. package/dist/credits.js.map +1 -0
  97. package/dist/earnings.d.ts +29 -0
  98. package/dist/earnings.js +22 -0
  99. package/dist/earnings.js.map +1 -0
  100. package/dist/frame-I7_xYGy5.d.ts +45 -0
  101. package/dist/full-S2MBPEEP.js +11 -0
  102. package/dist/full-S2MBPEEP.js.map +1 -0
  103. package/dist/funnel-QU5ZPC52.js +13 -0
  104. package/dist/funnel-QU5ZPC52.js.map +1 -0
  105. package/dist/funnel.d.ts +26 -0
  106. package/dist/funnel.js +13 -0
  107. package/dist/funnel.js.map +1 -0
  108. package/dist/gauge.d.ts +38 -0
  109. package/dist/gauge.js +13 -0
  110. package/dist/gauge.js.map +1 -0
  111. package/dist/geo.d.ts +37 -0
  112. package/dist/geo.js +13 -0
  113. package/dist/geo.js.map +1 -0
  114. package/dist/globe.d.ts +36 -0
  115. package/dist/globe.js +12 -0
  116. package/dist/globe.js.map +1 -0
  117. package/dist/goal.d.ts +26 -0
  118. package/dist/goal.js +17 -0
  119. package/dist/goal.js.map +1 -0
  120. package/dist/heatmap-JWQOKUGM.js +13 -0
  121. package/dist/heatmap-JWQOKUGM.js.map +1 -0
  122. package/dist/heatmap.d.ts +47 -0
  123. package/dist/heatmap.js +15 -0
  124. package/dist/heatmap.js.map +1 -0
  125. package/dist/host-_F8RgiIz.d.ts +15 -0
  126. package/dist/index.d.ts +29 -0
  127. package/dist/index.js +148 -0
  128. package/dist/index.js.map +1 -0
  129. package/dist/labels-DE_743fQ.d.ts +72 -0
  130. package/dist/latency.d.ts +33 -0
  131. package/dist/latency.js +24 -0
  132. package/dist/latency.js.map +1 -0
  133. package/dist/line.d.ts +25 -0
  134. package/dist/line.js +19 -0
  135. package/dist/line.js.map +1 -0
  136. package/dist/native.d.ts +494 -0
  137. package/dist/native.js +1244 -0
  138. package/dist/native.js.map +1 -0
  139. package/dist/pie.d.ts +37 -0
  140. package/dist/pie.js +16 -0
  141. package/dist/pie.js.map +1 -0
  142. package/dist/provider.d.ts +73 -0
  143. package/dist/provider.js +24 -0
  144. package/dist/provider.js.map +1 -0
  145. package/dist/radar-75GRJ2IK.js +13 -0
  146. package/dist/radar-75GRJ2IK.js.map +1 -0
  147. package/dist/radar.d.ts +22 -0
  148. package/dist/radar.js +13 -0
  149. package/dist/radar.js.map +1 -0
  150. package/dist/sankey-XQTX2EG6.js +13 -0
  151. package/dist/sankey-XQTX2EG6.js.map +1 -0
  152. package/dist/sankey.d.ts +28 -0
  153. package/dist/sankey.js +13 -0
  154. package/dist/sankey.js.map +1 -0
  155. package/dist/scatter-XSNG4OKD.js +13 -0
  156. package/dist/scatter-XSNG4OKD.js.map +1 -0
  157. package/dist/scatter.d.ts +41 -0
  158. package/dist/scatter.js +15 -0
  159. package/dist/scatter.js.map +1 -0
  160. package/dist/sparkline.d.ts +26 -0
  161. package/dist/sparkline.js +16 -0
  162. package/dist/sparkline.js.map +1 -0
  163. package/dist/svg-BJUHYX3B.js +14 -0
  164. package/dist/svg-BJUHYX3B.js.map +1 -0
  165. package/dist/throughput.d.ts +37 -0
  166. package/dist/throughput.js +24 -0
  167. package/dist/throughput.js.map +1 -0
  168. package/dist/ticker.d.ts +38 -0
  169. package/dist/ticker.js +22 -0
  170. package/dist/ticker.js.map +1 -0
  171. package/dist/treemap-OMGGGB5U.js +13 -0
  172. package/dist/treemap-OMGGGB5U.js.map +1 -0
  173. package/dist/treemap.d.ts +24 -0
  174. package/dist/treemap.js +14 -0
  175. package/dist/treemap.js.map +1 -0
  176. package/dist/world-110m-DVFWXS42.js +18 -0
  177. package/dist/world-110m-DVFWXS42.js.map +1 -0
  178. package/package.json +614 -3
  179. package/registry/area-chart.json +785 -0
  180. package/registry/bar-chart.json +784 -0
  181. package/registry/calendar-heatmap.json +460 -0
  182. package/registry/candlestick.json +553 -0
  183. package/registry/chart.json +441 -0
  184. package/registry/charts-provider.json +191 -0
  185. package/registry/credit-usage.json +473 -0
  186. package/registry/earnings-chart.json +703 -0
  187. package/registry/examples/area-chart/credits-usage.d.ts +4 -0
  188. package/registry/examples/area-chart/credits-usage.js +38 -0
  189. package/registry/examples/area-chart/credits-usage.tsx +32 -0
  190. package/registry/examples/area-chart/native/credits-usage.d.ts +4 -0
  191. package/registry/examples/area-chart/native/credits-usage.dark.png +0 -0
  192. package/registry/examples/area-chart/native/credits-usage.js +33 -0
  193. package/registry/examples/area-chart/native/credits-usage.light.png +0 -0
  194. package/registry/examples/area-chart/native/credits-usage.tsx +27 -0
  195. package/registry/examples/area-chart/storage.d.ts +4 -0
  196. package/registry/examples/area-chart/storage.js +27 -0
  197. package/registry/examples/area-chart/storage.tsx +21 -0
  198. package/registry/examples/bar-chart/jobs-by-status.d.ts +4 -0
  199. package/registry/examples/bar-chart/jobs-by-status.js +37 -0
  200. package/registry/examples/bar-chart/jobs-by-status.tsx +31 -0
  201. package/registry/examples/bar-chart/native/jobs-by-status.d.ts +4 -0
  202. package/registry/examples/bar-chart/native/jobs-by-status.dark.png +0 -0
  203. package/registry/examples/bar-chart/native/jobs-by-status.js +32 -0
  204. package/registry/examples/bar-chart/native/jobs-by-status.light.png +0 -0
  205. package/registry/examples/bar-chart/native/jobs-by-status.tsx +26 -0
  206. package/registry/examples/bar-chart/plans-by-quarter.d.ts +4 -0
  207. package/registry/examples/bar-chart/plans-by-quarter.js +31 -0
  208. package/registry/examples/bar-chart/plans-by-quarter.tsx +26 -0
  209. package/registry/examples/bar-chart/top-supporters.d.ts +4 -0
  210. package/registry/examples/bar-chart/top-supporters.js +32 -0
  211. package/registry/examples/bar-chart/top-supporters.tsx +27 -0
  212. package/registry/examples/calendar-heatmap/publishing.d.ts +4 -0
  213. package/registry/examples/calendar-heatmap/publishing.js +28 -0
  214. package/registry/examples/calendar-heatmap/publishing.tsx +23 -0
  215. package/registry/examples/candlestick/auction-bids.d.ts +4 -0
  216. package/registry/examples/candlestick/auction-bids.js +37 -0
  217. package/registry/examples/candlestick/auction-bids.tsx +32 -0
  218. package/registry/examples/chart/polar-uploads.d.ts +4 -0
  219. package/registry/examples/chart/polar-uploads.js +34 -0
  220. package/registry/examples/chart/polar-uploads.tsx +30 -0
  221. package/registry/examples/charts-provider/french-orazaka.d.ts +4 -0
  222. package/registry/examples/charts-provider/french-orazaka.js +26 -0
  223. package/registry/examples/charts-provider/french-orazaka.tsx +22 -0
  224. package/registry/examples/charts-provider/native/french-orazaka.d.ts +4 -0
  225. package/registry/examples/charts-provider/native/french-orazaka.dark.png +0 -0
  226. package/registry/examples/charts-provider/native/french-orazaka.js +17 -0
  227. package/registry/examples/charts-provider/native/french-orazaka.light.png +0 -0
  228. package/registry/examples/charts-provider/native/french-orazaka.tsx +17 -0
  229. package/registry/examples/credit-usage/monthly-credits.d.ts +4 -0
  230. package/registry/examples/credit-usage/monthly-credits.js +24 -0
  231. package/registry/examples/credit-usage/monthly-credits.tsx +19 -0
  232. package/registry/examples/credit-usage/native/monthly-credits.d.ts +4 -0
  233. package/registry/examples/credit-usage/native/monthly-credits.dark.png +0 -0
  234. package/registry/examples/credit-usage/native/monthly-credits.js +23 -0
  235. package/registry/examples/credit-usage/native/monthly-credits.light.png +0 -0
  236. package/registry/examples/credit-usage/native/monthly-credits.tsx +18 -0
  237. package/registry/examples/credit-usage/storage-plan.d.ts +4 -0
  238. package/registry/examples/credit-usage/storage-plan.js +21 -0
  239. package/registry/examples/credit-usage/storage-plan.tsx +15 -0
  240. package/registry/examples/earnings-chart/creator-month.d.ts +4 -0
  241. package/registry/examples/earnings-chart/creator-month.js +29 -0
  242. package/registry/examples/earnings-chart/creator-month.tsx +24 -0
  243. package/registry/examples/earnings-chart/gross-and-net.d.ts +4 -0
  244. package/registry/examples/earnings-chart/gross-and-net.js +29 -0
  245. package/registry/examples/earnings-chart/gross-and-net.tsx +24 -0
  246. package/registry/examples/earnings-chart/native/creator-month.d.ts +4 -0
  247. package/registry/examples/earnings-chart/native/creator-month.dark.png +0 -0
  248. package/registry/examples/earnings-chart/native/creator-month.js +29 -0
  249. package/registry/examples/earnings-chart/native/creator-month.light.png +0 -0
  250. package/registry/examples/earnings-chart/native/creator-month.tsx +24 -0
  251. package/registry/examples/funnel/signup.d.ts +4 -0
  252. package/registry/examples/funnel/signup.js +30 -0
  253. package/registry/examples/funnel/signup.tsx +24 -0
  254. package/registry/examples/gauge/challenge-goal.d.ts +4 -0
  255. package/registry/examples/gauge/challenge-goal.js +24 -0
  256. package/registry/examples/gauge/challenge-goal.tsx +18 -0
  257. package/registry/examples/gauge/credits-quota.d.ts +4 -0
  258. package/registry/examples/gauge/credits-quota.js +26 -0
  259. package/registry/examples/gauge/credits-quota.tsx +19 -0
  260. package/registry/examples/gauge/native/credits-quota.d.ts +4 -0
  261. package/registry/examples/gauge/native/credits-quota.dark.png +0 -0
  262. package/registry/examples/gauge/native/credits-quota.js +25 -0
  263. package/registry/examples/gauge/native/credits-quota.light.png +0 -0
  264. package/registry/examples/gauge/native/credits-quota.tsx +18 -0
  265. package/registry/examples/geo-map/viewers.d.ts +4 -0
  266. package/registry/examples/geo-map/viewers.js +43 -0
  267. package/registry/examples/geo-map/viewers.tsx +29 -0
  268. package/registry/examples/globe/deployment-regions.d.ts +4 -0
  269. package/registry/examples/globe/deployment-regions.js +36 -0
  270. package/registry/examples/globe/deployment-regions.tsx +30 -0
  271. package/registry/examples/goal-progress/challenge-pot.d.ts +4 -0
  272. package/registry/examples/goal-progress/challenge-pot.js +22 -0
  273. package/registry/examples/goal-progress/challenge-pot.tsx +16 -0
  274. package/registry/examples/goal-progress/goal-reached.d.ts +4 -0
  275. package/registry/examples/goal-progress/goal-reached.js +11 -0
  276. package/registry/examples/goal-progress/goal-reached.tsx +6 -0
  277. package/registry/examples/goal-progress/native/challenge-pot.d.ts +4 -0
  278. package/registry/examples/goal-progress/native/challenge-pot.dark.png +0 -0
  279. package/registry/examples/goal-progress/native/challenge-pot.js +11 -0
  280. package/registry/examples/goal-progress/native/challenge-pot.light.png +0 -0
  281. package/registry/examples/goal-progress/native/challenge-pot.tsx +6 -0
  282. package/registry/examples/heatmap/upload-activity.d.ts +4 -0
  283. package/registry/examples/heatmap/upload-activity.js +30 -0
  284. package/registry/examples/heatmap/upload-activity.tsx +25 -0
  285. package/registry/examples/job-throughput/live-hours.d.ts +4 -0
  286. package/registry/examples/job-throughput/live-hours.js +33 -0
  287. package/registry/examples/job-throughput/live-hours.tsx +28 -0
  288. package/registry/examples/job-throughput/native/week-of-jobs.d.ts +4 -0
  289. package/registry/examples/job-throughput/native/week-of-jobs.dark.png +0 -0
  290. package/registry/examples/job-throughput/native/week-of-jobs.js +20 -0
  291. package/registry/examples/job-throughput/native/week-of-jobs.light.png +0 -0
  292. package/registry/examples/job-throughput/native/week-of-jobs.tsx +16 -0
  293. package/registry/examples/job-throughput/week-of-jobs.d.ts +4 -0
  294. package/registry/examples/job-throughput/week-of-jobs.js +20 -0
  295. package/registry/examples/job-throughput/week-of-jobs.tsx +16 -0
  296. package/registry/examples/latency-chart/by-capability.d.ts +4 -0
  297. package/registry/examples/latency-chart/by-capability.js +26 -0
  298. package/registry/examples/latency-chart/by-capability.tsx +21 -0
  299. package/registry/examples/latency-chart/native/by-capability.d.ts +4 -0
  300. package/registry/examples/latency-chart/native/by-capability.dark.png +0 -0
  301. package/registry/examples/latency-chart/native/by-capability.js +17 -0
  302. package/registry/examples/latency-chart/native/by-capability.light.png +0 -0
  303. package/registry/examples/latency-chart/native/by-capability.tsx +13 -0
  304. package/registry/examples/latency-chart/time-to-result.d.ts +4 -0
  305. package/registry/examples/latency-chart/time-to-result.js +27 -0
  306. package/registry/examples/latency-chart/time-to-result.tsx +22 -0
  307. package/registry/examples/line-chart/creator-earnings.d.ts +4 -0
  308. package/registry/examples/line-chart/creator-earnings.js +35 -0
  309. package/registry/examples/line-chart/creator-earnings.tsx +30 -0
  310. package/registry/examples/line-chart/forecast.d.ts +4 -0
  311. package/registry/examples/line-chart/forecast.js +36 -0
  312. package/registry/examples/line-chart/forecast.tsx +30 -0
  313. package/registry/examples/line-chart/live-jobs.d.ts +4 -0
  314. package/registry/examples/line-chart/live-jobs.js +21 -0
  315. package/registry/examples/line-chart/live-jobs.tsx +23 -0
  316. package/registry/examples/line-chart/native/creator-earnings.d.ts +4 -0
  317. package/registry/examples/line-chart/native/creator-earnings.dark.png +0 -0
  318. package/registry/examples/line-chart/native/creator-earnings.js +32 -0
  319. package/registry/examples/line-chart/native/creator-earnings.light.png +0 -0
  320. package/registry/examples/line-chart/native/creator-earnings.tsx +26 -0
  321. package/registry/examples/line-chart/states.d.ts +4 -0
  322. package/registry/examples/line-chart/states.js +16 -0
  323. package/registry/examples/line-chart/states.tsx +13 -0
  324. package/registry/examples/pie-chart/credit-spend.d.ts +4 -0
  325. package/registry/examples/pie-chart/credit-spend.js +30 -0
  326. package/registry/examples/pie-chart/credit-spend.tsx +24 -0
  327. package/registry/examples/pie-chart/native/credit-spend.d.ts +4 -0
  328. package/registry/examples/pie-chart/native/credit-spend.dark.png +0 -0
  329. package/registry/examples/pie-chart/native/credit-spend.js +17 -0
  330. package/registry/examples/pie-chart/native/credit-spend.light.png +0 -0
  331. package/registry/examples/pie-chart/native/credit-spend.tsx +12 -0
  332. package/registry/examples/pie-chart/storage-by-kind.d.ts +4 -0
  333. package/registry/examples/pie-chart/storage-by-kind.js +31 -0
  334. package/registry/examples/pie-chart/storage-by-kind.tsx +26 -0
  335. package/registry/examples/price-ticker/auction-room.d.ts +4 -0
  336. package/registry/examples/price-ticker/auction-room.js +21 -0
  337. package/registry/examples/price-ticker/auction-room.tsx +17 -0
  338. package/registry/examples/price-ticker/native/auction-room.d.ts +4 -0
  339. package/registry/examples/price-ticker/native/auction-room.dark.png +0 -0
  340. package/registry/examples/price-ticker/native/auction-room.js +19 -0
  341. package/registry/examples/price-ticker/native/auction-room.light.png +0 -0
  342. package/registry/examples/price-ticker/native/auction-room.tsx +15 -0
  343. package/registry/examples/price-ticker/no-bid-yet.d.ts +4 -0
  344. package/registry/examples/price-ticker/no-bid-yet.js +11 -0
  345. package/registry/examples/price-ticker/no-bid-yet.tsx +6 -0
  346. package/registry/examples/radar-chart/model-comparison.d.ts +4 -0
  347. package/registry/examples/radar-chart/model-comparison.js +33 -0
  348. package/registry/examples/radar-chart/model-comparison.tsx +28 -0
  349. package/registry/examples/sankey/credit-flow.d.ts +4 -0
  350. package/registry/examples/sankey/credit-flow.js +37 -0
  351. package/registry/examples/sankey/credit-flow.tsx +32 -0
  352. package/registry/examples/scatter-chart/watch-time.d.ts +4 -0
  353. package/registry/examples/scatter-chart/watch-time.js +36 -0
  354. package/registry/examples/scatter-chart/watch-time.tsx +31 -0
  355. package/registry/examples/sparkline/bars.d.ts +4 -0
  356. package/registry/examples/sparkline/bars.js +12 -0
  357. package/registry/examples/sparkline/bars.tsx +7 -0
  358. package/registry/examples/sparkline/native/stat-trend.d.ts +4 -0
  359. package/registry/examples/sparkline/native/stat-trend.dark.png +0 -0
  360. package/registry/examples/sparkline/native/stat-trend.js +12 -0
  361. package/registry/examples/sparkline/native/stat-trend.light.png +0 -0
  362. package/registry/examples/sparkline/native/stat-trend.tsx +7 -0
  363. package/registry/examples/sparkline/stat-trend.d.ts +4 -0
  364. package/registry/examples/sparkline/stat-trend.js +18 -0
  365. package/registry/examples/sparkline/stat-trend.tsx +15 -0
  366. package/registry/examples/sparkline/table-rows.d.ts +4 -0
  367. package/registry/examples/sparkline/table-rows.js +23 -0
  368. package/registry/examples/sparkline/table-rows.tsx +26 -0
  369. package/registry/examples/treemap/storage.d.ts +4 -0
  370. package/registry/examples/treemap/storage.js +17 -0
  371. package/registry/examples/treemap/storage.tsx +13 -0
  372. package/registry/funnel.json +487 -0
  373. package/registry/gauge.json +600 -0
  374. package/registry/geo-map.json +484 -0
  375. package/registry/globe.json +469 -0
  376. package/registry/goal-progress.json +520 -0
  377. package/registry/heatmap.json +531 -0
  378. package/registry/index.json +582 -0
  379. package/registry/job-throughput.json +654 -0
  380. package/registry/latency-chart.json +671 -0
  381. package/registry/line-chart.json +793 -0
  382. package/registry/pie-chart.json +1288 -0
  383. package/registry/price-ticker.json +684 -0
  384. package/registry/radar-chart.json +459 -0
  385. package/registry/sankey.json +503 -0
  386. package/registry/scatter-chart.json +559 -0
  387. package/registry/sparkline.json +563 -0
  388. package/registry/treemap.json +432 -0
@@ -0,0 +1,785 @@
1
+ {
2
+ "name": "area-chart",
3
+ "package": "@krizaka/charts",
4
+ "type": "chart",
5
+ "title": "Area chart",
6
+ "summary": "A volume over time: a line over a soft wash, or stacked areas whose parts add up to a total.",
7
+ "description": "A volume over time: a line over a soft wash, or stacked areas whose parts add up to a total.",
8
+ "status": "beta",
9
+ "category": "charts",
10
+ "platforms": "both",
11
+ "engine": "svg",
12
+ "tier": "core",
13
+ "whenToUse": [
14
+ "A volume whose size matters, not only its direction: credits consumed, storage used.",
15
+ "The parts of a total over time, stacked: credits by model, views by source."
16
+ ],
17
+ "whenNotToUse": [
18
+ {
19
+ "when": "Several series whose lines cross: the washes would hide each other.",
20
+ "use": "line-chart"
21
+ },
22
+ {
23
+ "when": "Parts of a total at one moment.",
24
+ "use": "pie-chart"
25
+ }
26
+ ],
27
+ "bestPractices": [
28
+ "Stack only parts of one total, in a stable order: the series keep their palette slot whatever is filtered.",
29
+ "The tooltip of a stacked chart adds the total: do not add a series for it.",
30
+ "Start at zero (the default): an area's height is read as an amount."
31
+ ],
32
+ "accessibility": {
33
+ "keyboard": [
34
+ {
35
+ "keys": "Tab",
36
+ "action": "Moves the focus to the plot (one tab stop), then to the data and export buttons."
37
+ },
38
+ {
39
+ "keys": "Arrow keys",
40
+ "action": "Walk the points one by one: each is announced and its tooltip shown."
41
+ },
42
+ {
43
+ "keys": "Home / End",
44
+ "action": "Jump to the first or the last point."
45
+ },
46
+ {
47
+ "keys": "Esc",
48
+ "action": "Hides the tooltip and clears the active point."
49
+ }
50
+ ],
51
+ "notes": [
52
+ "The plot is a group named by the title and described by a summary written from the data (extremes, trend), read before anything else.",
53
+ "The data table is always in the page for assistive technology; “Show data” reveals it for everyone.",
54
+ "Colour never carries a meaning alone: a legend from two series, direct labels, the table.",
55
+ "The entrance plays once, when the chart comes on screen, and never under reduced motion."
56
+ ]
57
+ },
58
+ "related": [
59
+ "line-chart",
60
+ "bar-chart",
61
+ "pie-chart"
62
+ ],
63
+ "source": "packages/charts/src/meta/area-chart.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/line",
70
+ "import": "import { AreaChart } from \"@krizaka/charts/line\";",
71
+ "props": [
72
+ {
73
+ "component": "AreaChart",
74
+ "description": "A volume over time: a line over a soft wash (stacked: the parts of a total).",
75
+ "props": [
76
+ {
77
+ "name": "data",
78
+ "type": "readonly T[]",
79
+ "default": null,
80
+ "description": "The rows, in the order of the x axis.",
81
+ "required": true
82
+ },
83
+ {
84
+ "name": "title",
85
+ "type": "string",
86
+ "default": null,
87
+ "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
88
+ "required": true
89
+ },
90
+ {
91
+ "name": "brand",
92
+ "type": "BrandId",
93
+ "default": null,
94
+ "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`).",
95
+ "required": false
96
+ },
97
+ {
98
+ "name": "className",
99
+ "type": "string",
100
+ "default": null,
101
+ "description": "A class on the figure (layout: margins, grid placement).",
102
+ "required": false
103
+ },
104
+ {
105
+ "name": "curve",
106
+ "type": "Curve",
107
+ "default": null,
108
+ "description": "The shape between points: `monotone` (default, never overshoots), `linear`, `step` (a value that holds).",
109
+ "required": false
110
+ },
111
+ {
112
+ "name": "dataTable",
113
+ "type": "boolean",
114
+ "default": null,
115
+ "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
116
+ "required": false
117
+ },
118
+ {
119
+ "name": "description",
120
+ "type": "ReactNode",
121
+ "default": null,
122
+ "description": "A sentence under the title: the period, the unit, the source.",
123
+ "required": false
124
+ },
125
+ {
126
+ "name": "dots",
127
+ "type": "boolean",
128
+ "default": null,
129
+ "description": "A dot on every point (short series). Default false: the end of each line carries one.",
130
+ "required": false
131
+ },
132
+ {
133
+ "name": "empty",
134
+ "type": "ReactNode",
135
+ "default": null,
136
+ "description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
137
+ "required": false
138
+ },
139
+ {
140
+ "name": "endLabels",
141
+ "type": "boolean",
142
+ "default": "true",
143
+ "description": "Write the last value at the end of each line (up to three series). Default true.",
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 values are written (axis, tooltip, table, summary). Default `\"number\"`.",
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": "legend",
197
+ "type": "boolean",
198
+ "default": null,
199
+ "description": "Show the legend (from two series). Default true.",
200
+ "required": false
201
+ },
202
+ {
203
+ "name": "live",
204
+ "type": "boolean",
205
+ "default": null,
206
+ "description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
207
+ "required": false
208
+ },
209
+ {
210
+ "name": "loading",
211
+ "type": "boolean",
212
+ "default": null,
213
+ "description": "The data is on its way: a skeleton of the chart, announced once.",
214
+ "required": false
215
+ },
216
+ {
217
+ "name": "locale",
218
+ "type": "Locale",
219
+ "default": null,
220
+ "description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
221
+ "required": false
222
+ },
223
+ {
224
+ "name": "markers",
225
+ "type": "readonly Marker[]",
226
+ "default": null,
227
+ "description": "Vertical markers at a category: a launch, an incident.",
228
+ "required": false
229
+ },
230
+ {
231
+ "name": "onSelect",
232
+ "type": "((datum: T, index: number) => void)",
233
+ "default": null,
234
+ "description": "Called with the row when a point or a bar is clicked (or Enter is pressed on it).",
235
+ "required": false
236
+ },
237
+ {
238
+ "name": "series",
239
+ "type": "readonly SeriesSpec<T>[]",
240
+ "default": null,
241
+ "description": "The series to draw, each with its field and its name; the palette follows their order.",
242
+ "required": false
243
+ },
244
+ {
245
+ "name": "stacked",
246
+ "type": "boolean",
247
+ "default": null,
248
+ "description": "Stack the series: a total and its parts over time.",
249
+ "required": false
250
+ },
251
+ {
252
+ "name": "style",
253
+ "type": "CSSProperties",
254
+ "default": null,
255
+ "description": "Inline style on the figure (layout only: colours come from the tokens).",
256
+ "required": false
257
+ },
258
+ {
259
+ "name": "summary",
260
+ "type": "\"hidden\" | \"visible\"",
261
+ "default": null,
262
+ "description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
263
+ "required": false
264
+ },
265
+ {
266
+ "name": "summaryText",
267
+ "type": "string",
268
+ "default": null,
269
+ "description": "Your own summary instead of the generated one (still read first by screen readers).",
270
+ "required": false
271
+ },
272
+ {
273
+ "name": "thresholds",
274
+ "type": "readonly Threshold[]",
275
+ "default": null,
276
+ "description": "Horizontal lines at a value: a goal, a payout threshold.",
277
+ "required": false
278
+ },
279
+ {
280
+ "name": "x",
281
+ "type": "string | ((datum: T, index: number) => unknown)",
282
+ "default": null,
283
+ "description": "The field (or function) of the category: a month (`\"2026-04\"`), a day, a label. Default: the row's position.",
284
+ "required": false
285
+ },
286
+ {
287
+ "name": "xFormat",
288
+ "type": "CategoryFormat",
289
+ "default": null,
290
+ "description": "How the categories are written. Default: dates by their precision (`2026-04` → `Apr 2026`), text as is.",
291
+ "required": false
292
+ },
293
+ {
294
+ "name": "xLabel",
295
+ "type": "string",
296
+ "default": null,
297
+ "description": "The header of the categories in the data table (`Month`).",
298
+ "required": false
299
+ },
300
+ {
301
+ "name": "y",
302
+ "type": "string | ((datum: T, index: number) => number | null)",
303
+ "default": null,
304
+ "description": "A single series: its field. Use `series` for several.",
305
+ "required": false
306
+ },
307
+ {
308
+ "name": "yLabel",
309
+ "type": "string",
310
+ "default": null,
311
+ "description": "The name of the single `y` series (legend, tooltip, table). Default: the field's name.",
312
+ "required": false
313
+ },
314
+ {
315
+ "name": "zero",
316
+ "type": "boolean",
317
+ "default": null,
318
+ "description": "Start the value axis at zero. Default: true for bars and areas; for lines, unless the values sit far from zero.",
319
+ "required": false
320
+ }
321
+ ]
322
+ }
323
+ ],
324
+ "examples": [
325
+ {
326
+ "name": "credits-usage",
327
+ "title": "Credits by model",
328
+ "description": "Eight weeks of Orazaka credits, stacked by model, the plan's weekly allowance as a threshold.",
329
+ "path": "examples/area-chart/credits-usage.tsx",
330
+ "module": "@krizaka/charts/registry/examples/area-chart/credits-usage",
331
+ "code": "import { AreaChart } from \"@krizaka/charts/line\";\n\nconst weeks = [\n { week: \"2026-08-03\", chat: 9_400, image: 4_100, video: 1_200 },\n { week: \"2026-08-10\", chat: 10_200, image: 4_600, video: 1_900 },\n { week: \"2026-08-17\", chat: 9_800, image: 5_300, video: 2_400 },\n { week: \"2026-08-24\", chat: 11_600, image: 5_100, video: 3_100 },\n { week: \"2026-08-31\", chat: 12_300, image: 6_200, video: 3_600 },\n { week: \"2026-09-07\", chat: 12_900, image: 6_000, video: 4_800 },\n { week: \"2026-09-14\", chat: 13_400, image: 6_900, video: 5_200 },\n { week: \"2026-09-21\", chat: 14_100, image: 7_400, video: 6_100 },\n];\n\nexport default function CreditsUsage() {\n return (\n <AreaChart\n title=\"Credits used per week, by model\"\n description=\"Workspace “Atelier Nord”, Pro plan\"\n data={weeks}\n x=\"week\"\n xFormat=\"day\"\n series={[\n { key: \"chat\", label: \"Chat\" },\n { key: \"image\", label: \"Image\" },\n { key: \"video\", label: \"Video\" },\n ]}\n format=\"integer\"\n stacked\n thresholds={[{ value: 25_000, label: \"Weekly allowance\", tone: \"warning\" }]}\n />\n );\n}\n"
332
+ },
333
+ {
334
+ "name": "storage",
335
+ "title": "Single area",
336
+ "description": "One volume over time: storage used by a workspace.",
337
+ "path": "examples/area-chart/storage.tsx",
338
+ "module": "@krizaka/charts/registry/examples/area-chart/storage",
339
+ "code": "import { AreaChart } from \"@krizaka/charts/line\";\n\nconst days = [12.4, 12.9, 13.1, 13.8, 14.6, 14.9, 15.7, 16.2, 16.4, 17.3, 18.1, 18.6, 19.4, 20.2].map((gb, i) => ({\n day: `2026-09-${String(i + 1).padStart(2, \"0\")}`,\n gb,\n}));\n\nexport default function Storage() {\n return (\n <AreaChart\n title=\"Storage used\"\n data={days}\n x=\"day\"\n xFormat=\"day\"\n y=\"gb\"\n yLabel=\"Storage\"\n format={{ style: \"unit\", unit: \"gigabyte\" }}\n height={220}\n />\n );\n}\n"
340
+ }
341
+ ]
342
+ },
343
+ "native": {
344
+ "entry": "@krizaka/charts/native",
345
+ "import": "import { AreaChart } from \"@krizaka/charts/native\";",
346
+ "differences": [
347
+ "No data table or export: the summary is the accessible label, swipe up and down to hear each week.",
348
+ "A tap selects the nearest point; no hover."
349
+ ],
350
+ "props": [
351
+ {
352
+ "component": "AreaChart",
353
+ "description": "A volume over time (React Native): a line over a wash; `stacked` for the parts of a total.",
354
+ "props": [
355
+ {
356
+ "name": "data",
357
+ "type": "readonly T[]",
358
+ "default": null,
359
+ "description": "The rows, in the order of the x axis.",
360
+ "required": true
361
+ },
362
+ {
363
+ "name": "title",
364
+ "type": "string",
365
+ "default": null,
366
+ "description": "What the chart shows: its heading and accessible name.",
367
+ "required": true
368
+ },
369
+ {
370
+ "name": "brand",
371
+ "type": "BrandId",
372
+ "default": null,
373
+ "description": "The brand whose palette leads. Default Krizaka.",
374
+ "required": false
375
+ },
376
+ {
377
+ "name": "curve",
378
+ "type": "Curve",
379
+ "default": "monotone",
380
+ "description": "`monotone` (default), `linear` or `step`.",
381
+ "required": false
382
+ },
383
+ {
384
+ "name": "empty",
385
+ "type": "ReactNode",
386
+ "default": null,
387
+ "description": "Shown instead of the plot when there is nothing to draw. Default: the `empty` label.",
388
+ "required": false
389
+ },
390
+ {
391
+ "name": "format",
392
+ "type": "ValueFormat",
393
+ "default": null,
394
+ "description": "How the values are written.",
395
+ "required": false
396
+ },
397
+ {
398
+ "name": "height",
399
+ "type": "number",
400
+ "default": null,
401
+ "description": "The plot's height.",
402
+ "required": false
403
+ },
404
+ {
405
+ "name": "hideTitle",
406
+ "type": "boolean",
407
+ "default": null,
408
+ "description": "Hide the heading (it stays the accessible name).",
409
+ "required": false
410
+ },
411
+ {
412
+ "name": "labels",
413
+ "type": "ChartLabelsInput",
414
+ "default": null,
415
+ "description": "The words: the readout, the summary.",
416
+ "required": false
417
+ },
418
+ {
419
+ "name": "loading",
420
+ "type": "boolean",
421
+ "default": null,
422
+ "description": "The data is on its way.",
423
+ "required": false
424
+ },
425
+ {
426
+ "name": "locale",
427
+ "type": "Locale",
428
+ "default": null,
429
+ "description": "The locale of every figure and date. Default `\"en-US\"`.",
430
+ "required": false
431
+ },
432
+ {
433
+ "name": "scheme",
434
+ "type": "Mode",
435
+ "default": null,
436
+ "description": "Dark or light. Default: the device's (pass `useTheme().scheme` of\n@krizaka /ui/native to follow the app).",
437
+ "required": false
438
+ },
439
+ {
440
+ "name": "series",
441
+ "type": "readonly SeriesSpec<T>[]",
442
+ "default": null,
443
+ "description": "The series, each with its field and name.",
444
+ "required": false
445
+ },
446
+ {
447
+ "name": "stacked",
448
+ "type": "boolean",
449
+ "default": null,
450
+ "description": "Stack the series: the parts of a total over time.",
451
+ "required": false
452
+ },
453
+ {
454
+ "name": "style",
455
+ "type": "ViewStyle",
456
+ "default": null,
457
+ "description": "The style of the chart's container (layout only: colours come from the theme).",
458
+ "required": false
459
+ },
460
+ {
461
+ "name": "theme",
462
+ "type": "Partial<ChartTheme>",
463
+ "default": null,
464
+ "description": "The app's colour roles (`useTheme().theme` of\n@krizaka /ui/native): a product's brand overrides apply.",
465
+ "required": false
466
+ },
467
+ {
468
+ "name": "thresholds",
469
+ "type": "readonly Threshold[]",
470
+ "default": null,
471
+ "description": "Horizontal lines at a value.",
472
+ "required": false
473
+ },
474
+ {
475
+ "name": "x",
476
+ "type": "string | ((datum: T, index: number) => unknown)",
477
+ "default": null,
478
+ "description": "The field (or function) of the category.",
479
+ "required": false
480
+ },
481
+ {
482
+ "name": "xFormat",
483
+ "type": "CategoryFormat",
484
+ "default": null,
485
+ "description": "How the categories are written.",
486
+ "required": false
487
+ },
488
+ {
489
+ "name": "y",
490
+ "type": "string | ((datum: T, index: number) => number | null)",
491
+ "default": null,
492
+ "description": "A single series: its field.",
493
+ "required": false
494
+ },
495
+ {
496
+ "name": "yLabel",
497
+ "type": "string",
498
+ "default": null,
499
+ "description": "The name of the single `y` series.",
500
+ "required": false
501
+ }
502
+ ]
503
+ }
504
+ ],
505
+ "examples": [
506
+ {
507
+ "name": "credits-usage",
508
+ "title": "Credits by model",
509
+ "description": "Credits stacked by model.",
510
+ "path": "examples/area-chart/native/credits-usage.tsx",
511
+ "module": "@krizaka/charts/registry/examples/area-chart/native/credits-usage",
512
+ "code": "import { AreaChart } from \"@krizaka/charts/native\";\n\nconst weeks = [\n { week: \"2026-08-03\", chat: 9_400, image: 4_100 },\n { week: \"2026-08-10\", chat: 10_200, image: 4_600 },\n { week: \"2026-08-17\", chat: 9_800, image: 5_300 },\n { week: \"2026-08-24\", chat: 11_600, image: 5_100 },\n { week: \"2026-08-31\", chat: 12_300, image: 6_200 },\n { week: \"2026-09-07\", chat: 12_900, image: 6_000 },\n];\n\nexport default function CreditsUsage() {\n return (\n <AreaChart\n title=\"Credits used per week\"\n data={weeks}\n x=\"week\"\n xFormat=\"day\"\n series={[\n { key: \"chat\", label: \"Chat\" },\n { key: \"image\", label: \"Image\" },\n ]}\n format=\"compact\"\n stacked\n />\n );\n}\n",
513
+ "screenshots": {
514
+ "dark": "examples/area-chart/native/credits-usage.dark.png",
515
+ "light": "examples/area-chart/native/credits-usage.light.png"
516
+ }
517
+ }
518
+ ]
519
+ },
520
+ "files": [],
521
+ "dependencies": [
522
+ "@krizaka/intl@workspace:^",
523
+ "d3-geo@^3.1.1",
524
+ "echarts@^6.1.0",
525
+ "topojson-client@^3.1.0"
526
+ ],
527
+ "registryDependencies": [],
528
+ "demo": {
529
+ "path": "examples/area-chart/credits-usage.tsx",
530
+ "content": "import { AreaChart } from \"@krizaka/charts/line\";\n\nconst weeks = [\n { week: \"2026-08-03\", chat: 9_400, image: 4_100, video: 1_200 },\n { week: \"2026-08-10\", chat: 10_200, image: 4_600, video: 1_900 },\n { week: \"2026-08-17\", chat: 9_800, image: 5_300, video: 2_400 },\n { week: \"2026-08-24\", chat: 11_600, image: 5_100, video: 3_100 },\n { week: \"2026-08-31\", chat: 12_300, image: 6_200, video: 3_600 },\n { week: \"2026-09-07\", chat: 12_900, image: 6_000, video: 4_800 },\n { week: \"2026-09-14\", chat: 13_400, image: 6_900, video: 5_200 },\n { week: \"2026-09-21\", chat: 14_100, image: 7_400, video: 6_100 },\n];\n\nexport default function CreditsUsage() {\n return (\n <AreaChart\n title=\"Credits used per week, by model\"\n description=\"Workspace “Atelier Nord”, Pro plan\"\n data={weeks}\n x=\"week\"\n xFormat=\"day\"\n series={[\n { key: \"chat\", label: \"Chat\" },\n { key: \"image\", label: \"Image\" },\n { key: \"video\", label: \"Video\" },\n ]}\n format=\"integer\"\n stacked\n thresholds={[{ value: 25_000, label: \"Weekly allowance\", tone: \"warning\" }]}\n />\n );\n}\n"
531
+ },
532
+ "props": [
533
+ {
534
+ "component": "AreaChart",
535
+ "description": "A volume over time: a line over a soft wash (stacked: the parts of a total).",
536
+ "props": [
537
+ {
538
+ "name": "data",
539
+ "type": "readonly T[]",
540
+ "default": null,
541
+ "description": "The rows, in the order of the x axis.",
542
+ "required": true
543
+ },
544
+ {
545
+ "name": "title",
546
+ "type": "string",
547
+ "default": null,
548
+ "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
549
+ "required": true
550
+ },
551
+ {
552
+ "name": "brand",
553
+ "type": "BrandId",
554
+ "default": null,
555
+ "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`).",
556
+ "required": false
557
+ },
558
+ {
559
+ "name": "className",
560
+ "type": "string",
561
+ "default": null,
562
+ "description": "A class on the figure (layout: margins, grid placement).",
563
+ "required": false
564
+ },
565
+ {
566
+ "name": "curve",
567
+ "type": "Curve",
568
+ "default": null,
569
+ "description": "The shape between points: `monotone` (default, never overshoots), `linear`, `step` (a value that holds).",
570
+ "required": false
571
+ },
572
+ {
573
+ "name": "dataTable",
574
+ "type": "boolean",
575
+ "default": null,
576
+ "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
577
+ "required": false
578
+ },
579
+ {
580
+ "name": "description",
581
+ "type": "ReactNode",
582
+ "default": null,
583
+ "description": "A sentence under the title: the period, the unit, the source.",
584
+ "required": false
585
+ },
586
+ {
587
+ "name": "dots",
588
+ "type": "boolean",
589
+ "default": null,
590
+ "description": "A dot on every point (short series). Default false: the end of each line carries one.",
591
+ "required": false
592
+ },
593
+ {
594
+ "name": "empty",
595
+ "type": "ReactNode",
596
+ "default": null,
597
+ "description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
598
+ "required": false
599
+ },
600
+ {
601
+ "name": "endLabels",
602
+ "type": "boolean",
603
+ "default": "true",
604
+ "description": "Write the last value at the end of each line (up to three series). Default true.",
605
+ "required": false
606
+ },
607
+ {
608
+ "name": "error",
609
+ "type": "ReactNode",
610
+ "default": null,
611
+ "description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
612
+ "required": false
613
+ },
614
+ {
615
+ "name": "exportable",
616
+ "type": "boolean | readonly ExportFormat[]",
617
+ "default": null,
618
+ "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
619
+ "required": false
620
+ },
621
+ {
622
+ "name": "format",
623
+ "type": "ValueFormat",
624
+ "default": null,
625
+ "description": "How the values are written (axis, tooltip, table, summary). Default `\"number\"`.",
626
+ "required": false
627
+ },
628
+ {
629
+ "name": "height",
630
+ "type": "number",
631
+ "default": null,
632
+ "description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
633
+ "required": false
634
+ },
635
+ {
636
+ "name": "hideTitle",
637
+ "type": "boolean",
638
+ "default": null,
639
+ "description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
640
+ "required": false
641
+ },
642
+ {
643
+ "name": "id",
644
+ "type": "string",
645
+ "default": null,
646
+ "description": "The id of the figure.",
647
+ "required": false
648
+ },
649
+ {
650
+ "name": "labels",
651
+ "type": "ChartLabelsInput",
652
+ "default": null,
653
+ "description": "The words, translated: the buttons, the states, the written summary.",
654
+ "required": false
655
+ },
656
+ {
657
+ "name": "legend",
658
+ "type": "boolean",
659
+ "default": null,
660
+ "description": "Show the legend (from two series). Default true.",
661
+ "required": false
662
+ },
663
+ {
664
+ "name": "live",
665
+ "type": "boolean",
666
+ "default": null,
667
+ "description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
668
+ "required": false
669
+ },
670
+ {
671
+ "name": "loading",
672
+ "type": "boolean",
673
+ "default": null,
674
+ "description": "The data is on its way: a skeleton of the chart, announced once.",
675
+ "required": false
676
+ },
677
+ {
678
+ "name": "locale",
679
+ "type": "Locale",
680
+ "default": null,
681
+ "description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
682
+ "required": false
683
+ },
684
+ {
685
+ "name": "markers",
686
+ "type": "readonly Marker[]",
687
+ "default": null,
688
+ "description": "Vertical markers at a category: a launch, an incident.",
689
+ "required": false
690
+ },
691
+ {
692
+ "name": "onSelect",
693
+ "type": "((datum: T, index: number) => void)",
694
+ "default": null,
695
+ "description": "Called with the row when a point or a bar is clicked (or Enter is pressed on it).",
696
+ "required": false
697
+ },
698
+ {
699
+ "name": "series",
700
+ "type": "readonly SeriesSpec<T>[]",
701
+ "default": null,
702
+ "description": "The series to draw, each with its field and its name; the palette follows their order.",
703
+ "required": false
704
+ },
705
+ {
706
+ "name": "stacked",
707
+ "type": "boolean",
708
+ "default": null,
709
+ "description": "Stack the series: a total and its parts over time.",
710
+ "required": false
711
+ },
712
+ {
713
+ "name": "style",
714
+ "type": "CSSProperties",
715
+ "default": null,
716
+ "description": "Inline style on the figure (layout only: colours come from the tokens).",
717
+ "required": false
718
+ },
719
+ {
720
+ "name": "summary",
721
+ "type": "\"hidden\" | \"visible\"",
722
+ "default": null,
723
+ "description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
724
+ "required": false
725
+ },
726
+ {
727
+ "name": "summaryText",
728
+ "type": "string",
729
+ "default": null,
730
+ "description": "Your own summary instead of the generated one (still read first by screen readers).",
731
+ "required": false
732
+ },
733
+ {
734
+ "name": "thresholds",
735
+ "type": "readonly Threshold[]",
736
+ "default": null,
737
+ "description": "Horizontal lines at a value: a goal, a payout threshold.",
738
+ "required": false
739
+ },
740
+ {
741
+ "name": "x",
742
+ "type": "string | ((datum: T, index: number) => unknown)",
743
+ "default": null,
744
+ "description": "The field (or function) of the category: a month (`\"2026-04\"`), a day, a label. Default: the row's position.",
745
+ "required": false
746
+ },
747
+ {
748
+ "name": "xFormat",
749
+ "type": "CategoryFormat",
750
+ "default": null,
751
+ "description": "How the categories are written. Default: dates by their precision (`2026-04` → `Apr 2026`), text as is.",
752
+ "required": false
753
+ },
754
+ {
755
+ "name": "xLabel",
756
+ "type": "string",
757
+ "default": null,
758
+ "description": "The header of the categories in the data table (`Month`).",
759
+ "required": false
760
+ },
761
+ {
762
+ "name": "y",
763
+ "type": "string | ((datum: T, index: number) => number | null)",
764
+ "default": null,
765
+ "description": "A single series: its field. Use `series` for several.",
766
+ "required": false
767
+ },
768
+ {
769
+ "name": "yLabel",
770
+ "type": "string",
771
+ "default": null,
772
+ "description": "The name of the single `y` series (legend, tooltip, table). Default: the field's name.",
773
+ "required": false
774
+ },
775
+ {
776
+ "name": "zero",
777
+ "type": "boolean",
778
+ "default": null,
779
+ "description": "Start the value axis at zero. Default: true for bars and areas; for lines, unless the values sit far from zero.",
780
+ "required": false
781
+ }
782
+ ]
783
+ }
784
+ ]
785
+ }