@carbon/charts 1.8.0 → 1.9.0-next.1.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 (972) hide show
  1. package/CHANGELOG.md +84 -155
  2. package/README.md +17 -21
  3. package/dist/_baseEach-603421de.mjs +21 -0
  4. package/dist/_baseEach-603421de.mjs.map +1 -0
  5. package/dist/_baseEach-cdac417f.js +2 -0
  6. package/dist/_baseEach-cdac417f.js.map +1 -0
  7. package/dist/a11y-7bad4f48.mjs +5 -0
  8. package/dist/a11y-7bad4f48.mjs.map +1 -0
  9. package/dist/a11y-c7c9d087.js +2 -0
  10. package/dist/a11y-c7c9d087.js.map +1 -0
  11. package/dist/angle-utils-6f166b40.js +2 -0
  12. package/dist/angle-utils-6f166b40.js.map +1 -0
  13. package/dist/angle-utils-8b6ce998.mjs +387 -0
  14. package/dist/angle-utils-8b6ce998.mjs.map +1 -0
  15. package/dist/axis-chart.d.ts +13 -0
  16. package/dist/chart.d.ts +18 -0
  17. package/dist/charts/alluvial.d.ts +10 -0
  18. package/dist/charts/area-stacked.d.ts +8 -0
  19. package/dist/charts/area.d.ts +8 -0
  20. package/dist/charts/bar-grouped.d.ts +8 -0
  21. package/dist/charts/bar-simple.d.ts +8 -0
  22. package/dist/charts/bar-stacked.d.ts +8 -0
  23. package/dist/charts/boxplot.d.ts +10 -0
  24. package/dist/charts/bubble.d.ts +8 -0
  25. package/dist/charts/bullet.d.ts +10 -0
  26. package/dist/charts/choropleth.d.ts +14 -0
  27. package/dist/charts/circle-pack.d.ts +10 -0
  28. package/dist/charts/combo.d.ts +9 -0
  29. package/dist/charts/donut.d.ts +8 -0
  30. package/dist/charts/gauge.d.ts +10 -0
  31. package/dist/charts/heatmap.d.ts +14 -0
  32. package/dist/charts/histogram.d.ts +10 -0
  33. package/dist/charts/index.d.ts +27 -0
  34. package/dist/charts/line.d.ts +8 -0
  35. package/dist/charts/lollipop.d.ts +8 -0
  36. package/dist/charts/meter.d.ts +10 -0
  37. package/dist/charts/pie.d.ts +10 -0
  38. package/dist/charts/radar.d.ts +10 -0
  39. package/dist/charts/scatter.d.ts +8 -0
  40. package/dist/charts/tree.d.ts +10 -0
  41. package/dist/charts/treemap.d.ts +10 -0
  42. package/dist/charts/wordcloud.d.ts +10 -0
  43. package/dist/choropleth-4ac6ac20.js +82 -0
  44. package/dist/choropleth-4ac6ac20.js.map +1 -0
  45. package/dist/choropleth-f473ea0d.mjs +7997 -0
  46. package/dist/choropleth-f473ea0d.mjs.map +1 -0
  47. package/dist/color-scale-utils-5eb3eeaa.mjs +3809 -0
  48. package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -0
  49. package/dist/color-scale-utils-7d463811.js +3 -0
  50. package/dist/color-scale-utils-7d463811.js.map +1 -0
  51. package/dist/components/axes/axis.d.ts +24 -0
  52. package/dist/components/axes/chart-clip.d.ts +13 -0
  53. package/dist/components/axes/grid-brush.d.ts +10 -0
  54. package/dist/components/axes/grid.d.ts +22 -0
  55. package/dist/components/axes/index.d.ts +12 -0
  56. package/dist/components/axes/ruler-binned.d.ts +10 -0
  57. package/dist/components/axes/ruler.d.ts +30 -0
  58. package/dist/components/axes/toolbar.d.ts +40 -0
  59. package/dist/components/axes/two-dimensional-axes.d.ts +16 -0
  60. package/dist/components/axes/zero-line.d.ts +7 -0
  61. package/dist/components/axes/zoom-bar.d.ts +31 -0
  62. package/dist/components/component.d.ts +30 -0
  63. package/dist/components/diagrams/buildPaths.d.ts +40 -0
  64. package/dist/components/diagrams/index.d.ts +2 -0
  65. package/dist/components/essentials/canvas-chart-clip.d.ts +6 -0
  66. package/dist/components/essentials/color-scale-legend.d.ts +20 -0
  67. package/dist/components/essentials/geo-projection.d.ts +16 -0
  68. package/dist/components/essentials/highlights.d.ts +13 -0
  69. package/dist/components/essentials/index.d.ts +11 -0
  70. package/dist/components/essentials/legend.d.ts +11 -0
  71. package/dist/components/essentials/modal.d.ts +14 -0
  72. package/dist/components/essentials/threshold.d.ts +20 -0
  73. package/dist/components/essentials/title-meter.d.ts +30 -0
  74. package/dist/components/essentials/title.d.ts +20 -0
  75. package/dist/components/essentials/tooltip.d.ts +22 -0
  76. package/dist/components/graphs/alluvial.d.ts +14 -0
  77. package/dist/components/graphs/area-stacked.d.ts +11 -0
  78. package/dist/components/graphs/area.d.ts +12 -0
  79. package/dist/components/graphs/bar-grouped.d.ts +22 -0
  80. package/dist/components/graphs/bar-simple.d.ts +12 -0
  81. package/dist/components/graphs/bar-stacked.d.ts +13 -0
  82. package/dist/components/graphs/bar.d.ts +5 -0
  83. package/dist/components/graphs/boxplot.d.ts +9 -0
  84. package/dist/components/graphs/bubble.d.ts +13 -0
  85. package/dist/components/graphs/bullet.d.ts +12 -0
  86. package/dist/components/graphs/choropleth.d.ts +6 -0
  87. package/dist/components/graphs/circle-pack.d.ts +19 -0
  88. package/dist/components/graphs/donut.d.ts +9 -0
  89. package/dist/components/graphs/gauge.d.ts +27 -0
  90. package/dist/components/graphs/heatmap.d.ts +25 -0
  91. package/dist/components/graphs/histogram.d.ts +12 -0
  92. package/dist/components/graphs/index.d.ts +28 -0
  93. package/dist/components/graphs/line.d.ts +11 -0
  94. package/dist/components/graphs/lollipop.d.ts +14 -0
  95. package/dist/components/graphs/meter.d.ts +10 -0
  96. package/dist/components/graphs/pie.d.ts +16 -0
  97. package/dist/components/graphs/radar.d.ts +25 -0
  98. package/dist/components/graphs/scatter-stacked.d.ts +8 -0
  99. package/dist/components/graphs/scatter.d.ts +21 -0
  100. package/dist/components/graphs/skeleton-lines.d.ts +12 -0
  101. package/dist/components/graphs/skeleton.d.ts +23 -0
  102. package/dist/components/graphs/tree.d.ts +9 -0
  103. package/dist/components/graphs/treemap.d.ts +11 -0
  104. package/dist/components/graphs/wordcloud.d.ts +12 -0
  105. package/dist/components/index.d.ts +6 -0
  106. package/dist/components/index.js +2 -0
  107. package/dist/components/index.js.map +1 -0
  108. package/dist/components/index.mjs +76 -0
  109. package/dist/components/index.mjs.map +1 -0
  110. package/dist/components/layout/index.d.ts +2 -0
  111. package/dist/components/layout/layout.d.ts +18 -0
  112. package/dist/components/layout/spacer.d.ts +5 -0
  113. package/dist/configuration-non-customizable.d.ts +263 -0
  114. package/dist/configuration.d.ts +48 -0
  115. package/dist/demo/charts/alluvial.d.ts +109 -0
  116. package/dist/demo/charts/area.d.ts +224 -0
  117. package/dist/demo/charts/bar.d.ts +681 -0
  118. package/dist/demo/charts/boxplot.d.ts +34 -0
  119. package/dist/demo/charts/bubble.d.ts +141 -0
  120. package/dist/demo/charts/bullet.d.ts +24 -0
  121. package/dist/demo/charts/chart-types.d.ts +128 -0
  122. package/dist/demo/charts/choropleth.d.ts +738 -0
  123. package/dist/demo/charts/circle-pack.d.ts +91 -0
  124. package/dist/demo/charts/combo.d.ts +482 -0
  125. package/dist/demo/charts/donut.d.ts +64 -0
  126. package/dist/demo/charts/gauge.d.ts +40 -0
  127. package/dist/demo/charts/heatmap.d.ts +125 -0
  128. package/dist/demo/charts/hightlight.d.ts +40 -0
  129. package/dist/demo/charts/histogram.d.ts +63 -0
  130. package/dist/demo/charts/index.d.ts +62 -0
  131. package/dist/demo/charts/line.d.ts +361 -0
  132. package/dist/demo/charts/lollipop.d.ts +39 -0
  133. package/dist/demo/charts/meter.d.ts +95 -0
  134. package/dist/demo/charts/pie.d.ts +46 -0
  135. package/dist/demo/charts/radar.d.ts +63 -0
  136. package/dist/demo/charts/scatter.d.ts +118 -0
  137. package/dist/demo/charts/step.d.ts +96 -0
  138. package/dist/demo/charts/time-series-axis.d.ts +293 -0
  139. package/dist/demo/charts/toolbar.d.ts +12 -0
  140. package/dist/demo/charts/topojson-110.d.ts +360 -0
  141. package/dist/demo/charts/tree.d.ts +30 -0
  142. package/dist/demo/charts/treemap.d.ts +15 -0
  143. package/dist/demo/charts/wordcloud.d.ts +14 -0
  144. package/dist/demo/charts/zoom-bar.d.ts +79 -0
  145. package/dist/demo/index.d.ts +4 -0
  146. package/dist/demo/index.js +470 -0
  147. package/dist/demo/index.js.map +1 -0
  148. package/dist/demo/index.mjs +51791 -0
  149. package/dist/demo/index.mjs.map +1 -0
  150. package/dist/demo/styles.css +30567 -0
  151. package/dist/demo/styles.css.map +1 -0
  152. package/dist/demo/utils/index.d.ts +2 -0
  153. package/dist/demo/utils/sandbox.d.ts +39 -0
  154. package/dist/demo/utils/story-widgets.d.ts +7 -0
  155. package/dist/enums-a96ef472.mjs +89 -0
  156. package/dist/enums-a96ef472.mjs.map +1 -0
  157. package/dist/enums-aa2efd99.js +2 -0
  158. package/dist/enums-aa2efd99.js.map +1 -0
  159. package/dist/index-822564ed.js +2 -0
  160. package/dist/index-822564ed.js.map +1 -0
  161. package/dist/index-a266373c.mjs +749 -0
  162. package/dist/index-a266373c.mjs.map +1 -0
  163. package/dist/index-becfb567.mjs +72 -0
  164. package/dist/index-becfb567.mjs.map +1 -0
  165. package/dist/index-d865d500.js +2 -0
  166. package/dist/index-d865d500.js.map +1 -0
  167. package/dist/index-ec554115.mjs +62 -0
  168. package/dist/index-ec554115.mjs.map +1 -0
  169. package/dist/index-f23685eb.js +2 -0
  170. package/dist/index-f23685eb.js.map +1 -0
  171. package/dist/index.d.ts +13 -0
  172. package/dist/index.js +2 -0
  173. package/dist/index.js.map +1 -0
  174. package/dist/index.mjs +1121 -0
  175. package/dist/index.mjs.map +1 -0
  176. package/dist/interfaces/axis-scales.d.ts +201 -0
  177. package/dist/interfaces/charts.d.ts +520 -0
  178. package/dist/interfaces/components.d.ts +231 -0
  179. package/dist/interfaces/index.d.ts +12 -0
  180. package/dist/interfaces/index.js +2 -0
  181. package/dist/interfaces/index.js.map +1 -0
  182. package/dist/interfaces/index.mjs +58 -0
  183. package/dist/interfaces/index.mjs.map +1 -0
  184. package/dist/interfaces/layout.d.ts +21 -0
  185. package/dist/interfaces/model.d.ts +35 -0
  186. package/dist/interfaces/services.d.ts +20 -0
  187. package/dist/interfaces/truncation.d.ts +17 -0
  188. package/dist/model/binned-charts.d.ts +7 -0
  189. package/dist/model/cartesian-charts.d.ts +24 -0
  190. package/dist/model/heatmap.d.ts +57 -0
  191. package/dist/model/index.d.ts +16 -0
  192. package/dist/model/index.js +3 -0
  193. package/dist/model/index.js.map +1 -0
  194. package/dist/model/index.mjs +1107 -0
  195. package/dist/model/index.mjs.map +1 -0
  196. package/dist/model/meter.d.ts +20 -0
  197. package/dist/model/model.d.ts +110 -0
  198. package/dist/services/angle-utils.d.ts +15 -0
  199. package/dist/services/curves.d.ts +24 -0
  200. package/dist/services/essentials/dom-utils.d.ts +45 -0
  201. package/dist/services/essentials/events.d.ts +8 -0
  202. package/dist/services/essentials/files.d.ts +7 -0
  203. package/dist/services/essentials/gradient-utils.d.ts +6 -0
  204. package/dist/services/essentials/index.d.ts +5 -0
  205. package/dist/services/essentials/transitions.d.ts +13 -0
  206. package/dist/services/index.d.ts +9 -0
  207. package/dist/services/index.js +2 -0
  208. package/dist/services/index.js.map +1 -0
  209. package/dist/services/index.mjs +32 -0
  210. package/dist/services/index.mjs.map +1 -0
  211. package/dist/services/scales-cartesian.d.ts +89 -0
  212. package/dist/services/service.d.ts +11 -0
  213. package/dist/services/zoom.d.ts +21 -0
  214. package/dist/styles.css +6345 -0
  215. package/dist/styles.css.map +1 -0
  216. package/dist/styles.min.css +1 -0
  217. package/dist/styles.min.css.map +1 -0
  218. package/dist/tools.d.ts +150 -0
  219. package/package.json +141 -102
  220. package/scss/_chart-holder.scss +50 -0
  221. package/scss/_color-palette.scss +458 -0
  222. package/scss/_colors.scss +131 -0
  223. package/scss/_tokens.scss +398 -0
  224. package/scss/components/_color-legend.scss +11 -0
  225. package/scss/components/_edge.scss +65 -0
  226. package/scss/components/_grid.scss +30 -0
  227. package/scss/components/_marker.scss +7 -0
  228. package/scss/components/_meter-title.scss +37 -0
  229. package/scss/components/_tooltip.scss +132 -0
  230. package/scss/components/diagrams/_card-node.scss +97 -0
  231. package/scss/components/diagrams/_edge.scss +66 -0
  232. package/scss/components/diagrams/_shape-node.scss +89 -0
  233. package/scss/components/diagrams/index.scss +4 -0
  234. package/scss/graphs/_alluvial.scss +17 -0
  235. package/scss/graphs/_bullet.scss +36 -0
  236. package/scss/graphs/_circle-pack.scss +36 -0
  237. package/scss/graphs/_gauge.scss +23 -0
  238. package/scss/graphs/_heatmap.scss +60 -0
  239. package/scss/graphs/_meter.scss +34 -0
  240. package/scss/graphs/_radar.scss +18 -0
  241. package/scss/graphs/_scatter-stacked.scss +12 -0
  242. package/scss/graphs/_tree.scss +46 -0
  243. package/scss/index.scss +31 -0
  244. package/axis-chart.d.ts +0 -10
  245. package/axis-chart.js +0 -169
  246. package/axis-chart.js.map +0 -1
  247. package/build/demo/create-codesandbox.d.ts +0 -113
  248. package/build/demo/data/CHART_TYPES.d.ts +0 -128
  249. package/build/demo/data/alluvial.d.ts +0 -109
  250. package/build/demo/data/area.d.ts +0 -224
  251. package/build/demo/data/bar.d.ts +0 -681
  252. package/build/demo/data/boxplot.d.ts +0 -34
  253. package/build/demo/data/bubble.d.ts +0 -141
  254. package/build/demo/data/bullet.d.ts +0 -24
  255. package/build/demo/data/choropleth.d.ts +0 -738
  256. package/build/demo/data/circle-pack.d.ts +0 -91
  257. package/build/demo/data/combo.d.ts +0 -482
  258. package/build/demo/data/donut.d.ts +0 -64
  259. package/build/demo/data/gauge.d.ts +0 -40
  260. package/build/demo/data/heatmap.d.ts +0 -125
  261. package/build/demo/data/high-scale.d.ts +0 -1
  262. package/build/demo/data/hightlight.d.ts +0 -40
  263. package/build/demo/data/histogram.d.ts +0 -63
  264. package/build/demo/data/index.d.ts +0 -33
  265. package/build/demo/data/line.d.ts +0 -361
  266. package/build/demo/data/lollipop.d.ts +0 -39
  267. package/build/demo/data/meter.d.ts +0 -95
  268. package/build/demo/data/pie.d.ts +0 -46
  269. package/build/demo/data/radar.d.ts +0 -63
  270. package/build/demo/data/scatter.d.ts +0 -118
  271. package/build/demo/data/step.d.ts +0 -96
  272. package/build/demo/data/time-series-axis.d.ts +0 -368
  273. package/build/demo/data/toolbar.d.ts +0 -12
  274. package/build/demo/data/topojson-110.d.ts +0 -360
  275. package/build/demo/data/tree.d.ts +0 -30
  276. package/build/demo/data/treemap.d.ts +0 -15
  277. package/build/demo/data/wordcloud.d.ts +0 -14
  278. package/build/demo/data/zoom-bar.d.ts +0 -94
  279. package/build/demo/utils.d.ts +0 -40
  280. package/build/src/axis-chart.d.ts +0 -10
  281. package/build/src/chart.d.ts +0 -14
  282. package/build/src/charts/alluvial.d.ts +0 -8
  283. package/build/src/charts/area-stacked.d.ts +0 -6
  284. package/build/src/charts/area.d.ts +0 -6
  285. package/build/src/charts/bar-grouped.d.ts +0 -6
  286. package/build/src/charts/bar-simple.d.ts +0 -6
  287. package/build/src/charts/bar-stacked.d.ts +0 -6
  288. package/build/src/charts/boxplot.d.ts +0 -8
  289. package/build/src/charts/bubble.d.ts +0 -6
  290. package/build/src/charts/bullet.d.ts +0 -8
  291. package/build/src/charts/choropleth.d.ts +0 -10
  292. package/build/src/charts/circle-pack.d.ts +0 -8
  293. package/build/src/charts/combo.d.ts +0 -7
  294. package/build/src/charts/donut.d.ts +0 -6
  295. package/build/src/charts/gauge.d.ts +0 -8
  296. package/build/src/charts/heatmap.d.ts +0 -10
  297. package/build/src/charts/histogram.d.ts +0 -8
  298. package/build/src/charts/index.d.ts +0 -25
  299. package/build/src/charts/line.d.ts +0 -6
  300. package/build/src/charts/lollipop.d.ts +0 -6
  301. package/build/src/charts/meter.d.ts +0 -8
  302. package/build/src/charts/pie.d.ts +0 -8
  303. package/build/src/charts/radar.d.ts +0 -8
  304. package/build/src/charts/scatter.d.ts +0 -6
  305. package/build/src/charts/tree.d.ts +0 -8
  306. package/build/src/charts/treemap.d.ts +0 -8
  307. package/build/src/charts/wordcloud.d.ts +0 -8
  308. package/build/src/components/axes/axis.d.ts +0 -24
  309. package/build/src/components/axes/chart-clip.d.ts +0 -13
  310. package/build/src/components/axes/grid-brush.d.ts +0 -10
  311. package/build/src/components/axes/grid.d.ts +0 -22
  312. package/build/src/components/axes/hover-axis.d.ts +0 -10
  313. package/build/src/components/axes/ruler-binned.d.ts +0 -7
  314. package/build/src/components/axes/ruler-stacked.d.ts +0 -4
  315. package/build/src/components/axes/ruler.d.ts +0 -27
  316. package/build/src/components/axes/toolbar.d.ts +0 -40
  317. package/build/src/components/axes/two-dimensional-axes.d.ts +0 -16
  318. package/build/src/components/axes/zero-line.d.ts +0 -7
  319. package/build/src/components/axes/zoom-bar.d.ts +0 -28
  320. package/build/src/components/component.d.ts +0 -28
  321. package/build/src/components/diagrams/buildPaths.d.ts +0 -63
  322. package/build/src/components/diagrams/markerDefinitions.d.ts +0 -37
  323. package/build/src/components/essentials/canvas-chart-clip.d.ts +0 -6
  324. package/build/src/components/essentials/color-scale-legend.d.ts +0 -20
  325. package/build/src/components/essentials/geo-projection.d.ts +0 -16
  326. package/build/src/components/essentials/highlights.d.ts +0 -13
  327. package/build/src/components/essentials/legend.d.ts +0 -11
  328. package/build/src/components/essentials/modal.d.ts +0 -14
  329. package/build/src/components/essentials/threshold.d.ts +0 -20
  330. package/build/src/components/essentials/title-meter.d.ts +0 -30
  331. package/build/src/components/essentials/title.d.ts +0 -20
  332. package/build/src/components/essentials/tooltip-axis.d.ts +0 -4
  333. package/build/src/components/essentials/tooltip.d.ts +0 -22
  334. package/build/src/components/graphs/alluvial.d.ts +0 -14
  335. package/build/src/components/graphs/area-stacked.d.ts +0 -11
  336. package/build/src/components/graphs/area.d.ts +0 -12
  337. package/build/src/components/graphs/bar-grouped.d.ts +0 -22
  338. package/build/src/components/graphs/bar-simple.d.ts +0 -12
  339. package/build/src/components/graphs/bar-stacked.d.ts +0 -13
  340. package/build/src/components/graphs/bar.d.ts +0 -5
  341. package/build/src/components/graphs/boxplot.d.ts +0 -9
  342. package/build/src/components/graphs/bubble.d.ts +0 -13
  343. package/build/src/components/graphs/bullet.d.ts +0 -12
  344. package/build/src/components/graphs/choropleth.d.ts +0 -6
  345. package/build/src/components/graphs/circle-pack.d.ts +0 -19
  346. package/build/src/components/graphs/donut.d.ts +0 -9
  347. package/build/src/components/graphs/gauge.d.ts +0 -27
  348. package/build/src/components/graphs/heatmap.d.ts +0 -25
  349. package/build/src/components/graphs/histogram.d.ts +0 -12
  350. package/build/src/components/graphs/line.d.ts +0 -11
  351. package/build/src/components/graphs/lollipop.d.ts +0 -14
  352. package/build/src/components/graphs/meter.d.ts +0 -10
  353. package/build/src/components/graphs/pie.d.ts +0 -16
  354. package/build/src/components/graphs/radar.d.ts +0 -25
  355. package/build/src/components/graphs/scatter-stacked.d.ts +0 -8
  356. package/build/src/components/graphs/scatter.d.ts +0 -21
  357. package/build/src/components/graphs/skeleton-lines.d.ts +0 -11
  358. package/build/src/components/graphs/skeleton.d.ts +0 -22
  359. package/build/src/components/graphs/tree.d.ts +0 -9
  360. package/build/src/components/graphs/treemap.d.ts +0 -11
  361. package/build/src/components/graphs/wordcloud.d.ts +0 -12
  362. package/build/src/components/index.d.ts +0 -53
  363. package/build/src/components/layout/layout.d.ts +0 -17
  364. package/build/src/components/layout/spacer.d.ts +0 -5
  365. package/build/src/configuration-non-customizable.d.ts +0 -263
  366. package/build/src/configuration.d.ts +0 -46
  367. package/build/src/interfaces/a11y.d.ts +0 -12
  368. package/build/src/interfaces/axis-scales.d.ts +0 -201
  369. package/build/src/interfaces/charts.d.ts +0 -512
  370. package/build/src/interfaces/components.d.ts +0 -231
  371. package/build/src/interfaces/enums.d.ts +0 -261
  372. package/build/src/interfaces/events.d.ts +0 -239
  373. package/build/src/interfaces/index.d.ts +0 -7
  374. package/build/src/interfaces/layout.d.ts +0 -15
  375. package/build/src/interfaces/model.d.ts +0 -35
  376. package/build/src/interfaces/truncation.d.ts +0 -17
  377. package/build/src/model/alluvial.d.ts +0 -8
  378. package/build/src/model/binned-charts.d.ts +0 -7
  379. package/build/src/model/boxplot.d.ts +0 -14
  380. package/build/src/model/bullet.d.ts +0 -14
  381. package/build/src/model/cartesian-charts.d.ts +0 -24
  382. package/build/src/model/choropleth.d.ts +0 -29
  383. package/build/src/model/circle-pack.d.ts +0 -36
  384. package/build/src/model/gauge.d.ts +0 -9
  385. package/build/src/model/heatmap.d.ts +0 -52
  386. package/build/src/model/meter.d.ts +0 -19
  387. package/build/src/model/model.d.ts +0 -107
  388. package/build/src/model/pie.d.ts +0 -9
  389. package/build/src/model/radar.d.ts +0 -7
  390. package/build/src/model/tree.d.ts +0 -14
  391. package/build/src/model/treemap.d.ts +0 -8
  392. package/build/src/model/wordcloud.d.ts +0 -7
  393. package/build/src/services/angle-utils.d.ts +0 -205
  394. package/build/src/services/canvas-zoom.d.ts +0 -11
  395. package/build/src/services/color-scale-utils.d.ts +0 -10
  396. package/build/src/services/curves.d.ts +0 -25
  397. package/build/src/services/essentials/dom-utils.d.ts +0 -39
  398. package/build/src/services/essentials/events.d.ts +0 -8
  399. package/build/src/services/essentials/files.d.ts +0 -6
  400. package/build/src/services/essentials/gradient-utils.d.ts +0 -6
  401. package/build/src/services/essentials/transitions.d.ts +0 -13
  402. package/build/src/services/index.d.ts +0 -10
  403. package/build/src/services/scales-cartesian.d.ts +0 -86
  404. package/build/src/services/service.d.ts +0 -10
  405. package/build/src/services/time-series.d.ts +0 -787
  406. package/build/src/services/zoom.d.ts +0 -21
  407. package/build/src/tools.d.ts +0 -2427
  408. package/build/stories/all.stories.d.ts +0 -1
  409. package/build/stories/tutorials/api.d.ts +0 -4
  410. package/build/stories/tutorials/color-palette.d.ts +0 -4
  411. package/build/stories/tutorials/combo-charts.d.ts +0 -4
  412. package/build/stories/tutorials/dual-axes.d.ts +0 -4
  413. package/build/stories/tutorials/event-listeners.d.ts +0 -4
  414. package/build/stories/tutorials/getting-started/angular.d.ts +0 -5
  415. package/build/stories/tutorials/getting-started/react.d.ts +0 -5
  416. package/build/stories/tutorials/getting-started/vanilla.d.ts +0 -5
  417. package/build/stories/tutorials/getting-started/vue.d.ts +0 -5
  418. package/build/stories/tutorials/index.d.ts +0 -11
  419. package/build/stories/tutorials/tabular-data-format.d.ts +0 -4
  420. package/build/stories/tutorials/themes.d.ts +0 -4
  421. package/build/stories/tutorials.stories.d.ts +0 -1
  422. package/bundle.js +0 -17
  423. package/chart.d.ts +0 -14
  424. package/chart.js +0 -198
  425. package/chart.js.map +0 -1
  426. package/charts/alluvial.d.ts +0 -8
  427. package/charts/alluvial.js +0 -46
  428. package/charts/alluvial.js.map +0 -1
  429. package/charts/area-stacked.d.ts +0 -6
  430. package/charts/area-stacked.js +0 -55
  431. package/charts/area-stacked.js.map +0 -1
  432. package/charts/area.d.ts +0 -6
  433. package/charts/area.js +0 -54
  434. package/charts/area.js.map +0 -1
  435. package/charts/bar-grouped.d.ts +0 -6
  436. package/charts/bar-grouped.js +0 -49
  437. package/charts/bar-grouped.js.map +0 -1
  438. package/charts/bar-simple.d.ts +0 -6
  439. package/charts/bar-simple.js +0 -49
  440. package/charts/bar-simple.js.map +0 -1
  441. package/charts/bar-stacked.d.ts +0 -6
  442. package/charts/bar-stacked.js +0 -50
  443. package/charts/bar-stacked.js.map +0 -1
  444. package/charts/boxplot.d.ts +0 -8
  445. package/charts/boxplot.js +0 -55
  446. package/charts/boxplot.js.map +0 -1
  447. package/charts/bubble.d.ts +0 -6
  448. package/charts/bubble.js +0 -49
  449. package/charts/bubble.js.map +0 -1
  450. package/charts/bullet.d.ts +0 -8
  451. package/charts/bullet.js +0 -50
  452. package/charts/bullet.js.map +0 -1
  453. package/charts/choropleth.d.ts +0 -10
  454. package/charts/choropleth.js +0 -141
  455. package/charts/choropleth.js.map +0 -1
  456. package/charts/circle-pack.d.ts +0 -8
  457. package/charts/circle-pack.js +0 -45
  458. package/charts/circle-pack.js.map +0 -1
  459. package/charts/combo.d.ts +0 -7
  460. package/charts/combo.js +0 -132
  461. package/charts/combo.js.map +0 -1
  462. package/charts/donut.d.ts +0 -6
  463. package/charts/donut.js +0 -46
  464. package/charts/donut.js.map +0 -1
  465. package/charts/gauge.d.ts +0 -8
  466. package/charts/gauge.js +0 -42
  467. package/charts/gauge.js.map +0 -1
  468. package/charts/heatmap.d.ts +0 -10
  469. package/charts/heatmap.js +0 -142
  470. package/charts/heatmap.js.map +0 -1
  471. package/charts/histogram.d.ts +0 -8
  472. package/charts/histogram.js +0 -48
  473. package/charts/histogram.js.map +0 -1
  474. package/charts/index.d.ts +0 -25
  475. package/charts/index.js +0 -26
  476. package/charts/index.js.map +0 -1
  477. package/charts/line.d.ts +0 -6
  478. package/charts/line.js +0 -48
  479. package/charts/line.js.map +0 -1
  480. package/charts/lollipop.d.ts +0 -6
  481. package/charts/lollipop.js +0 -50
  482. package/charts/lollipop.js.map +0 -1
  483. package/charts/meter.d.ts +0 -8
  484. package/charts/meter.js +0 -94
  485. package/charts/meter.js.map +0 -1
  486. package/charts/pie.d.ts +0 -8
  487. package/charts/pie.js +0 -55
  488. package/charts/pie.js.map +0 -1
  489. package/charts/radar.d.ts +0 -8
  490. package/charts/radar.js +0 -44
  491. package/charts/radar.js.map +0 -1
  492. package/charts/scatter.d.ts +0 -6
  493. package/charts/scatter.js +0 -49
  494. package/charts/scatter.js.map +0 -1
  495. package/charts/tree.d.ts +0 -8
  496. package/charts/tree.js +0 -47
  497. package/charts/tree.js.map +0 -1
  498. package/charts/treemap.d.ts +0 -8
  499. package/charts/treemap.js +0 -43
  500. package/charts/treemap.js.map +0 -1
  501. package/charts/wordcloud.d.ts +0 -8
  502. package/charts/wordcloud.js +0 -49
  503. package/charts/wordcloud.js.map +0 -1
  504. package/components/axes/axis.d.ts +0 -24
  505. package/components/axes/axis.js +0 -587
  506. package/components/axes/axis.js.map +0 -1
  507. package/components/axes/chart-clip.d.ts +0 -13
  508. package/components/axes/chart-clip.js +0 -63
  509. package/components/axes/chart-clip.js.map +0 -1
  510. package/components/axes/grid-brush.d.ts +0 -10
  511. package/components/axes/grid-brush.js +0 -170
  512. package/components/axes/grid-brush.js.map +0 -1
  513. package/components/axes/grid.d.ts +0 -22
  514. package/components/axes/grid.js +0 -235
  515. package/components/axes/grid.js.map +0 -1
  516. package/components/axes/hover-axis.js +0 -243
  517. package/components/axes/hover-axis.js.map +0 -1
  518. package/components/axes/ruler-binned.d.ts +0 -7
  519. package/components/axes/ruler-binned.js +0 -136
  520. package/components/axes/ruler-binned.js.map +0 -1
  521. package/components/axes/ruler-stacked.js +0 -26
  522. package/components/axes/ruler-stacked.js.map +0 -1
  523. package/components/axes/ruler.d.ts +0 -27
  524. package/components/axes/ruler.js +0 -209
  525. package/components/axes/ruler.js.map +0 -1
  526. package/components/axes/toolbar.d.ts +0 -40
  527. package/components/axes/toolbar.js +0 -558
  528. package/components/axes/toolbar.js.map +0 -1
  529. package/components/axes/two-dimensional-axes.d.ts +0 -16
  530. package/components/axes/two-dimensional-axes.js +0 -134
  531. package/components/axes/two-dimensional-axes.js.map +0 -1
  532. package/components/axes/zero-line.d.ts +0 -7
  533. package/components/axes/zero-line.js +0 -76
  534. package/components/axes/zero-line.js.map +0 -1
  535. package/components/axes/zoom-bar.d.ts +0 -28
  536. package/components/axes/zoom-bar.js +0 -490
  537. package/components/axes/zoom-bar.js.map +0 -1
  538. package/components/component.d.ts +0 -28
  539. package/components/component.js +0 -102
  540. package/components/component.js.map +0 -1
  541. package/components/diagrams/buildPaths.d.ts +0 -39
  542. package/components/diagrams/buildPaths.js +0 -71
  543. package/components/diagrams/buildPaths.js.map +0 -1
  544. package/components/diagrams/markerDefinitions.js +0 -38
  545. package/components/diagrams/markerDefinitions.js.map +0 -1
  546. package/components/essentials/canvas-chart-clip.d.ts +0 -6
  547. package/components/essentials/canvas-chart-clip.js +0 -46
  548. package/components/essentials/canvas-chart-clip.js.map +0 -1
  549. package/components/essentials/color-scale-legend.d.ts +0 -20
  550. package/components/essentials/color-scale-legend.js +0 -237
  551. package/components/essentials/color-scale-legend.js.map +0 -1
  552. package/components/essentials/geo-projection.d.ts +0 -16
  553. package/components/essentials/geo-projection.js +0 -160
  554. package/components/essentials/geo-projection.js.map +0 -1
  555. package/components/essentials/highlights.d.ts +0 -13
  556. package/components/essentials/highlights.js +0 -196
  557. package/components/essentials/highlights.js.map +0 -1
  558. package/components/essentials/legend.d.ts +0 -11
  559. package/components/essentials/legend.js +0 -428
  560. package/components/essentials/legend.js.map +0 -1
  561. package/components/essentials/modal.d.ts +0 -14
  562. package/components/essentials/modal.js +0 -89
  563. package/components/essentials/modal.js.map +0 -1
  564. package/components/essentials/threshold.d.ts +0 -20
  565. package/components/essentials/threshold.js +0 -306
  566. package/components/essentials/threshold.js.map +0 -1
  567. package/components/essentials/title-meter.d.ts +0 -30
  568. package/components/essentials/title-meter.js +0 -279
  569. package/components/essentials/title-meter.js.map +0 -1
  570. package/components/essentials/title.d.ts +0 -20
  571. package/components/essentials/title.js +0 -138
  572. package/components/essentials/title.js.map +0 -1
  573. package/components/essentials/tooltip-axis.js +0 -142
  574. package/components/essentials/tooltip-axis.js.map +0 -1
  575. package/components/essentials/tooltip.d.ts +0 -22
  576. package/components/essentials/tooltip.js +0 -263
  577. package/components/essentials/tooltip.js.map +0 -1
  578. package/components/graphs/alluvial.d.ts +0 -14
  579. package/components/graphs/alluvial.js +0 -535
  580. package/components/graphs/alluvial.js.map +0 -1
  581. package/components/graphs/area-stacked.d.ts +0 -11
  582. package/components/graphs/area-stacked.js +0 -131
  583. package/components/graphs/area-stacked.js.map +0 -1
  584. package/components/graphs/area.d.ts +0 -12
  585. package/components/graphs/area.js +0 -260
  586. package/components/graphs/area.js.map +0 -1
  587. package/components/graphs/bar-grouped.d.ts +0 -22
  588. package/components/graphs/bar-grouped.js +0 -312
  589. package/components/graphs/bar-grouped.js.map +0 -1
  590. package/components/graphs/bar-simple.d.ts +0 -12
  591. package/components/graphs/bar-simple.js +0 -218
  592. package/components/graphs/bar-simple.js.map +0 -1
  593. package/components/graphs/bar-stacked.d.ts +0 -13
  594. package/components/graphs/bar-stacked.js +0 -281
  595. package/components/graphs/bar-stacked.js.map +0 -1
  596. package/components/graphs/bar.d.ts +0 -5
  597. package/components/graphs/bar.js +0 -58
  598. package/components/graphs/bar.js.map +0 -1
  599. package/components/graphs/boxplot.d.ts +0 -9
  600. package/components/graphs/boxplot.js +0 -485
  601. package/components/graphs/boxplot.js.map +0 -1
  602. package/components/graphs/bubble.d.ts +0 -13
  603. package/components/graphs/bubble.js +0 -113
  604. package/components/graphs/bubble.js.map +0 -1
  605. package/components/graphs/bullet.d.ts +0 -12
  606. package/components/graphs/bullet.js +0 -395
  607. package/components/graphs/bullet.js.map +0 -1
  608. package/components/graphs/choropleth.d.ts +0 -6
  609. package/components/graphs/choropleth.js +0 -106
  610. package/components/graphs/choropleth.js.map +0 -1
  611. package/components/graphs/circle-pack.d.ts +0 -19
  612. package/components/graphs/circle-pack.js +0 -388
  613. package/components/graphs/circle-pack.js.map +0 -1
  614. package/components/graphs/donut.d.ts +0 -9
  615. package/components/graphs/donut.js +0 -116
  616. package/components/graphs/donut.js.map +0 -1
  617. package/components/graphs/gauge.d.ts +0 -27
  618. package/components/graphs/gauge.js +0 -347
  619. package/components/graphs/gauge.js.map +0 -1
  620. package/components/graphs/heatmap.d.ts +0 -25
  621. package/components/graphs/heatmap.js +0 -388
  622. package/components/graphs/heatmap.js.map +0 -1
  623. package/components/graphs/histogram.d.ts +0 -12
  624. package/components/graphs/histogram.js +0 -220
  625. package/components/graphs/histogram.js.map +0 -1
  626. package/components/graphs/line.d.ts +0 -11
  627. package/components/graphs/line.js +0 -179
  628. package/components/graphs/line.js.map +0 -1
  629. package/components/graphs/lollipop.d.ts +0 -14
  630. package/components/graphs/lollipop.js +0 -164
  631. package/components/graphs/lollipop.js.map +0 -1
  632. package/components/graphs/meter.d.ts +0 -10
  633. package/components/graphs/meter.js +0 -284
  634. package/components/graphs/meter.js.map +0 -1
  635. package/components/graphs/pie.d.ts +0 -16
  636. package/components/graphs/pie.js +0 -438
  637. package/components/graphs/pie.js.map +0 -1
  638. package/components/graphs/radar.d.ts +0 -25
  639. package/components/graphs/radar.js +0 -737
  640. package/components/graphs/radar.js.map +0 -1
  641. package/components/graphs/scatter-stacked.d.ts +0 -8
  642. package/components/graphs/scatter-stacked.js +0 -140
  643. package/components/graphs/scatter-stacked.js.map +0 -1
  644. package/components/graphs/scatter.d.ts +0 -21
  645. package/components/graphs/scatter.js +0 -360
  646. package/components/graphs/scatter.js.map +0 -1
  647. package/components/graphs/skeleton-lines.d.ts +0 -11
  648. package/components/graphs/skeleton-lines.js +0 -84
  649. package/components/graphs/skeleton-lines.js.map +0 -1
  650. package/components/graphs/skeleton.d.ts +0 -22
  651. package/components/graphs/skeleton.js +0 -272
  652. package/components/graphs/skeleton.js.map +0 -1
  653. package/components/graphs/tree.d.ts +0 -9
  654. package/components/graphs/tree.js +0 -262
  655. package/components/graphs/tree.js.map +0 -1
  656. package/components/graphs/treemap.d.ts +0 -11
  657. package/components/graphs/treemap.js +0 -344
  658. package/components/graphs/treemap.js.map +0 -1
  659. package/components/graphs/wordcloud.d.ts +0 -12
  660. package/components/graphs/wordcloud.js +0 -268
  661. package/components/graphs/wordcloud.js.map +0 -1
  662. package/components/index.d.ts +0 -53
  663. package/components/index.js +0 -59
  664. package/components/index.js.map +0 -1
  665. package/components/layout/layout.d.ts +0 -17
  666. package/components/layout/layout.js +0 -191
  667. package/components/layout/layout.js.map +0 -1
  668. package/components/layout/spacer.d.ts +0 -5
  669. package/components/layout/spacer.js +0 -33
  670. package/components/layout/spacer.js.map +0 -1
  671. package/configuration-non-customizable.d.ts +0 -263
  672. package/configuration-non-customizable.js +0 -276
  673. package/configuration-non-customizable.js.map +0 -1
  674. package/configuration.d.ts +0 -46
  675. package/configuration.js +0 -552
  676. package/configuration.js.map +0 -1
  677. package/demo/create-codesandbox.d.ts +0 -65
  678. package/demo/create-codesandbox.js +0 -173
  679. package/demo/create-codesandbox.js.map +0 -1
  680. package/demo/data/CHART_TYPES.d.ts +0 -128
  681. package/demo/data/CHART_TYPES.js +0 -128
  682. package/demo/data/CHART_TYPES.js.map +0 -1
  683. package/demo/data/alluvial.d.ts +0 -109
  684. package/demo/data/alluvial.js +0 -328
  685. package/demo/data/alluvial.js.map +0 -1
  686. package/demo/data/area.d.ts +0 -224
  687. package/demo/data/area.js +0 -330
  688. package/demo/data/area.js.map +0 -1
  689. package/demo/data/bar.d.ts +0 -681
  690. package/demo/data/bar.js +0 -915
  691. package/demo/data/bar.js.map +0 -1
  692. package/demo/data/boxplot.d.ts +0 -34
  693. package/demo/data/boxplot.js +0 -48
  694. package/demo/data/boxplot.js.map +0 -1
  695. package/demo/data/bubble.d.ts +0 -141
  696. package/demo/data/bubble.js +0 -182
  697. package/demo/data/bubble.js.map +0 -1
  698. package/demo/data/bullet.d.ts +0 -24
  699. package/demo/data/bullet.js +0 -55
  700. package/demo/data/bullet.js.map +0 -1
  701. package/demo/data/bundle.js +0 -1
  702. package/demo/data/choropleth.d.ts +0 -738
  703. package/demo/data/choropleth.js +0 -1684
  704. package/demo/data/choropleth.js.map +0 -1
  705. package/demo/data/circle-pack.d.ts +0 -91
  706. package/demo/data/circle-pack.js +0 -224
  707. package/demo/data/circle-pack.js.map +0 -1
  708. package/demo/data/combo.d.ts +0 -482
  709. package/demo/data/combo.js +0 -571
  710. package/demo/data/combo.js.map +0 -1
  711. package/demo/data/donut.d.ts +0 -64
  712. package/demo/data/donut.js +0 -60
  713. package/demo/data/donut.js.map +0 -1
  714. package/demo/data/gauge.d.ts +0 -40
  715. package/demo/data/gauge.js +0 -41
  716. package/demo/data/gauge.js.map +0 -1
  717. package/demo/data/heatmap.d.ts +0 -125
  718. package/demo/data/heatmap.js +0 -1149
  719. package/demo/data/heatmap.js.map +0 -1
  720. package/demo/data/high-scale.d.ts +0 -1
  721. package/demo/data/high-scale.js +0 -5
  722. package/demo/data/high-scale.js.map +0 -1
  723. package/demo/data/hightlight.d.ts +0 -40
  724. package/demo/data/hightlight.js +0 -44
  725. package/demo/data/hightlight.js.map +0 -1
  726. package/demo/data/histogram.d.ts +0 -63
  727. package/demo/data/histogram.js +0 -312
  728. package/demo/data/histogram.js.map +0 -1
  729. package/demo/data/index.d.ts +0 -33
  730. package/demo/data/index.js +0 -1305
  731. package/demo/data/index.js.map +0 -1
  732. package/demo/data/line.d.ts +0 -361
  733. package/demo/data/line.js +0 -480
  734. package/demo/data/line.js.map +0 -1
  735. package/demo/data/lollipop.d.ts +0 -39
  736. package/demo/data/lollipop.js +0 -37
  737. package/demo/data/lollipop.js.map +0 -1
  738. package/demo/data/meter.d.ts +0 -95
  739. package/demo/data/meter.js +0 -114
  740. package/demo/data/meter.js.map +0 -1
  741. package/demo/data/pie.d.ts +0 -46
  742. package/demo/data/pie.js +0 -55
  743. package/demo/data/pie.js.map +0 -1
  744. package/demo/data/radar.d.ts +0 -63
  745. package/demo/data/radar.js +0 -118
  746. package/demo/data/radar.js.map +0 -1
  747. package/demo/data/scatter.d.ts +0 -118
  748. package/demo/data/scatter.js +0 -143
  749. package/demo/data/scatter.js.map +0 -1
  750. package/demo/data/step.d.ts +0 -96
  751. package/demo/data/step.js +0 -27
  752. package/demo/data/step.js.map +0 -1
  753. package/demo/data/time-series-axis.d.ts +0 -368
  754. package/demo/data/time-series-axis.js +0 -436
  755. package/demo/data/time-series-axis.js.map +0 -1
  756. package/demo/data/toolbar.d.ts +0 -12
  757. package/demo/data/toolbar.js +0 -67
  758. package/demo/data/toolbar.js.map +0 -1
  759. package/demo/data/topojson-110.d.ts +0 -360
  760. package/demo/data/topojson-110.js +0 -40724
  761. package/demo/data/topojson-110.js.map +0 -1
  762. package/demo/data/tree.d.ts +0 -30
  763. package/demo/data/tree.js +0 -209
  764. package/demo/data/tree.js.map +0 -1
  765. package/demo/data/treemap.d.ts +0 -15
  766. package/demo/data/treemap.js +0 -93
  767. package/demo/data/treemap.js.map +0 -1
  768. package/demo/data/wordcloud.d.ts +0 -14
  769. package/demo/data/wordcloud.js +0 -105
  770. package/demo/data/wordcloud.js.map +0 -1
  771. package/demo/data/zoom-bar.d.ts +0 -94
  772. package/demo/data/zoom-bar.js +0 -187
  773. package/demo/data/zoom-bar.js.map +0 -1
  774. package/demo/styles.css +0 -31231
  775. package/demo/styles.css.map +0 -1
  776. package/demo/styles.min.css +0 -1
  777. package/demo/styles.min.css.map +0 -1
  778. package/demo/tsconfig.tsbuildinfo +0 -1451
  779. package/demo/utils.d.ts +0 -24
  780. package/demo/utils.js +0 -222
  781. package/demo/utils.js.map +0 -1
  782. package/index.d.ts +0 -4
  783. package/index.js +0 -6
  784. package/index.js.map +0 -1
  785. package/interfaces/a11y.js +0 -14
  786. package/interfaces/a11y.js.map +0 -1
  787. package/interfaces/axis-scales.d.ts +0 -201
  788. package/interfaces/axis-scales.js +0 -1
  789. package/interfaces/axis-scales.js.map +0 -1
  790. package/interfaces/charts.d.ts +0 -512
  791. package/interfaces/charts.js +0 -1
  792. package/interfaces/charts.js.map +0 -1
  793. package/interfaces/components.d.ts +0 -231
  794. package/interfaces/components.js +0 -1
  795. package/interfaces/components.js.map +0 -1
  796. package/interfaces/enums.js +0 -296
  797. package/interfaces/enums.js.map +0 -1
  798. package/interfaces/events.js +0 -269
  799. package/interfaces/events.js.map +0 -1
  800. package/interfaces/index.d.ts +0 -7
  801. package/interfaces/index.js +0 -3
  802. package/interfaces/index.js.map +0 -1
  803. package/interfaces/layout.d.ts +0 -15
  804. package/interfaces/layout.js +0 -1
  805. package/interfaces/layout.js.map +0 -1
  806. package/interfaces/model.d.ts +0 -35
  807. package/interfaces/model.js +0 -1
  808. package/interfaces/model.js.map +0 -1
  809. package/interfaces/truncation.d.ts +0 -17
  810. package/interfaces/truncation.js +0 -1
  811. package/interfaces/truncation.js.map +0 -1
  812. package/model/alluvial.js +0 -47
  813. package/model/alluvial.js.map +0 -1
  814. package/model/binned-charts.d.ts +0 -7
  815. package/model/binned-charts.js +0 -52
  816. package/model/binned-charts.js.map +0 -1
  817. package/model/boxplot.js +0 -174
  818. package/model/boxplot.js.map +0 -1
  819. package/model/bullet.js +0 -74
  820. package/model/bullet.js.map +0 -1
  821. package/model/cartesian-charts.d.ts +0 -24
  822. package/model/cartesian-charts.js +0 -202
  823. package/model/cartesian-charts.js.map +0 -1
  824. package/model/choropleth.js +0 -105
  825. package/model/choropleth.js.map +0 -1
  826. package/model/circle-pack.js +0 -189
  827. package/model/circle-pack.js.map +0 -1
  828. package/model/gauge.js +0 -51
  829. package/model/gauge.js.map +0 -1
  830. package/model/heatmap.d.ts +0 -52
  831. package/model/heatmap.js +0 -220
  832. package/model/heatmap.js.map +0 -1
  833. package/model/meter.d.ts +0 -19
  834. package/model/meter.js +0 -118
  835. package/model/meter.js.map +0 -1
  836. package/model/model.d.ts +0 -107
  837. package/model/model.js +0 -712
  838. package/model/model.js.map +0 -1
  839. package/model/pie.js +0 -66
  840. package/model/pie.js.map +0 -1
  841. package/model/radar.js +0 -52
  842. package/model/radar.js.map +0 -1
  843. package/model/tree.js +0 -56
  844. package/model/tree.js.map +0 -1
  845. package/model/treemap.js +0 -44
  846. package/model/treemap.js.map +0 -1
  847. package/model/wordcloud.js +0 -47
  848. package/model/wordcloud.js.map +0 -1
  849. package/polyfills.d.ts +0 -0
  850. package/polyfills.js +0 -29
  851. package/polyfills.js.map +0 -1
  852. package/services/angle-utils.d.ts +0 -16
  853. package/services/angle-utils.js +0 -82
  854. package/services/angle-utils.js.map +0 -1
  855. package/services/canvas-zoom.js +0 -72
  856. package/services/canvas-zoom.js.map +0 -1
  857. package/services/color-scale-utils.js +0 -64
  858. package/services/color-scale-utils.js.map +0 -1
  859. package/services/curves.d.ts +0 -25
  860. package/services/curves.js +0 -77
  861. package/services/curves.js.map +0 -1
  862. package/services/essentials/dom-utils.d.ts +0 -39
  863. package/services/essentials/dom-utils.js +0 -423
  864. package/services/essentials/dom-utils.js.map +0 -1
  865. package/services/essentials/events.d.ts +0 -8
  866. package/services/essentials/events.js +0 -53
  867. package/services/essentials/events.js.map +0 -1
  868. package/services/essentials/files.d.ts +0 -6
  869. package/services/essentials/files.js +0 -60
  870. package/services/essentials/files.js.map +0 -1
  871. package/services/essentials/gradient-utils.d.ts +0 -6
  872. package/services/essentials/gradient-utils.js +0 -85
  873. package/services/essentials/gradient-utils.js.map +0 -1
  874. package/services/essentials/transitions.d.ts +0 -13
  875. package/services/essentials/transitions.js +0 -51
  876. package/services/essentials/transitions.js.map +0 -1
  877. package/services/index.d.ts +0 -10
  878. package/services/index.js +0 -13
  879. package/services/index.js.map +0 -1
  880. package/services/scales-cartesian.d.ts +0 -86
  881. package/services/scales-cartesian.js +0 -656
  882. package/services/scales-cartesian.js.map +0 -1
  883. package/services/service.d.ts +0 -10
  884. package/services/service.js +0 -24
  885. package/services/service.js.map +0 -1
  886. package/services/time-series.js +0 -147
  887. package/services/time-series.js.map +0 -1
  888. package/services/zoom.d.ts +0 -21
  889. package/services/zoom.js +0 -217
  890. package/services/zoom.js.map +0 -1
  891. package/styles/_chart-holder.scss +0 -50
  892. package/styles/color-palatte.scss +0 -458
  893. package/styles/colors.scss +0 -155
  894. package/styles/components/_color-legend.scss +0 -11
  895. package/styles/components/_edge.scss +0 -65
  896. package/styles/components/_grid.scss +0 -30
  897. package/styles/components/_marker.scss +0 -7
  898. package/styles/components/_meter-title.scss +0 -37
  899. package/styles/components/_tooltip.scss +0 -132
  900. package/styles/components/diagrams/_card-node.scss +0 -97
  901. package/styles/components/diagrams/_edge.scss +0 -66
  902. package/styles/components/diagrams/_shape-node.scss +0 -89
  903. package/styles/components/diagrams/index.scss +0 -4
  904. package/styles/graphs/_alluvial.scss +0 -17
  905. package/styles/graphs/_bullet.scss +0 -36
  906. package/styles/graphs/_circle-pack.scss +0 -36
  907. package/styles/graphs/_gauge.scss +0 -23
  908. package/styles/graphs/_heatmap.scss +0 -60
  909. package/styles/graphs/_meter.scss +0 -34
  910. package/styles/graphs/_radar.scss +0 -18
  911. package/styles/graphs/_scatter-stacked.scss +0 -12
  912. package/styles/graphs/_tree.scss +0 -47
  913. package/styles/styles.scss +0 -35
  914. package/styles/tokens.scss +0 -416
  915. package/styles.css +0 -6325
  916. package/styles.css.map +0 -1
  917. package/styles.min.css +0 -1
  918. package/styles.min.css.map +0 -1
  919. package/tools.d.ts +0 -144
  920. package/tools.js +0 -348
  921. package/tools.js.map +0 -1
  922. package/tsconfig.tsbuildinfo +0 -3816
  923. /package/{components → dist/components}/axes/hover-axis.d.ts +0 -0
  924. /package/{components → dist/components}/axes/ruler-stacked.d.ts +0 -0
  925. /package/{components → dist/components}/diagrams/markerDefinitions.d.ts +0 -0
  926. /package/{components → dist/components}/essentials/tooltip-axis.d.ts +0 -0
  927. /package/{interfaces → dist/interfaces}/a11y.d.ts +0 -0
  928. /package/{interfaces → dist/interfaces}/enums.d.ts +0 -0
  929. /package/{interfaces → dist/interfaces}/events.d.ts +0 -0
  930. /package/{model → dist/model}/alluvial.d.ts +0 -0
  931. /package/{model → dist/model}/boxplot.d.ts +0 -0
  932. /package/{model → dist/model}/bullet.d.ts +0 -0
  933. /package/{model → dist/model}/choropleth.d.ts +0 -0
  934. /package/{model → dist/model}/circle-pack.d.ts +0 -0
  935. /package/{model → dist/model}/gauge.d.ts +0 -0
  936. /package/{model → dist/model}/pie.d.ts +0 -0
  937. /package/{model → dist/model}/radar.d.ts +0 -0
  938. /package/{model → dist/model}/tree.d.ts +0 -0
  939. /package/{model → dist/model}/treemap.d.ts +0 -0
  940. /package/{model → dist/model}/wordcloud.d.ts +0 -0
  941. /package/{services → dist/services}/canvas-zoom.d.ts +0 -0
  942. /package/{services → dist/services}/color-scale-utils.d.ts +0 -0
  943. /package/{services → dist/services}/time-series.d.ts +0 -0
  944. /package/{styles → scss}/_type.scss +0 -0
  945. /package/{styles → scss}/components/_axis.scss +0 -0
  946. /package/{styles → scss}/components/_callouts.scss +0 -0
  947. /package/{styles → scss}/components/_grid-brush.scss +0 -0
  948. /package/{styles → scss}/components/_highlights.scss +0 -0
  949. /package/{styles → scss}/components/_layout.scss +0 -0
  950. /package/{styles → scss}/components/_legend.scss +0 -0
  951. /package/{styles → scss}/components/_modal.scss +0 -0
  952. /package/{styles → scss}/components/_ruler.scss +0 -0
  953. /package/{styles → scss}/components/_skeleton-lines.scss +0 -0
  954. /package/{styles → scss}/components/_skeleton.scss +0 -0
  955. /package/{styles → scss}/components/_threshold.scss +0 -0
  956. /package/{styles → scss}/components/_title.scss +0 -0
  957. /package/{styles → scss}/components/_toolbar.scss +0 -0
  958. /package/{styles → scss}/components/_zero-line.scss +0 -0
  959. /package/{styles → scss}/components/_zoom-bar.scss +0 -0
  960. /package/{styles → scss}/components/diagrams/_marker.scss +0 -0
  961. /package/{styles → scss}/components/index.scss +0 -0
  962. /package/{styles → scss}/graphs/_area.scss +0 -0
  963. /package/{styles → scss}/graphs/_bubble.scss +0 -0
  964. /package/{styles → scss}/graphs/_choropleth.scss +0 -0
  965. /package/{styles → scss}/graphs/_donut.scss +0 -0
  966. /package/{styles → scss}/graphs/_line.scss +0 -0
  967. /package/{styles → scss}/graphs/_lollipop.scss +0 -0
  968. /package/{styles → scss}/graphs/_pie.scss +0 -0
  969. /package/{styles → scss}/graphs/_scatter.scss +0 -0
  970. /package/{styles → scss}/graphs/_treemap.scss +0 -0
  971. /package/{styles → scss}/graphs/_wordcloud.scss +0 -0
  972. /package/{styles → scss}/graphs/index.scss +0 -0
@@ -1,50 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- // Internal Imports
15
- import { AxisChart } from '../axis-chart';
16
- import * as Configuration from '../configuration';
17
- import * as Tools from '../tools';
18
- import { Skeletons } from '../interfaces/enums';
19
- // Components
20
- import { Grid, StackedBar, StackedRuler, TwoDimensionalAxes, ZeroLine, Skeleton, } from '../components/index';
21
- var StackedBarChart = /** @class */ (function (_super) {
22
- __extends(StackedBarChart, _super);
23
- function StackedBarChart(holder, chartConfigs) {
24
- var _this = _super.call(this, holder, chartConfigs) || this;
25
- // Merge the default options for this chart
26
- // With the user provided options
27
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.stackedBarChart, chartConfigs.options));
28
- // Initialize data, services, components etc.
29
- _this.init(holder, chartConfigs);
30
- return _this;
31
- }
32
- StackedBarChart.prototype.getComponents = function () {
33
- // Specify what to render inside the graph-frame
34
- var graphFrameComponents = [
35
- new TwoDimensionalAxes(this.model, this.services),
36
- new Grid(this.model, this.services),
37
- new StackedRuler(this.model, this.services),
38
- new StackedBar(this.model, this.services),
39
- new Skeleton(this.model, this.services, {
40
- skeleton: Skeletons.VERT_OR_HORIZ,
41
- }),
42
- new ZeroLine(this.model, this.services),
43
- ];
44
- var components = this.getAxisChartComponents(graphFrameComponents);
45
- return components;
46
- };
47
- return StackedBarChart;
48
- }(AxisChart));
49
- export { StackedBarChart };
50
- //# sourceMappingURL=../../src/charts/bar-stacked.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bar-stacked.js","sourceRoot":"","sources":["bar-stacked.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EAKR,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAqC,mCAAS;IAC7C,yBAAY,MAAe,EAAE,YAA0C;QAAvE,YACC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAXA,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,eAAe,EACrC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,uCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YAC3C,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACzC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,aAAa;aACjC,CAAC;YACF,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;SACvC,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,sBAAC;AAAD,CAAC,AAnCD,CAAqC,SAAS,GAmC7C","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BarChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tStackedBar,\n\tStackedRuler,\n\tTwoDimensionalAxes,\n\tZeroLine,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class StackedBarChart extends AxisChart {\n\tconstructor(holder: Element, chartConfigs: ChartConfig<BarChartOptions>) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.stackedBarChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew StackedRuler(this.model, this.services),\n\t\t\tnew StackedBar(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.VERT_OR_HORIZ,\n\t\t\t}),\n\t\t\tnew ZeroLine(this.model, this.services),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { BoxplotChartModel } from '../model/boxplot';
2
- import { AxisChart } from '../axis-chart';
3
- import { BoxplotChartOptions, ChartConfig } from '../interfaces/index';
4
- export declare class BoxplotChart extends AxisChart {
5
- model: BoxplotChartModel;
6
- constructor(holder: Element, chartConfigs: ChartConfig<BoxplotChartOptions>);
7
- getComponents(): any[];
8
- }
package/charts/boxplot.js DELETED
@@ -1,55 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- // Internal Imports
15
- import { BoxplotChartModel } from '../model/boxplot';
16
- import { AxisChart } from '../axis-chart';
17
- import * as Configuration from '../configuration';
18
- import * as Tools from '../tools';
19
- import { Skeletons } from '../interfaces/enums';
20
- // Components
21
- import { Grid, Boxplot, TwoDimensionalAxes, ZeroLine, Skeleton, } from '../components/index';
22
- var BoxplotChart = /** @class */ (function (_super) {
23
- __extends(BoxplotChart, _super);
24
- function BoxplotChart(holder, chartConfigs) {
25
- var _this = _super.call(this, holder, chartConfigs) || this;
26
- _this.model = new BoxplotChartModel(_this.services);
27
- // Merge the default options for this chart
28
- // With the user provided options
29
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.boxplotChart, chartConfigs.options));
30
- // Initialize data, services, components etc.
31
- _this.init(holder, chartConfigs);
32
- return _this;
33
- }
34
- BoxplotChart.prototype.getComponents = function () {
35
- // Specify what to render inside the graph-frame
36
- var graphFrameComponents = [
37
- new TwoDimensionalAxes(this.model, this.services),
38
- new Grid(this.model, this.services),
39
- new Boxplot(this.model, this.services),
40
- new ZeroLine(this.model, this.services),
41
- new Skeleton(this.model, this.services, {
42
- skeleton: Skeletons.VERT_OR_HORIZ,
43
- }),
44
- ];
45
- var components = this.getAxisChartComponents(graphFrameComponents, {
46
- legend: {
47
- enabled: false,
48
- },
49
- });
50
- return components;
51
- };
52
- return BoxplotChart;
53
- }(AxisChart));
54
- export { BoxplotChart };
55
- //# sourceMappingURL=../../src/charts/boxplot.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"boxplot.js","sourceRoot":"","sources":["boxplot.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,OAAO,EACP,kBAAkB,EAClB,QAAQ,EAIR,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAkC,gCAAS;IAG1C,sBACC,MAAe,EACf,YAA8C;QAF/C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,iBAAiB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ5C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,YAAY,EAClC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,oCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACtC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACvC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,aAAa;aACjC,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,EACpB;YACC,MAAM,EAAE;gBACP,OAAO,EAAE,KAAK;aACd;SACD,CACD,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,mBAAC;AAAD,CAAC,AA5CD,CAAkC,SAAS,GA4C1C","sourcesContent":["// Internal Imports\nimport { BoxplotChartModel } from '../model/boxplot';\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { BoxplotChartOptions, ChartConfig } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tBoxplot,\n\tTwoDimensionalAxes,\n\tZeroLine,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BoxplotChart extends AxisChart {\n\tmodel = new BoxplotChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BoxplotChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.boxplotChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Boxplot(this.model, this.services),\n\t\t\tnew ZeroLine(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.VERT_OR_HORIZ,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents,\n\t\t\t{\n\t\t\t\tlegend: {\n\t\t\t\t\tenabled: false,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
@@ -1,6 +0,0 @@
1
- import { AxisChart } from '../axis-chart';
2
- import { ChartConfig, BubbleChartOptions } from '../interfaces/index';
3
- export declare class BubbleChart extends AxisChart {
4
- constructor(holder: Element, chartConfigs: ChartConfig<BubbleChartOptions>);
5
- getComponents(): any[];
6
- }
package/charts/bubble.js DELETED
@@ -1,49 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- // Internal Imports
15
- import { AxisChart } from '../axis-chart';
16
- import * as Configuration from '../configuration';
17
- import * as Tools from '../tools';
18
- import { Skeletons } from '../interfaces/enums';
19
- // Components
20
- import { Grid, Ruler, Bubble, TwoDimensionalAxes, Skeleton, } from '../components/index';
21
- var BubbleChart = /** @class */ (function (_super) {
22
- __extends(BubbleChart, _super);
23
- function BubbleChart(holder, chartConfigs) {
24
- var _this = _super.call(this, holder, chartConfigs) || this;
25
- // Merge the default options for this chart
26
- // With the user provided options
27
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.bubbleChart, chartConfigs.options));
28
- // Initialize data, services, components etc.
29
- _this.init(holder, chartConfigs);
30
- return _this;
31
- }
32
- BubbleChart.prototype.getComponents = function () {
33
- // Specify what to render inside the graph-frame
34
- var graphFrameComponents = [
35
- new TwoDimensionalAxes(this.model, this.services),
36
- new Grid(this.model, this.services),
37
- new Ruler(this.model, this.services),
38
- new Bubble(this.model, this.services),
39
- new Skeleton(this.model, this.services, {
40
- skeleton: Skeletons.GRID,
41
- }),
42
- ];
43
- var components = this.getAxisChartComponents(graphFrameComponents);
44
- return components;
45
- };
46
- return BubbleChart;
47
- }(AxisChart));
48
- export { BubbleChart };
49
- //# sourceMappingURL=../../src/charts/bubble.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bubble.js","sourceRoot":"","sources":["bubble.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,KAAK,EACL,MAAM,EACN,kBAAkB,EAKlB,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAiC,+BAAS;IACzC,qBACC,MAAe,EACf,YAA6C;QAF9C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAXA,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,WAAW,EACjC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,mCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACpC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACrC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,IAAI;aACxB,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,kBAAC;AAAD,CAAC,AArCD,CAAiC,SAAS,GAqCzC","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BubbleChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tRuler,\n\tBubble,\n\tTwoDimensionalAxes,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BubbleChart extends AxisChart {\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BubbleChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.bubbleChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Ruler(this.model, this.services),\n\t\t\tnew Bubble(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.GRID,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { AxisChart } from '../axis-chart';
2
- import { BulletChartModel } from '../model/bullet';
3
- import { ChartConfig, BulletChartOptions } from '../interfaces/index';
4
- export declare class BulletChart extends AxisChart {
5
- model: BulletChartModel;
6
- constructor(holder: Element, chartConfigs: ChartConfig<BulletChartOptions>);
7
- getComponents(): any[];
8
- }
package/charts/bullet.js DELETED
@@ -1,50 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- // Internal Imports
15
- import { AxisChart } from '../axis-chart';
16
- import { BulletChartModel } from '../model/bullet';
17
- import * as Configuration from '../configuration';
18
- import * as Tools from '../tools';
19
- import { Skeletons } from '../interfaces/enums';
20
- // Components
21
- import { Bullet, Grid, TwoDimensionalAxes, Skeleton, } from '../components/index';
22
- var BulletChart = /** @class */ (function (_super) {
23
- __extends(BulletChart, _super);
24
- function BulletChart(holder, chartConfigs) {
25
- var _this = _super.call(this, holder, chartConfigs) || this;
26
- _this.model = new BulletChartModel(_this.services);
27
- // Merge the default options for this chart
28
- // With the user provided options
29
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.bulletChart, chartConfigs.options));
30
- // Initialize data, services, components etc.
31
- _this.init(holder, chartConfigs);
32
- return _this;
33
- }
34
- BulletChart.prototype.getComponents = function () {
35
- // Specify what to render inside the graph-frame
36
- var graphFrameComponents = [
37
- new TwoDimensionalAxes(this.model, this.services),
38
- new Grid(this.model, this.services),
39
- new Bullet(this.model, this.services),
40
- new Skeleton(this.model, this.services, {
41
- skeleton: Skeletons.GRID,
42
- }),
43
- ];
44
- var components = this.getAxisChartComponents(graphFrameComponents);
45
- return components;
46
- };
47
- return BulletChart;
48
- }(AxisChart));
49
- export { BulletChart };
50
- //# sourceMappingURL=../../src/charts/bullet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bullet.js","sourceRoot":"","sources":["bullet.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,MAAM,EACN,IAAI,EACJ,kBAAkB,EAIlB,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAiC,+BAAS;IAGzC,qBACC,MAAe,EACf,YAA6C;QAF9C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,gBAAgB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ3C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,WAAW,EACjC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,mCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACrC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,IAAI;aACxB,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,kBAAC;AAAD,CAAC,AAtCD,CAAiC,SAAS,GAsCzC","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport { BulletChartModel } from '../model/bullet';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BulletChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tBullet,\n\tGrid,\n\tTwoDimensionalAxes,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BulletChart extends AxisChart {\n\tmodel = new BulletChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BulletChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.bulletChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Bullet(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.GRID,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
@@ -1,10 +0,0 @@
1
- import { Chart } from '../chart';
2
- import { ChoroplethModel } from '../model/choropleth';
3
- import { ChoroplethChartOptions, ChartConfig } from '../interfaces/index';
4
- import { Modal, LayoutComponent, Tooltip } from '../components';
5
- export declare class EXPERIMENTAL_ChoroplethChart extends Chart {
6
- model: ChoroplethModel;
7
- constructor(holder: Element, chartConfigs: ChartConfig<ChoroplethChartOptions>);
8
- protected getChartComponents(graphFrameComponents: any[], configs?: any): (Tooltip | Modal | LayoutComponent)[];
9
- getComponents(): any[];
10
- }
@@ -1,141 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __spreadArrays = (this && this.__spreadArrays) || function () {
15
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
16
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
17
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
18
- r[k] = a[j];
19
- return r;
20
- };
21
- // Internal Imports
22
- import { Chart } from '../chart';
23
- import { ChoroplethModel } from '../model/choropleth';
24
- import * as Configuration from '../configuration';
25
- import * as Tools from '../tools';
26
- import { LayoutDirection, LayoutGrowth, RenderTypes, LayoutAlignItems, } from '../interfaces/index';
27
- // Components
28
- import { Choropleth, Modal, LayoutComponent, ColorScaleLegend, Title, Spacer, Toolbar,
29
- // the imports below are needed because of typescript bug (error TS4029)
30
- Tooltip, } from '../components';
31
- var EXPERIMENTAL_ChoroplethChart = /** @class */ (function (_super) {
32
- __extends(EXPERIMENTAL_ChoroplethChart, _super);
33
- function EXPERIMENTAL_ChoroplethChart(holder, chartConfigs) {
34
- var _this = _super.call(this, holder, chartConfigs) || this;
35
- _this.model = new ChoroplethModel(_this.services);
36
- // Merge the default options for this chart
37
- // With the user provided options
38
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.choroplethChart, chartConfigs.options));
39
- // Initialize data, services, components etc.
40
- _this.init(holder, chartConfigs);
41
- return _this;
42
- }
43
- // Custom getChartComponents - Implements getChartComponents
44
- // Removes zoombar support and additional `features` that are not supported in heatmap
45
- EXPERIMENTAL_ChoroplethChart.prototype.getChartComponents = function (graphFrameComponents, configs) {
46
- var options = this.model.getOptions();
47
- var toolbarEnabled = Tools.getProperty(options, 'toolbar', 'enabled');
48
- var titleAvailable = !!this.model.getOptions().title;
49
- var titleComponent = {
50
- id: 'title',
51
- components: [new Title(this.model, this.services)],
52
- growth: LayoutGrowth.STRETCH,
53
- };
54
- var toolbarComponent = {
55
- id: 'toolbar',
56
- components: [new Toolbar(this.model, this.services)],
57
- growth: LayoutGrowth.PREFERRED,
58
- };
59
- var headerComponent = {
60
- id: 'header',
61
- components: [
62
- new LayoutComponent(this.model, this.services, __spreadArrays([
63
- // always add title to keep layout correct
64
- titleComponent
65
- ], (toolbarEnabled ? [toolbarComponent] : [])), {
66
- direction: LayoutDirection.ROW,
67
- alignItems: LayoutAlignItems.CENTER,
68
- }),
69
- ],
70
- growth: LayoutGrowth.PREFERRED,
71
- };
72
- var legendComponent = {
73
- id: 'legend',
74
- components: [
75
- new ColorScaleLegend(this.model, this.services, {
76
- chartType: 'choropleth',
77
- }),
78
- ],
79
- growth: LayoutGrowth.PREFERRED,
80
- renderType: RenderTypes.SVG,
81
- };
82
- var graphFrameComponent = {
83
- id: 'graph-frame',
84
- components: graphFrameComponents,
85
- growth: LayoutGrowth.STRETCH,
86
- renderType: RenderTypes.SVG,
87
- };
88
- var isLegendEnabled = Tools.getProperty(configs, 'legend', 'enabled') !== false &&
89
- this.model.getOptions().legend.enabled !== false;
90
- // Decide the position of the legend in reference to the chart
91
- var fullFrameComponentDirection = LayoutDirection.COLUMN_REVERSE;
92
- var legendSpacerComponent = {
93
- id: 'spacer',
94
- components: [new Spacer(this.model, this.services, { size: 15 })],
95
- growth: LayoutGrowth.PREFERRED,
96
- };
97
- var fullFrameComponent = {
98
- id: 'full-frame',
99
- components: [
100
- new LayoutComponent(this.model, this.services, __spreadArrays((isLegendEnabled ? [legendComponent] : []), (isLegendEnabled ? [legendSpacerComponent] : []), [
101
- graphFrameComponent,
102
- ]), {
103
- direction: fullFrameComponentDirection,
104
- }),
105
- ],
106
- growth: LayoutGrowth.STRETCH,
107
- };
108
- var topLevelLayoutComponents = [];
109
- // header component is required for either title or toolbar
110
- if (titleAvailable || toolbarEnabled) {
111
- topLevelLayoutComponents.push(headerComponent);
112
- var titleSpacerComponent = {
113
- id: 'spacer',
114
- components: [
115
- new Spacer(this.model, this.services, toolbarEnabled ? { size: 15 } : undefined),
116
- ],
117
- growth: LayoutGrowth.PREFERRED,
118
- };
119
- topLevelLayoutComponents.push(titleSpacerComponent);
120
- }
121
- topLevelLayoutComponents.push(fullFrameComponent);
122
- return [
123
- new Tooltip(this.model, this.services),
124
- new Modal(this.model, this.services),
125
- new LayoutComponent(this.model, this.services, topLevelLayoutComponents, {
126
- direction: LayoutDirection.COLUMN,
127
- }),
128
- ];
129
- };
130
- EXPERIMENTAL_ChoroplethChart.prototype.getComponents = function () {
131
- // Specify what to render inside the graph-frame
132
- var graphFrameComponents = [
133
- new Choropleth(this.model, this.services),
134
- ];
135
- var components = this.getChartComponents(graphFrameComponents);
136
- return components;
137
- };
138
- return EXPERIMENTAL_ChoroplethChart;
139
- }(Chart));
140
- export { EXPERIMENTAL_ChoroplethChart };
141
- //# sourceMappingURL=../../src/charts/choropleth.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"choropleth.js","sourceRoot":"","sources":["choropleth.ts"],"names":[],"mappings":"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","sourcesContent":["// Internal Imports\nimport { Chart } from '../chart';\nimport { ChoroplethModel } from '../model/choropleth';\nimport * as Configuration from '../configuration';\nimport * as Tools from '../tools';\n\nimport {\n\tChoroplethChartOptions,\n\tLayoutDirection,\n\tLayoutGrowth,\n\tChartConfig,\n\tRenderTypes,\n\tLayoutAlignItems,\n} from '../interfaces/index';\n\n// Components\nimport {\n\tChoropleth,\n\tModal,\n\tLayoutComponent,\n\tColorScaleLegend,\n\tTitle,\n\tSpacer,\n\tToolbar,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n} from '../components';\n\nexport class EXPERIMENTAL_ChoroplethChart extends Chart {\n\tmodel = new ChoroplethModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<ChoroplethChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.choroplethChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\t// Custom getChartComponents - Implements getChartComponents\n\t// Removes zoombar support and additional `features` that are not supported in heatmap\n\tprotected getChartComponents(graphFrameComponents: any[], configs?: any) {\n\t\tconst options = this.model.getOptions();\n\t\tconst toolbarEnabled = Tools.getProperty(options, 'toolbar', 'enabled');\n\n\t\tconst titleAvailable = !!this.model.getOptions().title;\n\t\tconst titleComponent = {\n\t\t\tid: 'title',\n\t\t\tcomponents: [new Title(this.model, this.services)],\n\t\t\tgrowth: LayoutGrowth.STRETCH,\n\t\t};\n\n\t\tconst toolbarComponent = {\n\t\t\tid: 'toolbar',\n\t\t\tcomponents: [new Toolbar(this.model, this.services)],\n\t\t\tgrowth: LayoutGrowth.PREFERRED,\n\t\t};\n\n\t\tconst headerComponent = {\n\t\t\tid: 'header',\n\t\t\tcomponents: [\n\t\t\t\tnew LayoutComponent(\n\t\t\t\t\tthis.model,\n\t\t\t\t\tthis.services,\n\t\t\t\t\t[\n\t\t\t\t\t\t// always add title to keep layout correct\n\t\t\t\t\t\ttitleComponent,\n\t\t\t\t\t\t...(toolbarEnabled ? [toolbarComponent] : []),\n\t\t\t\t\t],\n\t\t\t\t\t{\n\t\t\t\t\t\tdirection: LayoutDirection.ROW,\n\t\t\t\t\t\talignItems: LayoutAlignItems.CENTER,\n\t\t\t\t\t}\n\t\t\t\t),\n\t\t\t],\n\t\t\tgrowth: LayoutGrowth.PREFERRED,\n\t\t};\n\n\t\tconst legendComponent = {\n\t\t\tid: 'legend',\n\t\t\tcomponents: [\n\t\t\t\tnew ColorScaleLegend(this.model, this.services, {\n\t\t\t\t\tchartType: 'choropleth',\n\t\t\t\t}),\n\t\t\t],\n\t\t\tgrowth: LayoutGrowth.PREFERRED,\n\t\t\trenderType: RenderTypes.SVG,\n\t\t};\n\n\t\tconst graphFrameComponent = {\n\t\t\tid: 'graph-frame',\n\t\t\tcomponents: graphFrameComponents,\n\t\t\tgrowth: LayoutGrowth.STRETCH,\n\t\t\trenderType: RenderTypes.SVG,\n\t\t};\n\n\t\tconst isLegendEnabled =\n\t\t\tTools.getProperty(configs, 'legend', 'enabled') !== false &&\n\t\t\tthis.model.getOptions().legend.enabled !== false;\n\n\t\t// Decide the position of the legend in reference to the chart\n\t\tconst fullFrameComponentDirection = LayoutDirection.COLUMN_REVERSE;\n\n\t\tconst legendSpacerComponent = {\n\t\t\tid: 'spacer',\n\t\t\tcomponents: [new Spacer(this.model, this.services, { size: 15 })],\n\t\t\tgrowth: LayoutGrowth.PREFERRED,\n\t\t};\n\n\t\tconst fullFrameComponent = {\n\t\t\tid: 'full-frame',\n\t\t\tcomponents: [\n\t\t\t\tnew LayoutComponent(\n\t\t\t\t\tthis.model,\n\t\t\t\t\tthis.services,\n\t\t\t\t\t[\n\t\t\t\t\t\t...(isLegendEnabled ? [legendComponent] : []),\n\t\t\t\t\t\t...(isLegendEnabled ? [legendSpacerComponent] : []),\n\t\t\t\t\t\tgraphFrameComponent,\n\t\t\t\t\t],\n\t\t\t\t\t{\n\t\t\t\t\t\tdirection: fullFrameComponentDirection,\n\t\t\t\t\t}\n\t\t\t\t),\n\t\t\t],\n\t\t\tgrowth: LayoutGrowth.STRETCH,\n\t\t};\n\n\t\tconst topLevelLayoutComponents = [];\n\t\t// header component is required for either title or toolbar\n\t\tif (titleAvailable || toolbarEnabled) {\n\t\t\ttopLevelLayoutComponents.push(headerComponent);\n\n\t\t\tconst titleSpacerComponent = {\n\t\t\t\tid: 'spacer',\n\t\t\t\tcomponents: [\n\t\t\t\t\tnew Spacer(\n\t\t\t\t\t\tthis.model,\n\t\t\t\t\t\tthis.services,\n\t\t\t\t\t\ttoolbarEnabled ? { size: 15 } : undefined\n\t\t\t\t\t),\n\t\t\t\t],\n\t\t\t\tgrowth: LayoutGrowth.PREFERRED,\n\t\t\t};\n\n\t\t\ttopLevelLayoutComponents.push(titleSpacerComponent);\n\t\t}\n\t\ttopLevelLayoutComponents.push(fullFrameComponent);\n\n\t\treturn [\n\t\t\tnew Tooltip(this.model, this.services),\n\t\t\tnew Modal(this.model, this.services),\n\t\t\tnew LayoutComponent(\n\t\t\t\tthis.model,\n\t\t\t\tthis.services,\n\t\t\t\ttopLevelLayoutComponents,\n\t\t\t\t{\n\t\t\t\t\tdirection: LayoutDirection.COLUMN,\n\t\t\t\t}\n\t\t\t),\n\t\t];\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any = [\n\t\t\tnew Choropleth(this.model, this.services),\n\t\t];\n\n\t\tconst components: any[] = this.getChartComponents(graphFrameComponents);\n\t\treturn components;\n\t}\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { Chart } from '../chart';
2
- import { CirclePackChartModel } from '../model/circle-pack';
3
- import { ChartConfig, CirclePackChartOptions } from '../interfaces/index';
4
- export declare class CirclePackChart extends Chart {
5
- model: CirclePackChartModel;
6
- constructor(holder: Element, chartConfigs: ChartConfig<CirclePackChartOptions>);
7
- getComponents(): any[];
8
- }
@@ -1,45 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- // Internal Imports
15
- import { Chart } from '../chart';
16
- import { CirclePackChartModel } from '../model/circle-pack';
17
- import * as Configuration from '../configuration';
18
- import * as Tools from '../tools';
19
- // Components
20
- import { CirclePack, } from '../components/index';
21
- var CirclePackChart = /** @class */ (function (_super) {
22
- __extends(CirclePackChart, _super);
23
- function CirclePackChart(holder, chartConfigs) {
24
- var _this = _super.call(this, holder, chartConfigs) || this;
25
- _this.model = new CirclePackChartModel(_this.services);
26
- // Merge the default options for this chart
27
- // With the user provided options
28
- _this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.circlePackChart, chartConfigs.options));
29
- // Initialize data, services, components etc.
30
- _this.init(holder, chartConfigs);
31
- return _this;
32
- }
33
- CirclePackChart.prototype.getComponents = function () {
34
- // Specify what to render inside the graph-frame
35
- var graphFrameComponents = [
36
- new CirclePack(this.model, this.services),
37
- ];
38
- // get the base chart components and export with tooltip
39
- var components = this.getChartComponents(graphFrameComponents);
40
- return components;
41
- };
42
- return CirclePackChart;
43
- }(Chart));
44
- export { CirclePackChart };
45
- //# sourceMappingURL=../../src/charts/circle-pack.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circle-pack.js","sourceRoot":"","sources":["circle-pack.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,aAAa;AACb,OAAO,EACN,UAAU,GAKV,MAAM,qBAAqB,CAAC;AAE7B;IAAqC,mCAAK;IAGzC,yBACC,MAAe,EACf,YAAiD;QAFlD,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,oBAAoB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ/C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,eAAe,EACrC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,uCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAG;YAC5B,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;SACzC,CAAC;QAEF,wDAAwD;QACxD,IAAM,UAAU,GAAU,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;QACxE,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,sBAAC;AAAD,CAAC,AAhCD,CAAqC,KAAK,GAgCzC","sourcesContent":["// Internal Imports\nimport { Chart } from '../chart';\nimport { CirclePackChartModel } from '../model/circle-pack';\nimport { ChartConfig, CirclePackChartOptions } from '../interfaces/index';\nimport * as Configuration from '../configuration';\nimport * as Tools from '../tools';\n\n// Components\nimport {\n\tCirclePack,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class CirclePackChart extends Chart {\n\tmodel = new CirclePackChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<CirclePackChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.circlePackChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents = [\n\t\t\tnew CirclePack(this.model, this.services),\n\t\t];\n\n\t\t// get the base chart components and export with tooltip\n\t\tconst components: any[] = this.getChartComponents(graphFrameComponents);\n\t\treturn components;\n\t}\n}\n"]}
package/charts/combo.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { AxisChart } from '../axis-chart';
2
- import { ChartConfig, ComboChartOptions } from '../interfaces/index';
3
- export declare class ComboChart extends AxisChart {
4
- constructor(holder: Element, chartConfigs: ChartConfig<ComboChartOptions>);
5
- getGraphComponents(): any;
6
- getComponents(): any[];
7
- }