@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,610 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerticalStackedBarChartBase = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var React = require("react");
6
+ var d3_array_1 = require("d3-array");
7
+ var d3_selection_1 = require("d3-selection");
8
+ var d3_scale_1 = require("d3-scale");
9
+ var Utilities_1 = require("@fluentui/react/lib-commonjs/Utilities");
10
+ var Callout_1 = require("@fluentui/react/lib-commonjs/Callout");
11
+ var index_1 = require("../Legends/index");
12
+ var index_2 = require("../../index");
13
+ var react_focus_1 = require("@fluentui/react-focus");
14
+ var index_3 = require("../../utilities/index");
15
+ var getClassNames = Utilities_1.classNamesFunction();
16
+ var COMPONENT_NAME = 'VERTICAL STACKED BAR CHART';
17
+ // When displaying gaps between bars, the max height of the gap is given in the
18
+ // props. The actual gap is calculated with this multiplier, with a minimum gap
19
+ // of 1 pixel. (If these values are changed, update the comment for barGapMax.)
20
+ var barGapMultiplier = 0.2;
21
+ var barGapMin = 1;
22
+ var CircleVisbility;
23
+ (function (CircleVisbility) {
24
+ CircleVisbility["show"] = "visibility";
25
+ CircleVisbility["hide"] = "hidden";
26
+ })(CircleVisbility || (CircleVisbility = {}));
27
+ var VerticalStackedBarChartBase = /** @class */ (function (_super) {
28
+ tslib_1.__extends(VerticalStackedBarChartBase, _super);
29
+ function VerticalStackedBarChartBase(props) {
30
+ var _this = _super.call(this, props) || this;
31
+ _this._isRtl = Utilities_1.getRTL();
32
+ /**
33
+ * This function tells us what to focus either the whole stack as focusable item.
34
+ * or each individual item in the stack as focusable item. basically it depends
35
+ * on the prop `isCalloutForStack` if it's false user can focus each individual bar
36
+ * within the bar if it's true then user can focus whole bar as item.
37
+ * but if we have lines in the chart then we force the user to focus only the whole
38
+ * bar, even if isCalloutForStack is false
39
+ */
40
+ _this._toFocusWholeStack = function (_isHavingLines) {
41
+ var _a = _this.props.isCalloutForStack, isCalloutForStack = _a === void 0 ? false : _a;
42
+ var shouldFocusStackOnly = false;
43
+ if (_isHavingLines) {
44
+ if (_this.state.isLegendSelected) {
45
+ shouldFocusStackOnly = false;
46
+ }
47
+ else {
48
+ shouldFocusStackOnly = true;
49
+ }
50
+ }
51
+ else {
52
+ shouldFocusStackOnly = isCalloutForStack;
53
+ }
54
+ return shouldFocusStackOnly;
55
+ };
56
+ _this._getFormattedLineData = function (data) {
57
+ var linesData = [];
58
+ var formattedLineData = {};
59
+ data.forEach(function (item, index) {
60
+ if (item.lineData) {
61
+ // injecting corresponding x data point in each of the line data
62
+ // we inject index also , it will be helpful to draw lines when x axis is
63
+ // of string type
64
+ item.lineData.forEach(function (line) {
65
+ linesData.push(tslib_1.__assign(tslib_1.__assign({}, line), { index: index, xItem: item }));
66
+ });
67
+ }
68
+ });
69
+ linesData.forEach(function (item) {
70
+ if (formattedLineData[item.legend]) {
71
+ formattedLineData[item.legend].push(item);
72
+ }
73
+ else {
74
+ formattedLineData[item.legend] = [item];
75
+ }
76
+ });
77
+ return formattedLineData;
78
+ };
79
+ _this._getLineLegends = function (data) {
80
+ var lineObject = _this._lineObject;
81
+ var lineLegends = [];
82
+ Object.keys(lineObject).forEach(function (item) {
83
+ lineLegends.push({
84
+ title: item,
85
+ color: lineObject[item][0].color,
86
+ });
87
+ });
88
+ return lineLegends;
89
+ };
90
+ _this._createLines = function (xScale, yScale, containerHeight, containerWidth) {
91
+ var _a;
92
+ var _b = _this.state, isLegendHovered = _b.isLegendHovered, isLegendSelected = _b.isLegendSelected, selectedLegendTitle = _b.selectedLegendTitle;
93
+ var isNumeric = _this._xAxisType === index_3.XAxisTypes.NumericAxis;
94
+ var xBarScale = _this._getScales(containerHeight, containerWidth, isNumeric).xBarScale;
95
+ var lineObject = _this._getFormattedLineData(_this.props.data);
96
+ var lines = [];
97
+ var borderForLines = [];
98
+ var dots = [];
99
+ var theme = _this.props.theme;
100
+ var lineBorderWidth = ((_a = _this.props.lineOptions) === null || _a === void 0 ? void 0 : _a.lineBorderWidth)
101
+ ? Number.parseFloat(_this.props.lineOptions.lineBorderWidth.toString())
102
+ : 0;
103
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
104
+ var xScaleBandwidthTranslate = isNumeric ? 0 : xBarScale.bandwidth() / 2;
105
+ Object.keys(lineObject).forEach(function (item, index) {
106
+ var shouldHighlight = true;
107
+ if (isLegendHovered || isLegendSelected) {
108
+ shouldHighlight = selectedLegendTitle === item; // item is legend name;
109
+ }
110
+ for (var i = 1; i < lineObject[item].length; i++) {
111
+ var x1 = isNumeric
112
+ ? xScale(lineObject[item][i - 1].xItem.xAxisPoint)
113
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
114
+ xBarScale(lineObject[item][i - 1].xItem.xAxisPoint) + _this._additionalSpace;
115
+ var y1 = yScale(lineObject[item][i - 1].y);
116
+ var x2 = isNumeric
117
+ ? xScale(lineObject[item][i].xItem.xAxisPoint)
118
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
119
+ xBarScale(lineObject[item][i].xItem.xAxisPoint) + _this._additionalSpace;
120
+ var y2 = yScale(lineObject[item][i].y);
121
+ if (lineBorderWidth > 0) {
122
+ borderForLines.push(React.createElement("line", { key: index + "-" + i + "-BorderLine", x1: x1, y1: y1, x2: x2, y2: y2, opacity: shouldHighlight ? 1 : 0.1, strokeWidth: 3 + lineBorderWidth * 2, fill: "transparent", strokeLinecap: "round", stroke: theme.palette.white, transform: "translate(" + xScaleBandwidthTranslate + ", 0)" }));
123
+ }
124
+ lines.push(React.createElement("line", tslib_1.__assign({ key: index + "-" + i + "-line", x1: x1, y1: y1, x2: x2, y2: y2, opacity: shouldHighlight ? 1 : 0.1, strokeWidth: 3, strokeLinecap: "round", stroke: lineObject[item][i].color, transform: "translate(" + xScaleBandwidthTranslate + ", 0)" }, (isLegendSelected &&
125
+ selectedLegendTitle === item && {
126
+ onMouseOver: _this._lineHover.bind(_this, lineObject[item][i - 1]),
127
+ onMouseLeave: _this._lineHoverOut,
128
+ }))));
129
+ }
130
+ });
131
+ Object.keys(lineObject).forEach(function (item, index) {
132
+ lineObject[item].forEach(function (circlePoint, subIndex) {
133
+ dots.push(React.createElement("circle", tslib_1.__assign({ key: index + "-" + subIndex + "-dot", cx: isNumeric
134
+ ? xScale(circlePoint.xItem.xAxisPoint)
135
+ : // eslint-disable-next-line @typescript-eslint/no-explicit-any
136
+ xBarScale(circlePoint.xItem.xAxisPoint) + _this._additionalSpace, cy: yScale(circlePoint.y), onMouseOver: isLegendSelected && selectedLegendTitle === item
137
+ ? _this._lineHover.bind(_this, circlePoint)
138
+ : _this._onStackHover.bind(_this, circlePoint.xItem) }, (isLegendSelected &&
139
+ selectedLegendTitle === item && {
140
+ onMouseLeave: _this._lineHoverOut,
141
+ }), { r: _this._getCircleVisibilityAndRadius(circlePoint.xItem.xAxisPoint, circlePoint.legend).radius, stroke: circlePoint.color, fill: _this.props.theme.palette.white, strokeWidth: 3, visibility: _this._getCircleVisibilityAndRadius(circlePoint.xItem.xAxisPoint, circlePoint.legend).visibility, transform: "translate(" + xScaleBandwidthTranslate + ", 0)" })));
142
+ });
143
+ });
144
+ return (React.createElement(React.Fragment, null,
145
+ borderForLines,
146
+ lines,
147
+ dots));
148
+ };
149
+ _this._getCircleVisibilityAndRadius = function (xAxispoint, legend) {
150
+ var _a = _this.state, isLegendSelected = _a.isLegendSelected, activeXAxisDataPoint = _a.activeXAxisDataPoint, selectedLegendTitle = _a.selectedLegendTitle;
151
+ if (isLegendSelected) {
152
+ if (xAxispoint === activeXAxisDataPoint && legend === selectedLegendTitle) {
153
+ return { visibility: CircleVisbility.show, radius: 8 };
154
+ }
155
+ else if (legend === selectedLegendTitle) {
156
+ return { visibility: CircleVisbility.show, radius: 0.3 };
157
+ }
158
+ else {
159
+ return { visibility: CircleVisbility.hide, radius: 0 };
160
+ }
161
+ }
162
+ else {
163
+ return {
164
+ visibility: activeXAxisDataPoint === xAxispoint ? CircleVisbility.show : CircleVisbility.hide,
165
+ radius: 8,
166
+ };
167
+ }
168
+ };
169
+ _this._getMargins = function (margins) {
170
+ _this.margins = margins;
171
+ };
172
+ _this._getCustomizedCallout = function () {
173
+ var _isHavingLines = _this.props.data.some(function (item) { return item.lineData && item.lineData.length > 0; });
174
+ return _this.props.onRenderCalloutPerStack
175
+ ? _this.props.onRenderCalloutPerStack(_this.state.stackCalloutProps)
176
+ : _this.props.onRenderCalloutPerDataPoint && !_isHavingLines
177
+ ? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps, _this._renderCallout)
178
+ : null;
179
+ };
180
+ _this._lineHover = function (lineData, mouseEvent) {
181
+ mouseEvent.persist();
182
+ _this.setState({
183
+ refSelected: mouseEvent,
184
+ isCalloutVisible: true,
185
+ xCalloutValue: "" + lineData.xItem.xAxisPoint,
186
+ yCalloutValue: "" + (lineData.yAxisCalloutData || lineData.data || lineData.y),
187
+ activeXAxisDataPoint: lineData.xItem.xAxisPoint,
188
+ color: lineData.color,
189
+ });
190
+ };
191
+ _this._lineHoverOut = function () {
192
+ _this.setState({
193
+ refSelected: null,
194
+ isCalloutVisible: false,
195
+ xCalloutValue: '',
196
+ yCalloutValue: '',
197
+ activeXAxisDataPoint: '',
198
+ color: '',
199
+ });
200
+ };
201
+ _this._handleMouseOut = function () {
202
+ /**/
203
+ };
204
+ _this._handleChartMouseLeave = function () {
205
+ _this._calloutAnchorPoint = null;
206
+ _this.setState({
207
+ isCalloutVisible: false,
208
+ activeXAxisDataPoint: '',
209
+ });
210
+ };
211
+ _this._createBar = function (
212
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
213
+ xBarScale, yBarScale, containerHeight, xElement) {
214
+ var _a = _this.props, _b = _a.barCornerRadius, barCornerRadius = _b === void 0 ? 0 : _b, _c = _a.barMinimumHeight, barMinimumHeight = _c === void 0 ? 0 : _c;
215
+ var _isHavingLines = _this.props.data.some(function (item) { return item.lineData && item.lineData.length > 0; });
216
+ var shouldFocusWholeStack = _this._toFocusWholeStack(_isHavingLines);
217
+ var bars = _this._points.map(function (singleChartData, indexNumber) {
218
+ var yPoint = containerHeight - _this.margins.bottom;
219
+ var xPoint = xBarScale(_this._xAxisType === index_3.XAxisTypes.NumericAxis
220
+ ? singleChartData.xAxisPoint
221
+ : singleChartData.xAxisPoint);
222
+ // Removing datapoints with zero data
223
+ var barsToDisplay = singleChartData.chartData.filter(function (point) { return point.data > 0; });
224
+ if (!barsToDisplay.length) {
225
+ return undefined;
226
+ }
227
+ var _a = _this._getBarGapAndScale(barsToDisplay, yBarScale), gapHeight = _a.gapHeight, heightValueScale = _a.heightValueScale;
228
+ if (heightValueScale < 0) {
229
+ return undefined;
230
+ }
231
+ var singleBar = barsToDisplay.map(function (point, index) {
232
+ var color = point.color ? point.color : _this._colors[index];
233
+ var ref = {};
234
+ var shouldHighlight = true;
235
+ if (_this.state.isLegendHovered || _this.state.isLegendSelected) {
236
+ shouldHighlight = _this.state.selectedLegendTitle === point.legend;
237
+ }
238
+ var classNames = getClassNames(_this.props.styles, {
239
+ theme: _this.props.theme,
240
+ shouldHighlight: shouldHighlight,
241
+ href: _this.props.href,
242
+ });
243
+ var rectFocusProps = !shouldFocusWholeStack && {
244
+ 'data-is-focusable': !_this.props.hideTooltip,
245
+ 'aria-labelledby': "toolTip" + _this._calloutId,
246
+ onMouseOver: _this._onRectHover.bind(_this, singleChartData.xAxisPoint, point, color),
247
+ onMouseMove: _this._onRectHover.bind(_this, singleChartData.xAxisPoint, point, color),
248
+ onMouseLeave: _this._handleMouseOut,
249
+ onFocus: _this._onRectFocus.bind(_this, point, singleChartData.xAxisPoint, color, ref),
250
+ onBlur: _this._handleMouseOut,
251
+ onClick: _this._onClick.bind(_this, point),
252
+ };
253
+ var barHeight = heightValueScale * point.data;
254
+ if (barHeight < barMinimumHeight) {
255
+ barHeight = barMinimumHeight;
256
+ }
257
+ yPoint = yPoint - barHeight - (index ? gapHeight : 0);
258
+ var xScaleBandwidthTranslate = _this._xAxisType === index_3.XAxisTypes.NumericAxis ? 0 : xBarScale.bandwidth() / 2;
259
+ // If set, apply the corner radius to the top of the final bar
260
+ if (barCornerRadius && barHeight > barCornerRadius && index === barsToDisplay.length - 1) {
261
+ return (React.createElement("path", tslib_1.__assign({ key: index + indexNumber + ("" + shouldFocusWholeStack), className: classNames.opacityChangeOnHover, d: "\n M " + xPoint + " " + (yPoint + barCornerRadius) + "\n a " + barCornerRadius + " " + barCornerRadius + " 0 0 1 " + barCornerRadius + " " + -barCornerRadius + "\n h " + (_this._barWidth - 2 * barCornerRadius) + "\n a " + barCornerRadius + " " + barCornerRadius + " 0 0 1 " + barCornerRadius + " " + barCornerRadius + "\n v " + (barHeight - barCornerRadius) + "\n h " + -_this._barWidth + "\n z\n ", fill: color, ref: function (e) { return (ref.refElement = e); }, transform: "translate(" + xScaleBandwidthTranslate + ", 0)" }, rectFocusProps)));
262
+ }
263
+ if (barHeight < 1) {
264
+ return React.createElement(React.Fragment, { key: index + indexNumber }, " ");
265
+ }
266
+ return (React.createElement("rect", tslib_1.__assign({ key: index + indexNumber, className: classNames.opacityChangeOnHover, x: xPoint, y: yPoint, width: _this._barWidth, height: barHeight, fill: color, ref: function (e) { return (ref.refElement = e); } }, rectFocusProps, { role: "text", transform: "translate(" + xScaleBandwidthTranslate + ", 0)" })));
267
+ });
268
+ var groupRef = {};
269
+ var stackFocusProps = shouldFocusWholeStack && {
270
+ 'data-is-focusable': !_this.props.hideTooltip,
271
+ 'aria-labelledby': "toolTip" + _this._calloutId,
272
+ onMouseOver: _this._onStackHover.bind(_this, singleChartData),
273
+ onMouseMove: _this._onStackHover.bind(_this, singleChartData),
274
+ onMouseLeave: _this._handleMouseOut,
275
+ onFocus: _this._onStackFocus.bind(_this, singleChartData, groupRef),
276
+ onBlur: _this._handleMouseOut,
277
+ onClick: _this._onClick.bind(_this, singleChartData),
278
+ role: 'text',
279
+ };
280
+ return (React.createElement("g", tslib_1.__assign({ key: indexNumber + ("" + shouldFocusWholeStack), id: indexNumber + "-singleBar", ref: function (e) { return (groupRef.refElement = e); } }, stackFocusProps), singleBar));
281
+ });
282
+ var className = getClassNames(_this.props.styles, {
283
+ theme: _this.props.theme,
284
+ });
285
+ // Removing un wanted tooltip div from DOM, when prop not provided.
286
+ if (!_this.props.showXAxisLablesTooltip) {
287
+ try {
288
+ document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
289
+ // eslint-disable-next-line no-empty
290
+ }
291
+ catch (e) { }
292
+ }
293
+ // Used to display tooltip at x axis labels.
294
+ if (!_this.props.wrapXAxisLables && _this.props.showXAxisLablesTooltip) {
295
+ var xAxisElement = d3_selection_1.select(xElement).call(xBarScale);
296
+ try {
297
+ document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
298
+ // eslint-disable-next-line no-empty
299
+ }
300
+ catch (e) { }
301
+ var tooltipProps = {
302
+ tooltipCls: className.tooltip,
303
+ id: _this._tooltipId,
304
+ xAxis: xAxisElement,
305
+ };
306
+ xAxisElement && index_3.tooltipOfXAxislabels(tooltipProps);
307
+ }
308
+ return bars.filter(function (bar) { return !!bar; });
309
+ };
310
+ _this._getScales = function (containerHeight, containerWidth, isNumeric) {
311
+ var yMax = _this._yMax;
312
+ var yBarScale = d3_scale_1.scaleLinear()
313
+ .domain([0, yMax])
314
+ .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
315
+ if (isNumeric) {
316
+ var xMax = d3_array_1.max(_this._dataset, function (point) { return point.x; });
317
+ var xBarScale = d3_scale_1.scaleLinear()
318
+ .domain(_this._isRtl ? [xMax, 0] : [0, xMax])
319
+ .nice()
320
+ .range([_this.margins.left, containerWidth - _this.margins.right - _this._barWidth]);
321
+ return { xBarScale: xBarScale, yBarScale: yBarScale };
322
+ }
323
+ else {
324
+ var xBarScale = d3_scale_1.scaleBand()
325
+ .domain(_this._xAxisLabels)
326
+ .range([
327
+ _this.margins.left - _this._additionalSpace,
328
+ containerWidth - _this.margins.right - _this._additionalSpace,
329
+ ])
330
+ .padding(_this.props.xAxisPadding || 0.1);
331
+ return { xBarScale: xBarScale, yBarScale: yBarScale };
332
+ }
333
+ };
334
+ _this._createNumericBars = function (containerHeight, containerWidth, xElement) {
335
+ var _a = _this._getScales(containerHeight, containerWidth, true), xBarScale = _a.xBarScale, yBarScale = _a.yBarScale;
336
+ return _this._createBar(xBarScale, yBarScale, containerHeight, xElement);
337
+ };
338
+ _this._createStringBars = function (containerHeight, containerWidth, xElement) {
339
+ var _a = _this._getScales(containerHeight, containerWidth, false), xBarScale = _a.xBarScale, yBarScale = _a.yBarScale;
340
+ return _this._createBar(xBarScale, yBarScale, containerHeight, xElement);
341
+ };
342
+ _this._getGraphData = function (
343
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
344
+ xScale, yScale, containerHeight, containerWidth, xElement) {
345
+ return (_this._bars =
346
+ _this._xAxisType === index_3.XAxisTypes.NumericAxis
347
+ ? _this._createNumericBars(containerHeight, containerWidth, xElement)
348
+ : _this._createStringBars(containerHeight, containerWidth, xElement));
349
+ };
350
+ _this._closeCallout = function () {
351
+ _this.setState({
352
+ isCalloutVisible: false,
353
+ });
354
+ };
355
+ _this._getAxisData = function (yAxisData) {
356
+ if (yAxisData && yAxisData.yAxisDomainValues.length) {
357
+ var domainValue = yAxisData.yAxisDomainValues;
358
+ _this._yMax = Math.max(domainValue[domainValue.length - 1], _this.props.yMaxValue || 0);
359
+ }
360
+ };
361
+ _this.state = {
362
+ isCalloutVisible: false,
363
+ isLegendSelected: false,
364
+ isLegendHovered: false,
365
+ selectedLegendTitle: '',
366
+ refSelected: null,
367
+ dataForHoverCard: 0,
368
+ color: '',
369
+ hoverXValue: '',
370
+ YValueHover: [],
371
+ xCalloutValue: '',
372
+ yCalloutValue: '',
373
+ activeXAxisDataPoint: '',
374
+ };
375
+ Utilities_1.warnDeprecations(COMPONENT_NAME, props, {
376
+ colors: 'IVSChartDataPoint.color',
377
+ chartLabel: 'use your own title for chart',
378
+ });
379
+ _this._handleMouseOut = _this._handleMouseOut.bind(_this);
380
+ _this._calloutId = Utilities_1.getId('callout');
381
+ _this._tooltipId = Utilities_1.getId('VSBCTooltipId_');
382
+ _this._adjustProps();
383
+ _this._dataset = _this._createDataSetLayer();
384
+ _this._createLegendsForLine = Utilities_1.memoizeFunction(function (data) { return _this._getLineLegends(data); });
385
+ return _this;
386
+ }
387
+ VerticalStackedBarChartBase.prototype.componentDidUpdate = function (prevProps) {
388
+ if (prevProps.height !== this.props.height ||
389
+ prevProps.width !== this.props.width ||
390
+ prevProps.data !== this.props.data) {
391
+ this._adjustProps();
392
+ this._dataset = this._createDataSetLayer();
393
+ }
394
+ };
395
+ VerticalStackedBarChartBase.prototype.render = function () {
396
+ var _this = this;
397
+ this._adjustProps();
398
+ var _isHavingLines = this.props.data.some(function (item) { return item.lineData && item.lineData.length > 0; });
399
+ var shouldFocusWholeStack = this._toFocusWholeStack(_isHavingLines);
400
+ var _a = this.props.isCalloutForStack, isCalloutForStack = _a === void 0 ? false : _a;
401
+ this._dataset = this._createDataSetLayer();
402
+ var legendBars = this._getLegendData(this._points, this.props.theme.palette, this._createLegendsForLine(this.props.data));
403
+ var calloutProps = tslib_1.__assign(tslib_1.__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: "toolTip" + this._calloutId, target: this.state.refSelected, isBeakVisible: false, gapSpace: 15, color: this.state.color, legend: this.state.selectedLegendTitle, XValue: this.state.xCalloutValue, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }, this.props.calloutProps), index_3.getAccessibleDataObject(this.state.callOutAccessibilityData));
404
+ var tickParams = {
405
+ tickValues: this.props.tickValues,
406
+ tickFormat: this.props.tickFormat,
407
+ };
408
+ return (React.createElement(index_2.CartesianChart, tslib_1.__assign({}, this.props, { points: this._dataset, chartType: index_3.ChartTypes.VerticalStackedBarChart, xAxisType: this._xAxisType, calloutProps: calloutProps, tickParams: tickParams, legendBars: legendBars, datasetForXAxisDomain: this._xAxisLabels, isCalloutForStack: shouldFocusWholeStack, barwidth: this._barWidth, focusZoneDirection: isCalloutForStack || _isHavingLines ? react_focus_1.FocusZoneDirection.horizontal : react_focus_1.FocusZoneDirection.vertical, getmargins: this._getMargins, getGraphData: this._getGraphData, getAxisData: this._getAxisData, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave,
409
+ /* eslint-disable react/jsx-no-bind */
410
+ // eslint-disable-next-line react/no-children-prop
411
+ children: function (props) {
412
+ return (React.createElement(React.Fragment, null,
413
+ React.createElement("g", null, _this._bars),
414
+ React.createElement("g", null, _isHavingLines &&
415
+ _this._createLines(props.xScale, props.yScale, props.containerHeight, props.containerWidth))));
416
+ } })));
417
+ };
418
+ VerticalStackedBarChartBase.prototype._adjustProps = function () {
419
+ this._points = this.props.data || [];
420
+ this._barWidth = this.props.barWidth || 32;
421
+ this._additionalSpace = 0.5 * this._barWidth;
422
+ var theme = this.props.theme;
423
+ var palette = theme.palette;
424
+ // eslint-disable-next-line deprecation/deprecation
425
+ this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
426
+ this._xAxisType = index_3.getTypeOfAxis(this.props.data[0].xAxisPoint, true);
427
+ this._lineObject = this._getFormattedLineData(this.props.data);
428
+ };
429
+ VerticalStackedBarChartBase.prototype._createDataSetLayer = function () {
430
+ var tempArr = [];
431
+ var dataset = this._points.map(function (singlePointData) {
432
+ var total = 0;
433
+ singlePointData.chartData.forEach(function (point) {
434
+ total = total + point.data;
435
+ });
436
+ tempArr.push(singlePointData.xAxisPoint);
437
+ return {
438
+ x: singlePointData.xAxisPoint,
439
+ y: total,
440
+ };
441
+ });
442
+ this._xAxisLabels = tempArr;
443
+ return dataset;
444
+ };
445
+ VerticalStackedBarChartBase.prototype._renderCallout = function (props) {
446
+ return props ? (React.createElement(index_2.ChartHoverCard, { XValue: props.xAxisCalloutData, Legend: props.legend, YValue: props.yAxisCalloutData, color: props.color, culture: this.props.culture })) : null;
447
+ };
448
+ VerticalStackedBarChartBase.prototype._onLegendClick = function (customMessage) {
449
+ if (this.state.isLegendSelected) {
450
+ if (this.state.selectedLegendTitle === customMessage) {
451
+ this.setState({
452
+ isLegendSelected: false,
453
+ selectedLegendTitle: customMessage,
454
+ });
455
+ }
456
+ else {
457
+ this.setState({
458
+ selectedLegendTitle: customMessage,
459
+ });
460
+ }
461
+ }
462
+ else {
463
+ this.setState({
464
+ isLegendSelected: true,
465
+ selectedLegendTitle: customMessage,
466
+ });
467
+ }
468
+ };
469
+ VerticalStackedBarChartBase.prototype._onLegendHover = function (customMessage) {
470
+ if (this.state.isLegendSelected === false) {
471
+ this.setState({
472
+ isLegendHovered: true,
473
+ selectedLegendTitle: customMessage,
474
+ });
475
+ }
476
+ };
477
+ VerticalStackedBarChartBase.prototype._onLegendLeave = function (isLegendFocused) {
478
+ if (!!isLegendFocused || this.state.isLegendSelected === false) {
479
+ this.setState({
480
+ isLegendHovered: false,
481
+ selectedLegendTitle: '',
482
+ isLegendSelected: isLegendFocused ? false : this.state.isLegendSelected,
483
+ });
484
+ }
485
+ };
486
+ VerticalStackedBarChartBase.prototype._getLegendData = function (data, palette, lineLegends) {
487
+ var _this = this;
488
+ if (this.props.hideLegend) {
489
+ return React.createElement(React.Fragment, null);
490
+ }
491
+ var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
492
+ var actions = [];
493
+ var _a = this.props.allowHoverOnLegend, allowHoverOnLegend = _a === void 0 ? true : _a;
494
+ data.forEach(function (singleChartData) {
495
+ singleChartData.chartData.forEach(function (point) {
496
+ var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
497
+ var checkSimilarLegends = actions.filter(function (leg) { return leg.title === point.legend && leg.color === color; });
498
+ if (checkSimilarLegends.length > 0) {
499
+ return;
500
+ }
501
+ var legend = {
502
+ title: point.legend,
503
+ color: color,
504
+ action: function () {
505
+ _this._onLegendClick(point.legend);
506
+ },
507
+ hoverAction: allowHoverOnLegend ? function () { return _this._onLegendHover(point.legend); } : undefined,
508
+ onMouseOutAction: allowHoverOnLegend ? function (isLegendSelected) { return _this._onLegendLeave(isLegendSelected); } : undefined,
509
+ };
510
+ actions.push(legend);
511
+ });
512
+ });
513
+ var legendsOfLine = [];
514
+ if (lineLegends && lineLegends.length > 0) {
515
+ lineLegends.forEach(function (point) {
516
+ var legend = {
517
+ title: point.title,
518
+ color: point.color,
519
+ isLineLegendInBarChart: true,
520
+ action: function () {
521
+ _this._onLegendClick(point.title);
522
+ },
523
+ hoverAction: allowHoverOnLegend ? function () { return _this._onLegendHover(point.title); } : undefined,
524
+ onMouseOutAction: allowHoverOnLegend ? function (isLegendSelected) { return _this._onLegendLeave(isLegendSelected); } : undefined,
525
+ };
526
+ legendsOfLine.push(legend);
527
+ });
528
+ }
529
+ var totalLegends = legendsOfLine.concat(actions);
530
+ return (React.createElement(index_1.Legends, tslib_1.__assign({ legends: totalLegends, overflowProps: this.props.legendsOverflowProps, enabledWrapLines: this.props.enabledLegendsWrapLines, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, this.props.legendProps)));
531
+ };
532
+ VerticalStackedBarChartBase.prototype._onRectHover = function (xAxisPoint, point, color, mouseEvent) {
533
+ mouseEvent.persist();
534
+ this._onRectFocusHover(xAxisPoint, point, color, mouseEvent);
535
+ };
536
+ VerticalStackedBarChartBase.prototype._onRectFocusHover = function (xAxisPoint, point, color, refSelected) {
537
+ if ((this.state.isLegendSelected === false ||
538
+ (this.state.isLegendSelected && this.state.selectedLegendTitle === point.legend)) &&
539
+ this._calloutAnchorPoint !== point) {
540
+ this._calloutAnchorPoint = point;
541
+ this.setState({
542
+ refSelected: refSelected,
543
+ isCalloutVisible: true,
544
+ selectedLegendTitle: point.legend,
545
+ dataForHoverCard: point.data,
546
+ color: color,
547
+ xCalloutValue: point.xAxisCalloutData ? point.xAxisCalloutData : xAxisPoint,
548
+ yCalloutValue: point.yAxisCalloutData,
549
+ dataPointCalloutProps: point,
550
+ callOutAccessibilityData: point.callOutAccessibilityData,
551
+ });
552
+ }
553
+ };
554
+ VerticalStackedBarChartBase.prototype._onStackHover = function (stack, mouseEvent) {
555
+ mouseEvent.persist();
556
+ this._onStackHoverFocus(stack, mouseEvent);
557
+ };
558
+ VerticalStackedBarChartBase.prototype._onStackHoverFocus = function (stack, refSelected) {
559
+ var lineData = stack.lineData;
560
+ var isLinesPresent = lineData !== undefined && lineData.length > 0;
561
+ if (isLinesPresent) {
562
+ lineData.forEach(function (item) {
563
+ item.data = item.data || item.y;
564
+ item.shouldDrawBorderBottom = true;
565
+ });
566
+ }
567
+ this.setState({
568
+ refSelected: refSelected,
569
+ isCalloutVisible: true,
570
+ YValueHover: isLinesPresent
571
+ ? tslib_1.__spreadArray(tslib_1.__spreadArray([], lineData.sort(function (a, b) { return (a.data < b.data ? 1 : -1); })), stack.chartData.slice().reverse()) : stack.chartData.slice().reverse(),
572
+ hoverXValue: stack.xAxisPoint,
573
+ stackCalloutProps: stack,
574
+ activeXAxisDataPoint: stack.xAxisPoint,
575
+ callOutAccessibilityData: stack.stackCallOutAccessibilityData,
576
+ });
577
+ };
578
+ VerticalStackedBarChartBase.prototype._onRectFocus = function (point, xAxisPoint, color, ref) {
579
+ if (ref.refElement) {
580
+ this._onRectFocusHover(xAxisPoint, point, color, ref.refElement);
581
+ }
582
+ };
583
+ VerticalStackedBarChartBase.prototype._onStackFocus = function (stack, groupRef) {
584
+ if (groupRef.refElement) {
585
+ this._onStackHoverFocus(stack, groupRef.refElement);
586
+ }
587
+ };
588
+ VerticalStackedBarChartBase.prototype._onClick = function (data, mouseEvent) {
589
+ var _a, _b;
590
+ (_b = (_a = this.props).onBarClick) === null || _b === void 0 ? void 0 : _b.call(_a, mouseEvent, data);
591
+ this.props.href ? (window.location.href = this.props.href) : '';
592
+ };
593
+ VerticalStackedBarChartBase.prototype._getBarGapAndScale = function (bars, yBarScale, defaultTotalHeight) {
594
+ var _a = this.props.barGapMax, barGapMax = _a === void 0 ? 0 : _a;
595
+ // When displaying gaps between the bars, the height of each bar is
596
+ // adjusted so that the total of all bars is not changed by the gaps
597
+ var totalData = bars.reduce(function (iter, value) { return iter + value.data; }, 0);
598
+ var totalHeight = defaultTotalHeight !== null && defaultTotalHeight !== void 0 ? defaultTotalHeight : yBarScale(totalData);
599
+ var gaps = barGapMax && bars.length - 1;
600
+ var gapHeight = gaps && Math.max(barGapMin, Math.min(barGapMax, (totalHeight * barGapMultiplier) / gaps));
601
+ var heightValueScale = (totalHeight - gapHeight * gaps) / totalData;
602
+ return {
603
+ gapHeight: gapHeight,
604
+ heightValueScale: heightValueScale,
605
+ };
606
+ };
607
+ return VerticalStackedBarChartBase;
608
+ }(React.Component));
609
+ exports.VerticalStackedBarChartBase = VerticalStackedBarChartBase;
610
+ //# sourceMappingURL=VerticalStackedBarChart.base.js.map