@sophistry/charts 0.0.0-stage → 0.0.1

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 (427) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +32 -2
  3. package/dist/3d/bar-chart3d.d.ts +56 -0
  4. package/dist/3d/bar-chart3d.d.ts.map +1 -0
  5. package/dist/3d/definitions.d.ts +38 -0
  6. package/dist/3d/definitions.d.ts.map +1 -0
  7. package/dist/3d/definitions.js +14 -0
  8. package/dist/3d/forward.d.ts +65 -0
  9. package/dist/3d/forward.d.ts.map +1 -0
  10. package/dist/3d/index.d.ts +31 -0
  11. package/dist/3d/index.d.ts.map +1 -0
  12. package/dist/3d/index.js +1 -0
  13. package/dist/3d/quiver3d.d.ts +53 -0
  14. package/dist/3d/quiver3d.d.ts.map +1 -0
  15. package/dist/3d/scatter3d.d.ts +45 -0
  16. package/dist/3d/scatter3d.d.ts.map +1 -0
  17. package/dist/3d/stem3d.d.ts +46 -0
  18. package/dist/3d/stem3d.d.ts.map +1 -0
  19. package/dist/3d/surface-grid3d.d.ts +34 -0
  20. package/dist/3d/surface-grid3d.d.ts.map +1 -0
  21. package/dist/3d/tri-surface3d.d.ts +46 -0
  22. package/dist/3d/tri-surface3d.d.ts.map +1 -0
  23. package/dist/3d/voxels3d.d.ts +26 -0
  24. package/dist/3d/voxels3d.d.ts.map +1 -0
  25. package/dist/3d/wireframe3d.d.ts +31 -0
  26. package/dist/3d/wireframe3d.d.ts.map +1 -0
  27. package/dist/band.d.ts +21 -0
  28. package/dist/band.d.ts.map +1 -0
  29. package/dist/bars/bar-chart.d.ts +144 -0
  30. package/dist/bars/bar-chart.d.ts.map +1 -0
  31. package/dist/bars/bar-labels.d.ts +117 -0
  32. package/dist/bars/bar-labels.d.ts.map +1 -0
  33. package/dist/bars/bars.d.ts +224 -0
  34. package/dist/bars/bars.d.ts.map +1 -0
  35. package/dist/bars/bullet.d.ts +158 -0
  36. package/dist/bars/bullet.d.ts.map +1 -0
  37. package/dist/bars/candlestick.d.ts +98 -0
  38. package/dist/bars/candlestick.d.ts.map +1 -0
  39. package/dist/bars/funnel.d.ts +91 -0
  40. package/dist/bars/funnel.d.ts.map +1 -0
  41. package/dist/bars/histogram.d.ts +109 -0
  42. package/dist/bars/histogram.d.ts.map +1 -0
  43. package/dist/bars/index.d.ts +23 -0
  44. package/dist/bars/index.d.ts.map +1 -0
  45. package/dist/bars/race.d.ts +29 -0
  46. package/dist/bars/race.d.ts.map +1 -0
  47. package/dist/bars/rules.d.ts +122 -0
  48. package/dist/bars/rules.d.ts.map +1 -0
  49. package/dist/bars/shared.d.ts +42 -0
  50. package/dist/bars/shared.d.ts.map +1 -0
  51. package/dist/bars/transforms.d.ts +250 -0
  52. package/dist/bars/transforms.d.ts.map +1 -0
  53. package/dist/bars/waterfall.d.ts +107 -0
  54. package/dist/bars/waterfall.d.ts.map +1 -0
  55. package/dist/batch.d.ts +143 -0
  56. package/dist/batch.d.ts.map +1 -0
  57. package/dist/channels-_Xf-p6Lx.js +56 -0
  58. package/dist/chart.d.ts +88 -0
  59. package/dist/chart.d.ts.map +1 -0
  60. package/dist/color-norm.d.ts +91 -0
  61. package/dist/color-norm.d.ts.map +1 -0
  62. package/dist/context.d.ts +112 -0
  63. package/dist/context.d.ts.map +1 -0
  64. package/dist/curves/density.d.ts +126 -0
  65. package/dist/curves/density.d.ts.map +1 -0
  66. package/dist/curves/ecdf.d.ts +73 -0
  67. package/dist/curves/ecdf.d.ts.map +1 -0
  68. package/dist/curves/fill-between.d.ts +101 -0
  69. package/dist/curves/fill-between.d.ts.map +1 -0
  70. package/dist/curves/index.d.ts +16 -0
  71. package/dist/curves/index.d.ts.map +1 -0
  72. package/dist/curves/line-plot.d.ts +105 -0
  73. package/dist/curves/line-plot.d.ts.map +1 -0
  74. package/dist/curves/regression.d.ts +125 -0
  75. package/dist/curves/regression.d.ts.map +1 -0
  76. package/dist/curves/shared.d.ts +53 -0
  77. package/dist/curves/shared.d.ts.map +1 -0
  78. package/dist/curves/stack-plot.d.ts +141 -0
  79. package/dist/curves/stack-plot.d.ts.map +1 -0
  80. package/dist/curves/stairs.d.ts +171 -0
  81. package/dist/curves/stairs.d.ts.map +1 -0
  82. package/dist/data/channels.d.ts +171 -0
  83. package/dist/data/channels.d.ts.map +1 -0
  84. package/dist/end-space.d.ts +82 -0
  85. package/dist/end-space.d.ts.map +1 -0
  86. package/dist/entries/definitions.d.ts +21 -0
  87. package/dist/entries/definitions.d.ts.map +1 -0
  88. package/dist/entries/definitions.js +6 -0
  89. package/dist/frame/band-axis.d.ts +43 -0
  90. package/dist/frame/band-axis.d.ts.map +1 -0
  91. package/dist/frame/coords.d.ts +112 -0
  92. package/dist/frame/coords.d.ts.map +1 -0
  93. package/dist/frame/fit.d.ts +171 -0
  94. package/dist/frame/fit.d.ts.map +1 -0
  95. package/dist/frame/format.d.ts +41 -0
  96. package/dist/frame/format.d.ts.map +1 -0
  97. package/dist/frame/guide-metrics.d.ts +37 -0
  98. package/dist/frame/guide-metrics.d.ts.map +1 -0
  99. package/dist/frame/guides.d.ts +68 -0
  100. package/dist/frame/guides.d.ts.map +1 -0
  101. package/dist/frame/keys.d.ts +97 -0
  102. package/dist/frame/keys.d.ts.map +1 -0
  103. package/dist/frame/layout.d.ts +146 -0
  104. package/dist/frame/layout.d.ts.map +1 -0
  105. package/dist/frame/registry.d.ts +32 -0
  106. package/dist/frame/registry.d.ts.map +1 -0
  107. package/dist/frame/reports.d.ts +54 -0
  108. package/dist/frame/reports.d.ts.map +1 -0
  109. package/dist/frame/secondary-axes.d.ts +74 -0
  110. package/dist/frame/secondary-axes.d.ts.map +1 -0
  111. package/dist/frame/secondary.d.ts +57 -0
  112. package/dist/frame/secondary.d.ts.map +1 -0
  113. package/dist/frame/tooltip-overlay.d.ts +65 -0
  114. package/dist/frame/tooltip-overlay.d.ts.map +1 -0
  115. package/dist/frame/types.d.ts +659 -0
  116. package/dist/frame/types.d.ts.map +1 -0
  117. package/dist/grids/barbs.d.ts +52 -0
  118. package/dist/grids/barbs.d.ts.map +1 -0
  119. package/dist/grids/cell-rects.d.ts +38 -0
  120. package/dist/grids/cell-rects.d.ts.map +1 -0
  121. package/dist/grids/cells.d.ts +131 -0
  122. package/dist/grids/cells.d.ts.map +1 -0
  123. package/dist/grids/contour-f.d.ts +81 -0
  124. package/dist/grids/contour-f.d.ts.map +1 -0
  125. package/dist/grids/contour-shared.d.ts +54 -0
  126. package/dist/grids/contour-shared.d.ts.map +1 -0
  127. package/dist/grids/contour.d.ts +85 -0
  128. package/dist/grids/contour.d.ts.map +1 -0
  129. package/dist/grids/dendrogram.d.ts +105 -0
  130. package/dist/grids/dendrogram.d.ts.map +1 -0
  131. package/dist/grids/heatmap.d.ts +164 -0
  132. package/dist/grids/heatmap.d.ts.map +1 -0
  133. package/dist/grids/hex-bin.d.ts +94 -0
  134. package/dist/grids/hex-bin.d.ts.map +1 -0
  135. package/dist/grids/hist2d.d.ts +108 -0
  136. package/dist/grids/hist2d.d.ts.map +1 -0
  137. package/dist/grids/imshow.d.ts +85 -0
  138. package/dist/grids/imshow.d.ts.map +1 -0
  139. package/dist/grids/index.d.ts +27 -0
  140. package/dist/grids/index.d.ts.map +1 -0
  141. package/dist/grids/pcolormesh.d.ts +91 -0
  142. package/dist/grids/pcolormesh.d.ts.map +1 -0
  143. package/dist/grids/ramp-cells.d.ts +67 -0
  144. package/dist/grids/ramp-cells.d.ts.map +1 -0
  145. package/dist/grids/tri-contour.d.ts +121 -0
  146. package/dist/grids/tri-contour.d.ts.map +1 -0
  147. package/dist/grids/tri-shared.d.ts +62 -0
  148. package/dist/grids/tri-shared.d.ts.map +1 -0
  149. package/dist/grids/tripcolor.d.ts +74 -0
  150. package/dist/grids/tripcolor.d.ts.map +1 -0
  151. package/dist/guides/colorbar.d.ts +111 -0
  152. package/dist/guides/colorbar.d.ts.map +1 -0
  153. package/dist/guides/index.d.ts +12 -0
  154. package/dist/guides/index.d.ts.map +1 -0
  155. package/dist/guides/legend.d.ts +119 -0
  156. package/dist/guides/legend.d.ts.map +1 -0
  157. package/dist/guides/nodes.d.ts +14 -0
  158. package/dist/guides/nodes.d.ts.map +1 -0
  159. package/dist/guides/size-legend.d.ts +234 -0
  160. package/dist/guides/size-legend.d.ts.map +1 -0
  161. package/dist/hierarchy/breadcrumbs.d.ts +134 -0
  162. package/dist/hierarchy/breadcrumbs.d.ts.map +1 -0
  163. package/dist/hierarchy/circle-pack.d.ts +73 -0
  164. package/dist/hierarchy/circle-pack.d.ts.map +1 -0
  165. package/dist/hierarchy/drill.d.ts +246 -0
  166. package/dist/hierarchy/drill.d.ts.map +1 -0
  167. package/dist/hierarchy/frame.d.ts +68 -0
  168. package/dist/hierarchy/frame.d.ts.map +1 -0
  169. package/dist/hierarchy/icicle.d.ts +77 -0
  170. package/dist/hierarchy/icicle.d.ts.map +1 -0
  171. package/dist/hierarchy/index.d.ts +21 -0
  172. package/dist/hierarchy/index.d.ts.map +1 -0
  173. package/dist/hierarchy/labels.d.ts +25 -0
  174. package/dist/hierarchy/labels.d.ts.map +1 -0
  175. package/dist/hierarchy/mosaic.d.ts +131 -0
  176. package/dist/hierarchy/mosaic.d.ts.map +1 -0
  177. package/dist/hierarchy/own-tooltip.d.ts +13 -0
  178. package/dist/hierarchy/own-tooltip.d.ts.map +1 -0
  179. package/dist/hierarchy/props.d.ts +14 -0
  180. package/dist/hierarchy/props.d.ts.map +1 -0
  181. package/dist/hierarchy/sankey.d.ts +133 -0
  182. package/dist/hierarchy/sankey.d.ts.map +1 -0
  183. package/dist/hierarchy/shared.d.ts +248 -0
  184. package/dist/hierarchy/shared.d.ts.map +1 -0
  185. package/dist/hierarchy/sunburst.d.ts +75 -0
  186. package/dist/hierarchy/sunburst.d.ts.map +1 -0
  187. package/dist/hierarchy/tree.d.ts +125 -0
  188. package/dist/hierarchy/tree.d.ts.map +1 -0
  189. package/dist/hierarchy/treemap.d.ts +77 -0
  190. package/dist/hierarchy/treemap.d.ts.map +1 -0
  191. package/dist/index.d.ts +30 -0
  192. package/dist/index.d.ts.map +1 -0
  193. package/dist/index.js +5 -0
  194. package/dist/item-tooltip.d.ts +34 -0
  195. package/dist/item-tooltip.d.ts.map +1 -0
  196. package/dist/join.d.ts +224 -0
  197. package/dist/join.d.ts.map +1 -0
  198. package/dist/math/3d/bar3d.d.ts +28 -0
  199. package/dist/math/3d/bar3d.d.ts.map +1 -0
  200. package/dist/math/3d/quiver3d.d.ts +27 -0
  201. package/dist/math/3d/quiver3d.d.ts.map +1 -0
  202. package/dist/math/3d/scatter3d.d.ts +16 -0
  203. package/dist/math/3d/scatter3d.d.ts.map +1 -0
  204. package/dist/math/3d/stem3d.d.ts +23 -0
  205. package/dist/math/3d/stem3d.d.ts.map +1 -0
  206. package/dist/math/3d/surfaceGrid3d.d.ts +34 -0
  207. package/dist/math/3d/surfaceGrid3d.d.ts.map +1 -0
  208. package/dist/math/3d/trisurface.d.ts +12 -0
  209. package/dist/math/3d/trisurface.d.ts.map +1 -0
  210. package/dist/math/3d/voxels.d.ts +18 -0
  211. package/dist/math/3d/voxels.d.ts.map +1 -0
  212. package/dist/math/aggregate.d.ts +69 -0
  213. package/dist/math/aggregate.d.ts.map +1 -0
  214. package/dist/math/bar.d.ts +32 -0
  215. package/dist/math/bar.d.ts.map +1 -0
  216. package/dist/math/barLabels.d.ts +84 -0
  217. package/dist/math/barLabels.d.ts.map +1 -0
  218. package/dist/math/barbs.d.ts +37 -0
  219. package/dist/math/barbs.d.ts.map +1 -0
  220. package/dist/math/boxplot.d.ts +37 -0
  221. package/dist/math/boxplot.d.ts.map +1 -0
  222. package/dist/math/breadcrumbs.d.ts +129 -0
  223. package/dist/math/breadcrumbs.d.ts.map +1 -0
  224. package/dist/math/bubble.d.ts +39 -0
  225. package/dist/math/bubble.d.ts.map +1 -0
  226. package/dist/math/bullet.d.ts +111 -0
  227. package/dist/math/bullet.d.ts.map +1 -0
  228. package/dist/math/chord.d.ts +104 -0
  229. package/dist/math/chord.d.ts.map +1 -0
  230. package/dist/math/cluster.d.ts +89 -0
  231. package/dist/math/cluster.d.ts.map +1 -0
  232. package/dist/math/contour.d.ts +49 -0
  233. package/dist/math/contour.d.ts.map +1 -0
  234. package/dist/math/contourf.d.ts +51 -0
  235. package/dist/math/contourf.d.ts.map +1 -0
  236. package/dist/math/dodge.d.ts +37 -0
  237. package/dist/math/dodge.d.ts.map +1 -0
  238. package/dist/math/ecdf.d.ts +42 -0
  239. package/dist/math/ecdf.d.ts.map +1 -0
  240. package/dist/math/errorbar.d.ts +28 -0
  241. package/dist/math/errorbar.d.ts.map +1 -0
  242. package/dist/math/eventplot.d.ts +27 -0
  243. package/dist/math/eventplot.d.ts.map +1 -0
  244. package/dist/math/facet.d.ts +91 -0
  245. package/dist/math/facet.d.ts.map +1 -0
  246. package/dist/math/fillBetween.d.ts +29 -0
  247. package/dist/math/fillBetween.d.ts.map +1 -0
  248. package/dist/math/gauge.d.ts +72 -0
  249. package/dist/math/gauge.d.ts.map +1 -0
  250. package/dist/math/hexbin.d.ts +21 -0
  251. package/dist/math/hexbin.d.ts.map +1 -0
  252. package/dist/math/hierarchy.d.ts +180 -0
  253. package/dist/math/hierarchy.d.ts.map +1 -0
  254. package/dist/math/hierarchyJoin.d.ts +60 -0
  255. package/dist/math/hierarchyJoin.d.ts.map +1 -0
  256. package/dist/math/histogram.d.ts +37 -0
  257. package/dist/math/histogram.d.ts.map +1 -0
  258. package/dist/math/histogram2d.d.ts +45 -0
  259. package/dist/math/histogram2d.d.ts.map +1 -0
  260. package/dist/math/imshow.d.ts +27 -0
  261. package/dist/math/imshow.d.ts.map +1 -0
  262. package/dist/math/index.d.ts +140 -0
  263. package/dist/math/index.d.ts.map +1 -0
  264. package/dist/math/index.js +3 -0
  265. package/dist/math/jitter.d.ts +17 -0
  266. package/dist/math/jitter.d.ts.map +1 -0
  267. package/dist/math/join.d.ts +136 -0
  268. package/dist/math/join.d.ts.map +1 -0
  269. package/dist/math/keyframes.d.ts +128 -0
  270. package/dist/math/keyframes.d.ts.map +1 -0
  271. package/dist/math/legend.d.ts +121 -0
  272. package/dist/math/legend.d.ts.map +1 -0
  273. package/dist/math/line.d.ts +54 -0
  274. package/dist/math/line.d.ts.map +1 -0
  275. package/dist/math/morph.d.ts +82 -0
  276. package/dist/math/morph.d.ts.map +1 -0
  277. package/dist/math/mosaic.d.ts +120 -0
  278. package/dist/math/mosaic.d.ts.map +1 -0
  279. package/dist/math/ordinal.d.ts +80 -0
  280. package/dist/math/ordinal.d.ts.map +1 -0
  281. package/dist/math/parallel.d.ts +39 -0
  282. package/dist/math/parallel.d.ts.map +1 -0
  283. package/dist/math/pcolormesh.d.ts +23 -0
  284. package/dist/math/pcolormesh.d.ts.map +1 -0
  285. package/dist/math/pie.d.ts +106 -0
  286. package/dist/math/pie.d.ts.map +1 -0
  287. package/dist/math/polarArea.d.ts +35 -0
  288. package/dist/math/polarArea.d.ts.map +1 -0
  289. package/dist/math/radar.d.ts +111 -0
  290. package/dist/math/radar.d.ts.map +1 -0
  291. package/dist/math/range.d.ts +99 -0
  292. package/dist/math/range.d.ts.map +1 -0
  293. package/dist/math/regression.d.ts +110 -0
  294. package/dist/math/regression.d.ts.map +1 -0
  295. package/dist/math/reveal.d.ts +64 -0
  296. package/dist/math/reveal.d.ts.map +1 -0
  297. package/dist/math/sankey.d.ts +155 -0
  298. package/dist/math/sankey.d.ts.map +1 -0
  299. package/dist/math/scatter.d.ts +15 -0
  300. package/dist/math/scatter.d.ts.map +1 -0
  301. package/dist/math/shared/binning.d.ts +24 -0
  302. package/dist/math/shared/binning.d.ts.map +1 -0
  303. package/dist/math/shared/gridCells.d.ts +42 -0
  304. package/dist/math/shared/gridCells.d.ts.map +1 -0
  305. package/dist/math/shared/gridExtent.d.ts +6 -0
  306. package/dist/math/shared/gridExtent.d.ts.map +1 -0
  307. package/dist/math/shared/pairs.d.ts +3 -0
  308. package/dist/math/shared/pairs.d.ts.map +1 -0
  309. package/dist/math/shared/polar.d.ts +24 -0
  310. package/dist/math/shared/polar.d.ts.map +1 -0
  311. package/dist/math/stack.d.ts +70 -0
  312. package/dist/math/stack.d.ts.map +1 -0
  313. package/dist/math/stackplot.d.ts +36 -0
  314. package/dist/math/stackplot.d.ts.map +1 -0
  315. package/dist/math/stairs.d.ts +18 -0
  316. package/dist/math/stairs.d.ts.map +1 -0
  317. package/dist/math/stem.d.ts +22 -0
  318. package/dist/math/stem.d.ts.map +1 -0
  319. package/dist/math/symbol.d.ts +26 -0
  320. package/dist/math/symbol.d.ts.map +1 -0
  321. package/dist/math/tree.d.ts +118 -0
  322. package/dist/math/tree.d.ts.map +1 -0
  323. package/dist/math/tricontour.d.ts +77 -0
  324. package/dist/math/tricontour.d.ts.map +1 -0
  325. package/dist/math/violin.d.ts +100 -0
  326. package/dist/math/violin.d.ts.map +1 -0
  327. package/dist/math/waffle.d.ts +49 -0
  328. package/dist/math/waffle.d.ts.map +1 -0
  329. package/dist/math/waterfall.d.ts +29 -0
  330. package/dist/math/waterfall.d.ts.map +1 -0
  331. package/dist/math-CSHNpGej.js +3648 -0
  332. package/dist/mix.d.ts +25 -0
  333. package/dist/mix.d.ts.map +1 -0
  334. package/dist/multiview/brush.d.ts +166 -0
  335. package/dist/multiview/brush.d.ts.map +1 -0
  336. package/dist/multiview/chart-group.d.ts +266 -0
  337. package/dist/multiview/chart-group.d.ts.map +1 -0
  338. package/dist/multiview/chart-link.d.ts +189 -0
  339. package/dist/multiview/chart-link.d.ts.map +1 -0
  340. package/dist/multiview/chart-zoom.d.ts +145 -0
  341. package/dist/multiview/chart-zoom.d.ts.map +1 -0
  342. package/dist/multiview/facet.d.ts +239 -0
  343. package/dist/multiview/facet.d.ts.map +1 -0
  344. package/dist/multiview/group-guides.d.ts +100 -0
  345. package/dist/multiview/group-guides.d.ts.map +1 -0
  346. package/dist/multiview/index.d.ts +18 -0
  347. package/dist/multiview/index.d.ts.map +1 -0
  348. package/dist/multiview/joint-plot.d.ts +115 -0
  349. package/dist/multiview/joint-plot.d.ts.map +1 -0
  350. package/dist/multiview/pair-plot.d.ts +154 -0
  351. package/dist/multiview/pair-plot.d.ts.map +1 -0
  352. package/dist/multiview/panels.d.ts +23 -0
  353. package/dist/multiview/panels.d.ts.map +1 -0
  354. package/dist/multiview/parallel-coordinates.d.ts +110 -0
  355. package/dist/multiview/parallel-coordinates.d.ts.map +1 -0
  356. package/dist/points/event-plot.d.ts +68 -0
  357. package/dist/points/event-plot.d.ts.map +1 -0
  358. package/dist/points/index.d.ts +20 -0
  359. package/dist/points/index.d.ts.map +1 -0
  360. package/dist/points/labels.d.ts +71 -0
  361. package/dist/points/labels.d.ts.map +1 -0
  362. package/dist/points/links.d.ts +124 -0
  363. package/dist/points/links.d.ts.map +1 -0
  364. package/dist/points/rects.d.ts +81 -0
  365. package/dist/points/rects.d.ts.map +1 -0
  366. package/dist/points/rug.d.ts +73 -0
  367. package/dist/points/rug.d.ts.map +1 -0
  368. package/dist/points/scatter.d.ts +170 -0
  369. package/dist/points/scatter.d.ts.map +1 -0
  370. package/dist/points/segment-marks.d.ts +40 -0
  371. package/dist/points/segment-marks.d.ts.map +1 -0
  372. package/dist/points/shared.d.ts +35 -0
  373. package/dist/points/shared.d.ts.map +1 -0
  374. package/dist/points/stem.d.ts +76 -0
  375. package/dist/points/stem.d.ts.map +1 -0
  376. package/dist/points/strip.d.ts +146 -0
  377. package/dist/points/strip.d.ts.map +1 -0
  378. package/dist/points/symbol-marker.d.ts +34 -0
  379. package/dist/points/symbol-marker.d.ts.map +1 -0
  380. package/dist/points/ticks.d.ts +103 -0
  381. package/dist/points/ticks.d.ts.map +1 -0
  382. package/dist/props.d.ts +127 -0
  383. package/dist/props.d.ts.map +1 -0
  384. package/dist/radial/chord.d.ts +149 -0
  385. package/dist/radial/chord.d.ts.map +1 -0
  386. package/dist/radial/gauge.d.ts +127 -0
  387. package/dist/radial/gauge.d.ts.map +1 -0
  388. package/dist/radial/index.d.ts +16 -0
  389. package/dist/radial/index.d.ts.map +1 -0
  390. package/dist/radial/pie-chart.d.ts +144 -0
  391. package/dist/radial/pie-chart.d.ts.map +1 -0
  392. package/dist/radial/polar-area-chart.d.ts +136 -0
  393. package/dist/radial/polar-area-chart.d.ts.map +1 -0
  394. package/dist/radial/radar-chart.d.ts +177 -0
  395. package/dist/radial/radar-chart.d.ts.map +1 -0
  396. package/dist/radial/radial-bar-chart.d.ts +117 -0
  397. package/dist/radial/radial-bar-chart.d.ts.map +1 -0
  398. package/dist/radial/shared.d.ts +79 -0
  399. package/dist/radial/shared.d.ts.map +1 -0
  400. package/dist/radial/waffle.d.ts +131 -0
  401. package/dist/radial/waffle.d.ts.map +1 -0
  402. package/dist/raster.d.ts +44 -0
  403. package/dist/raster.d.ts.map +1 -0
  404. package/dist/series.d.ts +72 -0
  405. package/dist/series.d.ts.map +1 -0
  406. package/dist/src-CwGo1bes.js +19221 -0
  407. package/dist/stagger.d.ts +55 -0
  408. package/dist/stagger.d.ts.map +1 -0
  409. package/dist/statistics/box-plot.d.ts +152 -0
  410. package/dist/statistics/box-plot.d.ts.map +1 -0
  411. package/dist/statistics/error-bar.d.ts +149 -0
  412. package/dist/statistics/error-bar.d.ts.map +1 -0
  413. package/dist/statistics/groups.d.ts +141 -0
  414. package/dist/statistics/groups.d.ts.map +1 -0
  415. package/dist/statistics/index.d.ts +8 -0
  416. package/dist/statistics/index.d.ts.map +1 -0
  417. package/dist/statistics/violin-plot.d.ts +144 -0
  418. package/dist/statistics/violin-plot.d.ts.map +1 -0
  419. package/dist/text-width.d.ts +10 -0
  420. package/dist/text-width.d.ts.map +1 -0
  421. package/dist/tooltip.d.ts +277 -0
  422. package/dist/tooltip.d.ts.map +1 -0
  423. package/dist/util.d.ts +34 -0
  424. package/dist/util.d.ts.map +1 -0
  425. package/dist/voxels-9lJ2TZS4.js +235 -0
  426. package/dist/wireframe3d-D157GZAq.js +345 -0
  427. package/package.json +86 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"band.d.ts","sourceRoot":"","sources":["../src/band.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAE1E;;;;;;GAMG;AACH,wBAAgB,UAAU,CACzB,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAC/B,MAAM,GAAG,SAAS,CAMpB;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CACvB,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAC/B,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAI9B;AAED,kHAAkH;AAClH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,GAAG,OAAO,CAE7D"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * `barChart`: a one-series categorical bar chart with names underneath, as
3
+ * its own plot: a `chart` whose children are a `bars` layer, the names (an
4
+ * internal `BarNames` layer of label nodes) and the user's children.
5
+ */
6
+ import type { AxisOptions, CoordinateSystem, SceneNode } from "@sophistry/core";
7
+ import type { ColorInput } from "@sophistry/core/color";
8
+ import type { Bounds, Point, Range } from "@sophistry/core/geometry";
9
+ import type { Channel, ColorChannel } from "../data/channels";
10
+ import type { TransitionProps } from "../props";
11
+ /**
12
+ * What {@link barChartHandle} hands back: bar boxes in scene units, and the chart's coordinate system.
13
+ *
14
+ * @category Charts
15
+ */
16
+ export interface BarChartHandle {
17
+ /** How many bars there are — `data.length`. */
18
+ count(): number;
19
+ /**
20
+ * One bar's box in scene units, or null if the index is out of range. Feed it to `nextTo` or
21
+ * `surroundingRectangle` to annotate a bar.
22
+ */
23
+ barBounds(index: number): Bounds | null;
24
+ /** The chart's coordinate system: x is the slot index, y the value. */
25
+ coords: CoordinateSystem;
26
+ }
27
+ /**
28
+ * Props of {@link barChart}: `value` is required unless `data` is `number[]`.
29
+ *
30
+ * @category Charts
31
+ */
32
+ export interface BarChartProps<T = unknown> extends TransitionProps<T> {
33
+ /** One bar per datum. */
34
+ data: readonly T[];
35
+ /**
36
+ * The bar's value, in data units. Defaults to the datum when `data` is `number[]`; required
37
+ * otherwise. Negative values hang below the baseline; non-finite values leave an empty slot.
38
+ */
39
+ value?: Channel<T, number>;
40
+ /** The name drawn under each bar. Omitted, no names are drawn. */
41
+ label?: Channel<T, string>;
42
+ /** `[min, max, step?]` in data units. Omitted, fitted to the data (including 0). */
43
+ yRange?: Range;
44
+ /** Width of the plotting area. */
45
+ width: number;
46
+ /** Height of the plotting area. */
47
+ height: number;
48
+ /** Centre of the plotting area. Defaults to the origin. */
49
+ center?: Point;
50
+ /**
51
+ * Bar width as a fraction of the slot pitch.
52
+ * @default 0.6
53
+ */
54
+ barWidth?: number;
55
+ /** One colour for every bar, or `(d, i) => colour`. Wins over `colors`. */
56
+ color?: ColorChannel<T>;
57
+ /** Colours cycled across the bars by index. Defaults to the theme's categorical colours. */
58
+ colors?: readonly ColorInput[];
59
+ /**
60
+ * Fill opacity, 0..1.
61
+ * @default 0.75
62
+ */
63
+ fillOpacity?: number;
64
+ /** Outline width of every bar. */
65
+ barStrokeWidth?: number;
66
+ /**
67
+ * The value axis: `false` hides it; an object styles it and sets its ticks.
68
+ * @default true
69
+ */
70
+ yAxis?: boolean | AxisOptions;
71
+ /**
72
+ * Whether to draw the line the bars stand on.
73
+ * @default true
74
+ */
75
+ baseline?: boolean;
76
+ /**
77
+ * Font size of the bar labels.
78
+ * @default 0.28
79
+ */
80
+ labelFontSize?: number;
81
+ /**
82
+ * Gap between the baseline (or a negative bar's bottom) and its label.
83
+ * @default 0.16
84
+ */
85
+ labelGap?: number;
86
+ /**
87
+ * Reveal, 0..1: the axis, baseline and labels first, then each bar grows out of the baseline.
88
+ * @default 1
89
+ * @see https://sophistry.dev/guides/chart-animation/#reveals
90
+ */
91
+ progress?: number;
92
+ /**
93
+ * The data to transition to, bars matched by `label` (else index): they slide to their new slot
94
+ * and value; new ones grow in, removed ones shrink away. A sort is a transition to the same
95
+ * data reordered. See {@link TransitionProps}.
96
+ * @see https://sophistry.dev/guides/chart-animation/#data-transitions
97
+ */
98
+ to?: readonly T[];
99
+ /**
100
+ * Fraction of a transition's enter stage spent staggering entering bars (and their labels). See
101
+ * {@link TransitionProps}.
102
+ * @default 0
103
+ */
104
+ enterStagger?: number;
105
+ /** Paint order; higher draws later. */
106
+ zIndex?: number;
107
+ visible?: boolean;
108
+ /** Placed inside the chart's coordinate context. */
109
+ children?: readonly SceneNode[];
110
+ }
111
+ /**
112
+ * A `barChart` node's handle, as of its last
113
+ * update.
114
+ *
115
+ * @param node - A node made by {@link barChart}.
116
+ * @returns The handle, or null for a node that is not a `barChart`.
117
+ * @category Charts
118
+ */
119
+ export declare function barChartHandle(node: SceneNode): BarChartHandle | null;
120
+ /**
121
+ * A one-series categorical bar chart with names underneath, as its own plot
122
+ * sized by `width`/`height` (not inside an `axes` or `chart`). Children
123
+ * share its coordinates: slot `i` is centred at `i + 0.5`. For horizontal,
124
+ * stacked or multi-layer bars use a `chart` with {@link bars}, which this is
125
+ * built from.
126
+ *
127
+ * @example
128
+ * ```ts
129
+ * import { createScene } from "@sophistry/core";
130
+ * import { barChart } from "@sophistry/charts";
131
+ *
132
+ * const scene = createScene({ host: document.querySelector("#figure")!, units: 10 });
133
+ * const sales = [
134
+ * { quarter: "Q1", units: 120 },
135
+ * { quarter: "Q2", units: 90 },
136
+ * ];
137
+ * scene.add(barChart.create({ data: sales, value: "units", label: "quarter", width: 8, height: 4 }));
138
+ * ```
139
+ *
140
+ * @see https://sophistry.dev/reference/chart-catalogue/#bars
141
+ * @category Charts
142
+ */
143
+ export declare const barChart: import("@sophistry/core").Definition<BarChartProps<any>, import("@sophistry/core/internal").CompositeNode<BarChartProps<any>>, keyof BarChartProps<any>>;
144
+ //# sourceMappingURL=bar-chart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"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EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACxB,4FAA4F;IAC5F,MAAM,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CAChC;AAmBD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc,GAAG,IAAI,CAYrE;AA+FD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,QAAQ,0JAsDnB,CAAC"}
@@ -0,0 +1,117 @@
1
+ /**
2
+ * `bars` `labels`: what each bar's value label and its stack's total write,
3
+ * where they sit (past the bar's growing end, or inside it when it fits),
4
+ * and the label props that draw them. Pure: `bars` builds one entry per
5
+ * label on each update and keeps the label nodes in a keyed list.
6
+ */
7
+ import type { CoordinateSystem, LabelProps } from "@sophistry/core";
8
+ import type { ColorInput } from "@sophistry/core/color";
9
+ import type { Bounds, TickFormatterSpec } from "@sophistry/core/geometry";
10
+ import type { Theme } from "@sophistry/core/themes";
11
+ import type { Channel, ChannelFn } from "../data/channels";
12
+ /**
13
+ * Where `bars` `labels` are written and how.
14
+ *
15
+ * @category Charts
16
+ */
17
+ export interface BarLabelOptions<T> {
18
+ /**
19
+ * Where each bar's label goes: `"inside"` centred in the bar (or its stacked segment), `"edge"`
20
+ * just past its end, `"none"` for no per-bar labels (e.g. only `total`).
21
+ * @default "inside"
22
+ */
23
+ position?: "inside" | "edge" | "none";
24
+ /** Your own text, a key of `T` or `(d, i) => string`, instead of the number. */
25
+ text?: Channel<T, string>;
26
+ /**
27
+ * How the number is written: a format string (`",.0f"`, `".1%"`), a built-in name (`"percent"`,
28
+ * `"si"`) or a function. Applies to totals too; under `offset="normalize"` segments show their
29
+ * share as a percent.
30
+ */
31
+ format?: TickFormatterSpec;
32
+ /**
33
+ * With `layout="stack"`, write each stack's total just past its end.
34
+ * @default false
35
+ */
36
+ total?: boolean;
37
+ /**
38
+ * Whether an inside label that doesn't fit its bar is hidden or drawn anyway.
39
+ * @default "hide"
40
+ */
41
+ overflow?: "hide" | "show";
42
+ /**
43
+ * Text colour. Defaults to the theme foreground outside the bar, and to whichever of foreground or
44
+ * background reads better on the fill inside it.
45
+ */
46
+ color?: ColorInput;
47
+ /**
48
+ * Gap in scene units between an edge label and the bar's end (inside: the room kept from each
49
+ * edge). Defaults to 0.08 (0.04 inside).
50
+ */
51
+ offset?: number;
52
+ }
53
+ /** The label settings every bar of a `bars` shares, for one update. */
54
+ export interface BarLabels<T> {
55
+ /** `labels` as options: undefined for `true` and a channel (the edge labels). */
56
+ options: BarLabelOptions<T> | undefined;
57
+ /** The custom text channel, if any. */
58
+ custom: ChannelFn<T, string> | undefined;
59
+ vertical: boolean;
60
+ /** Where each bar's own label goes. */
61
+ position: "inside" | "edge" | "none";
62
+ fontSize: number;
63
+ fontFamily: string;
64
+ /** A number as labels write it: the `format`, else a normalized share as a percent, else with `rest`'s decimal places. */
65
+ writeNumber(shown: number, rest: number, share: boolean): string;
66
+ }
67
+ /** Reads `bars`' label props into the settings every bar shares. */
68
+ export declare function barLabelSettings<T>(spec: {
69
+ labels: boolean | Channel<T, string> | BarLabelOptions<T> | undefined;
70
+ labelFontSize: number | undefined;
71
+ vertical: boolean;
72
+ coords: CoordinateSystem;
73
+ theme: Theme;
74
+ /** Whether the bars are a normalized stack (shares, written as percents). */
75
+ normalized: boolean;
76
+ }): BarLabels<T>;
77
+ /** What one bar's labels read from it on one frame. */
78
+ export interface BarLabelState<T> {
79
+ key: unknown;
80
+ datum: T;
81
+ index: number;
82
+ /** The value `labels={true}` writes. */
83
+ value: number;
84
+ /** The number option labels write: `value`, or a normalized segment's share. */
85
+ share: number;
86
+ /** Its stack's total when it carries it, else undefined. */
87
+ total: number | undefined;
88
+ /** 0..1: how present the bar is while entering or leaving. */
89
+ presence: number;
90
+ /** The bar as drawn, and at full length on this frame. */
91
+ grown: Bounds;
92
+ rest: Bounds | null;
93
+ /** The bar's fade (1 when opaque). */
94
+ opacity: number;
95
+ /** The bar's reveal, 0..1. */
96
+ t: number;
97
+ /** A number counted up with the bar's reveal. */
98
+ counted(value: number): number;
99
+ color: string;
100
+ /** True when the bar runs down (or left) from its foot. */
101
+ backward: boolean;
102
+ fillOpacity: number;
103
+ }
104
+ /** One label to draw: its key in the list and its props. */
105
+ export interface BarLabelEntry {
106
+ key: string;
107
+ props: LabelProps;
108
+ }
109
+ /**
110
+ * One bar's edge label, inside label and stack total, as label props placed
111
+ * on its box. Appends to `out`.
112
+ */
113
+ export declare function barLabelEntries<T>(labels: BarLabels<T>, own: BarLabelState<T>, theme: Theme, layer: {
114
+ zIndex: number | undefined;
115
+ visible: boolean | undefined;
116
+ }, out: BarLabelEntry[]): void;
117
+ //# sourceMappingURL=bar-labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bar-labels.d.ts","sourceRoot":"","sources":["../../src/bars/bar-labels.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE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AGG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAChC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,EACpB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,EACrB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE;IAAE,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,EACnE,GAAG,EAAE,aAAa,EAAE,GAClB,IAAI,CAqEN"}
@@ -0,0 +1,224 @@
1
+ /**
2
+ * `bars`: bars on a categorical axis, one per datum, drawn as one instances
3
+ * node of `rect`s; their value labels are label nodes in a keyed list.
4
+ *
5
+ * Follows the per-datum mark steps of `points/scatter.ts`, with the bar's
6
+ * own pieces:
7
+ *
8
+ * - each dataset becomes a {@link BarSide} (categories, values, bases,
9
+ * sub-bands, stacks, totals), cached by its inputs, so a frame of a
10
+ * reveal or a blend reuses it;
11
+ * - the keyed join (`createKeyedData`) pairs bars across `data` and `to`;
12
+ * a bar in both slides to its new band and value, a bar only in `to`
13
+ * grows out of its foot, one only in `data` shrinks into it (or fades
14
+ * when it can't shrink); mid axis-kind swap each end draws through its
15
+ * own plot and the boxes blend in scene units;
16
+ * - the reveal scales each box off its foot (`"grow"`), about zero
17
+ * (`"stack"`), or fades it (`"fade"`, or on an axis without zero). It
18
+ * is geometry and per-item opacity, so it batches; a bar not started is
19
+ * left out of the batch.
20
+ */
21
+ import type { SceneNode } from "@sophistry/core";
22
+ import type { ColorInput } from "@sophistry/core/color";
23
+ import type { BandKey, Bounds } from "@sophistry/core/geometry";
24
+ import type { MarkTransition } from "../batch";
25
+ import type { Channel, ColorChannel } from "../data/channels";
26
+ import type { StackOffset } from "../math/stack";
27
+ import type { BarReveal, KeyedTransitionProps, RevealProps, StaggerOrder } from "../props";
28
+ import type { TooltipSpec } from "../tooltip";
29
+ import type { BarLabelOptions } from "./bar-labels";
30
+ import type { StackOptions } from "./transforms";
31
+ /**
32
+ * What {@link barsHandle} hands back.
33
+ *
34
+ * @category Charts
35
+ */
36
+ export interface BarsHandle {
37
+ /** How many bars there are — `data.length`. */
38
+ count(): number;
39
+ /**
40
+ * One bar's full-height box in scene units, or null if the index is out of range, its value is not
41
+ * finite, or its category is not on the axis.
42
+ */
43
+ barBounds(index: number): Bounds | null;
44
+ }
45
+ /**
46
+ * Props of {@link bars}: `value` is required unless `data` is `number[]`.
47
+ *
48
+ * @category Charts
49
+ */
50
+ export interface BarsProps<T = unknown> extends KeyedTransitionProps<T>, RevealProps {
51
+ /** One bar per datum. */
52
+ data: readonly T[];
53
+ /** The bar's category: which band it stands in. Defaults to the datum's index. */
54
+ category?: Channel<T, BandKey>;
55
+ /**
56
+ * The bar's value, in data units. Defaults to the datum itself when `data` is `number[]`; required
57
+ * otherwise. Non-finite values leave the band empty.
58
+ */
59
+ value?: Channel<T, number>;
60
+ /**
61
+ * `"vertical"` stands bars on a categorical x axis; `"horizontal"` lays them along a categorical y
62
+ * axis.
63
+ * @default "vertical"
64
+ */
65
+ orientation?: "vertical" | "horizontal";
66
+ /**
67
+ * The series each bar belongs to: colours the bars through the chart's shared colour scale and
68
+ * legend, and is what `layout` stacks or dodges.
69
+ */
70
+ series?: Channel<T, BandKey>;
71
+ /**
72
+ * Each bar's identity across data changes and transitions. See {@link KeyedTransitionProps}.
73
+ * Defaults to the datum's place within its `series`, else its index.
74
+ */
75
+ key?: Channel<T, BandKey>;
76
+ /**
77
+ * How bars sharing a category are arranged: `"overlay"` each fills its band (or `subband`) from
78
+ * its `base`; `"stack"` end to end by series (negative values stack down; replaces `base`);
79
+ * `"dodge"` side by side, one sub-band per series (replaces `subband`). Without a `series`, bars
80
+ * are told apart by their order.
81
+ * @default "overlay"
82
+ */
83
+ layout?: "overlay" | "stack" | "dodge";
84
+ /**
85
+ * With `layout="stack"`: `"zero"` or `"normalize"` (shares of the total). See {@link StackOffset}.
86
+ * @default "zero"
87
+ */
88
+ offset?: StackOffset;
89
+ /**
90
+ * With `layout="stack"`: which series sits at the bottom: `"appearance"`, `"reverse"`, `"sum"`,
91
+ * `"insideOut"`, or the series keys bottom to top.
92
+ * @default "appearance"
93
+ */
94
+ order?: StackOptions<T>["order"];
95
+ /** One colour for every bar, or `(d, i) => colour`. Wins over `colors` and `series`. */
96
+ color?: ColorChannel<T>;
97
+ /**
98
+ * Colours cycled across the bars by index. Wins over `series`. Defaults to the theme's
99
+ * categorical colours.
100
+ */
101
+ colors?: readonly ColorInput[];
102
+ /**
103
+ * Fill opacity, 0..1.
104
+ * @default 0.75
105
+ */
106
+ fillOpacity?: number;
107
+ /** Outline width. */
108
+ strokeWidth?: number;
109
+ /**
110
+ * Where each bar starts, in data units, for floating bars (Gantt spans, waterfall steps). Omitted,
111
+ * bars start at the baseline and the chart keeps zero in view.
112
+ */
113
+ base?: Channel<T, number>;
114
+ /**
115
+ * The part `[from, to]` of the category's band the bar fills, as fractions (what {@link dodge}
116
+ * writes). Omitted, the bar fills its band.
117
+ */
118
+ subband?: Channel<T, readonly [number, number]>;
119
+ /**
120
+ * How `progress` reveals the bars: `"grow"` out of their foot, `"stack"` the whole stack scaled
121
+ * about zero together, `"fade"` in at full length. With no zero on the value axis (log or
122
+ * truncated), bars fade. Defaults to `"grow"` (`"stack"` under `layout="stack"`).
123
+ * @see https://sophistry.dev/guides/chart-animation/#reveals
124
+ */
125
+ reveal?: BarReveal;
126
+ /**
127
+ * Value labels: `true` writes each bar's number past its end, a channel writes your own text, and
128
+ * {@link BarLabelOptions} places and formats them.
129
+ * @default false
130
+ */
131
+ labels?: boolean | Channel<T, string> | BarLabelOptions<T>;
132
+ /**
133
+ * Font size of `labels`.
134
+ * @default 0.24
135
+ */
136
+ labelFontSize?: number;
137
+ /**
138
+ * Reveal, 0..1: every bar grows out of its baseline (or `base`).
139
+ * @default 1
140
+ * @see https://sophistry.dev/guides/chart-animation/#reveals
141
+ */
142
+ progress?: number;
143
+ /**
144
+ * Fraction of the reveal spent staggering bar after bar, in category order, 0..0.95.
145
+ * @default 0
146
+ */
147
+ stagger?: number;
148
+ /**
149
+ * The order `stagger` reveals bars in. See {@link StaggerOrder}.
150
+ * @default "position"
151
+ */
152
+ staggerOrder?: StaggerOrder;
153
+ /**
154
+ * Fraction of a transition's enter stage spent staggering entering bars, in `staggerOrder`. See
155
+ * {@link TransitionProps}.
156
+ * @default 0
157
+ */
158
+ enterStagger?: number;
159
+ /**
160
+ * The data to transition to, matched to `data` by `key`: bars slide to their new band and value;
161
+ * new ones grow from their foot, removed ones shrink into it. See {@link KeyedTransitionProps}.
162
+ * @see https://sophistry.dev/guides/chart-animation/#data-transitions
163
+ */
164
+ to?: readonly T[];
165
+ /**
166
+ * Hover tooltip: `true` for a row per channel (`category`, `series`, `value`), or a template,
167
+ * function or options. See {@link TooltipSpec}.
168
+ */
169
+ tooltip?: TooltipSpec<T>;
170
+ /**
171
+ * How bars move when `data` changes (outside a `to` blend): a tween or a
172
+ * spring in the node's tween bank; new bars grow out of their foot,
173
+ * removed ones shrink into it. Omitted, data changes are instant.
174
+ */
175
+ transition?: MarkTransition;
176
+ /**
177
+ * Paint order; higher draws later. The bars paint at `zIndex + UNDER_AXES_Z_INDEX` (above the
178
+ * grid, under the axis they stand on), their labels at `zIndex`.
179
+ * @default 0
180
+ */
181
+ zIndex?: number;
182
+ visible?: boolean;
183
+ }
184
+ /**
185
+ * A `bars` node's handle: the bar count and each
186
+ * bar's full-height box as of its last update.
187
+ *
188
+ * @param node - A node made by {@link bars}.
189
+ * @returns The handle, or null for a node that is not a `bars`.
190
+ * @category Charts
191
+ */
192
+ export declare function barsHandle(node: SceneNode): BarsHandle | null;
193
+ /**
194
+ * Bars on a categorical axis, inside a `chart`: the one bar mark behind
195
+ * grouped, stacked, normalized, diverging and floating bar charts. Give it
196
+ * a `series` and a `layout` (or feed it {@link stack} / {@link dodge}
197
+ * output) for multi-series bars. Drawn as one instances node of rects:
198
+ * hover and tooltips resolve per bar (`event.key` is the bar's key), and
199
+ * `transition` tweens or springs bars to new data. `to` + `blend` is the
200
+ * seekable keyed transition.
201
+ *
202
+ * @example
203
+ * ```ts
204
+ * import { bars, chart } from "@sophistry/charts";
205
+ *
206
+ * const sales = [
207
+ * { quarter: "Q1", region: "north", units: 3 },
208
+ * { quarter: "Q1", region: "south", units: 5 },
209
+ * { quarter: "Q2", region: "north", units: 4 },
210
+ * { quarter: "Q2", region: "south", units: 2 },
211
+ * ];
212
+ * chart.create({
213
+ * width: 6,
214
+ * height: 4,
215
+ * legendTitle: "Region",
216
+ * children: [bars.create({ data: sales, category: "quarter", value: "units", series: "region", layout: "stack" })],
217
+ * });
218
+ * ```
219
+ *
220
+ * @see https://sophistry.dev/reference/chart-catalogue/#bars
221
+ * @category Charts
222
+ */
223
+ export declare const bars: import("@sophistry/core").Definition<BarsProps<any>, import("@sophistry/core/internal").CompositeNode<BarsProps<any>>, keyof BarsProps<any>>;
224
+ //# sourceMappingURL=bars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bars.d.ts","sourceRoot":"","sources":["../../src/bars/bars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAIX,SAAS,EACT,MAAM,iBAAiB,CAAC;AAQzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAa,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAE3E,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1D,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAY,MAAM,kBAAkB,CAAC;AAoBxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EAEX,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,MAAM,UAAU,CAAC;AAIlB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,KAAK,EAAiB,eAAe,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AC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;IAC3D;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AA+FD;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,IAAI,CAE7D;AAulBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,IAAI,8IAyEf,CAAC"}
@@ -0,0 +1,158 @@
1
+ /**
2
+ * `bullet`: one measure against a target and qualitative ranges per row,
3
+ * drawn in scene units (no `chart`). The qualitative bands, the measure bars
4
+ * and the target markers are three instances nodes of `rect`s (they paint
5
+ * at three depths); titles and tick numbers are label nodes.
6
+ *
7
+ * The tooltip overlay is the chart frame's; until a shared one exists,
8
+ * `bullet` keeps its own tooltip state (the bars' handlers show and hide
9
+ * it) and draws no panel.
10
+ */
11
+ import type { SceneNode } from "@sophistry/core";
12
+ import type { ColorInput } from "@sophistry/core/color";
13
+ import type { Point } from "@sophistry/core/geometry";
14
+ import type { Channel, ColorChannel, Quantity } from "../data/channels";
15
+ import type { TooltipSpec, TooltipState } from "../tooltip";
16
+ /**
17
+ * Props of {@link bullet}: `value` is required unless `data` is `number[]`.
18
+ *
19
+ * @category Charts
20
+ */
21
+ export interface BulletProps<T = unknown> {
22
+ /** One bullet per datum, stacked top-down in data order. */
23
+ data: readonly T[];
24
+ /**
25
+ * The featured measure. Defaults to the datum when `data` is `number[]`; required otherwise. A
26
+ * non-finite value draws no bar.
27
+ */
28
+ value?: Channel<T, number>;
29
+ /** The comparative measure, drawn as a short perpendicular line. Omitted, no marker. */
30
+ target?: Channel<T, number>;
31
+ /**
32
+ * Qualitative thresholds, ascending, each where a band ends: `[150, 225, 300]` reads poor /
33
+ * satisfactory / good. The last band runs to the end of the scale.
34
+ */
35
+ ranges?: Channel<T, readonly number[]>;
36
+ /** The row's title, right-aligned to the left of its scale. */
37
+ label?: Channel<T, string>;
38
+ /**
39
+ * Where a row's scale starts, in data units: a number or a channel. Defaults to 0 (or below the
40
+ * smallest value when one is negative).
41
+ */
42
+ min?: Quantity<T>;
43
+ /**
44
+ * Where a row's scale ends, in data units: a number or a channel. Defaults to the largest of
45
+ * the row's value, target and thresholds.
46
+ */
47
+ max?: Quantity<T>;
48
+ /**
49
+ * Give every row the same scale instead of its own (use when rows measure the same thing).
50
+ * @default false
51
+ */
52
+ sharedScale?: boolean;
53
+ /**
54
+ * Round default scale ends out to tick values.
55
+ * @default true
56
+ */
57
+ nice?: boolean;
58
+ /** Width of the chart, titles included. */
59
+ width: number;
60
+ /** Height of the chart; each row gets an equal slot. */
61
+ height: number;
62
+ /** Centre of the chart. Defaults to the origin. */
63
+ center?: Point;
64
+ /**
65
+ * Width kept for the titles. Defaults to the widest title plus a gap, at most 45% of `width`.
66
+ */
67
+ labelWidth?: number;
68
+ /**
69
+ * Colour of the measure bar, constant or `(d, i) => colour`. Defaults to the theme's first
70
+ * series colour.
71
+ */
72
+ color?: ColorChannel<T>;
73
+ /**
74
+ * One colour per band, worst first. Defaults to graded greys from background toward foreground,
75
+ * the worst band strongest.
76
+ */
77
+ rangeColors?: readonly ColorInput[];
78
+ /** Colour of the target marker. Defaults to the theme's foreground. */
79
+ targetColor?: ColorInput;
80
+ /**
81
+ * Thickness of the measure bar, as a fraction of the band's.
82
+ * @default 1/3
83
+ */
84
+ barSize?: number;
85
+ /**
86
+ * Gap between rows, as a fraction of a row's slot.
87
+ * @default 0.35
88
+ */
89
+ padding?: number;
90
+ /**
91
+ * Write tick numbers under each row's scale.
92
+ * @default true
93
+ */
94
+ ticks?: boolean;
95
+ /**
96
+ * Title font size.
97
+ * @default 0.24
98
+ */
99
+ labelFontSize?: number;
100
+ /**
101
+ * Tick-number font size.
102
+ * @default 0.16
103
+ */
104
+ tickFontSize?: number;
105
+ /**
106
+ * Reveal, 0..1: bands, titles and ticks fade in first; then each row's bar grows from zero and
107
+ * its target draws in, rows staggered top-down.
108
+ * @default 1
109
+ * @see https://sophistry.dev/guides/chart-animation/#reveals
110
+ */
111
+ progress?: number;
112
+ /**
113
+ * Fraction of the data reveal spent staggering row after row, 0..0.95.
114
+ * @default 0.3
115
+ */
116
+ stagger?: number;
117
+ /** Hover tooltip on the bar: `true` for "label: value (target T)", or `(d, i) => string`. */
118
+ tooltip?: TooltipSpec<T>;
119
+ /** Paint order; higher draws later. */
120
+ zIndex?: number;
121
+ visible?: boolean;
122
+ }
123
+ /**
124
+ * A bullet chart: one measure against a target and qualitative ranges per
125
+ * row, a compact dashboard KPI that stacks into a table. Each row gets its
126
+ * own scale unless `sharedScale`. Draws in scene units; needs no `chart`.
127
+ *
128
+ * @example
129
+ * ```ts
130
+ * import { createScene } from "@sophistry/core";
131
+ * import { bullet } from "@sophistry/charts";
132
+ *
133
+ * const scene = createScene({ host: document.querySelector("#figure")!, units: 10 });
134
+ * scene.add(
135
+ * bullet.create({
136
+ * data: [{ name: "Revenue", value: 270, target: 250, ranges: [150, 225, 300] }],
137
+ * value: "value",
138
+ * target: "target",
139
+ * ranges: "ranges",
140
+ * label: "name",
141
+ * width: 8,
142
+ * height: 1.5,
143
+ * }),
144
+ * );
145
+ * ```
146
+ *
147
+ * @see https://sophistry.dev/reference/chart-catalogue/#gauges-bullets-waffles-mosaics-and-radial-bars
148
+ * @category Charts
149
+ */
150
+ export declare const bullet: import("@sophistry/core").Definition<BulletProps<any>, import("@sophistry/core/internal").CompositeNode<BulletProps<any>>, keyof BulletProps<any>>;
151
+ /**
152
+ * A `bullet` node's tooltip state (what its bars show on hover), for an
153
+ * overlay to bind to; null for a node that is not a `bullet`.
154
+ *
155
+ * @category Charts
156
+ */
157
+ export declare function bulletTooltip(node: SceneNode): TooltipState | null;
158
+ //# sourceMappingURL=bullet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bullet.d.ts","sourceRoot":"","sources":["../../src/bars/bullet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAIX,SAAS,EACT,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAWtD,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAaxE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAyB5D;;;;GAIG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACvC,4DAA4D;IAC5D,IAAI,EAAE,SAAS,CAAC,EAAE,CAAC;IAC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