@fluentui/react-charting 5.12.25 → 5.12.28

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,36 @@
1
+ import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
2
+ import { IChartProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, ICustomizedCalloutData, IMargins } from '../../types/index';
3
+ import { ICartesianChartStyles, ICartesianChartStyleProps, ICartesianChartProps, IChildProps } from '../CommonComponents/CartesianChart.types';
4
+ export { IChildProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, IMargins };
5
+ export interface IAreaChartProps extends ICartesianChartProps {
6
+ /**
7
+ * Data to render in the chart.
8
+ */
9
+ data: IChartProps;
10
+ /**
11
+ * This prop is used to draw Y axis grid lines on the chart. Default value will be false
12
+ * @deprecated now lines are shown by default
13
+ * no need to use this prop
14
+ */
15
+ showYAxisGridLines?: boolean;
16
+ /**
17
+ * Call to provide customized styling that will layer on top of the variant rules.
18
+ */
19
+ styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
20
+ /**
21
+ * Define a custom callout renderer for a data point
22
+ */
23
+ onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
24
+ /**
25
+ * Define a custom callout renderer for a stack; default is to render per data point
26
+ */
27
+ onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
28
+ /**
29
+ * The prop used to define the culture to localized the numbers
30
+ */
31
+ culture?: string;
32
+ }
33
+ export interface IAreaChartStyles extends ICartesianChartStyles {
34
+ }
35
+ export interface IAreaChartStyleProps extends ICartesianChartStyleProps {
36
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AreaChart.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AreaChart.types.js","sourceRoot":"../src/","sources":["components/AreaChart/AreaChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n IChartProps,\n IRefArrayData,\n IBasestate,\n ILineChartDataPoint,\n ILineChartPoints,\n ICustomizedCalloutData,\n IMargins,\n} from '../../types/index';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n ICartesianChartProps,\n IChildProps,\n} from '../CommonComponents/CartesianChart.types';\n\nexport { IChildProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, IMargins };\nexport interface IAreaChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * This prop is used to draw Y axis grid lines on the chart. Default value will be false\n * @deprecated now lines are shown by default\n * no need to use this prop\n */\n showYAxisGridLines?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Define a custom callout renderer for a stack; default is to render per data point\n */\n onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport interface IAreaChartStyles extends ICartesianChartStyles {}\n\nexport interface IAreaChartStyleProps extends ICartesianChartStyleProps {}\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './AreaChart';
2
+ export * from './AreaChart.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AreaChart"), exports);
5
+ tslib_1.__exportStar(require("./AreaChart.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/AreaChart/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,4DAAkC","sourcesContent":["export * from './AreaChart';\nexport * from './AreaChart.types';\n"]}
@@ -0,0 +1,43 @@
1
+ import * as React from 'react';
2
+ import { IModifiedCartesianChartProps } from '../../index';
3
+ export interface ICartesianChartState {
4
+ containerWidth: number;
5
+ containerHeight: number;
6
+ _width: number;
7
+ _height: number;
8
+ isRemoveValCalculated?: boolean;
9
+ _removalValueForTextTuncate?: number;
10
+ }
11
+ /**
12
+ * Cartesian chart used for
13
+ * 1.draw X and Y axis of the chart
14
+ * 2.Callout
15
+ * 3.Fit parent Continer
16
+ */
17
+ export declare class CartesianChartBase extends React.Component<IModifiedCartesianChartProps, ICartesianChartState> {
18
+ private _classNames;
19
+ private chartContainer;
20
+ private legendContainer;
21
+ private minLegendContainerHeight;
22
+ private xAxisElement;
23
+ private yAxisElement;
24
+ private margins;
25
+ private idForGraph;
26
+ private _reqID;
27
+ private _isRtl;
28
+ private _xScale;
29
+ constructor(props: IModifiedCartesianChartProps);
30
+ componentDidMount(): void;
31
+ componentWillUnmount(): void;
32
+ componentDidUpdate(prevProps: IModifiedCartesianChartProps): void;
33
+ render(): JSX.Element;
34
+ private _multiValueCallout;
35
+ private _yValueHoverSubCountsExists;
36
+ private _getCalloutContent;
37
+ /**
38
+ * When screen resizes, along with screen, chart also auto adjusted.
39
+ * This method used to adjust height and width of the charts.
40
+ */
41
+ private _fitParentContainer;
42
+ private _getData;
43
+ }
@@ -0,0 +1,326 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CartesianChartBase = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var React = require("react");
6
+ var Utilities_1 = require("@fluentui/react/lib-commonjs/Utilities");
7
+ var Callout_1 = require("@fluentui/react/lib-commonjs/Callout");
8
+ var react_focus_1 = require("@fluentui/react-focus");
9
+ var index_1 = require("../../utilities/index");
10
+ var index_2 = require("../Legends/index");
11
+ var getClassNames = Utilities_1.classNamesFunction();
12
+ /**
13
+ * Cartesian chart used for
14
+ * 1.draw X and Y axis of the chart
15
+ * 2.Callout
16
+ * 3.Fit parent Continer
17
+ */
18
+ var CartesianChartBase = /** @class */ (function (_super) {
19
+ tslib_1.__extends(CartesianChartBase, _super);
20
+ function CartesianChartBase(props) {
21
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
22
+ var _this = _super.call(this, props) || this;
23
+ _this.minLegendContainerHeight = 32;
24
+ _this._isRtl = Utilities_1.getRTL();
25
+ // TO DO: Write a common functional component for Multi value callout and divide sub count method
26
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
27
+ _this._multiValueCallout = function (calloutProps) {
28
+ var yValueHoverSubCountsExists = _this._yValueHoverSubCountsExists(calloutProps.YValueHover);
29
+ return (React.createElement("div", { className: _this._classNames.calloutContentRoot },
30
+ React.createElement("div", { className: _this._classNames.calloutDateTimeContainer, style: yValueHoverSubCountsExists ? { marginBottom: '11px' } : {} },
31
+ React.createElement("div", tslib_1.__assign({ className: _this._classNames.calloutContentX }, index_1.getAccessibleDataObject(calloutProps.xAxisCalloutAccessibilityData, 'text', false)), index_1.convertToLocaleString(calloutProps.hoverXValue, _this.props.culture))),
32
+ React.createElement("div", { className: _this._classNames.calloutInfoContainer, style: yValueHoverSubCountsExists ? { display: 'flex' } : {} },
33
+ calloutProps.YValueHover &&
34
+ calloutProps.YValueHover.map(function (yValue, index, yValues) {
35
+ var isLast = index + 1 === yValues.length;
36
+ var _a = yValue.shouldDrawBorderBottom, shouldDrawBorderBottom = _a === void 0 ? false : _a;
37
+ return (React.createElement("div", tslib_1.__assign({}, index_1.getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false), { key: "callout-content-" + index, style: yValueHoverSubCountsExists
38
+ ? tslib_1.__assign({ display: 'inline-block' }, (shouldDrawBorderBottom && {
39
+ borderBottom: "1px solid " + _this.props.theme.semanticColors.menuDivider,
40
+ paddingBottom: '10px',
41
+ })) : tslib_1.__assign({}, (shouldDrawBorderBottom && {
42
+ borderBottom: "1px solid " + _this.props.theme.semanticColors.menuDivider,
43
+ paddingBottom: '10px',
44
+ })) }), _this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)));
45
+ }),
46
+ !!calloutProps.descriptionMessage && (React.createElement("div", { className: _this._classNames.descriptionMessage }, calloutProps.descriptionMessage)))));
47
+ };
48
+ // Call back to the chart.
49
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
50
+ _this._getData = function (xScale, yScale) {
51
+ _this.props.getGraphData &&
52
+ _this.props.getGraphData(xScale, yScale, _this.state.containerHeight - _this.state._removalValueForTextTuncate, _this.state.containerWidth, _this.xAxisElement);
53
+ };
54
+ _this.state = {
55
+ containerHeight: 0,
56
+ containerWidth: 0,
57
+ _width: _this.props.width || 600,
58
+ _height: _this.props.height || 350,
59
+ _removalValueForTextTuncate: 0,
60
+ isRemoveValCalculated: true,
61
+ };
62
+ _this.idForGraph = Utilities_1.getId('chart_');
63
+ /**
64
+ * In RTL mode, Only graph will be rendered left/right. We need to provide left and right margins manually.
65
+ * So that, in RTL, left margins becomes right margins and viceversa.
66
+ * As graph needs to be drawn perfecty, these values consider as default values.
67
+ * Same margins using for all other cartesian charts. Can be accessible through 'getMargins' call back method.
68
+ */
69
+ _this.margins = {
70
+ top: (_b = (_a = _this.props.margins) === null || _a === void 0 ? void 0 : _a.top) !== null && _b !== void 0 ? _b : 20,
71
+ bottom: (_d = (_c = _this.props.margins) === null || _c === void 0 ? void 0 : _c.bottom) !== null && _d !== void 0 ? _d : 35,
72
+ right: _this._isRtl ? (_f = (_e = _this.props.margins) === null || _e === void 0 ? void 0 : _e.left) !== null && _f !== void 0 ? _f : 40 : (_h = (_g = _this.props.margins) === null || _g === void 0 ? void 0 : _g.right) !== null && _h !== void 0 ? _h : 20,
73
+ left: _this._isRtl ? (_k = (_j = _this.props.margins) === null || _j === void 0 ? void 0 : _j.right) !== null && _k !== void 0 ? _k : 20 : (_m = (_l = _this.props.margins) === null || _l === void 0 ? void 0 : _l.left) !== null && _m !== void 0 ? _m : 40,
74
+ };
75
+ return _this;
76
+ }
77
+ CartesianChartBase.prototype.componentDidMount = function () {
78
+ this._fitParentContainer();
79
+ };
80
+ CartesianChartBase.prototype.componentWillUnmount = function () {
81
+ cancelAnimationFrame(this._reqID);
82
+ };
83
+ CartesianChartBase.prototype.componentDidUpdate = function (prevProps) {
84
+ if (prevProps.height !== this.props.height || prevProps.width !== this.props.width) {
85
+ this._fitParentContainer();
86
+ }
87
+ if (!this.props.wrapXAxisLables &&
88
+ this.props.rotateXAxisLables &&
89
+ this.props.xAxisType === index_1.XAxisTypes.StringAxis) {
90
+ var rotateLabelProps = {
91
+ node: this.xAxisElement,
92
+ xAxis: this._xScale,
93
+ };
94
+ var rotatedHeight = index_1.rotateXAxisLabels(rotateLabelProps);
95
+ if (this.state.isRemoveValCalculated &&
96
+ this.state._removalValueForTextTuncate !== rotatedHeight + this.margins.bottom &&
97
+ rotatedHeight > 0) {
98
+ this.setState({
99
+ _removalValueForTextTuncate: rotatedHeight + this.margins.bottom,
100
+ isRemoveValCalculated: false,
101
+ });
102
+ }
103
+ }
104
+ };
105
+ CartesianChartBase.prototype.render = function () {
106
+ var _this = this;
107
+ var _a = this.props, calloutProps = _a.calloutProps, points = _a.points, chartType = _a.chartType, chartHoverProps = _a.chartHoverProps, svgFocusZoneProps = _a.svgFocusZoneProps, svgProps = _a.svgProps, culture = _a.culture;
108
+ if (this.props.parentRef) {
109
+ this._fitParentContainer();
110
+ }
111
+ // Callback for margins to the chart
112
+ this.props.getmargins && this.props.getmargins(this.margins);
113
+ var XAxisParams = {
114
+ domainNRangeValues: index_1.getDomainNRangeValues(points, this.margins, this.state.containerWidth, chartType, this._isRtl, this.props.xAxisType, this.props.barwidth, this.props.tickValues),
115
+ xAxisElement: this.xAxisElement,
116
+ showRoundOffXTickValues: true,
117
+ xAxisCount: this.props.xAxisTickCount,
118
+ xAxistickSize: this.props.xAxistickSize,
119
+ tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10,
120
+ xAxisPadding: this.props.xAxisPadding,
121
+ };
122
+ var YAxisParams = {
123
+ margins: this.margins,
124
+ containerWidth: this.state.containerWidth,
125
+ containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate,
126
+ yAxisElement: this.yAxisElement,
127
+ yAxisTickFormat: this.props.yAxisTickFormat,
128
+ yAxisTickCount: this.props.yAxisTickCount,
129
+ yMinValue: this.props.yMinValue || 0,
130
+ yMaxValue: this.props.yMaxValue || 0,
131
+ tickPadding: 10,
132
+ maxOfYVal: this.props.maxOfYVal,
133
+ yMinMaxValues: index_1.getMinMaxOfYAxis(points, chartType),
134
+ yAxisPadding: this.props.yAxisPadding,
135
+ };
136
+ /**
137
+ * These scales used for 2 purposes.
138
+ * 1. To create x and y axis
139
+ * 2. To draw the graph.
140
+ * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
141
+ */
142
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
143
+ var xScale;
144
+ switch (this.props.xAxisType) {
145
+ case index_1.XAxisTypes.NumericAxis:
146
+ xScale = index_1.createNumericXAxis(XAxisParams, culture);
147
+ break;
148
+ case index_1.XAxisTypes.DateAxis:
149
+ xScale = index_1.createDateXAxis(XAxisParams, this.props.tickParams);
150
+ break;
151
+ case index_1.XAxisTypes.StringAxis:
152
+ xScale = index_1.createStringXAxis(XAxisParams, this.props.tickParams, this.props.datasetForXAxisDomain, culture);
153
+ break;
154
+ default:
155
+ xScale = index_1.createNumericXAxis(XAxisParams, culture);
156
+ }
157
+ this._xScale = xScale;
158
+ /*
159
+ * To enable wrapping of x axis tick values or to disaply complete x axis tick values,
160
+ * we need to calculate how much space it needed to render the text.
161
+ * No need to re-calculate every time the chart renders and same time need to get an update. So using setState.
162
+ * Required space will be calculated first time chart rendering and if any width/height of chart updated.
163
+ * */
164
+ if (this.props.wrapXAxisLables || this.props.showXAxisLablesTooltip) {
165
+ var wrapLabelProps = {
166
+ node: this.xAxisElement,
167
+ xAxis: xScale,
168
+ showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false,
169
+ noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4,
170
+ };
171
+ var temp = xScale && index_1.createWrapOfXLabels(wrapLabelProps);
172
+ // this value need to be updated for draw graph updated. So instead of using private value, using set state.
173
+ if (this.state.isRemoveValCalculated && this.state._removalValueForTextTuncate !== temp) {
174
+ this.setState({ _removalValueForTextTuncate: temp, isRemoveValCalculated: false });
175
+ }
176
+ }
177
+ /**
178
+ * These scales used for 2 purposes.
179
+ * 1. To create x and y axis
180
+ * 2. To draw the graph.
181
+ * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
182
+ */
183
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
184
+ var yScale;
185
+ var axisData = { yAxisDomainValues: [] };
186
+ if (this.props.yAxisType && this.props.yAxisType === index_1.YAxisType.StringAxis) {
187
+ yScale = index_1.createStringYAxis(YAxisParams, this.props.stringDatasetForYAxisDomain, this._isRtl);
188
+ }
189
+ else {
190
+ yScale = index_1.createYAxis(YAxisParams, this._isRtl, axisData);
191
+ }
192
+ this.props.getAxisData && this.props.getAxisData(axisData);
193
+ // Callback function for chart, returns axis
194
+ this._getData(xScale, yScale);
195
+ this._classNames = getClassNames(this.props.styles, {
196
+ theme: this.props.theme,
197
+ width: this.state._width,
198
+ height: this.state._height,
199
+ className: this.props.className,
200
+ isRtl: this._isRtl,
201
+ });
202
+ var svgDimensions = {
203
+ width: this.state.containerWidth,
204
+ height: this.state.containerHeight,
205
+ };
206
+ var children = this.props.children(tslib_1.__assign(tslib_1.__assign({}, this.state), { xScale: xScale, yScale: yScale }));
207
+ var focusDirection;
208
+ if (this.props.focusZoneDirection === react_focus_1.FocusZoneDirection.vertical) {
209
+ focusDirection = this.props.focusZoneDirection;
210
+ }
211
+ else if (this.props.focusZoneDirection) {
212
+ focusDirection = this.props.focusZoneDirection;
213
+ }
214
+ else {
215
+ focusDirection = react_focus_1.FocusZoneDirection.horizontal;
216
+ }
217
+ return (React.createElement("div", { id: this.idForGraph, className: this._classNames.root, role: 'presentation', ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this.props.onChartMouseLeave },
218
+ React.createElement(react_focus_1.FocusZone, tslib_1.__assign({ direction: focusDirection }, svgFocusZoneProps),
219
+ React.createElement("svg", tslib_1.__assign({ width: svgDimensions.width, height: svgDimensions.height, "aria-label": this.props.chartTitle, style: { display: 'block' } }, svgProps),
220
+ React.createElement("g", { ref: function (e) {
221
+ _this.xAxisElement = e;
222
+ }, id: "xAxisGElement" + this.idForGraph,
223
+ // To add wrap of x axis lables feature, need to remove word height from svg height.
224
+ transform: "translate(0, " + (svgDimensions.height - this.margins.bottom - this.state._removalValueForTextTuncate) + ")", className: this._classNames.xAxis }),
225
+ React.createElement("g", { ref: function (e) {
226
+ _this.yAxisElement = e;
227
+ }, id: "yAxisGElement" + this.idForGraph, transform: "translate(" + (this._isRtl ? svgDimensions.width - this.margins.right : this.margins.left) + ", 0)", className: this._classNames.yAxis }),
228
+ children)),
229
+ !this.props.hideLegend && (React.createElement("div", { ref: function (e) { return (_this.legendContainer = e); }, className: this._classNames.legendContainer }, this.props.legendBars)),
230
+ !this.props.hideTooltip && calloutProps.isCalloutVisible && (React.createElement(Callout_1.Callout, tslib_1.__assign({}, calloutProps),
231
+ this.props.customizedCallout && this.props.customizedCallout,
232
+ !this.props.customizedCallout && this.props.isCalloutForStack && this._multiValueCallout(calloutProps),
233
+ !this.props.customizedCallout && !this.props.isCalloutForStack && (React.createElement(index_1.ChartHoverCard, tslib_1.__assign({ XValue: calloutProps.XValue, Legend: calloutProps.legend, YValue: calloutProps.YValue, color: calloutProps.color, culture: this.props.culture }, chartHoverProps)))))));
234
+ };
235
+ CartesianChartBase.prototype._yValueHoverSubCountsExists = function (yValueHover) {
236
+ if (yValueHover) {
237
+ return yValueHover.some(function (yValue) { return yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string'; });
238
+ }
239
+ return false;
240
+ };
241
+ CartesianChartBase.prototype._getCalloutContent = function (xValue, index, yValueHoverSubCountsExists, isLast) {
242
+ var marginStyle = isLast ? {} : { marginRight: '16px' };
243
+ var toDrawShape = xValue.index !== undefined && xValue.index !== -1;
244
+ var _classNames = getClassNames(this.props.styles, {
245
+ theme: this.props.theme,
246
+ width: this.state._width,
247
+ height: this.state._height,
248
+ className: this.props.className,
249
+ isRtl: this._isRtl,
250
+ lineColor: xValue.color,
251
+ toDrawShape: toDrawShape,
252
+ });
253
+ var culture = this.props.culture;
254
+ var yValue = index_1.convertToLocaleString(xValue.y, culture);
255
+ if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {
256
+ return (React.createElement("div", { style: yValueHoverSubCountsExists ? marginStyle : {} },
257
+ yValueHoverSubCountsExists && (React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
258
+ xValue.legend,
259
+ " (",
260
+ yValue,
261
+ ")")),
262
+ React.createElement("div", { id: index + "_" + xValue.y, className: _classNames.calloutBlockContainer },
263
+ toDrawShape && (React.createElement(index_2.Shape, { svgProps: {
264
+ className: _classNames.shapeStyles,
265
+ }, pathProps: { fill: xValue.color }, shape: index_1.Points[xValue.index % Object.keys(index_1.pointTypes).length] })),
266
+ React.createElement("div", null,
267
+ React.createElement("div", { className: _classNames.calloutlegendText },
268
+ " ",
269
+ xValue.legend),
270
+ React.createElement("div", { className: _classNames.calloutContentY }, index_1.convertToLocaleString(xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data, culture))))));
271
+ }
272
+ else {
273
+ var subcounts_1 = xValue.yAxisCalloutData;
274
+ return (React.createElement("div", { style: marginStyle },
275
+ React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
276
+ xValue.legend,
277
+ " (",
278
+ yValue,
279
+ ")"),
280
+ Object.keys(subcounts_1).map(function (subcountName) {
281
+ return (React.createElement("div", { key: subcountName, className: _classNames.calloutBlockContainer },
282
+ React.createElement("div", { className: _classNames.calloutlegendText },
283
+ " ",
284
+ index_1.convertToLocaleString(subcountName, culture)),
285
+ React.createElement("div", { className: _classNames.calloutContentY }, index_1.convertToLocaleString(subcounts_1[subcountName], culture))));
286
+ })));
287
+ }
288
+ };
289
+ /**
290
+ * When screen resizes, along with screen, chart also auto adjusted.
291
+ * This method used to adjust height and width of the charts.
292
+ */
293
+ CartesianChartBase.prototype._fitParentContainer = function () {
294
+ var _this = this;
295
+ var _a = this.state, containerWidth = _a.containerWidth, containerHeight = _a.containerHeight;
296
+ this._reqID = requestAnimationFrame(function () {
297
+ var legendContainerHeight;
298
+ if (_this.props.hideLegend) {
299
+ // If there is no legend, need not to allocate some space from total chart space.
300
+ legendContainerHeight = 0;
301
+ }
302
+ else {
303
+ var legendContainerComputedStyles = getComputedStyle(_this.legendContainer);
304
+ legendContainerHeight =
305
+ (_this.legendContainer.getBoundingClientRect().height || _this.minLegendContainerHeight) +
306
+ parseFloat(legendContainerComputedStyles.marginTop || '0') +
307
+ parseFloat(legendContainerComputedStyles.marginBottom || '0');
308
+ }
309
+ var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
310
+ var currentContainerWidth = container.getBoundingClientRect().width;
311
+ var currentContainerHeight = container.getBoundingClientRect().height > legendContainerHeight
312
+ ? container.getBoundingClientRect().height
313
+ : 350;
314
+ var shouldResize = containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight - legendContainerHeight;
315
+ if (shouldResize) {
316
+ _this.setState({
317
+ containerWidth: currentContainerWidth,
318
+ containerHeight: currentContainerHeight - legendContainerHeight,
319
+ });
320
+ }
321
+ });
322
+ };
323
+ return CartesianChartBase;
324
+ }(React.Component));
325
+ exports.CartesianChartBase = CartesianChartBase;
326
+ //# sourceMappingURL=CartesianChart.base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CartesianChart.base.js","sourceRoot":"../src/","sources":["components/CommonComponents/CartesianChart.base.tsx"],"names":[],"mappings":";;;;AAAA,6BAA+B;AAE/B,2DAAkF;AAClF,uDAAsD;AACtD,qDAAsE;AAOtE,+CAmB+B;AAC/B,0CAAsD;AAEtD,IAAM,aAAa,GAAG,8BAAkB,EAAoD,CAAC;AAoB7F;;;;;GAKG;AACH;IAAwC,8CAAmE;IAezG,4BAAY,KAAmC;;QAA/C,YACE,kBAAM,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AC;YACjH,IAAI,YAAY,EAAE;gBAChB,KAAI,CAAC,QAAQ,CAAC;oBACZ,cAAc,EAAE,qBAAqB;oBACrC,eAAe,EAAE,sBAAsB,GAAG,qBAAqB;iBAChE,CAAC,CAAC;aACJ;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAcH,yBAAC;AAAD,CAAC,AAjdD,CAAwC,KAAK,CAAC,SAAS,GAidtD;AAjdY,gDAAkB","sourcesContent":["import * as React from 'react';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { Callout } from '@fluentui/react/lib/Callout';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n IModifiedCartesianChartProps,\n IYValueHover,\n} from '../../index';\nimport {\n ChartHoverCard,\n convertToLocaleString,\n createNumericXAxis,\n createStringXAxis,\n IAxisData,\n getAccessibleDataObject,\n getDomainNRangeValues,\n createDateXAxis,\n createYAxis,\n createStringYAxis,\n IMargins,\n getMinMaxOfYAxis,\n XAxisTypes,\n YAxisType,\n createWrapOfXLabels,\n rotateXAxisLabels,\n Points,\n pointTypes,\n} from '../../utilities/index';\nimport { LegendShape, Shape } from '../Legends/index';\n\nconst getClassNames = classNamesFunction<ICartesianChartStyleProps, ICartesianChartStyles>();\n\nexport interface ICartesianChartState {\n containerWidth: number;\n containerHeight: number;\n _width: number;\n _height: number;\n /* To update this values using setState in render method.\n * To avoid multiple re renders, Only first time setting the value.\n */\n isRemoveValCalculated?: boolean;\n /* Used for when WrapXAxisLabels props appeared.\n * To display the total word (space separated words), Need to have more space than usual.\n * This height will get total height need to disaply total word.\n * These value need to be removed from actual svg height/graph height.\n * Defalut value is 0. And this values calculted when 'wrapXAxisLables' or 'showXAxisLablesTooltip' is true.\n */\n _removalValueForTextTuncate?: number;\n}\n\n/**\n * Cartesian chart used for\n * 1.draw X and Y axis of the chart\n * 2.Callout\n * 3.Fit parent Continer\n */\nexport class CartesianChartBase extends React.Component<IModifiedCartesianChartProps, ICartesianChartState> {\n private _classNames: IProcessedStyleSet<ICartesianChartStyles>;\n private chartContainer: HTMLDivElement;\n private legendContainer: HTMLDivElement;\n private minLegendContainerHeight: number = 32;\n private xAxisElement: SVGElement | null;\n private yAxisElement: SVGElement | null;\n private margins: IMargins;\n private idForGraph: string;\n private _reqID: number;\n private _isRtl: boolean = getRTL();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _xScale: any;\n\n constructor(props: IModifiedCartesianChartProps) {\n super(props);\n this.state = {\n containerHeight: 0,\n containerWidth: 0,\n _width: this.props.width || 600,\n _height: this.props.height || 350,\n _removalValueForTextTuncate: 0,\n isRemoveValCalculated: true,\n };\n this.idForGraph = getId('chart_');\n /**\n * In RTL mode, Only graph will be rendered left/right. We need to provide left and right margins manually.\n * So that, in RTL, left margins becomes right margins and viceversa.\n * As graph needs to be drawn perfecty, these values consider as default values.\n * Same margins using for all other cartesian charts. Can be accessible through 'getMargins' call back method.\n */\n this.margins = {\n top: this.props.margins?.top ?? 20,\n bottom: this.props.margins?.bottom ?? 35,\n right: this._isRtl ? this.props.margins?.left ?? 40 : this.props.margins?.right ?? 20,\n left: this._isRtl ? this.props.margins?.right ?? 20 : this.props.margins?.left ?? 40,\n };\n }\n\n public componentDidMount(): void {\n this._fitParentContainer();\n }\n\n public componentWillUnmount(): void {\n cancelAnimationFrame(this._reqID);\n }\n\n public componentDidUpdate(prevProps: IModifiedCartesianChartProps): void {\n if (prevProps.height !== this.props.height || prevProps.width !== this.props.width) {\n this._fitParentContainer();\n }\n\n if (\n !this.props.wrapXAxisLables &&\n this.props.rotateXAxisLables &&\n this.props.xAxisType! === XAxisTypes.StringAxis\n ) {\n const rotateLabelProps = {\n node: this.xAxisElement,\n xAxis: this._xScale,\n };\n const rotatedHeight = rotateXAxisLabels(rotateLabelProps);\n if (\n this.state.isRemoveValCalculated &&\n this.state._removalValueForTextTuncate !== rotatedHeight! + this.margins.bottom! &&\n rotatedHeight! > 0\n ) {\n this.setState({\n _removalValueForTextTuncate: rotatedHeight! + this.margins.bottom!,\n isRemoveValCalculated: false,\n });\n }\n }\n }\n\n public render(): JSX.Element {\n const { calloutProps, points, chartType, chartHoverProps, svgFocusZoneProps, svgProps, culture } = this.props;\n if (this.props.parentRef) {\n this._fitParentContainer();\n }\n // Callback for margins to the chart\n this.props.getmargins && this.props.getmargins(this.margins);\n\n const XAxisParams = {\n domainNRangeValues: getDomainNRangeValues(\n points,\n this.margins,\n this.state.containerWidth,\n chartType,\n this._isRtl,\n this.props.xAxisType,\n this.props.barwidth!,\n this.props.tickValues!,\n ),\n xAxisElement: this.xAxisElement!,\n showRoundOffXTickValues: true,\n xAxisCount: this.props.xAxisTickCount,\n xAxistickSize: this.props.xAxistickSize,\n tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10,\n xAxisPadding: this.props.xAxisPadding,\n };\n\n const YAxisParams = {\n margins: this.margins,\n containerWidth: this.state.containerWidth,\n containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate!,\n yAxisElement: this.yAxisElement,\n yAxisTickFormat: this.props.yAxisTickFormat!,\n yAxisTickCount: this.props.yAxisTickCount!,\n yMinValue: this.props.yMinValue || 0,\n yMaxValue: this.props.yMaxValue || 0,\n tickPadding: 10,\n maxOfYVal: this.props.maxOfYVal,\n yMinMaxValues: getMinMaxOfYAxis(points, chartType),\n yAxisPadding: this.props.yAxisPadding,\n };\n\n /**\n * These scales used for 2 purposes.\n * 1. To create x and y axis\n * 2. To draw the graph.\n * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let xScale: any;\n switch (this.props.xAxisType!) {\n case XAxisTypes.NumericAxis:\n xScale = createNumericXAxis(XAxisParams, culture);\n break;\n case XAxisTypes.DateAxis:\n xScale = createDateXAxis(XAxisParams, this.props.tickParams!);\n break;\n case XAxisTypes.StringAxis:\n xScale = createStringXAxis(XAxisParams, this.props.tickParams!, this.props.datasetForXAxisDomain!, culture);\n break;\n default:\n xScale = createNumericXAxis(XAxisParams, culture);\n }\n this._xScale = xScale;\n\n /*\n * To enable wrapping of x axis tick values or to disaply complete x axis tick values,\n * we need to calculate how much space it needed to render the text.\n * No need to re-calculate every time the chart renders and same time need to get an update. So using setState.\n * Required space will be calculated first time chart rendering and if any width/height of chart updated.\n * */\n if (this.props.wrapXAxisLables || this.props.showXAxisLablesTooltip) {\n const wrapLabelProps = {\n node: this.xAxisElement,\n xAxis: xScale,\n showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false,\n noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4,\n };\n const temp = xScale && (createWrapOfXLabels(wrapLabelProps) as number);\n // this value need to be updated for draw graph updated. So instead of using private value, using set state.\n if (this.state.isRemoveValCalculated && this.state._removalValueForTextTuncate !== temp) {\n this.setState({ _removalValueForTextTuncate: temp, isRemoveValCalculated: false });\n }\n }\n\n /**\n * These scales used for 2 purposes.\n * 1. To create x and y axis\n * 2. To draw the graph.\n * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let yScale: any;\n const axisData: IAxisData = { yAxisDomainValues: [] };\n if (this.props.yAxisType && this.props.yAxisType === YAxisType.StringAxis) {\n yScale = createStringYAxis(YAxisParams, this.props.stringDatasetForYAxisDomain!, this._isRtl);\n } else {\n yScale = createYAxis(YAxisParams, this._isRtl, axisData);\n }\n this.props.getAxisData && this.props.getAxisData(axisData);\n // Callback function for chart, returns axis\n this._getData(xScale, yScale);\n\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.state._width,\n height: this.state._height,\n className: this.props.className,\n isRtl: this._isRtl,\n });\n\n const svgDimensions = {\n width: this.state.containerWidth,\n height: this.state.containerHeight,\n };\n\n const children = this.props.children({\n ...this.state,\n xScale,\n yScale,\n });\n\n let focusDirection;\n if (this.props.focusZoneDirection === FocusZoneDirection.vertical) {\n focusDirection = this.props.focusZoneDirection;\n } else if (this.props.focusZoneDirection) {\n focusDirection = this.props.focusZoneDirection;\n } else {\n focusDirection = FocusZoneDirection.horizontal;\n }\n return (\n <div\n id={this.idForGraph}\n className={this._classNames.root}\n role={'presentation'}\n ref={(rootElem: HTMLDivElement) => (this.chartContainer = rootElem)}\n onMouseLeave={this.props.onChartMouseLeave}\n >\n <FocusZone direction={focusDirection} {...svgFocusZoneProps}>\n <svg\n width={svgDimensions.width}\n height={svgDimensions.height}\n aria-label={this.props.chartTitle}\n style={{ display: 'block' }}\n {...svgProps}\n >\n <g\n ref={(e: SVGElement | null) => {\n this.xAxisElement = e;\n }}\n id={`xAxisGElement${this.idForGraph}`}\n // To add wrap of x axis lables feature, need to remove word height from svg height.\n transform={`translate(0, ${\n svgDimensions.height - this.margins.bottom! - this.state._removalValueForTextTuncate!\n })`}\n className={this._classNames.xAxis}\n />\n <g\n ref={(e: SVGElement | null) => {\n this.yAxisElement = e;\n }}\n id={`yAxisGElement${this.idForGraph}`}\n transform={`translate(${\n this._isRtl ? svgDimensions.width - this.margins.right! : this.margins.left!\n }, 0)`}\n className={this._classNames.yAxis}\n />\n {children}\n </svg>\n </FocusZone>\n {!this.props.hideLegend && (\n <div ref={(e: HTMLDivElement) => (this.legendContainer = e)} className={this._classNames.legendContainer}>\n {this.props.legendBars}\n </div>\n )}\n {!this.props.hideTooltip && calloutProps!.isCalloutVisible && (\n <Callout {...calloutProps}>\n {/** Given custom callout, then it will render */}\n {this.props.customizedCallout && this.props.customizedCallout}\n {/** single x point its corresponding y points of all the bars/lines in chart will render in callout */}\n {!this.props.customizedCallout && this.props.isCalloutForStack && this._multiValueCallout(calloutProps)}\n {/** single x point its corresponding y point of single line/bar in the chart will render in callout */}\n {!this.props.customizedCallout && !this.props.isCalloutForStack && (\n <ChartHoverCard\n XValue={calloutProps.XValue}\n Legend={calloutProps.legend!}\n YValue={calloutProps.YValue!}\n color={calloutProps.color!}\n culture={this.props.culture}\n {...chartHoverProps}\n />\n )}\n </Callout>\n )}\n </div>\n );\n }\n\n // TO DO: Write a common functional component for Multi value callout and divide sub count method\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _multiValueCallout = (calloutProps: any) => {\n const yValueHoverSubCountsExists: boolean = this._yValueHoverSubCountsExists(calloutProps.YValueHover);\n return (\n <div className={this._classNames.calloutContentRoot}>\n <div\n className={this._classNames.calloutDateTimeContainer}\n style={yValueHoverSubCountsExists ? { marginBottom: '11px' } : {}}\n >\n <div\n className={this._classNames.calloutContentX}\n {...getAccessibleDataObject(calloutProps!.xAxisCalloutAccessibilityData, 'text', false)}\n >\n {convertToLocaleString(calloutProps!.hoverXValue, this.props.culture)}\n </div>\n </div>\n <div\n className={this._classNames.calloutInfoContainer}\n style={yValueHoverSubCountsExists ? { display: 'flex' } : {}}\n >\n {calloutProps!.YValueHover &&\n calloutProps!.YValueHover.map((yValue: IYValueHover, index: number, yValues: IYValueHover[]) => {\n const isLast: boolean = index + 1 === yValues.length;\n const { shouldDrawBorderBottom = false } = yValue;\n return (\n <div\n {...getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false)}\n key={`callout-content-${index}`}\n style={\n yValueHoverSubCountsExists\n ? {\n display: 'inline-block',\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n : {\n ...(shouldDrawBorderBottom && {\n borderBottom: `1px solid ${this.props.theme!.semanticColors.menuDivider}`,\n paddingBottom: '10px',\n }),\n }\n }\n >\n {this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)}\n </div>\n );\n })}\n {!!calloutProps.descriptionMessage && (\n <div className={this._classNames.descriptionMessage}>{calloutProps.descriptionMessage}</div>\n )}\n </div>\n </div>\n );\n };\n\n private _yValueHoverSubCountsExists(yValueHover?: IYValueHover[]) {\n if (yValueHover) {\n return yValueHover.some(\n (yValue: {\n legend?: string;\n y?: number;\n color?: string;\n yAxisCalloutData?: string | { [id: string]: number };\n }) => yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string',\n );\n }\n return false;\n }\n\n private _getCalloutContent(\n xValue: IYValueHover,\n index: number,\n yValueHoverSubCountsExists: boolean,\n isLast: boolean,\n ): React.ReactNode {\n const marginStyle: React.CSSProperties = isLast ? {} : { marginRight: '16px' };\n const toDrawShape = xValue.index !== undefined && xValue.index !== -1;\n const _classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.state._width,\n height: this.state._height,\n className: this.props.className,\n isRtl: this._isRtl,\n lineColor: xValue.color,\n toDrawShape,\n });\n\n const { culture } = this.props;\n const yValue = convertToLocaleString(xValue.y, culture);\n if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {\n return (\n <div style={yValueHoverSubCountsExists ? marginStyle : {}}>\n {yValueHoverSubCountsExists && (\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n )}\n <div id={`${index}_${xValue.y}`} className={_classNames.calloutBlockContainer}>\n {toDrawShape && (\n <Shape\n svgProps={{\n className: _classNames.shapeStyles,\n }}\n pathProps={{ fill: xValue.color }}\n shape={Points[xValue.index! % Object.keys(pointTypes).length] as LegendShape}\n />\n )}\n <div>\n <div className={_classNames.calloutlegendText}> {xValue.legend}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(\n xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data,\n culture,\n )}\n </div>\n </div>\n </div>\n </div>\n );\n } else {\n const subcounts: { [id: string]: number } = xValue.yAxisCalloutData as { [id: string]: number };\n return (\n <div style={marginStyle}>\n <div className=\"ms-fontWeight-semibold\" style={{ fontSize: '12pt' }}>\n {xValue.legend!} ({yValue})\n </div>\n {Object.keys(subcounts).map((subcountName: string) => {\n return (\n <div key={subcountName} className={_classNames.calloutBlockContainer}>\n <div className={_classNames.calloutlegendText}> {convertToLocaleString(subcountName, culture)}</div>\n <div className={_classNames.calloutContentY}>\n {convertToLocaleString(subcounts[subcountName], culture)}\n </div>\n </div>\n );\n })}\n </div>\n );\n }\n }\n\n /**\n * When screen resizes, along with screen, chart also auto adjusted.\n * This method used to adjust height and width of the charts.\n */\n private _fitParentContainer(): void {\n const { containerWidth, containerHeight } = this.state;\n this._reqID = requestAnimationFrame(() => {\n let legendContainerHeight;\n if (this.props.hideLegend) {\n // If there is no legend, need not to allocate some space from total chart space.\n legendContainerHeight = 0;\n } else {\n const legendContainerComputedStyles = getComputedStyle(this.legendContainer);\n legendContainerHeight =\n (this.legendContainer.getBoundingClientRect().height || this.minLegendContainerHeight) +\n parseFloat(legendContainerComputedStyles.marginTop || '0') +\n parseFloat(legendContainerComputedStyles.marginBottom || '0');\n }\n const container = this.props.parentRef ? this.props.parentRef : this.chartContainer;\n const currentContainerWidth = container.getBoundingClientRect().width;\n const currentContainerHeight =\n container.getBoundingClientRect().height > legendContainerHeight\n ? container.getBoundingClientRect().height\n : 350;\n const shouldResize =\n containerWidth !== currentContainerWidth || containerHeight !== currentContainerHeight - legendContainerHeight;\n if (shouldResize) {\n this.setState({\n containerWidth: currentContainerWidth,\n containerHeight: currentContainerHeight - legendContainerHeight,\n });\n }\n });\n }\n\n // Call back to the chart.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getData = (xScale: any, yScale: any) => {\n this.props.getGraphData &&\n this.props.getGraphData(\n xScale,\n yScale,\n this.state.containerHeight - this.state._removalValueForTextTuncate!,\n this.state.containerWidth,\n this.xAxisElement,\n );\n };\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IModifiedCartesianChartProps } from './CartesianChart.types';
3
+ export declare const CartesianChart: React.FunctionComponent<IModifiedCartesianChartProps>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CartesianChart = void 0;
4
+ var Utilities_1 = require("@fluentui/react/lib-commonjs/Utilities");
5
+ var CartesianChart_base_1 = require("./CartesianChart.base");
6
+ var CartesianChart_styles_1 = require("./CartesianChart.styles");
7
+ exports.CartesianChart = Utilities_1.styled(CartesianChart_base_1.CartesianChartBase, CartesianChart_styles_1.getStyles);
8
+ //# sourceMappingURL=CartesianChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CartesianChart.js","sourceRoot":"../src/","sources":["components/CommonComponents/CartesianChart.tsx"],"names":[],"mappings":";;;AACA,2DAAuD;AAEvD,6DAA2D;AAC3D,iEAAoD;AAEvC,QAAA,cAAc,GAA0D,kBAAM,CAIzF,wCAAkB,EAAE,iCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IModifiedCartesianChartProps, ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types';\nimport { CartesianChartBase } from './CartesianChart.base';\nimport { getStyles } from './CartesianChart.styles';\n\nexport const CartesianChart: React.FunctionComponent<IModifiedCartesianChartProps> = styled<\n IModifiedCartesianChartProps,\n ICartesianChartStyleProps,\n ICartesianChartStyles\n>(CartesianChartBase, getStyles);\n"]}
@@ -0,0 +1,2 @@
1
+ import { ICartesianChartStyleProps, ICartesianChartStyles } from './CartesianChart.types';
2
+ export declare const getStyles: (props: ICartesianChartStyleProps) => ICartesianChartStyles;