@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,563 @@
1
+ {
2
+ "name": "sparkline",
3
+ "package": "@krizaka/charts",
4
+ "type": "chart",
5
+ "title": "Sparkline",
6
+ "summary": "A word-sized trend without axes — in a stat, a table cell or a sentence — drawn on the server when its width is known.",
7
+ "description": "A word-sized trend without axes — in a stat, a table cell or a sentence — drawn on the server when its width is known.",
8
+ "status": "beta",
9
+ "category": "charts",
10
+ "platforms": "both",
11
+ "engine": "svg",
12
+ "tier": "core",
13
+ "whenToUse": [
14
+ "Beside a key figure: the last 30 days of a stat.",
15
+ "In a table, one per row: each model's throughput, each video's views."
16
+ ],
17
+ "whenNotToUse": [
18
+ {
19
+ "when": "When the reader needs the values, the axes or a comparison.",
20
+ "use": "line-chart"
21
+ },
22
+ {
23
+ "when": "A value against a range.",
24
+ "use": "gauge"
25
+ }
26
+ ],
27
+ "bestPractices": [
28
+ "Give it a `width` in a table: it renders on the server, with no placeholder.",
29
+ "Colour by the trend with `trendTone` (`\"inverse\"` when down is good: costs, latency).",
30
+ "Write the current value next to it: the line shows the shape, not the figure."
31
+ ],
32
+ "accessibility": {
33
+ "keyboard": [],
34
+ "notes": [
35
+ "Its title is visually hidden but names it; its summary (first, last, extremes, trend) is read.",
36
+ "It does not take the focus: it is a picture of the trend, the figures are in the summary and its table."
37
+ ]
38
+ },
39
+ "related": [
40
+ "line-chart",
41
+ "gauge",
42
+ "bar-chart"
43
+ ],
44
+ "source": "packages/charts/src/meta/sparkline.ts",
45
+ "install": {
46
+ "web": "npm install @krizaka/charts",
47
+ "native": "npx expo install react-native-svg\nnpm install @krizaka/charts"
48
+ },
49
+ "web": {
50
+ "entry": "@krizaka/charts/sparkline",
51
+ "import": "import { Sparkline } from \"@krizaka/charts/sparkline\";",
52
+ "props": [
53
+ {
54
+ "component": "Sparkline",
55
+ "description": "The shape of a trend in a few pixels: a stat's last 30 days, a job's throughput.",
56
+ "props": [
57
+ {
58
+ "name": "data",
59
+ "type": "readonly (number | null)[]",
60
+ "default": null,
61
+ "description": "The values, oldest first (`null` for a gap).",
62
+ "required": true
63
+ },
64
+ {
65
+ "name": "title",
66
+ "type": "string",
67
+ "default": null,
68
+ "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
69
+ "required": true
70
+ },
71
+ {
72
+ "name": "brand",
73
+ "type": "BrandId",
74
+ "default": null,
75
+ "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`).",
76
+ "required": false
77
+ },
78
+ {
79
+ "name": "categories",
80
+ "type": "readonly unknown[]",
81
+ "default": null,
82
+ "description": "The labels of the values (dates, ISO or `Date`), for the summary and the table. Default: their positions.",
83
+ "required": false
84
+ },
85
+ {
86
+ "name": "className",
87
+ "type": "string",
88
+ "default": null,
89
+ "description": "A class on the figure (layout: margins, grid placement).",
90
+ "required": false
91
+ },
92
+ {
93
+ "name": "color",
94
+ "type": "SeriesColor",
95
+ "default": null,
96
+ "description": "A palette slot, a tone or a CSS colour. Default: the trend's tone when `trendTone`, else slot 1.",
97
+ "required": false
98
+ },
99
+ {
100
+ "name": "empty",
101
+ "type": "ReactNode",
102
+ "default": null,
103
+ "description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
104
+ "required": false
105
+ },
106
+ {
107
+ "name": "error",
108
+ "type": "ReactNode",
109
+ "default": null,
110
+ "description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
111
+ "required": false
112
+ },
113
+ {
114
+ "name": "format",
115
+ "type": "ValueFormat",
116
+ "default": null,
117
+ "description": "How the values are written in the summary and table.",
118
+ "required": false
119
+ },
120
+ {
121
+ "name": "height",
122
+ "type": "number",
123
+ "default": null,
124
+ "description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
125
+ "required": false
126
+ },
127
+ {
128
+ "name": "id",
129
+ "type": "string",
130
+ "default": null,
131
+ "description": "The id of the figure.",
132
+ "required": false
133
+ },
134
+ {
135
+ "name": "labels",
136
+ "type": "ChartLabelsInput",
137
+ "default": null,
138
+ "description": "The words, translated: the buttons, the states, the written summary.",
139
+ "required": false
140
+ },
141
+ {
142
+ "name": "live",
143
+ "type": "boolean",
144
+ "default": null,
145
+ "description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
146
+ "required": false
147
+ },
148
+ {
149
+ "name": "loading",
150
+ "type": "boolean",
151
+ "default": null,
152
+ "description": "The data is on its way: a skeleton of the chart, announced once.",
153
+ "required": false
154
+ },
155
+ {
156
+ "name": "locale",
157
+ "type": "Locale",
158
+ "default": null,
159
+ "description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
160
+ "required": false
161
+ },
162
+ {
163
+ "name": "style",
164
+ "type": "CSSProperties",
165
+ "default": null,
166
+ "description": "Inline style on the figure (layout only: colours come from the tokens).",
167
+ "required": false
168
+ },
169
+ {
170
+ "name": "summary",
171
+ "type": "\"hidden\" | \"visible\"",
172
+ "default": null,
173
+ "description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
174
+ "required": false
175
+ },
176
+ {
177
+ "name": "summaryText",
178
+ "type": "string",
179
+ "default": null,
180
+ "description": "Your own summary instead of the generated one (still read first by screen readers).",
181
+ "required": false
182
+ },
183
+ {
184
+ "name": "threshold",
185
+ "type": "Threshold",
186
+ "default": null,
187
+ "description": "A dashed reference line (yesterday's average, a quota).",
188
+ "required": false
189
+ },
190
+ {
191
+ "name": "trendTone",
192
+ "type": "boolean | \"inverse\"",
193
+ "default": null,
194
+ "description": "Colour by the trend: success up, danger down (or the reverse with `\"inverse\"`: costs, latency).",
195
+ "required": false
196
+ },
197
+ {
198
+ "name": "variant",
199
+ "type": "\"line\" | \"area\" | \"bar\"",
200
+ "default": null,
201
+ "description": "`line` (default), `area` (line over a wash) or `bar` (discrete counts: jobs per hour).",
202
+ "required": false
203
+ },
204
+ {
205
+ "name": "width",
206
+ "type": "number",
207
+ "default": null,
208
+ "description": "A fixed width in pixels: drawn on the server too. Default: the container's width.",
209
+ "required": false
210
+ }
211
+ ]
212
+ }
213
+ ],
214
+ "examples": [
215
+ {
216
+ "name": "stat-trend",
217
+ "title": "In a stat",
218
+ "description": "Thirty days of views beside the figure, coloured by the trend.",
219
+ "path": "examples/sparkline/stat-trend.tsx",
220
+ "module": "@krizaka/charts/registry/examples/sparkline/stat-trend",
221
+ "code": "import { Sparkline } from \"@krizaka/charts/sparkline\";\n\nconst views = [820, 760, 910, 880, 1_020, 990, 1_130, 1_210, 1_090, 1_340, 1_280, 1_420, 1_390, 1_510, 1_620, 1_580, 1_700, 1_640, 1_810, 1_760, 1_930, 2_040, 1_980, 2_150, 2_090, 2_260, 2_340, 2_280, 2_410, 2_520];\n\nexport default function StatTrend() {\n return (\n <div style={{ display: \"flex\", alignItems: \"flex-end\", gap: 16 }}>\n <div>\n <p style={{ margin: 0, fontSize: 13, color: \"var(--kz-text-secondary)\" }}>Views, last 30 days</p>\n <p style={{ margin: 0, fontSize: 28, fontWeight: 600, color: \"var(--kz-text-primary)\" }}>2,520</p>\n </div>\n <Sparkline title=\"Views, last 30 days\" data={views} variant=\"area\" trendTone width={140} height={40} format=\"integer\" />\n </div>\n );\n}\n"
222
+ },
223
+ {
224
+ "name": "table-rows",
225
+ "title": "In a table",
226
+ "description": "One fixed-width sparkline per row, drawn on the server: latency, coloured inverse.",
227
+ "path": "examples/sparkline/table-rows.tsx",
228
+ "module": "@krizaka/charts/registry/examples/sparkline/table-rows",
229
+ "code": "import { Sparkline } from \"@krizaka/charts/sparkline\";\n\n// p95 latency (ms) over the last 12 hours: down is good, hence `trendTone=\"inverse\"`.\nconst models = [\n { name: \"Chat · Mistral Large\", p95: [820, 790, 805, 760, 742, 731, 720, 704, 699, 688, 690, 676] },\n { name: \"Image · Flux\", p95: [2_400, 2_380, 2_520, 2_610, 2_590, 2_700, 2_760, 2_810, 2_790, 2_880, 2_910, 2_950] },\n { name: \"Speech · Whisper\", p95: [310, 305, 312, 309, 300, 311, 306, 304, 308, 302, 307, 305] },\n];\n\nexport default function TableRows() {\n return (\n <table style={{ borderCollapse: \"collapse\", fontSize: 13, color: \"var(--kz-text-primary)\" }}>\n <tbody>\n {models.map((m) => (\n <tr key={m.name} style={{ borderTop: \"1px solid var(--kz-border-subtle)\" }}>\n <th scope=\"row\" style={{ padding: \"8px 16px 8px 0\", textAlign: \"left\", fontWeight: 500 }}>{m.name}</th>\n <td style={{ padding: 8 }}>\n <Sparkline title={`${m.name}, p95 latency`} data={m.p95} trendTone=\"inverse\" width={120} height={28} format={{ style: \"unit\", unit: \"millisecond\" }} />\n </td>\n <td style={{ padding: 8, textAlign: \"right\" }}>{m.p95[m.p95.length - 1]} ms</td>\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n"
230
+ },
231
+ {
232
+ "name": "bars",
233
+ "title": "Bars",
234
+ "description": "Discrete counts: jobs per hour.",
235
+ "path": "examples/sparkline/bars.tsx",
236
+ "module": "@krizaka/charts/registry/examples/sparkline/bars",
237
+ "code": "import { Sparkline } from \"@krizaka/charts/sparkline\";\n\nconst jobsPerHour = [12, 8, 5, 3, 2, 4, 9, 21, 38, 52, 61, 58, 64, 70, 66, 59, 63, 55, 47, 41, 33, 26, 19, 14];\n\nexport default function Bars() {\n return <Sparkline title=\"Jobs per hour, today\" data={jobsPerHour} variant=\"bar\" width={180} height={36} format=\"integer\" color={2} />;\n}\n"
238
+ }
239
+ ]
240
+ },
241
+ "native": {
242
+ "entry": "@krizaka/charts/native",
243
+ "import": "import { Sparkline } from \"@krizaka/charts/native\";",
244
+ "differences": [
245
+ "No threshold line."
246
+ ],
247
+ "props": [
248
+ {
249
+ "component": "Sparkline",
250
+ "description": "A word-sized trend (React Native).",
251
+ "props": [
252
+ {
253
+ "name": "data",
254
+ "type": "readonly (number | null)[]",
255
+ "default": null,
256
+ "description": "The values, oldest first (`null` for a gap).",
257
+ "required": true
258
+ },
259
+ {
260
+ "name": "title",
261
+ "type": "string",
262
+ "default": null,
263
+ "description": "What the chart shows: its heading and accessible name.",
264
+ "required": true
265
+ },
266
+ {
267
+ "name": "brand",
268
+ "type": "BrandId",
269
+ "default": null,
270
+ "description": "The brand whose palette leads. Default Krizaka.",
271
+ "required": false
272
+ },
273
+ {
274
+ "name": "categories",
275
+ "type": "readonly unknown[]",
276
+ "default": null,
277
+ "description": "The labels of the values (dates), for the summary.",
278
+ "required": false
279
+ },
280
+ {
281
+ "name": "color",
282
+ "type": "SeriesColor",
283
+ "default": null,
284
+ "description": "A palette slot, a tone or a colour.",
285
+ "required": false
286
+ },
287
+ {
288
+ "name": "empty",
289
+ "type": "ReactNode",
290
+ "default": null,
291
+ "description": "Shown instead of the plot when there is nothing to draw. Default: the `empty` label.",
292
+ "required": false
293
+ },
294
+ {
295
+ "name": "format",
296
+ "type": "ValueFormat",
297
+ "default": null,
298
+ "description": "How the values are written in the summary.",
299
+ "required": false
300
+ },
301
+ {
302
+ "name": "height",
303
+ "type": "number",
304
+ "default": null,
305
+ "description": "The plot's height.",
306
+ "required": false
307
+ },
308
+ {
309
+ "name": "labels",
310
+ "type": "ChartLabelsInput",
311
+ "default": null,
312
+ "description": "The words: the readout, the summary.",
313
+ "required": false
314
+ },
315
+ {
316
+ "name": "loading",
317
+ "type": "boolean",
318
+ "default": null,
319
+ "description": "The data is on its way.",
320
+ "required": false
321
+ },
322
+ {
323
+ "name": "locale",
324
+ "type": "Locale",
325
+ "default": null,
326
+ "description": "The locale of every figure and date. Default `\"en-US\"`.",
327
+ "required": false
328
+ },
329
+ {
330
+ "name": "scheme",
331
+ "type": "Mode",
332
+ "default": null,
333
+ "description": "Dark or light. Default: the device's (pass `useTheme().scheme` of\n@krizaka /ui/native to follow the app).",
334
+ "required": false
335
+ },
336
+ {
337
+ "name": "style",
338
+ "type": "ViewStyle",
339
+ "default": null,
340
+ "description": "The style of the chart's container (layout only: colours come from the theme).",
341
+ "required": false
342
+ },
343
+ {
344
+ "name": "theme",
345
+ "type": "Partial<ChartTheme>",
346
+ "default": null,
347
+ "description": "The app's colour roles (`useTheme().theme` of\n@krizaka /ui/native): a product's brand overrides apply.",
348
+ "required": false
349
+ },
350
+ {
351
+ "name": "trendTone",
352
+ "type": "boolean | \"inverse\"",
353
+ "default": null,
354
+ "description": "Colour by the trend (success up, danger down; `\"inverse\"` for costs).",
355
+ "required": false
356
+ },
357
+ {
358
+ "name": "variant",
359
+ "type": "\"line\" | \"area\" | \"bar\"",
360
+ "default": null,
361
+ "description": "`line` (default), `area` or `bar`.",
362
+ "required": false
363
+ },
364
+ {
365
+ "name": "width",
366
+ "type": "number",
367
+ "default": null,
368
+ "description": "A fixed width. Default: the container's.",
369
+ "required": false
370
+ }
371
+ ]
372
+ }
373
+ ],
374
+ "examples": [
375
+ {
376
+ "name": "stat-trend",
377
+ "title": "In a stat",
378
+ "description": "Thirty days of views, coloured by the trend.",
379
+ "path": "examples/sparkline/native/stat-trend.tsx",
380
+ "module": "@krizaka/charts/registry/examples/sparkline/native/stat-trend",
381
+ "code": "import { Sparkline } from \"@krizaka/charts/native\";\n\nconst views = [820, 760, 910, 880, 1_020, 990, 1_130, 1_210, 1_090, 1_340, 1_280, 1_420, 1_390, 1_510, 1_620, 1_580, 1_700, 1_640, 1_810, 1_760, 1_930, 2_040, 1_980, 2_150, 2_090, 2_260, 2_340, 2_280, 2_410, 2_520];\n\nexport default function StatTrend() {\n return <Sparkline title=\"Views, last 30 days\" data={views} variant=\"area\" trendTone width={160} height={40} format=\"integer\" />;\n}\n",
382
+ "screenshots": {
383
+ "dark": "examples/sparkline/native/stat-trend.dark.png",
384
+ "light": "examples/sparkline/native/stat-trend.light.png"
385
+ }
386
+ }
387
+ ]
388
+ },
389
+ "files": [],
390
+ "dependencies": [
391
+ "@krizaka/intl@workspace:^",
392
+ "d3-geo@^3.1.1",
393
+ "echarts@^6.1.0",
394
+ "topojson-client@^3.1.0"
395
+ ],
396
+ "registryDependencies": [],
397
+ "demo": {
398
+ "path": "examples/sparkline/stat-trend.tsx",
399
+ "content": "import { Sparkline } from \"@krizaka/charts/sparkline\";\n\nconst views = [820, 760, 910, 880, 1_020, 990, 1_130, 1_210, 1_090, 1_340, 1_280, 1_420, 1_390, 1_510, 1_620, 1_580, 1_700, 1_640, 1_810, 1_760, 1_930, 2_040, 1_980, 2_150, 2_090, 2_260, 2_340, 2_280, 2_410, 2_520];\n\nexport default function StatTrend() {\n return (\n <div style={{ display: \"flex\", alignItems: \"flex-end\", gap: 16 }}>\n <div>\n <p style={{ margin: 0, fontSize: 13, color: \"var(--kz-text-secondary)\" }}>Views, last 30 days</p>\n <p style={{ margin: 0, fontSize: 28, fontWeight: 600, color: \"var(--kz-text-primary)\" }}>2,520</p>\n </div>\n <Sparkline title=\"Views, last 30 days\" data={views} variant=\"area\" trendTone width={140} height={40} format=\"integer\" />\n </div>\n );\n}\n"
400
+ },
401
+ "props": [
402
+ {
403
+ "component": "Sparkline",
404
+ "description": "The shape of a trend in a few pixels: a stat's last 30 days, a job's throughput.",
405
+ "props": [
406
+ {
407
+ "name": "data",
408
+ "type": "readonly (number | null)[]",
409
+ "default": null,
410
+ "description": "The values, oldest first (`null` for a gap).",
411
+ "required": true
412
+ },
413
+ {
414
+ "name": "title",
415
+ "type": "string",
416
+ "default": null,
417
+ "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
418
+ "required": true
419
+ },
420
+ {
421
+ "name": "brand",
422
+ "type": "BrandId",
423
+ "default": null,
424
+ "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`).",
425
+ "required": false
426
+ },
427
+ {
428
+ "name": "categories",
429
+ "type": "readonly unknown[]",
430
+ "default": null,
431
+ "description": "The labels of the values (dates, ISO or `Date`), for the summary and the table. Default: their positions.",
432
+ "required": false
433
+ },
434
+ {
435
+ "name": "className",
436
+ "type": "string",
437
+ "default": null,
438
+ "description": "A class on the figure (layout: margins, grid placement).",
439
+ "required": false
440
+ },
441
+ {
442
+ "name": "color",
443
+ "type": "SeriesColor",
444
+ "default": null,
445
+ "description": "A palette slot, a tone or a CSS colour. Default: the trend's tone when `trendTone`, else slot 1.",
446
+ "required": false
447
+ },
448
+ {
449
+ "name": "empty",
450
+ "type": "ReactNode",
451
+ "default": null,
452
+ "description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
453
+ "required": false
454
+ },
455
+ {
456
+ "name": "error",
457
+ "type": "ReactNode",
458
+ "default": null,
459
+ "description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
460
+ "required": false
461
+ },
462
+ {
463
+ "name": "format",
464
+ "type": "ValueFormat",
465
+ "default": null,
466
+ "description": "How the values are written in the summary and table.",
467
+ "required": false
468
+ },
469
+ {
470
+ "name": "height",
471
+ "type": "number",
472
+ "default": null,
473
+ "description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
474
+ "required": false
475
+ },
476
+ {
477
+ "name": "id",
478
+ "type": "string",
479
+ "default": null,
480
+ "description": "The id of the figure.",
481
+ "required": false
482
+ },
483
+ {
484
+ "name": "labels",
485
+ "type": "ChartLabelsInput",
486
+ "default": null,
487
+ "description": "The words, translated: the buttons, the states, the written summary.",
488
+ "required": false
489
+ },
490
+ {
491
+ "name": "live",
492
+ "type": "boolean",
493
+ "default": null,
494
+ "description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
495
+ "required": false
496
+ },
497
+ {
498
+ "name": "loading",
499
+ "type": "boolean",
500
+ "default": null,
501
+ "description": "The data is on its way: a skeleton of the chart, announced once.",
502
+ "required": false
503
+ },
504
+ {
505
+ "name": "locale",
506
+ "type": "Locale",
507
+ "default": null,
508
+ "description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
509
+ "required": false
510
+ },
511
+ {
512
+ "name": "style",
513
+ "type": "CSSProperties",
514
+ "default": null,
515
+ "description": "Inline style on the figure (layout only: colours come from the tokens).",
516
+ "required": false
517
+ },
518
+ {
519
+ "name": "summary",
520
+ "type": "\"hidden\" | \"visible\"",
521
+ "default": null,
522
+ "description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
523
+ "required": false
524
+ },
525
+ {
526
+ "name": "summaryText",
527
+ "type": "string",
528
+ "default": null,
529
+ "description": "Your own summary instead of the generated one (still read first by screen readers).",
530
+ "required": false
531
+ },
532
+ {
533
+ "name": "threshold",
534
+ "type": "Threshold",
535
+ "default": null,
536
+ "description": "A dashed reference line (yesterday's average, a quota).",
537
+ "required": false
538
+ },
539
+ {
540
+ "name": "trendTone",
541
+ "type": "boolean | \"inverse\"",
542
+ "default": null,
543
+ "description": "Colour by the trend: success up, danger down (or the reverse with `\"inverse\"`: costs, latency).",
544
+ "required": false
545
+ },
546
+ {
547
+ "name": "variant",
548
+ "type": "\"line\" | \"area\" | \"bar\"",
549
+ "default": null,
550
+ "description": "`line` (default), `area` (line over a wash) or `bar` (discrete counts: jobs per hour).",
551
+ "required": false
552
+ },
553
+ {
554
+ "name": "width",
555
+ "type": "number",
556
+ "default": null,
557
+ "description": "A fixed width in pixels: drawn on the server too. Default: the container's width.",
558
+ "required": false
559
+ }
560
+ ]
561
+ }
562
+ ]
563
+ }