@fluentui/react-charting 5.12.24 → 5.12.27

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 (1168) hide show
  1. package/CHANGELOG.json +52 -1
  2. package/CHANGELOG.md +30 -2
  3. package/dist/react-charting.js +2 -0
  4. package/dist/react-charting.js.map +1 -0
  5. package/dist/react-charting.min.js +2 -0
  6. package/dist/react-charting.min.js.map +1 -0
  7. package/lib/AreaChart.d.ts +1 -0
  8. package/lib/AreaChart.js +2 -0
  9. package/lib/AreaChart.js.map +1 -0
  10. package/lib/CartesianChart.d.ts +1 -0
  11. package/lib/CartesianChart.js +2 -0
  12. package/lib/CartesianChart.js.map +1 -0
  13. package/lib/DonutChart.d.ts +1 -0
  14. package/lib/DonutChart.js +2 -0
  15. package/lib/DonutChart.js.map +1 -0
  16. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  17. package/lib/GroupedVerticalBarChart.js +2 -0
  18. package/lib/GroupedVerticalBarChart.js.map +1 -0
  19. package/lib/HeatMapChart.d.ts +1 -0
  20. package/lib/HeatMapChart.js +2 -0
  21. package/lib/HeatMapChart.js.map +1 -0
  22. package/lib/HorizontalBarChart.d.ts +1 -0
  23. package/lib/HorizontalBarChart.js +2 -0
  24. package/lib/HorizontalBarChart.js.map +1 -0
  25. package/lib/Legends.d.ts +1 -0
  26. package/lib/Legends.js +2 -0
  27. package/lib/Legends.js.map +1 -0
  28. package/lib/LineChart.d.ts +1 -0
  29. package/lib/LineChart.js +2 -0
  30. package/lib/LineChart.js.map +1 -0
  31. package/lib/PieChart.d.ts +1 -0
  32. package/lib/PieChart.js +2 -0
  33. package/lib/PieChart.js.map +1 -0
  34. package/lib/SankeyChart.d.ts +1 -0
  35. package/lib/SankeyChart.js +2 -0
  36. package/lib/SankeyChart.js.map +1 -0
  37. package/lib/Sparkline.d.ts +1 -0
  38. package/lib/Sparkline.js +2 -0
  39. package/lib/Sparkline.js.map +1 -0
  40. package/lib/StackedBarChart.d.ts +1 -0
  41. package/lib/StackedBarChart.js +2 -0
  42. package/lib/StackedBarChart.js.map +1 -0
  43. package/lib/Styling.d.ts +2 -0
  44. package/lib/Styling.js +8 -0
  45. package/lib/Styling.js.map +1 -0
  46. package/lib/TreeChart.d.ts +1 -0
  47. package/lib/TreeChart.js +2 -0
  48. package/lib/TreeChart.js.map +1 -0
  49. package/lib/Utilities.d.ts +2 -0
  50. package/lib/Utilities.js +20 -0
  51. package/lib/Utilities.js.map +1 -0
  52. package/lib/VerticalBarChart.d.ts +1 -0
  53. package/lib/VerticalBarChart.js +2 -0
  54. package/lib/VerticalBarChart.js.map +1 -0
  55. package/lib/VerticalStackedBarChart.d.ts +1 -0
  56. package/lib/VerticalStackedBarChart.js +2 -0
  57. package/lib/VerticalStackedBarChart.js.map +1 -0
  58. package/lib/components/AreaChart/AreaChart.base.d.ts +73 -0
  59. package/lib/components/AreaChart/AreaChart.base.js +489 -0
  60. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  61. package/lib/components/AreaChart/AreaChart.d.ts +3 -0
  62. package/lib/components/AreaChart/AreaChart.js +6 -0
  63. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  64. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  65. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  66. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  67. package/lib/components/AreaChart/AreaChart.types.d.ts +36 -0
  68. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  69. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  70. package/lib/components/AreaChart/index.d.ts +2 -0
  71. package/lib/components/AreaChart/index.js +3 -0
  72. package/lib/components/AreaChart/index.js.map +1 -0
  73. package/lib/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  74. package/lib/components/CommonComponents/CartesianChart.base.js +323 -0
  75. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  76. package/lib/components/CommonComponents/CartesianChart.d.ts +3 -0
  77. package/lib/components/CommonComponents/CartesianChart.js +5 -0
  78. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  79. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  80. package/lib/components/CommonComponents/CartesianChart.styles.js +163 -0
  81. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  82. package/lib/components/CommonComponents/CartesianChart.types.d.ts +400 -0
  83. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  84. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  85. package/lib/components/CommonComponents/index.d.ts +2 -0
  86. package/lib/components/CommonComponents/index.js +3 -0
  87. package/lib/components/CommonComponents/index.js.map +1 -0
  88. package/lib/components/DonutChart/Arc/Arc.d.ts +19 -0
  89. package/lib/components/DonutChart/Arc/Arc.js +77 -0
  90. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  91. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  92. package/lib/components/DonutChart/Arc/Arc.styles.js +32 -0
  93. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  94. package/lib/components/DonutChart/Arc/Arc.types.d.ts +112 -0
  95. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  96. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  97. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  98. package/lib/components/DonutChart/Arc/index.js +3 -0
  99. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  100. package/lib/components/DonutChart/DonutChart.base.d.ts +44 -0
  101. package/lib/components/DonutChart/DonutChart.base.js +209 -0
  102. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  103. package/lib/components/DonutChart/DonutChart.d.ts +3 -0
  104. package/lib/components/DonutChart/DonutChart.js +6 -0
  105. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  106. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  107. package/lib/components/DonutChart/DonutChart.styles.js +29 -0
  108. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  109. package/lib/components/DonutChart/DonutChart.types.d.ts +53 -0
  110. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  111. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  112. package/lib/components/DonutChart/Pie/Pie.d.ts +12 -0
  113. package/lib/components/DonutChart/Pie/Pie.js +47 -0
  114. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  115. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  116. package/lib/components/DonutChart/Pie/Pie.styles.js +6 -0
  117. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  118. package/lib/components/DonutChart/Pie/Pie.types.d.ts +78 -0
  119. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  120. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  121. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  122. package/lib/components/DonutChart/Pie/index.js +3 -0
  123. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  124. package/lib/components/DonutChart/index.d.ts +3 -0
  125. package/lib/components/DonutChart/index.js +4 -0
  126. package/lib/components/DonutChart/index.js.map +1 -0
  127. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +49 -0
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +351 -0
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +6 -0
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +11 -0
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +74 -0
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  139. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  140. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  141. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  142. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +145 -0
  143. package/lib/components/HeatMapChart/HeatMapChart.base.js +498 -0
  144. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  145. package/lib/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  146. package/lib/components/HeatMapChart/HeatMapChart.js +5 -0
  147. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  148. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.js +22 -0
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  151. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  152. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  153. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  154. package/lib/components/HeatMapChart/index.d.ts +2 -0
  155. package/lib/components/HeatMapChart/index.js +3 -0
  156. package/lib/components/HeatMapChart/index.js.map +1 -0
  157. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +34 -0
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +194 -0
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +6 -0
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +49 -0
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +130 -0
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +2 -0
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  169. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  170. package/lib/components/HorizontalBarChart/index.js +4 -0
  171. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  172. package/lib/components/Legends/Legends.base.d.ts +42 -0
  173. package/lib/components/Legends/Legends.base.js +311 -0
  174. package/lib/components/Legends/Legends.base.js.map +1 -0
  175. package/lib/components/Legends/Legends.d.ts +3 -0
  176. package/lib/components/Legends/Legends.js +5 -0
  177. package/lib/components/Legends/Legends.js.map +1 -0
  178. package/lib/components/Legends/Legends.styles.d.ts +2 -0
  179. package/lib/components/Legends/Legends.styles.js +103 -0
  180. package/lib/components/Legends/Legends.styles.js.map +1 -0
  181. package/lib/components/Legends/Legends.types.d.ts +169 -0
  182. package/lib/components/Legends/Legends.types.js +2 -0
  183. package/lib/components/Legends/Legends.types.js.map +1 -0
  184. package/lib/components/Legends/index.d.ts +3 -0
  185. package/lib/components/Legends/index.js +4 -0
  186. package/lib/components/Legends/index.js.map +1 -0
  187. package/lib/components/Legends/shape.d.ts +9 -0
  188. package/lib/components/Legends/shape.js +24 -0
  189. package/lib/components/Legends/shape.js.map +1 -0
  190. package/lib/components/LineChart/LineChart.base.d.ts +69 -0
  191. package/lib/components/LineChart/LineChart.base.js +768 -0
  192. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  193. package/lib/components/LineChart/LineChart.d.ts +3 -0
  194. package/lib/components/LineChart/LineChart.js +6 -0
  195. package/lib/components/LineChart/LineChart.js.map +1 -0
  196. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  197. package/lib/components/LineChart/LineChart.styles.js +7 -0
  198. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  199. package/lib/components/LineChart/LineChart.types.d.ts +72 -0
  200. package/lib/components/LineChart/LineChart.types.js +2 -0
  201. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  202. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +93 -0
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  205. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.js +37 -0
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  208. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  209. package/lib/components/LineChart/eventAnnotation/Textbox.js +37 -0
  210. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  211. package/lib/components/LineChart/index.d.ts +3 -0
  212. package/lib/components/LineChart/index.js +4 -0
  213. package/lib/components/LineChart/index.js.map +1 -0
  214. package/lib/components/PieChart/Arc/Arc.d.ts +12 -0
  215. package/lib/components/PieChart/Arc/Arc.js +57 -0
  216. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  217. package/lib/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  218. package/lib/components/PieChart/Arc/Arc.styles.js +8 -0
  219. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  220. package/lib/components/PieChart/Arc/Arc.types.d.ts +60 -0
  221. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  222. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  223. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  224. package/lib/components/PieChart/Arc/index.js +3 -0
  225. package/lib/components/PieChart/Arc/index.js.map +1 -0
  226. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  227. package/lib/components/PieChart/Pie/Pie.js +35 -0
  228. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  229. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  230. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  231. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  232. package/lib/components/PieChart/Pie/Pie.types.d.ts +46 -0
  233. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  234. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  235. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  236. package/lib/components/PieChart/Pie/index.js +3 -0
  237. package/lib/components/PieChart/Pie/index.js.map +1 -0
  238. package/lib/components/PieChart/PieChart.base.d.ts +7 -0
  239. package/lib/components/PieChart/PieChart.base.js +34 -0
  240. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  241. package/lib/components/PieChart/PieChart.d.ts +3 -0
  242. package/lib/components/PieChart/PieChart.js +6 -0
  243. package/lib/components/PieChart/PieChart.js.map +1 -0
  244. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  245. package/lib/components/PieChart/PieChart.styles.js +29 -0
  246. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  247. package/lib/components/PieChart/PieChart.types.d.ts +63 -0
  248. package/lib/components/PieChart/PieChart.types.js +2 -0
  249. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  250. package/lib/components/PieChart/index.d.ts +2 -0
  251. package/lib/components/PieChart/index.js +3 -0
  252. package/lib/components/PieChart/index.js.map +1 -0
  253. package/lib/components/SankeyChart/SankeyChart.base.d.ts +18 -0
  254. package/lib/components/SankeyChart/SankeyChart.base.js +108 -0
  255. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  256. package/lib/components/SankeyChart/SankeyChart.d.ts +3 -0
  257. package/lib/components/SankeyChart/SankeyChart.js +6 -0
  258. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  259. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  260. package/lib/components/SankeyChart/SankeyChart.styles.js +21 -0
  261. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  262. package/lib/components/SankeyChart/SankeyChart.types.d.ts +63 -0
  263. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  264. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  265. package/lib/components/SankeyChart/index.d.ts +2 -0
  266. package/lib/components/SankeyChart/index.js +3 -0
  267. package/lib/components/SankeyChart/index.js.map +1 -0
  268. package/lib/components/Sparkline/Sparkline.base.d.ts +20 -0
  269. package/lib/components/Sparkline/Sparkline.base.js +76 -0
  270. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  271. package/lib/components/Sparkline/Sparkline.d.ts +3 -0
  272. package/lib/components/Sparkline/Sparkline.js +6 -0
  273. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  274. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  275. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  276. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  277. package/lib/components/Sparkline/Sparkline.types.d.ts +51 -0
  278. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  279. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  280. package/lib/components/Sparkline/index.d.ts +2 -0
  281. package/lib/components/Sparkline/index.js +3 -0
  282. package/lib/components/Sparkline/index.js.map +1 -0
  283. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +41 -0
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +293 -0
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.js +6 -0
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +61 -0
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +154 -0
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +2 -0
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  295. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +39 -0
  296. package/lib/components/StackedBarChart/StackedBarChart.base.js +297 -0
  297. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  298. package/lib/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  299. package/lib/components/StackedBarChart/StackedBarChart.js +6 -0
  300. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  301. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.js +94 -0
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  304. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +202 -0
  305. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  306. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  307. package/lib/components/StackedBarChart/index.d.ts +5 -0
  308. package/lib/components/StackedBarChart/index.js +6 -0
  309. package/lib/components/StackedBarChart/index.js.map +1 -0
  310. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  311. package/lib/components/TreeChart/TreeChart.base.js +303 -0
  312. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  313. package/lib/components/TreeChart/TreeChart.d.ts +3 -0
  314. package/lib/components/TreeChart/TreeChart.js +5 -0
  315. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  316. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  317. package/lib/components/TreeChart/TreeChart.styles.js +28 -0
  318. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  319. package/lib/components/TreeChart/TreeChart.types.d.ts +185 -0
  320. package/lib/components/TreeChart/TreeChart.types.js +23 -0
  321. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  322. package/lib/components/TreeChart/index.d.ts +2 -0
  323. package/lib/components/TreeChart/index.js +3 -0
  324. package/lib/components/TreeChart/index.js.map +1 -0
  325. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +57 -0
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +482 -0
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  328. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  329. package/lib/components/VerticalBarChart/VerticalBarChart.js +6 -0
  330. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  331. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +22 -0
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  334. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +105 -0
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  337. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  338. package/lib/components/VerticalBarChart/index.js +3 -0
  339. package/lib/components/VerticalBarChart/index.js.map +1 -0
  340. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +71 -0
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +607 -0
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -0
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +12 -0
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +133 -0
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  352. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  353. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  354. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  355. package/lib/index.d.ts +18 -0
  356. package/lib/index.js +19 -0
  357. package/lib/index.js.map +1 -0
  358. package/lib/types/IDataPoint.d.ts +541 -0
  359. package/lib/types/IDataPoint.js +2 -0
  360. package/lib/types/IDataPoint.js.map +1 -0
  361. package/lib/types/IEventAnnotation.d.ts +6 -0
  362. package/lib/types/IEventAnnotation.js +2 -0
  363. package/lib/types/IEventAnnotation.js.map +1 -0
  364. package/lib/types/ILegendDataItem.d.ts +10 -0
  365. package/lib/types/ILegendDataItem.js +2 -0
  366. package/lib/types/ILegendDataItem.js.map +1 -0
  367. package/lib/types/index.d.ts +2 -0
  368. package/lib/types/index.js +3 -0
  369. package/lib/types/index.js.map +1 -0
  370. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +82 -0
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  382. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  383. package/lib/utilities/ChartHoverCard/index.js +4 -0
  384. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  385. package/lib/utilities/index.d.ts +2 -0
  386. package/lib/utilities/index.js +3 -0
  387. package/lib/utilities/index.js.map +1 -0
  388. package/lib/utilities/utilities.d.ts +374 -0
  389. package/lib/utilities/utilities.js +819 -0
  390. package/lib/utilities/utilities.js.map +1 -0
  391. package/lib/version.d.ts +1 -0
  392. package/lib/version.js +5 -0
  393. package/lib/version.js.map +1 -0
  394. package/lib-amd/AreaChart.d.ts +1 -0
  395. package/lib-amd/AreaChart.js +6 -0
  396. package/lib-amd/AreaChart.js.map +1 -0
  397. package/lib-amd/CartesianChart.d.ts +1 -0
  398. package/lib-amd/CartesianChart.js +6 -0
  399. package/lib-amd/CartesianChart.js.map +1 -0
  400. package/lib-amd/DonutChart.d.ts +1 -0
  401. package/lib-amd/DonutChart.js +6 -0
  402. package/lib-amd/DonutChart.js.map +1 -0
  403. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  404. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  405. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  406. package/lib-amd/HeatMapChart.d.ts +1 -0
  407. package/lib-amd/HeatMapChart.js +6 -0
  408. package/lib-amd/HeatMapChart.js.map +1 -0
  409. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  410. package/lib-amd/HorizontalBarChart.js +6 -0
  411. package/lib-amd/HorizontalBarChart.js.map +1 -0
  412. package/lib-amd/Legends.d.ts +1 -0
  413. package/lib-amd/Legends.js +6 -0
  414. package/lib-amd/Legends.js.map +1 -0
  415. package/lib-amd/LineChart.d.ts +1 -0
  416. package/lib-amd/LineChart.js +6 -0
  417. package/lib-amd/LineChart.js.map +1 -0
  418. package/lib-amd/PieChart.d.ts +1 -0
  419. package/lib-amd/PieChart.js +6 -0
  420. package/lib-amd/PieChart.js.map +1 -0
  421. package/lib-amd/SankeyChart.d.ts +1 -0
  422. package/lib-amd/SankeyChart.js +6 -0
  423. package/lib-amd/SankeyChart.js.map +1 -0
  424. package/lib-amd/Sparkline.d.ts +1 -0
  425. package/lib-amd/Sparkline.js +6 -0
  426. package/lib-amd/Sparkline.js.map +1 -0
  427. package/lib-amd/StackedBarChart.d.ts +1 -0
  428. package/lib-amd/StackedBarChart.js +6 -0
  429. package/lib-amd/StackedBarChart.js.map +1 -0
  430. package/lib-amd/Styling.d.ts +2 -0
  431. package/lib-amd/Styling.js +75 -0
  432. package/lib-amd/Styling.js.map +1 -0
  433. package/lib-amd/TreeChart.d.ts +1 -0
  434. package/lib-amd/TreeChart.js +6 -0
  435. package/lib-amd/TreeChart.js.map +1 -0
  436. package/lib-amd/Utilities.d.ts +2 -0
  437. package/lib-amd/Utilities.js +183 -0
  438. package/lib-amd/Utilities.js.map +1 -0
  439. package/lib-amd/VerticalBarChart.d.ts +1 -0
  440. package/lib-amd/VerticalBarChart.js +6 -0
  441. package/lib-amd/VerticalBarChart.js.map +1 -0
  442. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  443. package/lib-amd/VerticalStackedBarChart.js +6 -0
  444. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  445. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +73 -0
  446. package/lib-amd/components/AreaChart/AreaChart.base.js +482 -0
  447. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  448. package/lib-amd/components/AreaChart/AreaChart.d.ts +3 -0
  449. package/lib-amd/components/AreaChart/AreaChart.js +8 -0
  450. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  451. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  452. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  453. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  454. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +36 -0
  455. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  456. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  457. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  458. package/lib-amd/components/AreaChart/index.js +7 -0
  459. package/lib-amd/components/AreaChart/index.js.map +1 -0
  460. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  461. package/lib-amd/components/CommonComponents/CartesianChart.base.js +321 -0
  462. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  463. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +3 -0
  464. package/lib-amd/components/CommonComponents/CartesianChart.js +7 -0
  465. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  466. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  467. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +166 -0
  468. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  469. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +400 -0
  470. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  471. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  472. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  473. package/lib-amd/components/CommonComponents/index.js +7 -0
  474. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  475. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +19 -0
  476. package/lib-amd/components/DonutChart/Arc/Arc.js +76 -0
  477. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  478. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  479. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +37 -0
  480. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  481. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +112 -0
  482. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  483. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  484. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  485. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  486. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  487. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +44 -0
  488. package/lib-amd/components/DonutChart/DonutChart.base.js +206 -0
  489. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  490. package/lib-amd/components/DonutChart/DonutChart.d.ts +3 -0
  491. package/lib-amd/components/DonutChart/DonutChart.js +8 -0
  492. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  493. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  494. package/lib-amd/components/DonutChart/DonutChart.styles.js +35 -0
  495. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  496. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +53 -0
  497. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  498. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  499. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +12 -0
  500. package/lib-amd/components/DonutChart/Pie/Pie.js +48 -0
  501. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  502. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  503. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +12 -0
  504. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  505. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +78 -0
  506. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  507. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  508. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  509. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  510. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  511. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  512. package/lib-amd/components/DonutChart/index.js +8 -0
  513. package/lib-amd/components/DonutChart/index.js.map +1 -0
  514. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +49 -0
  515. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +346 -0
  516. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  517. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  518. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +8 -0
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +16 -0
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +74 -0
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  526. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  527. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  528. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  529. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +145 -0
  530. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +492 -0
  531. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  532. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  533. package/lib-amd/components/HeatMapChart/HeatMapChart.js +7 -0
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +28 -0
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  541. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  542. package/lib-amd/components/HeatMapChart/index.js +7 -0
  543. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  544. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +34 -0
  545. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +193 -0
  546. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  547. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  548. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +8 -0
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +53 -0
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +130 -0
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +5 -0
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  556. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  557. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  558. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  559. package/lib-amd/components/Legends/Legends.base.d.ts +42 -0
  560. package/lib-amd/components/Legends/Legends.base.js +307 -0
  561. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  562. package/lib-amd/components/Legends/Legends.d.ts +3 -0
  563. package/lib-amd/components/Legends/Legends.js +7 -0
  564. package/lib-amd/components/Legends/Legends.js.map +1 -0
  565. package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
  566. package/lib-amd/components/Legends/Legends.styles.js +107 -0
  567. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  568. package/lib-amd/components/Legends/Legends.types.d.ts +169 -0
  569. package/lib-amd/components/Legends/Legends.types.js +5 -0
  570. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  571. package/lib-amd/components/Legends/index.d.ts +3 -0
  572. package/lib-amd/components/Legends/index.js +8 -0
  573. package/lib-amd/components/Legends/index.js.map +1 -0
  574. package/lib-amd/components/Legends/shape.d.ts +9 -0
  575. package/lib-amd/components/Legends/shape.js +27 -0
  576. package/lib-amd/components/Legends/shape.js.map +1 -0
  577. package/lib-amd/components/LineChart/LineChart.base.d.ts +69 -0
  578. package/lib-amd/components/LineChart/LineChart.base.js +762 -0
  579. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  580. package/lib-amd/components/LineChart/LineChart.d.ts +3 -0
  581. package/lib-amd/components/LineChart/LineChart.js +8 -0
  582. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  583. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  584. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  585. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  586. package/lib-amd/components/LineChart/LineChart.types.d.ts +72 -0
  587. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  588. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  589. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  590. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +95 -0
  591. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  592. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  593. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  594. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  595. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  596. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  597. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  598. package/lib-amd/components/LineChart/index.d.ts +3 -0
  599. package/lib-amd/components/LineChart/index.js +8 -0
  600. package/lib-amd/components/LineChart/index.js.map +1 -0
  601. package/lib-amd/components/PieChart/Arc/Arc.d.ts +12 -0
  602. package/lib-amd/components/PieChart/Arc/Arc.js +56 -0
  603. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  604. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  605. package/lib-amd/components/PieChart/Arc/Arc.styles.js +13 -0
  606. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  607. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +60 -0
  608. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  609. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  610. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  611. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  612. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  613. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  614. package/lib-amd/components/PieChart/Pie/Pie.js +35 -0
  615. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  616. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  617. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  618. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  619. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +46 -0
  620. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  621. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  622. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  623. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  624. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  625. package/lib-amd/components/PieChart/PieChart.base.d.ts +7 -0
  626. package/lib-amd/components/PieChart/PieChart.base.js +35 -0
  627. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  628. package/lib-amd/components/PieChart/PieChart.d.ts +3 -0
  629. package/lib-amd/components/PieChart/PieChart.js +8 -0
  630. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  631. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  632. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  633. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  634. package/lib-amd/components/PieChart/PieChart.types.d.ts +63 -0
  635. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  636. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  637. package/lib-amd/components/PieChart/index.d.ts +2 -0
  638. package/lib-amd/components/PieChart/index.js +7 -0
  639. package/lib-amd/components/PieChart/index.js.map +1 -0
  640. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +18 -0
  641. package/lib-amd/components/SankeyChart/SankeyChart.base.js +109 -0
  642. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  643. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +3 -0
  644. package/lib-amd/components/SankeyChart/SankeyChart.js +8 -0
  645. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  646. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  647. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +27 -0
  648. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  649. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +63 -0
  650. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  651. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  652. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  653. package/lib-amd/components/SankeyChart/index.js +7 -0
  654. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  655. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +20 -0
  656. package/lib-amd/components/Sparkline/Sparkline.base.js +74 -0
  657. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  658. package/lib-amd/components/Sparkline/Sparkline.d.ts +3 -0
  659. package/lib-amd/components/Sparkline/Sparkline.js +8 -0
  660. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  661. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  662. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  663. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  664. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +51 -0
  665. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  666. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  667. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  668. package/lib-amd/components/Sparkline/index.js +7 -0
  669. package/lib-amd/components/Sparkline/index.js.map +1 -0
  670. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +41 -0
  671. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +291 -0
  672. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  673. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  674. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +8 -0
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +66 -0
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +154 -0
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +5 -0
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  682. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +39 -0
  683. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +295 -0
  684. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  685. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  686. package/lib-amd/components/StackedBarChart/StackedBarChart.js +8 -0
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +98 -0
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +202 -0
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  694. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  695. package/lib-amd/components/StackedBarChart/index.js +10 -0
  696. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  697. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  698. package/lib-amd/components/TreeChart/TreeChart.base.js +301 -0
  699. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  700. package/lib-amd/components/TreeChart/TreeChart.d.ts +3 -0
  701. package/lib-amd/components/TreeChart/TreeChart.js +7 -0
  702. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  703. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  704. package/lib-amd/components/TreeChart/TreeChart.styles.js +33 -0
  705. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  706. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +185 -0
  707. package/lib-amd/components/TreeChart/TreeChart.types.js +28 -0
  708. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  709. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  710. package/lib-amd/components/TreeChart/index.js +7 -0
  711. package/lib-amd/components/TreeChart/index.js.map +1 -0
  712. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +57 -0
  713. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +476 -0
  714. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  715. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  716. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +8 -0
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +27 -0
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +105 -0
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  724. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  725. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  726. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  727. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +71 -0
  728. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +601 -0
  729. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  730. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  731. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +8 -0
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +17 -0
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +133 -0
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  739. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  740. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  741. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  742. package/lib-amd/index.d.ts +18 -0
  743. package/lib-amd/index.js +22 -0
  744. package/lib-amd/index.js.map +1 -0
  745. package/lib-amd/types/IDataPoint.d.ts +541 -0
  746. package/lib-amd/types/IDataPoint.js +5 -0
  747. package/lib-amd/types/IDataPoint.js.map +1 -0
  748. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  749. package/lib-amd/types/IEventAnnotation.js +5 -0
  750. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  751. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  752. package/lib-amd/types/ILegendDataItem.js +5 -0
  753. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  754. package/lib-amd/types/index.d.ts +2 -0
  755. package/lib-amd/types/index.js +7 -0
  756. package/lib-amd/types/index.js.map +1 -0
  757. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  758. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  759. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  760. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  761. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +87 -0
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  769. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  770. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  771. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  772. package/lib-amd/utilities/index.d.ts +2 -0
  773. package/lib-amd/utilities/index.js +7 -0
  774. package/lib-amd/utilities/index.js.map +1 -0
  775. package/lib-amd/utilities/utilities.d.ts +374 -0
  776. package/lib-amd/utilities/utilities.js +844 -0
  777. package/lib-amd/utilities/utilities.js.map +1 -0
  778. package/lib-amd/version.d.ts +1 -0
  779. package/lib-amd/version.js +6 -0
  780. package/lib-amd/version.js.map +1 -0
  781. package/lib-commonjs/AreaChart.d.ts +1 -0
  782. package/lib-commonjs/AreaChart.js +5 -0
  783. package/lib-commonjs/AreaChart.js.map +1 -0
  784. package/lib-commonjs/CartesianChart.d.ts +1 -0
  785. package/lib-commonjs/CartesianChart.js +5 -0
  786. package/lib-commonjs/CartesianChart.js.map +1 -0
  787. package/lib-commonjs/DonutChart.d.ts +1 -0
  788. package/lib-commonjs/DonutChart.js +5 -0
  789. package/lib-commonjs/DonutChart.js.map +1 -0
  790. package/lib-commonjs/GroupedVerticalBarChart.d.ts +1 -0
  791. package/lib-commonjs/GroupedVerticalBarChart.js +5 -0
  792. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -0
  793. package/lib-commonjs/HeatMapChart.d.ts +1 -0
  794. package/lib-commonjs/HeatMapChart.js +5 -0
  795. package/lib-commonjs/HeatMapChart.js.map +1 -0
  796. package/lib-commonjs/HorizontalBarChart.d.ts +1 -0
  797. package/lib-commonjs/HorizontalBarChart.js +5 -0
  798. package/lib-commonjs/HorizontalBarChart.js.map +1 -0
  799. package/lib-commonjs/Legends.d.ts +1 -0
  800. package/lib-commonjs/Legends.js +5 -0
  801. package/lib-commonjs/Legends.js.map +1 -0
  802. package/lib-commonjs/LineChart.d.ts +1 -0
  803. package/lib-commonjs/LineChart.js +5 -0
  804. package/lib-commonjs/LineChart.js.map +1 -0
  805. package/lib-commonjs/PieChart.d.ts +1 -0
  806. package/lib-commonjs/PieChart.js +5 -0
  807. package/lib-commonjs/PieChart.js.map +1 -0
  808. package/lib-commonjs/SankeyChart.d.ts +1 -0
  809. package/lib-commonjs/SankeyChart.js +5 -0
  810. package/lib-commonjs/SankeyChart.js.map +1 -0
  811. package/lib-commonjs/Sparkline.d.ts +1 -0
  812. package/lib-commonjs/Sparkline.js +5 -0
  813. package/lib-commonjs/Sparkline.js.map +1 -0
  814. package/lib-commonjs/StackedBarChart.d.ts +1 -0
  815. package/lib-commonjs/StackedBarChart.js +5 -0
  816. package/lib-commonjs/StackedBarChart.js.map +1 -0
  817. package/lib-commonjs/Styling.d.ts +2 -0
  818. package/lib-commonjs/Styling.js +75 -0
  819. package/lib-commonjs/Styling.js.map +1 -0
  820. package/lib-commonjs/TreeChart.d.ts +1 -0
  821. package/lib-commonjs/TreeChart.js +5 -0
  822. package/lib-commonjs/TreeChart.js.map +1 -0
  823. package/lib-commonjs/Utilities.d.ts +2 -0
  824. package/lib-commonjs/Utilities.js +185 -0
  825. package/lib-commonjs/Utilities.js.map +1 -0
  826. package/lib-commonjs/VerticalBarChart.d.ts +1 -0
  827. package/lib-commonjs/VerticalBarChart.js +5 -0
  828. package/lib-commonjs/VerticalBarChart.js.map +1 -0
  829. package/lib-commonjs/VerticalStackedBarChart.d.ts +1 -0
  830. package/lib-commonjs/VerticalStackedBarChart.js +5 -0
  831. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -0
  832. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +73 -0
  833. package/lib-commonjs/components/AreaChart/AreaChart.base.js +492 -0
  834. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -0
  835. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +3 -0
  836. package/lib-commonjs/components/AreaChart/AreaChart.js +9 -0
  837. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -0
  838. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +2 -0
  839. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +11 -0
  840. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -0
  841. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +36 -0
  842. package/lib-commonjs/components/AreaChart/AreaChart.types.js +3 -0
  843. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -0
  844. package/lib-commonjs/components/AreaChart/index.d.ts +2 -0
  845. package/lib-commonjs/components/AreaChart/index.js +6 -0
  846. package/lib-commonjs/components/AreaChart/index.js.map +1 -0
  847. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +43 -0
  848. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +326 -0
  849. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -0
  850. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +3 -0
  851. package/lib-commonjs/components/CommonComponents/CartesianChart.js +8 -0
  852. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
  853. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  854. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +167 -0
  855. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  856. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +400 -0
  857. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +3 -0
  858. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
  859. package/lib-commonjs/components/CommonComponents/index.d.ts +2 -0
  860. package/lib-commonjs/components/CommonComponents/index.js +6 -0
  861. package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
  862. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +19 -0
  863. package/lib-commonjs/components/DonutChart/Arc/Arc.js +80 -0
  864. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
  865. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  866. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +36 -0
  867. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  868. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +112 -0
  869. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +3 -0
  870. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
  871. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +2 -0
  872. package/lib-commonjs/components/DonutChart/Arc/index.js +6 -0
  873. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
  874. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +44 -0
  875. package/lib-commonjs/components/DonutChart/DonutChart.base.js +212 -0
  876. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -0
  877. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +3 -0
  878. package/lib-commonjs/components/DonutChart/DonutChart.js +9 -0
  879. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
  880. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +2 -0
  881. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +33 -0
  882. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -0
  883. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +53 -0
  884. package/lib-commonjs/components/DonutChart/DonutChart.types.js +3 -0
  885. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
  886. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +12 -0
  887. package/lib-commonjs/components/DonutChart/Pie/Pie.js +50 -0
  888. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
  889. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  890. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +10 -0
  891. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  892. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +78 -0
  893. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +3 -0
  894. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
  895. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +2 -0
  896. package/lib-commonjs/components/DonutChart/Pie/index.js +6 -0
  897. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
  898. package/lib-commonjs/components/DonutChart/index.d.ts +3 -0
  899. package/lib-commonjs/components/DonutChart/index.js +7 -0
  900. package/lib-commonjs/components/DonutChart/index.js.map +1 -0
  901. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +49 -0
  902. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +354 -0
  903. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  904. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +3 -0
  905. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +9 -0
  906. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  907. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  908. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +15 -0
  909. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  910. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +74 -0
  911. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +3 -0
  912. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  913. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +2 -0
  914. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +6 -0
  915. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -0
  916. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +145 -0
  917. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +501 -0
  918. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  919. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +3 -0
  920. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +8 -0
  921. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -0
  922. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  923. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +26 -0
  924. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  925. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +110 -0
  926. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +3 -0
  927. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  928. package/lib-commonjs/components/HeatMapChart/index.d.ts +2 -0
  929. package/lib-commonjs/components/HeatMapChart/index.js +6 -0
  930. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -0
  931. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +34 -0
  932. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +197 -0
  933. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  934. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +3 -0
  935. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +9 -0
  936. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  937. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  938. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +53 -0
  939. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  940. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +130 -0
  941. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +3 -0
  942. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  943. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +3 -0
  944. package/lib-commonjs/components/HorizontalBarChart/index.js +7 -0
  945. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
  946. package/lib-commonjs/components/Legends/Legends.base.d.ts +42 -0
  947. package/lib-commonjs/components/Legends/Legends.base.js +314 -0
  948. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -0
  949. package/lib-commonjs/components/Legends/Legends.d.ts +3 -0
  950. package/lib-commonjs/components/Legends/Legends.js +8 -0
  951. package/lib-commonjs/components/Legends/Legends.js.map +1 -0
  952. package/lib-commonjs/components/Legends/Legends.styles.d.ts +2 -0
  953. package/lib-commonjs/components/Legends/Legends.styles.js +107 -0
  954. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -0
  955. package/lib-commonjs/components/Legends/Legends.types.d.ts +169 -0
  956. package/lib-commonjs/components/Legends/Legends.types.js +3 -0
  957. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
  958. package/lib-commonjs/components/Legends/index.d.ts +3 -0
  959. package/lib-commonjs/components/Legends/index.js +7 -0
  960. package/lib-commonjs/components/Legends/index.js.map +1 -0
  961. package/lib-commonjs/components/Legends/shape.d.ts +9 -0
  962. package/lib-commonjs/components/Legends/shape.js +28 -0
  963. package/lib-commonjs/components/Legends/shape.js.map +1 -0
  964. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +69 -0
  965. package/lib-commonjs/components/LineChart/LineChart.base.js +771 -0
  966. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -0
  967. package/lib-commonjs/components/LineChart/LineChart.d.ts +3 -0
  968. package/lib-commonjs/components/LineChart/LineChart.js +9 -0
  969. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
  970. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +2 -0
  971. package/lib-commonjs/components/LineChart/LineChart.styles.js +11 -0
  972. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -0
  973. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +72 -0
  974. package/lib-commonjs/components/LineChart/LineChart.types.js +3 -0
  975. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
  976. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +10 -0
  977. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +97 -0
  978. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  979. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +22 -0
  980. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +41 -0
  981. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  982. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  983. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +41 -0
  984. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  985. package/lib-commonjs/components/LineChart/index.d.ts +3 -0
  986. package/lib-commonjs/components/LineChart/index.js +7 -0
  987. package/lib-commonjs/components/LineChart/index.js.map +1 -0
  988. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +12 -0
  989. package/lib-commonjs/components/PieChart/Arc/Arc.js +60 -0
  990. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -0
  991. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +2 -0
  992. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +12 -0
  993. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -0
  994. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +60 -0
  995. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +3 -0
  996. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -0
  997. package/lib-commonjs/components/PieChart/Arc/index.d.ts +2 -0
  998. package/lib-commonjs/components/PieChart/Arc/index.js +6 -0
  999. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -0
  1000. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +10 -0
  1001. package/lib-commonjs/components/PieChart/Pie/Pie.js +38 -0
  1002. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -0
  1003. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  1004. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +10 -0
  1005. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -0
  1006. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +46 -0
  1007. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +3 -0
  1008. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -0
  1009. package/lib-commonjs/components/PieChart/Pie/index.d.ts +2 -0
  1010. package/lib-commonjs/components/PieChart/Pie/index.js +6 -0
  1011. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -0
  1012. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +7 -0
  1013. package/lib-commonjs/components/PieChart/PieChart.base.js +37 -0
  1014. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -0
  1015. package/lib-commonjs/components/PieChart/PieChart.d.ts +3 -0
  1016. package/lib-commonjs/components/PieChart/PieChart.js +9 -0
  1017. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -0
  1018. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +2 -0
  1019. package/lib-commonjs/components/PieChart/PieChart.styles.js +33 -0
  1020. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -0
  1021. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +63 -0
  1022. package/lib-commonjs/components/PieChart/PieChart.types.js +3 -0
  1023. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -0
  1024. package/lib-commonjs/components/PieChart/index.d.ts +2 -0
  1025. package/lib-commonjs/components/PieChart/index.js +6 -0
  1026. package/lib-commonjs/components/PieChart/index.js.map +1 -0
  1027. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +18 -0
  1028. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +111 -0
  1029. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -0
  1030. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +3 -0
  1031. package/lib-commonjs/components/SankeyChart/SankeyChart.js +9 -0
  1032. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
  1033. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  1034. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +25 -0
  1035. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  1036. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +63 -0
  1037. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +3 -0
  1038. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -0
  1039. package/lib-commonjs/components/SankeyChart/index.d.ts +2 -0
  1040. package/lib-commonjs/components/SankeyChart/index.js +6 -0
  1041. package/lib-commonjs/components/SankeyChart/index.js.map +1 -0
  1042. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +20 -0
  1043. package/lib-commonjs/components/Sparkline/Sparkline.base.js +79 -0
  1044. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -0
  1045. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +3 -0
  1046. package/lib-commonjs/components/Sparkline/Sparkline.js +9 -0
  1047. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
  1048. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +2 -0
  1049. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +14 -0
  1050. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -0
  1051. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +51 -0
  1052. package/lib-commonjs/components/Sparkline/Sparkline.types.js +3 -0
  1053. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
  1054. package/lib-commonjs/components/Sparkline/index.d.ts +2 -0
  1055. package/lib-commonjs/components/Sparkline/index.js +6 -0
  1056. package/lib-commonjs/components/Sparkline/index.js.map +1 -0
  1057. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +41 -0
  1058. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +296 -0
  1059. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  1060. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +3 -0
  1061. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +9 -0
  1062. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  1063. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  1064. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +65 -0
  1065. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  1066. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +154 -0
  1067. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +3 -0
  1068. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  1069. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +39 -0
  1070. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +300 -0
  1071. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  1072. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +3 -0
  1073. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +9 -0
  1074. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -0
  1075. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  1076. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +98 -0
  1077. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  1078. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +202 -0
  1079. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +3 -0
  1080. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  1081. package/lib-commonjs/components/StackedBarChart/index.d.ts +5 -0
  1082. package/lib-commonjs/components/StackedBarChart/index.js +9 -0
  1083. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -0
  1084. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +18 -0
  1085. package/lib-commonjs/components/TreeChart/TreeChart.base.js +306 -0
  1086. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -0
  1087. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +3 -0
  1088. package/lib-commonjs/components/TreeChart/TreeChart.js +8 -0
  1089. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -0
  1090. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +2 -0
  1091. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +32 -0
  1092. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -0
  1093. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +185 -0
  1094. package/lib-commonjs/components/TreeChart/TreeChart.types.js +26 -0
  1095. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -0
  1096. package/lib-commonjs/components/TreeChart/index.d.ts +2 -0
  1097. package/lib-commonjs/components/TreeChart/index.js +6 -0
  1098. package/lib-commonjs/components/TreeChart/index.js.map +1 -0
  1099. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +57 -0
  1100. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +485 -0
  1101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  1102. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +3 -0
  1103. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +9 -0
  1104. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  1105. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  1106. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +26 -0
  1107. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  1108. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +105 -0
  1109. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +3 -0
  1110. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  1111. package/lib-commonjs/components/VerticalBarChart/index.d.ts +2 -0
  1112. package/lib-commonjs/components/VerticalBarChart/index.js +6 -0
  1113. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
  1114. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +71 -0
  1115. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +610 -0
  1116. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  1117. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +3 -0
  1118. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +9 -0
  1119. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  1120. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  1121. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +16 -0
  1122. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  1123. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +133 -0
  1124. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +3 -0
  1125. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  1126. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +2 -0
  1127. package/lib-commonjs/components/VerticalStackedBarChart/index.js +6 -0
  1128. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -0
  1129. package/lib-commonjs/index.d.ts +18 -0
  1130. package/lib-commonjs/index.js +22 -0
  1131. package/lib-commonjs/index.js.map +1 -0
  1132. package/lib-commonjs/types/IDataPoint.d.ts +541 -0
  1133. package/lib-commonjs/types/IDataPoint.js +3 -0
  1134. package/lib-commonjs/types/IDataPoint.js.map +1 -0
  1135. package/lib-commonjs/types/IEventAnnotation.d.ts +6 -0
  1136. package/lib-commonjs/types/IEventAnnotation.js +3 -0
  1137. package/lib-commonjs/types/IEventAnnotation.js.map +1 -0
  1138. package/lib-commonjs/types/ILegendDataItem.d.ts +10 -0
  1139. package/lib-commonjs/types/ILegendDataItem.js +3 -0
  1140. package/lib-commonjs/types/ILegendDataItem.js.map +1 -0
  1141. package/lib-commonjs/types/index.d.ts +2 -0
  1142. package/lib-commonjs/types/index.js +6 -0
  1143. package/lib-commonjs/types/index.js.map +1 -0
  1144. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  1145. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +41 -0
  1146. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  1147. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  1148. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +9 -0
  1149. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  1150. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  1151. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +86 -0
  1152. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  1153. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  1154. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +3 -0
  1155. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  1156. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +3 -0
  1157. package/lib-commonjs/utilities/ChartHoverCard/index.js +7 -0
  1158. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -0
  1159. package/lib-commonjs/utilities/index.d.ts +2 -0
  1160. package/lib-commonjs/utilities/index.js +6 -0
  1161. package/lib-commonjs/utilities/index.js.map +1 -0
  1162. package/lib-commonjs/utilities/utilities.d.ts +374 -0
  1163. package/lib-commonjs/utilities/utilities.js +849 -0
  1164. package/lib-commonjs/utilities/utilities.js.map +1 -0
  1165. package/lib-commonjs/version.d.ts +1 -0
  1166. package/lib-commonjs/version.js +7 -0
  1167. package/lib-commonjs/version.js.map +1 -0
  1168. package/package.json +4 -4
@@ -0,0 +1,849 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.wrapTextInsideDonut = exports.rotateXAxisLabels = exports.convertToLocaleString = exports.getAccessibleDataObject = exports.pointTypes = exports.CustomPoints = exports.Points = exports.getTypeOfAxis = exports.getMinMaxOfYAxis = exports.findVerticalNumericMinMaxOfY = exports.findVSBCNumericMinMaxOfY = exports.findNumericMinMaxOfY = exports.getDomainNRangeValues = exports.domainRageOfVerticalNumeric = exports.domainRangeOfVSBCNumeric = exports.domainRangeOfXStringAxis = exports.domainRangeOfNumericForAreaChart = exports.domainRangeOfDateForAreaChart = exports.getXAxisType = exports.tooltipOfXAxislabels = exports.createWrapOfXLabels = exports.silceOrAppendToArray = exports.getUnique = exports.calloutData = exports.createStringYAxis = exports.createYAxis = exports.prepareDatapoints = exports.createStringXAxis = exports.createDateXAxis = exports.createNumericXAxis = exports.YAxisType = exports.XAxisTypes = exports.ChartTypes = void 0;
5
+ var tslib_1 = require("tslib");
6
+ var d3_axis_1 = require("d3-axis");
7
+ var d3_array_1 = require("d3-array");
8
+ var d3_scale_1 = require("d3-scale");
9
+ var d3_selection_1 = require("d3-selection");
10
+ var d3_format_1 = require("d3-format");
11
+ var d3TimeFormat = require("d3-time-format");
12
+ var ChartTypes;
13
+ (function (ChartTypes) {
14
+ ChartTypes[ChartTypes["AreaChart"] = 0] = "AreaChart";
15
+ ChartTypes[ChartTypes["LineChart"] = 1] = "LineChart";
16
+ ChartTypes[ChartTypes["VerticalBarChart"] = 2] = "VerticalBarChart";
17
+ ChartTypes[ChartTypes["VerticalStackedBarChart"] = 3] = "VerticalStackedBarChart";
18
+ ChartTypes[ChartTypes["GroupedVerticalBarChart"] = 4] = "GroupedVerticalBarChart";
19
+ ChartTypes[ChartTypes["HeatMapChart"] = 5] = "HeatMapChart";
20
+ })(ChartTypes = exports.ChartTypes || (exports.ChartTypes = {}));
21
+ var XAxisTypes;
22
+ (function (XAxisTypes) {
23
+ XAxisTypes[XAxisTypes["NumericAxis"] = 0] = "NumericAxis";
24
+ XAxisTypes[XAxisTypes["DateAxis"] = 1] = "DateAxis";
25
+ XAxisTypes[XAxisTypes["StringAxis"] = 2] = "StringAxis";
26
+ })(XAxisTypes = exports.XAxisTypes || (exports.XAxisTypes = {}));
27
+ var YAxisType;
28
+ (function (YAxisType) {
29
+ YAxisType[YAxisType["NumericAxis"] = 0] = "NumericAxis";
30
+ YAxisType[YAxisType["DateAxis"] = 1] = "DateAxis";
31
+ YAxisType[YAxisType["StringAxis"] = 2] = "StringAxis";
32
+ })(YAxisType = exports.YAxisType || (exports.YAxisType = {}));
33
+ /**
34
+ * Create Numeric X axis
35
+ * @export
36
+ * @param {IXAxisParams} xAxisParams
37
+ */
38
+ function createNumericXAxis(xAxisParams, culture) {
39
+ var domainNRangeValues = xAxisParams.domainNRangeValues, _a = xAxisParams.showRoundOffXTickValues, showRoundOffXTickValues = _a === void 0 ? false : _a, _b = xAxisParams.xAxistickSize, xAxistickSize = _b === void 0 ? 6 : _b, _c = xAxisParams.tickPadding, tickPadding = _c === void 0 ? 10 : _c, _d = xAxisParams.xAxisCount, xAxisCount = _d === void 0 ? 6 : _d, xAxisElement = xAxisParams.xAxisElement;
40
+ var xAxisScale = d3_scale_1.scaleLinear()
41
+ .domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
42
+ .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
43
+ showRoundOffXTickValues && xAxisScale.nice();
44
+ var xAxis = d3_axis_1.axisBottom(xAxisScale)
45
+ .tickSize(xAxistickSize)
46
+ .tickPadding(tickPadding)
47
+ .ticks(xAxisCount)
48
+ .tickSizeOuter(0)
49
+ .tickFormat(function (domainValue, index) {
50
+ var xAxisValue = typeof domainValue === 'number' ? domainValue : domainValue.valueOf();
51
+ return exports.convertToLocaleString(xAxisValue, culture);
52
+ });
53
+ if (xAxisElement) {
54
+ d3_selection_1.select(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
55
+ }
56
+ return xAxisScale;
57
+ }
58
+ exports.createNumericXAxis = createNumericXAxis;
59
+ /**
60
+ * Creating Date x axis of the Chart
61
+ * @export
62
+ * @param {IXAxisParams} xAxisParams
63
+ * @param {ITickParams} tickParams
64
+ */
65
+ function createDateXAxis(xAxisParams, tickParams) {
66
+ var domainNRangeValues = xAxisParams.domainNRangeValues, xAxisElement = xAxisParams.xAxisElement, _a = xAxisParams.tickPadding, tickPadding = _a === void 0 ? 6 : _a, _b = xAxisParams.xAxistickSize, xAxistickSize = _b === void 0 ? 6 : _b, _c = xAxisParams.xAxisCount, xAxisCount = _c === void 0 ? 6 : _c;
67
+ var xAxisScale = d3_scale_1.scaleTime()
68
+ .domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
69
+ .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
70
+ var xAxis = d3_axis_1.axisBottom(xAxisScale).tickSize(xAxistickSize).tickPadding(tickPadding).ticks(xAxisCount);
71
+ tickParams.tickValues ? xAxis.tickValues(tickParams.tickValues) : '';
72
+ tickParams.tickFormat ? xAxis.tickFormat(d3TimeFormat.timeFormat(tickParams.tickFormat)) : '';
73
+ if (xAxisElement) {
74
+ d3_selection_1.select(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
75
+ }
76
+ return xAxisScale;
77
+ }
78
+ exports.createDateXAxis = createDateXAxis;
79
+ /**
80
+ * Create String X axis
81
+ * Currently using for only Vetical stacked bar chart and grouped vertical bar chart
82
+ * @export
83
+ * @param {IXAxisParams} xAxisParams
84
+ * @param {ITickParams} tickParams
85
+ * @param {string[]} dataset
86
+ * @returns
87
+ */
88
+ function createStringXAxis(xAxisParams, tickParams, dataset, culture) {
89
+ var domainNRangeValues = xAxisParams.domainNRangeValues, _a = xAxisParams.xAxisCount, xAxisCount = _a === void 0 ? 6 : _a, _b = xAxisParams.xAxistickSize, xAxistickSize = _b === void 0 ? 6 : _b, _c = xAxisParams.tickPadding, tickPadding = _c === void 0 ? 10 : _c, _d = xAxisParams.xAxisPadding, xAxisPadding = _d === void 0 ? 0.1 : _d;
90
+ var xAxisScale = d3_scale_1.scaleBand()
91
+ .domain(dataset)
92
+ .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue])
93
+ .padding(xAxisPadding);
94
+ var xAxis = d3_axis_1.axisBottom(xAxisScale)
95
+ .tickSize(xAxistickSize)
96
+ .tickPadding(tickPadding)
97
+ .ticks(xAxisCount)
98
+ .tickFormat(function (x, index) {
99
+ return exports.convertToLocaleString(dataset[index], culture);
100
+ });
101
+ if (xAxisParams.xAxisElement) {
102
+ d3_selection_1.select(xAxisParams.xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
103
+ }
104
+ return xAxisScale;
105
+ }
106
+ exports.createStringXAxis = createStringXAxis;
107
+ /**
108
+ * This method used for creating data points for the y axis.
109
+ * @export
110
+ * @param {number} maxVal
111
+ * @param {number} minVal
112
+ * @param {number} splitInto
113
+ * @returns {number[]}
114
+ */
115
+ function prepareDatapoints(maxVal, minVal, splitInto) {
116
+ var val = Math.ceil((maxVal - minVal) / splitInto);
117
+ var dataPointsArray = [minVal, minVal + val];
118
+ while (dataPointsArray[dataPointsArray.length - 1] < maxVal) {
119
+ dataPointsArray.push(dataPointsArray[dataPointsArray.length - 1] + val);
120
+ }
121
+ return dataPointsArray;
122
+ }
123
+ exports.prepareDatapoints = prepareDatapoints;
124
+ /**
125
+ * Creating Numeric Y axis of the chart
126
+ * @export
127
+ * @param {IYAxisParams} yAxisParams
128
+ * @param {boolean} isRtl
129
+ */
130
+ function createYAxis(yAxisParams, isRtl, axisData) {
131
+ var _a = yAxisParams.yMinMaxValues, yMinMaxValues = _a === void 0 ? { startValue: 0, endValue: 0 } : _a, _b = yAxisParams.yAxisElement, yAxisElement = _b === void 0 ? null : _b, _c = yAxisParams.yMaxValue, yMaxValue = _c === void 0 ? 0 : _c, _d = yAxisParams.yMinValue, yMinValue = _d === void 0 ? 0 : _d, containerHeight = yAxisParams.containerHeight, containerWidth = yAxisParams.containerWidth, margins = yAxisParams.margins, _e = yAxisParams.tickPadding, tickPadding = _e === void 0 ? 12 : _e, _f = yAxisParams.maxOfYVal, maxOfYVal = _f === void 0 ? 0 : _f, yAxisTickFormat = yAxisParams.yAxisTickFormat, _g = yAxisParams.yAxisTickCount, yAxisTickCount = _g === void 0 ? 4 : _g, eventAnnotationProps = yAxisParams.eventAnnotationProps, eventLabelHeight = yAxisParams.eventLabelHeight;
132
+ // maxOfYVal coming from only area chart and Grouped vertical bar chart(Calculation done at base file)
133
+ var tempVal = maxOfYVal || yMinMaxValues.endValue;
134
+ var finalYmax = tempVal > yMaxValue ? tempVal : yMaxValue;
135
+ var finalYmin = yMinMaxValues.startValue < yMinValue ? 0 : yMinValue;
136
+ var domainValues = prepareDatapoints(finalYmax, finalYmin, yAxisTickCount);
137
+ var yAxisScale = d3_scale_1.scaleLinear()
138
+ .domain([finalYmin, domainValues[domainValues.length - 1]])
139
+ .range([containerHeight - margins.bottom, margins.top + (eventAnnotationProps ? eventLabelHeight : 0)]);
140
+ var axis = isRtl ? d3_axis_1.axisRight(yAxisScale) : d3_axis_1.axisLeft(yAxisScale);
141
+ var yAxis = axis
142
+ .tickPadding(tickPadding)
143
+ .tickValues(domainValues)
144
+ .tickSizeInner(-(containerWidth - margins.left - margins.right));
145
+ yAxisTickFormat ? yAxis.tickFormat(yAxisTickFormat) : yAxis.tickFormat(d3_format_1.format('.2~s'));
146
+ yAxisElement ? d3_selection_1.select(yAxisElement).call(yAxis).selectAll('text').attr('aria-hidden', 'true') : '';
147
+ axisData.yAxisDomainValues = domainValues;
148
+ return yAxisScale;
149
+ }
150
+ exports.createYAxis = createYAxis;
151
+ /**
152
+ * Creating String Y axis of the chart
153
+ * @param yAxisParams
154
+ * @param dataPoints
155
+ * @param isRtl
156
+ */
157
+ var createStringYAxis = function (yAxisParams, dataPoints, isRtl) {
158
+ var containerHeight = yAxisParams.containerHeight, _a = yAxisParams.tickPadding, tickPadding = _a === void 0 ? 12 : _a, margins = yAxisParams.margins, yAxisTickFormat = yAxisParams.yAxisTickFormat, yAxisElement = yAxisParams.yAxisElement, _b = yAxisParams.yAxisPadding, yAxisPadding = _b === void 0 ? 0 : _b;
159
+ var yAxisScale = d3_scale_1.scaleBand()
160
+ .domain(dataPoints)
161
+ .range([containerHeight - margins.bottom, margins.top])
162
+ .padding(yAxisPadding);
163
+ var axis = isRtl ? d3_axis_1.axisRight(yAxisScale) : d3_axis_1.axisLeft(yAxisScale);
164
+ var yAxis = axis.tickPadding(tickPadding).tickValues(dataPoints).tickSize(0);
165
+ if (yAxisTickFormat) {
166
+ yAxis.tickFormat(yAxisTickFormat);
167
+ }
168
+ yAxisElement ? d3_selection_1.select(yAxisElement).call(yAxis).selectAll('text') : '';
169
+ return yAxisScale;
170
+ };
171
+ exports.createStringYAxis = createStringYAxis;
172
+ function calloutData(values) {
173
+ var combinedResult = [];
174
+ values.forEach(function (element) {
175
+ var elements = element.data
176
+ .filter(function (ele) { return !ele.hideCallout; })
177
+ .map(function (ele) {
178
+ return tslib_1.__assign(tslib_1.__assign({ legend: element.legend }, ele), { color: element.color, index: element.index });
179
+ });
180
+ combinedResult = combinedResult.concat(elements);
181
+ });
182
+ var result = [];
183
+ combinedResult.forEach(function (e1, index) {
184
+ e1.x = e1.x instanceof Date ? e1.x.getTime() : e1.x;
185
+ var filteredValues = [
186
+ {
187
+ legend: e1.legend,
188
+ y: e1.y,
189
+ color: e1.color,
190
+ yAxisCalloutData: e1.yAxisCalloutData,
191
+ callOutAccessibilityData: e1.callOutAccessibilityData,
192
+ index: e1.index,
193
+ },
194
+ ];
195
+ combinedResult.slice(index + 1).forEach(function (e2) {
196
+ e2.x = e2.x instanceof Date ? e2.x.getTime() : e2.x;
197
+ if (e1.x === e2.x) {
198
+ filteredValues.push({
199
+ legend: e2.legend,
200
+ y: e2.y,
201
+ color: e2.color,
202
+ yAxisCalloutData: e2.yAxisCalloutData,
203
+ callOutAccessibilityData: e2.callOutAccessibilityData,
204
+ index: e2.index,
205
+ });
206
+ }
207
+ });
208
+ result.push({ x: e1.x, values: filteredValues });
209
+ });
210
+ return getUnique(result, 'x');
211
+ }
212
+ exports.calloutData = calloutData;
213
+ function getUnique(arr, comp) {
214
+ var unique = arr
215
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
216
+ .map(function (e) { return e[comp]; })
217
+ // store the keys of the unique objects
218
+ .map(function (e, i, final) { return final.indexOf(e) === i && i; })
219
+ // eliminate the dead keys & store unique objects
220
+ .filter(function (e) { return arr[e]; })
221
+ .map(function (e) { return arr[e]; });
222
+ return unique;
223
+ }
224
+ exports.getUnique = getUnique;
225
+ /**
226
+ * This function takes two paramerter
227
+ * 1. an array of strings
228
+ * 2. a string value
229
+ * if the value is not present in the given array then it will return the new
230
+ * array by appending the value to the present arrray.
231
+ *
232
+ * if the value is already present in the given array then it will return the new
233
+ * array by deleteing the value from the the array
234
+ * @param array
235
+ * @param value
236
+ */
237
+ function silceOrAppendToArray(array, value) {
238
+ var pos = array.indexOf(value);
239
+ if (pos === -1) {
240
+ return tslib_1.__spreadArray(tslib_1.__spreadArray([], array), [value]);
241
+ }
242
+ else {
243
+ return array.slice(0, pos).concat(array.slice(pos + 1));
244
+ }
245
+ }
246
+ exports.silceOrAppendToArray = silceOrAppendToArray;
247
+ /**
248
+ * This method used for wrapping of x axis labels (tick values).
249
+ * It breaks down given text value by space separated and calculates the total height needed to display all the words.
250
+ * That value = removal value. This value needs to be remove from total svg height, svg will shrink and
251
+ * total text will be displayed.
252
+ * @export
253
+ * @param {IWrapLabelProps} wrapLabelProps
254
+ * @returns
255
+ */
256
+ function createWrapOfXLabels(wrapLabelProps) {
257
+ var node = wrapLabelProps.node, xAxis = wrapLabelProps.xAxis, noOfCharsToTruncate = wrapLabelProps.noOfCharsToTruncate, showXAxisLablesTooltip = wrapLabelProps.showXAxisLablesTooltip;
258
+ if (node === null) {
259
+ return;
260
+ }
261
+ var axisNode = d3_selection_1.select(node).call(xAxis);
262
+ var removeVal = 0;
263
+ var width = 10;
264
+ var arr = [];
265
+ axisNode.selectAll('.tick text').each(function () {
266
+ var text = d3_selection_1.select(this);
267
+ var totalWord = text.text();
268
+ var truncatedWord = text.text().slice(0, noOfCharsToTruncate) + "...";
269
+ var totalWordLength = text.text().length;
270
+ var words = text.text().split(/\s+/).reverse();
271
+ arr.push(words.length);
272
+ var word = '';
273
+ var line = [];
274
+ var lineNumber = 0;
275
+ var lineHeight = 1.1; // ems
276
+ var y = text.attr('y');
277
+ var dy = parseFloat(text.attr('dy'));
278
+ var tspan = text
279
+ .text(null)
280
+ .append('tspan')
281
+ .attr('x', 0)
282
+ .attr('y', y)
283
+ .attr('id', 'BaseSpan')
284
+ .attr('dy', dy + 'em')
285
+ .attr('data-', totalWord);
286
+ if (showXAxisLablesTooltip && totalWordLength > noOfCharsToTruncate) {
287
+ tspan = text
288
+ .append('tspan')
289
+ .attr('id', 'showDots')
290
+ .attr('x', 0)
291
+ .attr('y', y)
292
+ .attr('dy', ++lineNumber * lineHeight + dy + 'em')
293
+ .text(truncatedWord);
294
+ }
295
+ else if (showXAxisLablesTooltip && totalWordLength <= noOfCharsToTruncate) {
296
+ tspan = text
297
+ .append('tspan')
298
+ .attr('id', 'LessLength')
299
+ .attr('x', 0)
300
+ .attr('y', y)
301
+ .attr('dy', ++lineNumber * lineHeight + dy + 'em')
302
+ .text(totalWord);
303
+ }
304
+ else {
305
+ while ((word = words.pop())) {
306
+ line.push(word);
307
+ tspan.text(line.join(' '));
308
+ if (tspan.node().getComputedTextLength() > width && line.length > 1) {
309
+ line.pop();
310
+ tspan.text(line.join(' '));
311
+ line = [word];
312
+ tspan = text
313
+ .append('tspan')
314
+ .attr('id', 'WordBreakId')
315
+ .attr('x', 0)
316
+ .attr('y', y)
317
+ .attr('dy', ++lineNumber * lineHeight + dy + 'em')
318
+ .text(word);
319
+ }
320
+ }
321
+ var maxDigit = Math.max.apply(Math, arr);
322
+ var maxHeight_1 = 12; // intial value to render corretly first time
323
+ axisNode.selectAll('text').each(function () {
324
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
325
+ var outerHTMLElement = document.getElementById('WordBreakId');
326
+ var BoxCordinates = outerHTMLElement && outerHTMLElement.getBoundingClientRect();
327
+ var boxHeight = BoxCordinates && BoxCordinates.height;
328
+ if (boxHeight > maxHeight_1) {
329
+ maxHeight_1 = boxHeight;
330
+ }
331
+ });
332
+ // If we take directly maxDigit * maxheight, then it will show more height between x axis tick values and bottom.
333
+ // To avoid this, reducing maxDigit value by removing some digit based on legth of word.
334
+ var removeDigit = 4;
335
+ if (maxDigit <= 2) {
336
+ removeDigit = 1;
337
+ }
338
+ else if (maxDigit > 2 && maxDigit <= 6) {
339
+ removeDigit = 2;
340
+ }
341
+ else if (maxDigit > 6 && maxDigit <= 9) {
342
+ removeDigit = 3;
343
+ }
344
+ removeVal = (maxDigit - removeDigit) * maxHeight_1;
345
+ }
346
+ });
347
+ return removeVal > 0 ? removeVal : 0;
348
+ }
349
+ exports.createWrapOfXLabels = createWrapOfXLabels;
350
+ /**
351
+ * This method displays a tooltip to the x axis lables(tick values)
352
+ * when prop 'showXAxisLablesTooltip' enables to the respected chart.
353
+ * On hover of the truncated word(at x axis labels tick), a tooltip will be appeared.
354
+ */
355
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
356
+ function tooltipOfXAxislabels(xAxistooltipProps) {
357
+ var tooltipCls = xAxistooltipProps.tooltipCls, xAxis = xAxistooltipProps.xAxis, id = xAxistooltipProps.id;
358
+ if (xAxis === null) {
359
+ return null;
360
+ }
361
+ var div = d3_selection_1.select('body').append('div').attr('id', id).attr('class', tooltipCls).style('opacity', 0);
362
+ var aa = xAxis.selectAll('#BaseSpan')._groups[0];
363
+ var baseSpanLength = aa && Object.keys(aa).length;
364
+ var originalDataArray = [];
365
+ for (var i = 0; i < baseSpanLength; i++) {
366
+ var originalData = aa[i].dataset && Object.values(aa[i].dataset)[0];
367
+ originalDataArray.push(originalData);
368
+ }
369
+ var tickObject = xAxis.selectAll('.tick')._groups[0];
370
+ var tickObjectLength = tickObject && Object.keys(tickObject).length;
371
+ var _loop_1 = function (i) {
372
+ var d1 = tickObject[i];
373
+ d3_selection_1.select(d1)
374
+ .on('mouseover', function (d) {
375
+ div.style('opacity', 0.9);
376
+ div
377
+ .html(originalDataArray[i])
378
+ .style('left', d3_selection_1.event.pageX + 'px')
379
+ .style('top', d3_selection_1.event.pageY - 28 + 'px');
380
+ })
381
+ .on('mouseout', function (d) {
382
+ div.style('opacity', 0);
383
+ });
384
+ };
385
+ for (var i = 0; i < tickObjectLength; i++) {
386
+ _loop_1(i);
387
+ }
388
+ }
389
+ exports.tooltipOfXAxislabels = tooltipOfXAxislabels;
390
+ /**
391
+ * Find the axis type of line chart and area chart from given data
392
+ * @param points
393
+ */
394
+ function getXAxisType(points) {
395
+ var isXAxisDateType = false;
396
+ if (points && points.length > 0) {
397
+ points.forEach(function (chartData) {
398
+ if (chartData.data.length > 0) {
399
+ isXAxisDateType = chartData.data[0].x instanceof Date;
400
+ return;
401
+ }
402
+ });
403
+ }
404
+ return isXAxisDateType;
405
+ }
406
+ exports.getXAxisType = getXAxisType;
407
+ /**
408
+ * Calculates Domain and range values for Date X axis.
409
+ * This method calculates Area chart and line chart.
410
+ * @export
411
+ * @param {ILineChartPoints[]} points
412
+ * @param {IMargins} margins
413
+ * @param {number} width
414
+ * @param {boolean} isRTL
415
+ * @param {Date[] | number[]} tickValues
416
+ * @returns {IDomainNRange}
417
+ */
418
+ function domainRangeOfDateForAreaChart(points, margins, width, isRTL, tickValues) {
419
+ if (tickValues === void 0) { tickValues = []; }
420
+ var sDate = d3_array_1.min(points, function (point) {
421
+ return d3_array_1.min(point.data, function (item) {
422
+ return item.x;
423
+ });
424
+ });
425
+ var lDate = d3_array_1.max(points, function (point) {
426
+ return d3_array_1.max(point.data, function (item) {
427
+ return item.x;
428
+ });
429
+ });
430
+ // Need to draw graph with given small and large date (Which Involves customization of date axis tick values)
431
+ // That may be Either from given graph data or from prop 'tickValues' date values.
432
+ // So, Finding smallest and largest dates
433
+ var smallestDate = d3_array_1.min(tslib_1.__spreadArray(tslib_1.__spreadArray([], tickValues), [sDate]));
434
+ var largestDate = d3_array_1.max(tslib_1.__spreadArray(tslib_1.__spreadArray([], tickValues), [lDate]));
435
+ var rStartValue = margins.left;
436
+ var rEndValue = width - margins.right;
437
+ return isRTL
438
+ ? { dStartValue: largestDate, dEndValue: smallestDate, rStartValue: rStartValue, rEndValue: rEndValue }
439
+ : { dStartValue: smallestDate, dEndValue: largestDate, rStartValue: rStartValue, rEndValue: rEndValue };
440
+ }
441
+ exports.domainRangeOfDateForAreaChart = domainRangeOfDateForAreaChart;
442
+ /**
443
+ * Calculates Domain and range values for Numeric X axis.
444
+ * This method calculates Area cart and line chart.
445
+ * @export
446
+ * @param {ILineChartPoints[]} points
447
+ * @param {IMargins} margins
448
+ * @param {number} width
449
+ * @param {boolean} isRTL
450
+ * @returns {IDomainNRange}
451
+ */
452
+ function domainRangeOfNumericForAreaChart(points, margins, width, isRTL) {
453
+ var xMin = d3_array_1.min(points, function (point) {
454
+ return d3_array_1.min(point.data, function (item) { return item.x; });
455
+ });
456
+ var xMax = d3_array_1.max(points, function (point) {
457
+ return d3_array_1.max(point.data, function (item) {
458
+ return item.x;
459
+ });
460
+ });
461
+ var rStartValue = margins.left;
462
+ var rEndValue = width - margins.right;
463
+ return isRTL
464
+ ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rStartValue, rEndValue: rEndValue }
465
+ : { dStartValue: xMin, dEndValue: xMax, rStartValue: rStartValue, rEndValue: rEndValue };
466
+ }
467
+ exports.domainRangeOfNumericForAreaChart = domainRangeOfNumericForAreaChart;
468
+ /**
469
+ * Calculates Range values of x Axis string axis
470
+ * For String axis, we need to give domain values (Not start and end array values)
471
+ * So sending 0 as domain values. Domain will be handled at creation of string axis
472
+ * For charts stacked bar chart, grouped vertical bar chart, HeatMapChart and Vertical bar chart
473
+ * @export
474
+ * @param {IMargins} margins
475
+ * @param {number} width
476
+ * @param {boolean} isRTL
477
+ * @returns {IDomainNRange}
478
+ */
479
+ function domainRangeOfXStringAxis(margins, width, isRTL) {
480
+ var rMin = margins.left;
481
+ var rMax = width - margins.right;
482
+ return isRTL
483
+ ? { dStartValue: 0, dEndValue: 0, rStartValue: rMax, rEndValue: rMin }
484
+ : { dStartValue: 0, dEndValue: 0, rStartValue: rMin, rEndValue: rMax };
485
+ }
486
+ exports.domainRangeOfXStringAxis = domainRangeOfXStringAxis;
487
+ /**
488
+ * Calculate domain and range values to the Vertical stacked bar chart - For Numeric axis
489
+ * @export
490
+ * @param {IDataPoint[]} points
491
+ * @param {IMargins} margins
492
+ * @param {number} width
493
+ * @param {boolean} isRTL
494
+ * @param {number} barWidth
495
+ * @returns {IDomainNRange}
496
+ */
497
+ function domainRangeOfVSBCNumeric(points, margins, width, isRTL, barWidth) {
498
+ var xMin = d3_array_1.min(points, function (point) { return point.x; });
499
+ var xMax = d3_array_1.max(points, function (point) { return point.x; });
500
+ // barWidth / 2 - for to get tick middle of the bar
501
+ var rMax = margins.left + barWidth / 2;
502
+ var rMin = width - margins.right - barWidth / 2;
503
+ return isRTL
504
+ ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMax, rEndValue: rMin }
505
+ : { dStartValue: xMin, dEndValue: xMax, rStartValue: rMax, rEndValue: rMin };
506
+ }
507
+ exports.domainRangeOfVSBCNumeric = domainRangeOfVSBCNumeric;
508
+ /**
509
+ * Calculate domain and range values to the Vertical bar chart - For Numeric axis
510
+ * @export
511
+ * @param {IDataPoint[]} points
512
+ * @param {IMargins} margins
513
+ * @param {number} containerWidth
514
+ * @param {boolean} isRTL
515
+ * @param {number} barWidth
516
+ * @returns {IDomainNRange}
517
+ */
518
+ function domainRageOfVerticalNumeric(points, margins, containerWidth, isRTL, barWidth) {
519
+ var xMax = d3_array_1.max(points, function (point) { return point.x; });
520
+ var xMin = d3_array_1.min(points, function (point) { return point.x; });
521
+ var rMin = margins.left + barWidth;
522
+ var rMax = containerWidth - margins.right - barWidth;
523
+ return isRTL
524
+ ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMin, rEndValue: rMax }
525
+ : { dStartValue: xMin, dEndValue: xMax, rStartValue: rMin, rEndValue: rMax };
526
+ }
527
+ exports.domainRageOfVerticalNumeric = domainRageOfVerticalNumeric;
528
+ /**
529
+ * For creating X axis, need to calculate x axis domain and range values from given points.
530
+ * This may vary based on chart type and type of x axis
531
+ * So, this method will define which method need to call based on chart type and axis type.
532
+ * @export
533
+ * @param {*} points
534
+ * @param {IMargins} margins
535
+ * @param {number} width
536
+ * @param {ChartTypes} chartType
537
+ * @param {boolean} isRTL
538
+ * @param {XAxisTypes} xAxisType
539
+ * @param {number} [barWidth]
540
+ * @returns {IDomainNRange}
541
+ */
542
+ function getDomainNRangeValues(
543
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
544
+ points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues) {
545
+ var domainNRangeValue;
546
+ if (xAxisType === XAxisTypes.NumericAxis) {
547
+ switch (chartType) {
548
+ case ChartTypes.AreaChart:
549
+ case ChartTypes.LineChart:
550
+ domainNRangeValue = domainRangeOfNumericForAreaChart(points, margins, width, isRTL);
551
+ break;
552
+ case ChartTypes.VerticalStackedBarChart:
553
+ domainNRangeValue = domainRangeOfVSBCNumeric(points, margins, width, isRTL, barWidth);
554
+ break;
555
+ case ChartTypes.VerticalBarChart:
556
+ domainNRangeValue = domainRageOfVerticalNumeric(points, margins, width, isRTL, barWidth);
557
+ break;
558
+ default:
559
+ domainNRangeValue = { dStartValue: 0, dEndValue: 0, rStartValue: 0, rEndValue: 0 };
560
+ }
561
+ }
562
+ else if (xAxisType === XAxisTypes.DateAxis) {
563
+ switch (chartType) {
564
+ case ChartTypes.AreaChart:
565
+ case ChartTypes.LineChart:
566
+ domainNRangeValue = domainRangeOfDateForAreaChart(points, margins, width, isRTL, tickValues);
567
+ break;
568
+ default:
569
+ domainNRangeValue = { dStartValue: 0, dEndValue: 0, rStartValue: 0, rEndValue: 0 };
570
+ }
571
+ }
572
+ else {
573
+ // String Axis type
574
+ switch (chartType) {
575
+ case ChartTypes.VerticalStackedBarChart:
576
+ case ChartTypes.GroupedVerticalBarChart:
577
+ case ChartTypes.VerticalBarChart:
578
+ case ChartTypes.HeatMapChart:
579
+ domainNRangeValue = domainRangeOfXStringAxis(margins, width, isRTL);
580
+ break;
581
+ default:
582
+ domainNRangeValue = { dStartValue: 0, dEndValue: 0, rStartValue: 0, rEndValue: 0 };
583
+ }
584
+ }
585
+ return domainNRangeValue;
586
+ }
587
+ exports.getDomainNRangeValues = getDomainNRangeValues;
588
+ /**
589
+ * Calculating start and ending values of the Area chart and LineChart
590
+ * @export
591
+ * @param {ILineChartPoints[]} points
592
+ * @returns {{ startValue: number; endValue: number }}
593
+ */
594
+ function findNumericMinMaxOfY(points) {
595
+ var yMax = d3_array_1.max(points, function (point) {
596
+ return d3_array_1.max(point.data, function (item) { return item.y; });
597
+ });
598
+ var yMin = d3_array_1.min(points, function (point) {
599
+ return d3_array_1.min(point.data, function (item) { return item.y; });
600
+ });
601
+ return {
602
+ startValue: yMin,
603
+ endValue: yMax,
604
+ };
605
+ }
606
+ exports.findNumericMinMaxOfY = findNumericMinMaxOfY;
607
+ /**
608
+ * Find the minimum and maximum values of the vertical stacked bar chart y axis data point. Used for create y axis.
609
+ * @export
610
+ * @param {IDataPoint[]} dataset
611
+ * @returns {{ startValue: number; endValue: number }}
612
+ */
613
+ function findVSBCNumericMinMaxOfY(dataset) {
614
+ var yMax = d3_array_1.max(dataset, function (point) { return point.y; });
615
+ var yMin = d3_array_1.min(dataset, function (point) { return point.y; });
616
+ return { startValue: yMin, endValue: yMax };
617
+ }
618
+ exports.findVSBCNumericMinMaxOfY = findVSBCNumericMinMaxOfY;
619
+ /**
620
+ * Fins the min and max values of the vertical bar chart y axis data point.
621
+ * @export
622
+ * @param {IVerticalBarChartDataPoint[]} points
623
+ * @returns {{ startValue: number; endValue: number }}
624
+ */
625
+ function findVerticalNumericMinMaxOfY(points) {
626
+ var yMax = d3_array_1.max(points, function (point) { return point.y; });
627
+ var yMin = d3_array_1.min(points, function (point) { return point.y; });
628
+ return { startValue: yMin, endValue: yMax };
629
+ }
630
+ exports.findVerticalNumericMinMaxOfY = findVerticalNumericMinMaxOfY;
631
+ /**
632
+ * For creating Y axis, need to calculate y axis domain values from given points. This may vary based on chart type.
633
+ * So, this method will define which method need to call based on chart type to find out min and max values(For Domain).
634
+ * For grouped vertical bar chart, Calculating yMax value in the base file and sending as MaxOfYVal to cartesian.
635
+ * @export
636
+ * @param {*} points
637
+ * @param {ChartTypes} chartType
638
+ * @returns {{ startValue: number; endValue: number }}
639
+ */
640
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
641
+ function getMinMaxOfYAxis(points, chartType) {
642
+ var minMaxValues;
643
+ switch (chartType) {
644
+ case ChartTypes.AreaChart:
645
+ case ChartTypes.LineChart:
646
+ minMaxValues = findNumericMinMaxOfY(points);
647
+ break;
648
+ case ChartTypes.VerticalStackedBarChart:
649
+ minMaxValues = findVSBCNumericMinMaxOfY(points);
650
+ break;
651
+ case ChartTypes.VerticalBarChart:
652
+ minMaxValues = findVerticalNumericMinMaxOfY(points);
653
+ break;
654
+ default:
655
+ minMaxValues = { startValue: 0, endValue: 0 };
656
+ }
657
+ return minMaxValues;
658
+ }
659
+ exports.getMinMaxOfYAxis = getMinMaxOfYAxis;
660
+ /**
661
+ * @param p string or number or Date
662
+ *
663
+ * This function takes the single data point of the x-aixs
664
+ * and decides what is the x-axis
665
+ */
666
+ var getTypeOfAxis = function (p, isXAsix) {
667
+ if (isXAsix) {
668
+ switch (typeof p) {
669
+ case 'string':
670
+ return XAxisTypes.StringAxis;
671
+ case 'number':
672
+ return XAxisTypes.NumericAxis;
673
+ default:
674
+ return XAxisTypes.DateAxis;
675
+ }
676
+ }
677
+ else {
678
+ switch (typeof p) {
679
+ case 'string':
680
+ return YAxisType.StringAxis;
681
+ case 'number':
682
+ return YAxisType.NumericAxis;
683
+ default:
684
+ return YAxisType.DateAxis;
685
+ }
686
+ }
687
+ };
688
+ exports.getTypeOfAxis = getTypeOfAxis;
689
+ /**
690
+ * we need to make sure that if we add any property to this, then
691
+ * we need to also add that in pointTypes below and vise-versa
692
+ */
693
+ var Points;
694
+ (function (Points) {
695
+ Points[Points["circle"] = 0] = "circle";
696
+ Points[Points["square"] = 1] = "square";
697
+ Points[Points["triangle"] = 2] = "triangle";
698
+ Points[Points["diamond"] = 3] = "diamond";
699
+ Points[Points["pyramid"] = 4] = "pyramid";
700
+ Points[Points["hexagon"] = 5] = "hexagon";
701
+ Points[Points["pentagon"] = 6] = "pentagon";
702
+ Points[Points["octagon"] = 7] = "octagon";
703
+ })(Points = exports.Points || (exports.Points = {}));
704
+ var CustomPoints;
705
+ (function (CustomPoints) {
706
+ CustomPoints[CustomPoints["dottedLine"] = 0] = "dottedLine";
707
+ })(CustomPoints = exports.CustomPoints || (exports.CustomPoints = {}));
708
+ /**
709
+ * we need to make sure that if we add any property to this, then
710
+ * we need to also add that in enum Point and vise-versa
711
+ */
712
+ exports.pointTypes = (_a = {},
713
+ _a[Points.circle] = {
714
+ widthRatio: 1,
715
+ },
716
+ _a[Points.square] = {
717
+ widthRatio: 1,
718
+ },
719
+ _a[Points.triangle] = {
720
+ widthRatio: 1,
721
+ },
722
+ _a[Points.diamond] = {
723
+ widthRatio: 1,
724
+ },
725
+ _a[Points.pyramid] = {
726
+ widthRatio: 1,
727
+ },
728
+ _a[Points.hexagon] = {
729
+ widthRatio: 2,
730
+ },
731
+ _a[Points.pentagon] = {
732
+ widthRatio: 1.168,
733
+ },
734
+ _a[Points.octagon] = {
735
+ widthRatio: 2.414,
736
+ },
737
+ _a);
738
+ /**
739
+ * @param accessibleData accessible data
740
+ * @param role string to define role of tag
741
+ * @param isDataFocusable boolean
742
+ * function returns the accessibility data object
743
+ */
744
+ var getAccessibleDataObject = function (accessibleData, role, isDataFocusable) {
745
+ if (role === void 0) { role = 'text'; }
746
+ if (isDataFocusable === void 0) { isDataFocusable = true; }
747
+ accessibleData = accessibleData !== null && accessibleData !== void 0 ? accessibleData : {};
748
+ return {
749
+ role: role,
750
+ 'data-is-focusable': isDataFocusable,
751
+ 'aria-label': accessibleData.ariaLabel,
752
+ 'aria-labelledby': accessibleData.ariaLabelledBy,
753
+ 'aria-describedby': accessibleData.ariaDescribedBy,
754
+ };
755
+ };
756
+ exports.getAccessibleDataObject = getAccessibleDataObject;
757
+ var convertToLocaleString = function (data, culture) {
758
+ if (!data) {
759
+ return data;
760
+ }
761
+ culture = culture || undefined;
762
+ if (typeof data === 'number') {
763
+ return data.toLocaleString(culture);
764
+ }
765
+ if (typeof data === 'string' && !window.isNaN(Number(data))) {
766
+ var num = Number(data);
767
+ return num.toLocaleString(culture);
768
+ }
769
+ return data;
770
+ };
771
+ exports.convertToLocaleString = convertToLocaleString;
772
+ function rotateXAxisLabels(rotateLabelProps) {
773
+ var node = rotateLabelProps.node, xAxis = rotateLabelProps.xAxis;
774
+ if (node === null || xAxis === null) {
775
+ return;
776
+ }
777
+ var maxHeight = 0;
778
+ var xAxisTranslations = [];
779
+ d3_selection_1.select(node)
780
+ .call(xAxis)
781
+ .selectAll('.tick')
782
+ .each(function () {
783
+ var translateValue = this.getAttribute('transform');
784
+ if ((translateValue === null || translateValue === void 0 ? void 0 : translateValue.indexOf('rotate')) === -1) {
785
+ var translatePair = translateValue
786
+ .substring(translateValue.indexOf('(') + 1, translateValue.indexOf(')'))
787
+ .split(',');
788
+ if (translatePair.length === 2) {
789
+ xAxisTranslations.push(translatePair[0]);
790
+ this.setAttribute('transform', "translate(" + translatePair[0] + ",0)rotate(-45)");
791
+ }
792
+ }
793
+ var BoxCordinates = this.getBoundingClientRect();
794
+ var boxHeight = BoxCordinates && BoxCordinates.height;
795
+ if (boxHeight > maxHeight) {
796
+ maxHeight = boxHeight;
797
+ }
798
+ });
799
+ var idx = 0;
800
+ d3_selection_1.select(node)
801
+ .call(xAxis)
802
+ .selectAll('.tick')
803
+ .each(function () {
804
+ if (xAxisTranslations.length > idx) {
805
+ this.setAttribute('transform', "translate(" + xAxisTranslations[idx] + "," + maxHeight / 2 + ")rotate(-45)"); // Translate y by max height/2
806
+ idx += 1;
807
+ }
808
+ });
809
+ return Math.floor(maxHeight / 1.414); // Compute maxHeight/tanInverse(45) to get the vertical height of labels.
810
+ }
811
+ exports.rotateXAxisLabels = rotateXAxisLabels;
812
+ function wrapTextInsideDonut(selectorClass, maxWidth) {
813
+ var idx = 0;
814
+ d3_selection_1.selectAll("." + selectorClass).each(function () {
815
+ var text = d3_selection_1.select(this);
816
+ var words = text.text().split(/\s+/).reverse();
817
+ var word = '';
818
+ var line = [];
819
+ var lineNumber = 0;
820
+ var lineHeight = 1.1; // ems
821
+ var y = text.attr('y');
822
+ var tspan = text
823
+ .text(null)
824
+ .append('tspan')
825
+ .attr('id', "WordBreakId-" + idx + "-" + lineNumber)
826
+ .attr('x', 0)
827
+ .attr('y', y)
828
+ .attr('dy', lineNumber++ * lineHeight + 'em');
829
+ while ((word = words.pop())) {
830
+ line.push(word);
831
+ tspan.text(line.join(' ') + ' ');
832
+ if (tspan.node().getComputedTextLength() > maxWidth && line.length > 1) {
833
+ line.pop();
834
+ tspan.text(line.join(' ') + ' ');
835
+ line = [word];
836
+ tspan = text
837
+ .append('tspan')
838
+ .attr('id', "WordBreakId-" + idx + "-" + lineNumber)
839
+ .attr('x', 0)
840
+ .attr('y', y)
841
+ .attr('dy', lineNumber++ * lineHeight + 'em')
842
+ .text(word);
843
+ }
844
+ }
845
+ idx += 1;
846
+ });
847
+ }
848
+ exports.wrapTextInsideDonut = wrapTextInsideDonut;
849
+ //# sourceMappingURL=utilities.js.map