@fluentui/react-charting 5.12.21 → 5.12.24

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 (1169) hide show
  1. package/CHANGELOG.json +58 -1
  2. package/CHANGELOG.md +31 -2
  3. package/config/tests.js +1 -1
  4. package/package.json +4 -4
  5. package/dist/react-charting.js +0 -2
  6. package/dist/react-charting.js.map +0 -1
  7. package/dist/react-charting.min.js +0 -2
  8. package/dist/react-charting.min.js.map +0 -1
  9. package/lib/AreaChart.d.ts +0 -1
  10. package/lib/AreaChart.js +0 -2
  11. package/lib/AreaChart.js.map +0 -1
  12. package/lib/CartesianChart.d.ts +0 -1
  13. package/lib/CartesianChart.js +0 -2
  14. package/lib/CartesianChart.js.map +0 -1
  15. package/lib/DonutChart.d.ts +0 -1
  16. package/lib/DonutChart.js +0 -2
  17. package/lib/DonutChart.js.map +0 -1
  18. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  19. package/lib/GroupedVerticalBarChart.js +0 -2
  20. package/lib/GroupedVerticalBarChart.js.map +0 -1
  21. package/lib/HeatMapChart.d.ts +0 -1
  22. package/lib/HeatMapChart.js +0 -2
  23. package/lib/HeatMapChart.js.map +0 -1
  24. package/lib/HorizontalBarChart.d.ts +0 -1
  25. package/lib/HorizontalBarChart.js +0 -2
  26. package/lib/HorizontalBarChart.js.map +0 -1
  27. package/lib/Legends.d.ts +0 -1
  28. package/lib/Legends.js +0 -2
  29. package/lib/Legends.js.map +0 -1
  30. package/lib/LineChart.d.ts +0 -1
  31. package/lib/LineChart.js +0 -2
  32. package/lib/LineChart.js.map +0 -1
  33. package/lib/PieChart.d.ts +0 -1
  34. package/lib/PieChart.js +0 -2
  35. package/lib/PieChart.js.map +0 -1
  36. package/lib/SankeyChart.d.ts +0 -1
  37. package/lib/SankeyChart.js +0 -2
  38. package/lib/SankeyChart.js.map +0 -1
  39. package/lib/Sparkline.d.ts +0 -1
  40. package/lib/Sparkline.js +0 -2
  41. package/lib/Sparkline.js.map +0 -1
  42. package/lib/StackedBarChart.d.ts +0 -1
  43. package/lib/StackedBarChart.js +0 -2
  44. package/lib/StackedBarChart.js.map +0 -1
  45. package/lib/Styling.d.ts +0 -2
  46. package/lib/Styling.js +0 -8
  47. package/lib/Styling.js.map +0 -1
  48. package/lib/TreeChart.d.ts +0 -1
  49. package/lib/TreeChart.js +0 -2
  50. package/lib/TreeChart.js.map +0 -1
  51. package/lib/Utilities.d.ts +0 -2
  52. package/lib/Utilities.js +0 -20
  53. package/lib/Utilities.js.map +0 -1
  54. package/lib/VerticalBarChart.d.ts +0 -1
  55. package/lib/VerticalBarChart.js +0 -2
  56. package/lib/VerticalBarChart.js.map +0 -1
  57. package/lib/VerticalStackedBarChart.d.ts +0 -1
  58. package/lib/VerticalStackedBarChart.js +0 -2
  59. package/lib/VerticalStackedBarChart.js.map +0 -1
  60. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -73
  61. package/lib/components/AreaChart/AreaChart.base.js +0 -489
  62. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  63. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  64. package/lib/components/AreaChart/AreaChart.js +0 -6
  65. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  66. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  67. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  68. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  69. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -36
  70. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  71. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  72. package/lib/components/AreaChart/index.d.ts +0 -2
  73. package/lib/components/AreaChart/index.js +0 -3
  74. package/lib/components/AreaChart/index.js.map +0 -1
  75. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  76. package/lib/components/CommonComponents/CartesianChart.base.js +0 -323
  77. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  78. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  79. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  80. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  81. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  82. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  83. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  84. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  85. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  87. package/lib/components/CommonComponents/index.d.ts +0 -2
  88. package/lib/components/CommonComponents/index.js +0 -3
  89. package/lib/components/CommonComponents/index.js.map +0 -1
  90. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -19
  91. package/lib/components/DonutChart/Arc/Arc.js +0 -77
  92. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  93. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  94. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -32
  95. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  96. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  97. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  99. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  100. package/lib/components/DonutChart/Arc/index.js +0 -3
  101. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  102. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -44
  103. package/lib/components/DonutChart/DonutChart.base.js +0 -209
  104. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  105. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  106. package/lib/components/DonutChart/DonutChart.js +0 -6
  107. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  108. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  109. package/lib/components/DonutChart/DonutChart.styles.js +0 -29
  110. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  111. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -53
  112. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  113. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  114. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -12
  115. package/lib/components/DonutChart/Pie/Pie.js +0 -47
  116. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  117. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  118. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -6
  119. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  120. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  121. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  123. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  124. package/lib/components/DonutChart/Pie/index.js +0 -3
  125. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  126. package/lib/components/DonutChart/index.d.ts +0 -3
  127. package/lib/components/DonutChart/index.js +0 -4
  128. package/lib/components/DonutChart/index.js.map +0 -1
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -351
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -11
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  140. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  141. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  142. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  143. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  144. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  146. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  147. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  148. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  149. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -22
  152. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  153. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  155. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  156. package/lib/components/HeatMapChart/index.d.ts +0 -2
  157. package/lib/components/HeatMapChart/index.js +0 -3
  158. package/lib/components/HeatMapChart/index.js.map +0 -1
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -194
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -49
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -2
  170. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  171. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  172. package/lib/components/HorizontalBarChart/index.js +0 -4
  173. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  174. package/lib/components/Legends/Legends.base.d.ts +0 -42
  175. package/lib/components/Legends/Legends.base.js +0 -311
  176. package/lib/components/Legends/Legends.base.js.map +0 -1
  177. package/lib/components/Legends/Legends.d.ts +0 -3
  178. package/lib/components/Legends/Legends.js +0 -5
  179. package/lib/components/Legends/Legends.js.map +0 -1
  180. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  181. package/lib/components/Legends/Legends.styles.js +0 -103
  182. package/lib/components/Legends/Legends.styles.js.map +0 -1
  183. package/lib/components/Legends/Legends.types.d.ts +0 -169
  184. package/lib/components/Legends/Legends.types.js +0 -2
  185. package/lib/components/Legends/Legends.types.js.map +0 -1
  186. package/lib/components/Legends/index.d.ts +0 -3
  187. package/lib/components/Legends/index.js +0 -4
  188. package/lib/components/Legends/index.js.map +0 -1
  189. package/lib/components/Legends/shape.d.ts +0 -9
  190. package/lib/components/Legends/shape.js +0 -24
  191. package/lib/components/Legends/shape.js.map +0 -1
  192. package/lib/components/LineChart/LineChart.base.d.ts +0 -69
  193. package/lib/components/LineChart/LineChart.base.js +0 -768
  194. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  195. package/lib/components/LineChart/LineChart.d.ts +0 -3
  196. package/lib/components/LineChart/LineChart.js +0 -6
  197. package/lib/components/LineChart/LineChart.js.map +0 -1
  198. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  199. package/lib/components/LineChart/LineChart.styles.js +0 -7
  200. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  201. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  202. package/lib/components/LineChart/LineChart.types.js +0 -2
  203. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  206. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  209. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  210. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  212. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  213. package/lib/components/LineChart/index.d.ts +0 -3
  214. package/lib/components/LineChart/index.js +0 -4
  215. package/lib/components/LineChart/index.js.map +0 -1
  216. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  217. package/lib/components/PieChart/Arc/Arc.js +0 -57
  218. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  219. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  220. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  221. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  222. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  223. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  224. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  225. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  226. package/lib/components/PieChart/Arc/index.js +0 -3
  227. package/lib/components/PieChart/Arc/index.js.map +0 -1
  228. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  229. package/lib/components/PieChart/Pie/Pie.js +0 -35
  230. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  231. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  232. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  233. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  234. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  235. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  236. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  237. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  238. package/lib/components/PieChart/Pie/index.js +0 -3
  239. package/lib/components/PieChart/Pie/index.js.map +0 -1
  240. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  241. package/lib/components/PieChart/PieChart.base.js +0 -34
  242. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  243. package/lib/components/PieChart/PieChart.d.ts +0 -3
  244. package/lib/components/PieChart/PieChart.js +0 -6
  245. package/lib/components/PieChart/PieChart.js.map +0 -1
  246. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  247. package/lib/components/PieChart/PieChart.styles.js +0 -29
  248. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  249. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  250. package/lib/components/PieChart/PieChart.types.js +0 -2
  251. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  252. package/lib/components/PieChart/index.d.ts +0 -2
  253. package/lib/components/PieChart/index.js +0 -3
  254. package/lib/components/PieChart/index.js.map +0 -1
  255. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  256. package/lib/components/SankeyChart/SankeyChart.base.js +0 -108
  257. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  258. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  259. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  260. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  261. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  262. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -21
  263. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  264. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  265. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  266. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  267. package/lib/components/SankeyChart/index.d.ts +0 -2
  268. package/lib/components/SankeyChart/index.js +0 -3
  269. package/lib/components/SankeyChart/index.js.map +0 -1
  270. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  271. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  272. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  273. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  274. package/lib/components/Sparkline/Sparkline.js +0 -6
  275. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  276. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  277. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  278. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  279. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  280. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  281. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  282. package/lib/components/Sparkline/index.d.ts +0 -2
  283. package/lib/components/Sparkline/index.js +0 -3
  284. package/lib/components/Sparkline/index.js.map +0 -1
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -293
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -61
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -2
  296. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  297. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -297
  299. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  300. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  301. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  302. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -94
  305. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  306. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  308. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  309. package/lib/components/StackedBarChart/index.d.ts +0 -5
  310. package/lib/components/StackedBarChart/index.js +0 -6
  311. package/lib/components/StackedBarChart/index.js.map +0 -1
  312. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  313. package/lib/components/TreeChart/TreeChart.base.js +0 -303
  314. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  315. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  316. package/lib/components/TreeChart/TreeChart.js +0 -5
  317. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  318. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  319. package/lib/components/TreeChart/TreeChart.styles.js +0 -28
  320. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  321. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -185
  322. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  323. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  324. package/lib/components/TreeChart/index.d.ts +0 -2
  325. package/lib/components/TreeChart/index.js +0 -3
  326. package/lib/components/TreeChart/index.js.map +0 -1
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -482
  329. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  330. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  332. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -22
  335. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  338. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  339. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  340. package/lib/components/VerticalBarChart/index.js +0 -3
  341. package/lib/components/VerticalBarChart/index.js.map +0 -1
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -607
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -12
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  353. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  354. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  355. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  356. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  357. package/lib/index.d.ts +0 -18
  358. package/lib/index.js +0 -19
  359. package/lib/index.js.map +0 -1
  360. package/lib/types/IDataPoint.d.ts +0 -541
  361. package/lib/types/IDataPoint.js +0 -2
  362. package/lib/types/IDataPoint.js.map +0 -1
  363. package/lib/types/IEventAnnotation.d.ts +0 -6
  364. package/lib/types/IEventAnnotation.js +0 -2
  365. package/lib/types/IEventAnnotation.js.map +0 -1
  366. package/lib/types/ILegendDataItem.d.ts +0 -10
  367. package/lib/types/ILegendDataItem.js +0 -2
  368. package/lib/types/ILegendDataItem.js.map +0 -1
  369. package/lib/types/index.d.ts +0 -2
  370. package/lib/types/index.js +0 -3
  371. package/lib/types/index.js.map +0 -1
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  383. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  384. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  385. package/lib/utilities/ChartHoverCard/index.js +0 -4
  386. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  387. package/lib/utilities/index.d.ts +0 -2
  388. package/lib/utilities/index.js +0 -3
  389. package/lib/utilities/index.js.map +0 -1
  390. package/lib/utilities/utilities.d.ts +0 -374
  391. package/lib/utilities/utilities.js +0 -819
  392. package/lib/utilities/utilities.js.map +0 -1
  393. package/lib/version.d.ts +0 -1
  394. package/lib/version.js +0 -5
  395. package/lib/version.js.map +0 -1
  396. package/lib-amd/AreaChart.d.ts +0 -1
  397. package/lib-amd/AreaChart.js +0 -6
  398. package/lib-amd/AreaChart.js.map +0 -1
  399. package/lib-amd/CartesianChart.d.ts +0 -1
  400. package/lib-amd/CartesianChart.js +0 -6
  401. package/lib-amd/CartesianChart.js.map +0 -1
  402. package/lib-amd/DonutChart.d.ts +0 -1
  403. package/lib-amd/DonutChart.js +0 -6
  404. package/lib-amd/DonutChart.js.map +0 -1
  405. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  406. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  407. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  408. package/lib-amd/HeatMapChart.d.ts +0 -1
  409. package/lib-amd/HeatMapChart.js +0 -6
  410. package/lib-amd/HeatMapChart.js.map +0 -1
  411. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  412. package/lib-amd/HorizontalBarChart.js +0 -6
  413. package/lib-amd/HorizontalBarChart.js.map +0 -1
  414. package/lib-amd/Legends.d.ts +0 -1
  415. package/lib-amd/Legends.js +0 -6
  416. package/lib-amd/Legends.js.map +0 -1
  417. package/lib-amd/LineChart.d.ts +0 -1
  418. package/lib-amd/LineChart.js +0 -6
  419. package/lib-amd/LineChart.js.map +0 -1
  420. package/lib-amd/PieChart.d.ts +0 -1
  421. package/lib-amd/PieChart.js +0 -6
  422. package/lib-amd/PieChart.js.map +0 -1
  423. package/lib-amd/SankeyChart.d.ts +0 -1
  424. package/lib-amd/SankeyChart.js +0 -6
  425. package/lib-amd/SankeyChart.js.map +0 -1
  426. package/lib-amd/Sparkline.d.ts +0 -1
  427. package/lib-amd/Sparkline.js +0 -6
  428. package/lib-amd/Sparkline.js.map +0 -1
  429. package/lib-amd/StackedBarChart.d.ts +0 -1
  430. package/lib-amd/StackedBarChart.js +0 -6
  431. package/lib-amd/StackedBarChart.js.map +0 -1
  432. package/lib-amd/Styling.d.ts +0 -2
  433. package/lib-amd/Styling.js +0 -75
  434. package/lib-amd/Styling.js.map +0 -1
  435. package/lib-amd/TreeChart.d.ts +0 -1
  436. package/lib-amd/TreeChart.js +0 -6
  437. package/lib-amd/TreeChart.js.map +0 -1
  438. package/lib-amd/Utilities.d.ts +0 -2
  439. package/lib-amd/Utilities.js +0 -183
  440. package/lib-amd/Utilities.js.map +0 -1
  441. package/lib-amd/VerticalBarChart.d.ts +0 -1
  442. package/lib-amd/VerticalBarChart.js +0 -6
  443. package/lib-amd/VerticalBarChart.js.map +0 -1
  444. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  445. package/lib-amd/VerticalStackedBarChart.js +0 -6
  446. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  447. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -73
  448. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -482
  449. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  450. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  451. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  452. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  453. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  454. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  455. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  456. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -36
  457. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  458. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  459. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  460. package/lib-amd/components/AreaChart/index.js +0 -7
  461. package/lib-amd/components/AreaChart/index.js.map +0 -1
  462. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  463. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -321
  464. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  465. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  466. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  467. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  468. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  469. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  470. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  471. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  472. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  473. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  474. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  475. package/lib-amd/components/CommonComponents/index.js +0 -7
  476. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  477. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -19
  478. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -76
  479. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  480. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  481. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -37
  482. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  483. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  484. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  485. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  486. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  487. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  488. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  489. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -44
  490. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -206
  491. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  492. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  493. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  494. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  495. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  496. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -35
  497. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  498. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -53
  499. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  500. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  501. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -12
  502. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -48
  503. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  504. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  505. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -12
  506. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  507. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  508. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  509. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  510. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  511. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  512. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  513. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  514. package/lib-amd/components/DonutChart/index.js +0 -8
  515. package/lib-amd/components/DonutChart/index.js.map +0 -1
  516. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  517. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -346
  518. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -16
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  528. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  529. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  530. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  531. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  532. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  533. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  543. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  544. package/lib-amd/components/HeatMapChart/index.js +0 -7
  545. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  546. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  547. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -193
  548. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -5
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  558. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  559. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  560. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  561. package/lib-amd/components/Legends/Legends.base.d.ts +0 -42
  562. package/lib-amd/components/Legends/Legends.base.js +0 -307
  563. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  564. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  565. package/lib-amd/components/Legends/Legends.js +0 -7
  566. package/lib-amd/components/Legends/Legends.js.map +0 -1
  567. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  568. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  569. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  570. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  571. package/lib-amd/components/Legends/Legends.types.js +0 -5
  572. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  573. package/lib-amd/components/Legends/index.d.ts +0 -3
  574. package/lib-amd/components/Legends/index.js +0 -8
  575. package/lib-amd/components/Legends/index.js.map +0 -1
  576. package/lib-amd/components/Legends/shape.d.ts +0 -9
  577. package/lib-amd/components/Legends/shape.js +0 -27
  578. package/lib-amd/components/Legends/shape.js.map +0 -1
  579. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -69
  580. package/lib-amd/components/LineChart/LineChart.base.js +0 -762
  581. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  582. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  583. package/lib-amd/components/LineChart/LineChart.js +0 -8
  584. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  585. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  586. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  587. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  588. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  589. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  590. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  591. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  592. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  593. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  594. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  595. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  596. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  597. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  598. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  599. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  600. package/lib-amd/components/LineChart/index.d.ts +0 -3
  601. package/lib-amd/components/LineChart/index.js +0 -8
  602. package/lib-amd/components/LineChart/index.js.map +0 -1
  603. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  604. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  605. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  606. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  607. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  608. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  609. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  610. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  611. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  612. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  613. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  614. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  615. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  616. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  617. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  618. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  619. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  620. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  621. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  622. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  623. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  624. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  625. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  626. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  627. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  628. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  629. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  630. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  631. package/lib-amd/components/PieChart/PieChart.js +0 -8
  632. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  633. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  634. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  635. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  636. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  637. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  638. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  639. package/lib-amd/components/PieChart/index.d.ts +0 -2
  640. package/lib-amd/components/PieChart/index.js +0 -7
  641. package/lib-amd/components/PieChart/index.js.map +0 -1
  642. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  643. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -109
  644. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  645. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  646. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  647. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  648. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  649. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -27
  650. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  651. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  652. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  653. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  654. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  655. package/lib-amd/components/SankeyChart/index.js +0 -7
  656. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  657. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  658. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  659. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  660. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  661. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  662. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  663. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  664. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  665. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  666. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  667. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  668. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  669. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  670. package/lib-amd/components/Sparkline/index.js +0 -7
  671. package/lib-amd/components/Sparkline/index.js.map +0 -1
  672. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  673. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -291
  674. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -66
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -5
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  684. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  685. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -295
  686. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  696. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  697. package/lib-amd/components/StackedBarChart/index.js +0 -10
  698. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  699. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  700. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -301
  701. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  702. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  703. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  704. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  705. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  706. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -33
  707. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  708. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -185
  709. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  710. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  711. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  712. package/lib-amd/components/TreeChart/index.js +0 -7
  713. package/lib-amd/components/TreeChart/index.js.map +0 -1
  714. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  715. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -476
  716. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -27
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  726. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  727. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  728. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  729. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  730. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -601
  731. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -17
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  741. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  742. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  743. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  744. package/lib-amd/index.d.ts +0 -18
  745. package/lib-amd/index.js +0 -22
  746. package/lib-amd/index.js.map +0 -1
  747. package/lib-amd/types/IDataPoint.d.ts +0 -541
  748. package/lib-amd/types/IDataPoint.js +0 -5
  749. package/lib-amd/types/IDataPoint.js.map +0 -1
  750. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  751. package/lib-amd/types/IEventAnnotation.js +0 -5
  752. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  753. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  754. package/lib-amd/types/ILegendDataItem.js +0 -5
  755. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  756. package/lib-amd/types/index.d.ts +0 -2
  757. package/lib-amd/types/index.js +0 -7
  758. package/lib-amd/types/index.js.map +0 -1
  759. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  760. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  761. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  771. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  772. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  773. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  774. package/lib-amd/utilities/index.d.ts +0 -2
  775. package/lib-amd/utilities/index.js +0 -7
  776. package/lib-amd/utilities/index.js.map +0 -1
  777. package/lib-amd/utilities/utilities.d.ts +0 -374
  778. package/lib-amd/utilities/utilities.js +0 -844
  779. package/lib-amd/utilities/utilities.js.map +0 -1
  780. package/lib-amd/version.d.ts +0 -1
  781. package/lib-amd/version.js +0 -6
  782. package/lib-amd/version.js.map +0 -1
  783. package/lib-commonjs/AreaChart.d.ts +0 -1
  784. package/lib-commonjs/AreaChart.js +0 -5
  785. package/lib-commonjs/AreaChart.js.map +0 -1
  786. package/lib-commonjs/CartesianChart.d.ts +0 -1
  787. package/lib-commonjs/CartesianChart.js +0 -5
  788. package/lib-commonjs/CartesianChart.js.map +0 -1
  789. package/lib-commonjs/DonutChart.d.ts +0 -1
  790. package/lib-commonjs/DonutChart.js +0 -5
  791. package/lib-commonjs/DonutChart.js.map +0 -1
  792. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  793. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  794. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  795. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  796. package/lib-commonjs/HeatMapChart.js +0 -5
  797. package/lib-commonjs/HeatMapChart.js.map +0 -1
  798. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  799. package/lib-commonjs/HorizontalBarChart.js +0 -5
  800. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  801. package/lib-commonjs/Legends.d.ts +0 -1
  802. package/lib-commonjs/Legends.js +0 -5
  803. package/lib-commonjs/Legends.js.map +0 -1
  804. package/lib-commonjs/LineChart.d.ts +0 -1
  805. package/lib-commonjs/LineChart.js +0 -5
  806. package/lib-commonjs/LineChart.js.map +0 -1
  807. package/lib-commonjs/PieChart.d.ts +0 -1
  808. package/lib-commonjs/PieChart.js +0 -5
  809. package/lib-commonjs/PieChart.js.map +0 -1
  810. package/lib-commonjs/SankeyChart.d.ts +0 -1
  811. package/lib-commonjs/SankeyChart.js +0 -5
  812. package/lib-commonjs/SankeyChart.js.map +0 -1
  813. package/lib-commonjs/Sparkline.d.ts +0 -1
  814. package/lib-commonjs/Sparkline.js +0 -5
  815. package/lib-commonjs/Sparkline.js.map +0 -1
  816. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  817. package/lib-commonjs/StackedBarChart.js +0 -5
  818. package/lib-commonjs/StackedBarChart.js.map +0 -1
  819. package/lib-commonjs/Styling.d.ts +0 -2
  820. package/lib-commonjs/Styling.js +0 -75
  821. package/lib-commonjs/Styling.js.map +0 -1
  822. package/lib-commonjs/TreeChart.d.ts +0 -1
  823. package/lib-commonjs/TreeChart.js +0 -5
  824. package/lib-commonjs/TreeChart.js.map +0 -1
  825. package/lib-commonjs/Utilities.d.ts +0 -2
  826. package/lib-commonjs/Utilities.js +0 -185
  827. package/lib-commonjs/Utilities.js.map +0 -1
  828. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  829. package/lib-commonjs/VerticalBarChart.js +0 -5
  830. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  831. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  832. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  833. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  834. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -73
  835. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -492
  836. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  837. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -3
  838. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -9
  839. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  840. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  841. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  842. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  843. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -36
  844. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  845. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  846. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  847. package/lib-commonjs/components/AreaChart/index.js +0 -6
  848. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  849. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  850. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -326
  851. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  852. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -3
  853. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -8
  854. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  855. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  856. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -167
  857. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  858. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  859. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  860. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  861. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  862. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  863. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  864. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -19
  865. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -80
  866. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  867. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  868. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -36
  869. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  870. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  871. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  872. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  873. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  874. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  875. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  876. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -44
  877. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -212
  878. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  879. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -3
  880. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -9
  881. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  882. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  883. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -33
  884. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  885. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -53
  886. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  887. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  888. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -12
  889. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -50
  890. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  891. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  892. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -10
  893. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  894. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  895. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  896. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  897. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  898. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  899. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  900. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  901. package/lib-commonjs/components/DonutChart/index.js +0 -7
  902. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  903. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  904. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -354
  905. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  906. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  907. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -9
  908. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  909. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  910. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -15
  911. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  912. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  913. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  914. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  915. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  916. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  917. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  918. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  919. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -501
  920. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  921. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  922. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -8
  923. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  924. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  925. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -26
  926. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  927. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  928. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  929. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  930. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  931. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  932. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  933. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  934. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -197
  935. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  936. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  937. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -9
  938. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  939. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  940. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  941. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  942. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  943. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -3
  944. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  945. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  946. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  947. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  948. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -42
  949. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  950. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  951. package/lib-commonjs/components/Legends/Legends.d.ts +0 -3
  952. package/lib-commonjs/components/Legends/Legends.js +0 -8
  953. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  954. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  955. package/lib-commonjs/components/Legends/Legends.styles.js +0 -107
  956. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  957. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -169
  958. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  959. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  960. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  961. package/lib-commonjs/components/Legends/index.js +0 -7
  962. package/lib-commonjs/components/Legends/index.js.map +0 -1
  963. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  964. package/lib-commonjs/components/Legends/shape.js +0 -28
  965. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  966. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -69
  967. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -771
  968. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  969. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -3
  970. package/lib-commonjs/components/LineChart/LineChart.js +0 -9
  971. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  972. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  973. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  974. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  975. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -72
  976. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  977. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  978. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  979. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  980. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  981. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  982. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -41
  983. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  984. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  985. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  986. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  987. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  988. package/lib-commonjs/components/LineChart/index.js +0 -7
  989. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  990. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -12
  991. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -60
  992. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  993. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  994. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -12
  995. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  996. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -60
  997. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  998. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  999. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1000. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1001. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1002. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1003. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -38
  1004. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1005. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1006. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1007. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1008. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -46
  1009. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1010. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1011. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1012. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1013. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1014. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -7
  1015. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -37
  1016. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1017. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -3
  1018. package/lib-commonjs/components/PieChart/PieChart.js +0 -9
  1019. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1020. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1021. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1022. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1023. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -63
  1024. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1025. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1026. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1027. package/lib-commonjs/components/PieChart/index.js +0 -6
  1028. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1029. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  1030. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -111
  1031. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1032. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -3
  1033. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -9
  1034. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1035. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1036. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -25
  1037. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1038. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  1039. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1040. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1041. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1042. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1043. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1044. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -20
  1045. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -79
  1046. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1047. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -3
  1048. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -9
  1049. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1050. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1051. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1052. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1053. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -51
  1054. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1055. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1056. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1057. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1058. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1059. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  1060. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -296
  1061. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1062. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  1063. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -9
  1064. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1065. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1066. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -65
  1067. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1068. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  1069. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -3
  1070. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1071. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  1072. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -300
  1073. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1074. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  1075. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -9
  1076. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1077. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1078. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  1079. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1080. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  1081. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1082. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1083. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1084. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1085. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1086. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1087. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -306
  1088. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1089. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -3
  1090. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -8
  1091. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1092. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1093. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -32
  1094. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1095. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -185
  1096. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -26
  1097. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1098. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1099. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1100. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  1102. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -485
  1103. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1104. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  1105. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -9
  1106. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1107. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1108. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -26
  1109. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1110. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  1111. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1112. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1113. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1114. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1115. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1116. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  1117. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -610
  1118. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1119. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  1120. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -9
  1121. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1122. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1123. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -16
  1124. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1125. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  1126. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1127. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1128. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1129. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1130. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1131. package/lib-commonjs/index.d.ts +0 -18
  1132. package/lib-commonjs/index.js +0 -22
  1133. package/lib-commonjs/index.js.map +0 -1
  1134. package/lib-commonjs/types/IDataPoint.d.ts +0 -541
  1135. package/lib-commonjs/types/IDataPoint.js +0 -3
  1136. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1137. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1138. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1139. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1140. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1141. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1142. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1143. package/lib-commonjs/types/index.d.ts +0 -2
  1144. package/lib-commonjs/types/index.js +0 -6
  1145. package/lib-commonjs/types/index.js.map +0 -1
  1146. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1147. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1148. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1149. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1150. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1151. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1152. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1153. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -86
  1154. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1155. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1156. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1157. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1158. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1159. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1160. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1161. package/lib-commonjs/utilities/index.d.ts +0 -2
  1162. package/lib-commonjs/utilities/index.js +0 -6
  1163. package/lib-commonjs/utilities/index.js.map +0 -1
  1164. package/lib-commonjs/utilities/utilities.d.ts +0 -374
  1165. package/lib-commonjs/utilities/utilities.js +0 -849
  1166. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1167. package/lib-commonjs/version.d.ts +0 -1
  1168. package/lib-commonjs/version.js +0 -7
  1169. package/lib-commonjs/version.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.base.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMap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YAAY,EAC1B,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,kBAAmB,CAAC,eAAe,EAC5D,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAClD,2BAA2B,EAAE,IAAI,CAAC,sBAAsB,EACxD,cAAc,EAAE,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAClD,aAAa,EAAE,CAAC,EAChB,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,IAAI,EAClB,iBAAiB,EAAE;oBACjB,SAAS,EAAE,gCAAkB,CAAC,aAAa;iBAC5C,EACD,UAAU,EAAE,IAAI,CAAC,iBAAiB,EAAE,EACpC,iBAAiB,EAAE,IAAI,CAAC,sBAAsB;gBAC9C,sCAAsC;gBACtC,kDAAkD;gBAClD,QAAQ,EAAE,UAAC,KAAkB;oBAC3B,KAAI,CAAC,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;oBAChC,KAAI,CAAC,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;oBAChC,OAAO,KAAI,CAAC,iBAAiB,EAAE,CAAC;gBAClC,CAAC,IACD,CACH,CAAC;QACJ,CAAC;QA4cH,uBAAC;IAAD,CAAC,AAjlBD,CAAsC,KAAK,CAAC,SAAS,GAilBpD;IAjlBY,4CAAgB","sourcesContent":["import {\n IAccessibilityProps,\n CartesianChart,\n IChildProps,\n IModifiedCartesianChartProps,\n IHeatMapChartData,\n IHeatMapChartDataPoint,\n} from '../../index';\nimport { scaleLinear as d3ScaleLinear } from 'd3-scale';\nimport { classNamesFunction, memoizeFunction } from '@fluentui/react/lib/Utilities';\nimport { FocusZoneDirection } from '@fluentui/react-focus';\nimport { DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport * as React from 'react';\nimport { IHeatMapChartProps, IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\nimport { ILegend, Legends } from '../Legends/index';\nimport {\n ChartTypes,\n convertToLocaleString,\n getAccessibleDataObject,\n XAxisTypes,\n YAxisType,\n getTypeOfAxis,\n} from '../../utilities/utilities';\nimport { Target } from '@fluentui/react';\nimport { format as d3Format } from 'd3-format';\nimport * as d3TimeFormat from 'd3-time-format';\n\ntype DataSet = {\n dataSet: RectanglesGraphData;\n yAxisPoints: string[];\n xAxisPoints: string[];\n};\ntype FlattenData = IHeatMapChartDataPoint & {\n legend: string;\n};\ninterface IRectRef {\n data: FlattenData;\n refElement: SVGGElement;\n}\ntype RectanglesGraphData = { [key: string]: FlattenData[] };\nexport interface IHeatMapChartState {\n /**\n * determines if the legend any of the legend is selected or not\n * @default false\n */\n isLegendSelected: boolean;\n /**\n * contains the seleted legend string\n */\n activeLegend: string;\n /**\n * determines if the legend is hovered or not\n * @default false\n */\n isLegendHovered: boolean;\n /**\n * determines wethere to show or hide the callout\n * @default false\n */\n isCalloutVisible: boolean;\n /**\n * y value to be shown in callout\n */\n calloutYValue: string;\n /**\n * legend title to be shown in callout\n */\n calloutLegend: string;\n /**\n * color of the text in the callout\n */\n calloutTextColor: string;\n /**\n * The target that the Callout should try to position itself based on\n */\n target: Target;\n /**\n * ratio to show in the callout\n */\n ratio: [number, number] | null;\n\n /**\n * description message to show in the callout\n */\n descriptionMessage: string;\n /**\n * id to give to callout for accesiblity purpose\n */\n calloutId: string;\n /**\n * Accessibility data for callout\n */\n callOutAccessibilityData?: IAccessibilityProps;\n}\nconst getClassNames = classNamesFunction<IHeatMapChartStyleProps, IHeatMapChartStyles>();\nexport class HeatMapChartBase extends React.Component<IHeatMapChartProps, IHeatMapChartState> {\n private _classNames: IProcessedStyleSet<IHeatMapChartStyles>;\n private _stringXAxisDataPoints: string[];\n private _stringYAxisDataPoints: string[];\n private _createSet: (\n data: IHeatMapChartData[],\n xDate: string | undefined,\n xNum: string | undefined,\n yDate: string | undefined,\n yNum: string | undefined,\n ) => DataSet;\n private _dataSet: RectanglesGraphData;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _colorScale: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _xAxisScale: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _yAxisScale: any;\n /**\n * This array contains ref for all the rectangles\n * drawn inside the chard\n */\n private _rectRefArray: { [key: string]: IRectRef } = {};\n private _xAxisType: XAxisTypes;\n private _yAxisType: YAxisType;\n private _calloutAnchorPoint: FlattenData | null;\n public constructor(props: IHeatMapChartProps) {\n super(props);\n const { x, y } = this._getXandY();\n this._xAxisType = getTypeOfAxis(x, true) as XAxisTypes;\n this._yAxisType = getTypeOfAxis(y, false) as YAxisType;\n /**\n * below funciton creates a new data set from the prop\n * @data and also finds all the unique x-axis datapoints\n * and y-axis datapoints(which will render in the axis in graph)\n * we store this in a memoized function, because we want to calulate\n * this set whenever props changes.\n */\n this._createSet = memoizeFunction(\n (\n data: IHeatMapChartData[],\n xDate: string | undefined,\n xNum: string | undefined,\n yDate: string | undefined,\n yNum: string | undefined,\n ): DataSet => this._createNewDataSet(data, xDate, xNum, yDate, yNum),\n );\n this.state = {\n isLegendSelected: false,\n activeLegend: '',\n isLegendHovered: false,\n isCalloutVisible: false,\n target: null,\n calloutLegend: '',\n calloutTextColor: '',\n calloutYValue: '',\n ratio: null,\n descriptionMessage: '',\n calloutId: '',\n };\n }\n public render(): React.ReactNode {\n const {\n data,\n xAxisDateFormatString,\n xAxisNumberFormatString,\n yAxisDateFormatString,\n yAxisNumberFormatString,\n } = this.props;\n this._colorScale = this._getColorScale();\n const { dataSet, xAxisPoints, yAxisPoints } = this._createSet(\n data,\n xAxisDateFormatString,\n xAxisNumberFormatString,\n yAxisDateFormatString,\n yAxisNumberFormatString,\n );\n this._dataSet = dataSet;\n this._stringYAxisDataPoints = yAxisPoints;\n this._stringXAxisDataPoints = xAxisPoints;\n this._classNames = getClassNames(this.props.styles!, { theme: this.props.theme! });\n const calloutProps: IModifiedCartesianChartProps['calloutProps'] = {\n isBeakVisible: false,\n gapSpace: 8,\n ...this.props.calloutProps,\n isCalloutVisible: this.state.isCalloutVisible,\n id: this.state.calloutId,\n YValue: this.state.calloutYValue,\n legend: this.state.calloutLegend,\n color: this.state.calloutTextColor,\n target: this.state.target,\n styles: this._classNames.subComponentStyles.calloutStyles,\n directionalHint: DirectionalHint.topAutoEdge,\n onDismiss: this._closeCallout,\n ...getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false),\n preventDismissOnLostFocus: true,\n };\n const chartHoverProps: IModifiedCartesianChartProps['chartHoverProps'] = {\n ...(this.state.ratio && {\n ratio: this.state.ratio,\n }),\n descriptionMessage: this.state.descriptionMessage,\n };\n return (\n <CartesianChart\n {...this.props}\n points={data}\n chartType={ChartTypes.HeatMapChart}\n xAxisType={XAxisTypes.StringAxis}\n yAxisType={YAxisType.StringAxis}\n calloutProps={calloutProps}\n chartHoverProps={chartHoverProps}\n styles={this._classNames.subComponentStyles!.cartesianStyles}\n datasetForXAxisDomain={this._stringXAxisDataPoints}\n stringDatasetForYAxisDomain={this._stringYAxisDataPoints}\n xAxisTickCount={this._stringXAxisDataPoints.length}\n xAxistickSize={0}\n xAxisPadding={0.02}\n yAxisPadding={0.02}\n svgFocusZoneProps={{\n direction: FocusZoneDirection.bidirectional,\n }}\n legendBars={this._createLegendBars()}\n onChartMouseLeave={this._handleChartMouseLeave}\n /* eslint-disable react/jsx-no-bind */\n // eslint-disable-next-line react/no-children-prop\n children={(props: IChildProps) => {\n this._xAxisScale = props.xScale;\n this._yAxisScale = props.yScale;\n return this._createRectangles();\n }}\n />\n );\n }\n\n private _getXandY = (): { x: string | Date | number; y: string | Date | number } => {\n let x: string | Date | number = '';\n let y: string | Date | number = '';\n this.props.data.forEach((item: IHeatMapChartData) => {\n if (item.data && item.data.length > 0) {\n x = item.data[0].x;\n y = item.data[0].y;\n return { x, y };\n }\n });\n return { x, y };\n };\n\n private _getOpacity = (legendTitle: string): string => {\n let shouldHighlight = true;\n if (this.state.isLegendHovered || this.state.isLegendSelected) {\n shouldHighlight = legendTitle === this.state.activeLegend;\n }\n return shouldHighlight ? '1' : '0.1';\n };\n\n private _rectRefCallback = (rectElement: SVGGElement, index: number | string, dataPointObject: FlattenData): void => {\n this._rectRefArray[index] = { data: dataPointObject, refElement: rectElement };\n };\n\n private _onRectFocus = (id: string, data: FlattenData): void => {\n this.setState({\n target: this._rectRefArray[id].refElement,\n isCalloutVisible: true,\n calloutYValue: `${data.rectText}`,\n calloutTextColor: this._colorScale(data.value),\n calloutLegend: data.legend,\n ratio: data.ratio || null,\n descriptionMessage: data.descriptionMessage || '',\n calloutId: id,\n callOutAccessibilityData: data.callOutAccessibilityData,\n });\n };\n\n private _onRectMouseOver = (id: string, data: FlattenData, mouseEvent: React.MouseEvent<SVGGElement>): void => {\n mouseEvent.persist();\n if (this._calloutAnchorPoint !== data) {\n this._calloutAnchorPoint = data;\n this.setState({\n target: this._rectRefArray[id].refElement,\n isCalloutVisible: true,\n calloutYValue: `${data.rectText}`,\n calloutTextColor: this._colorScale(data.value),\n calloutLegend: data.legend,\n ratio: data.ratio || null,\n descriptionMessage: data.descriptionMessage || '',\n calloutId: id,\n callOutAccessibilityData: data.callOutAccessibilityData,\n });\n }\n };\n\n private _onRectBlurOrMouseOut = (): void => {\n /**/\n };\n\n private _handleChartMouseLeave = (): void => {\n this._calloutAnchorPoint = null;\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n /**\n * This is the function which is responsible for\n * drawing the rectangle in the graph and also\n * attaching dom events to that rectangles\n */\n private _createRectangles = (): React.ReactNode => {\n const rectangles: JSX.Element[] = [];\n const yAxisDataPoints = this._stringYAxisDataPoints.slice().reverse();\n /**\n * yAxisDataPoint is noting but the DataPoint\n * which will be rendered on the y-axis\n */\n yAxisDataPoints.forEach((yAxisDataPoint: string, index1: number) => {\n /**\n * dataPointObject is an object where it contains information on single\n * data point such as x, y , value, rectText property of the rectangle\n */\n this._dataSet[yAxisDataPoint].forEach((dataPointObject: FlattenData, index2: number) => {\n const id = `${index1}${index2}`;\n const rectElement: JSX.Element = (\n <g\n key={id}\n {...(this.state.calloutId && {\n 'aria-labelledby': `${this.state.calloutId}`,\n })}\n data-is-focusable={true}\n fillOpacity={this._getOpacity(dataPointObject.legend)}\n transform={`translate(${this._xAxisScale(dataPointObject.x)}, ${this._yAxisScale(dataPointObject.y)})`}\n ref={(gElement: SVGGElement) => {\n this._rectRefCallback(gElement, id, dataPointObject);\n }}\n onFocus={this._onRectFocus.bind(this, id, dataPointObject)}\n onBlur={this._onRectBlurOrMouseOut}\n onMouseOver={this._onRectMouseOver.bind(this, id, dataPointObject)}\n onMouseOut={this._onRectBlurOrMouseOut}\n >\n <rect\n fill={this._colorScale(dataPointObject.value)}\n width={this._xAxisScale.bandwidth()}\n height={this._yAxisScale.bandwidth()}\n onClick={dataPointObject.onClick}\n />\n <text\n dominantBaseline={'middle'}\n textAnchor={'middle'}\n className={this._classNames.text}\n transform={`translate(${this._xAxisScale.bandwidth() / 2}, ${this._yAxisScale.bandwidth() / 2})`}\n >\n {convertToLocaleString(dataPointObject.rectText, this.props.culture)}\n </text>\n </g>\n );\n rectangles.push(rectElement);\n });\n });\n return rectangles;\n };\n /**\n * when the legend is hovered we need to highlight\n * all the rectangles which fall under that category\n * and un-highlight the rest of them, this functionality\n * should happen only when there no legend Selected\n * @param legendTitle\n */\n private _onLegendHover = (legendTitle: string): void => {\n if (this.state.isLegendSelected === false) {\n this.setState({\n activeLegend: legendTitle,\n isLegendHovered: true,\n });\n }\n };\n\n /**\n * when the mouse is out from the legend , we need\n * to show the graph in initial mode. isLegendFocused will\n * be useful at the scenario where mouseout happend for\n * the legends which are in overflow card\n * @param isLegendFocused\n */\n private _onLegendLeave = (isLegendFocused?: boolean): void => {\n if (!!isLegendFocused || this.state.isLegendSelected === false) {\n this.setState({\n activeLegend: '',\n isLegendHovered: false,\n isLegendSelected: isLegendFocused ? false : this.state.isLegendSelected,\n });\n }\n };\n /**\n * @param legendTitle\n * when the legend is clicked we need to highlight\n * all the rectangles which fall under that category\n * and un highlight the rest of them\n */\n private _onLegendClick = (legendTitle: string): void => {\n /**\n * check if the legend is already selceted,\n * if yes, then check if the consumer has clicked already\n * seleceted legend if yes un-select the legend, else\n * set the acitve legend state to legendTitle\n *\n * if legend is not alredy selceted, simply set the isLegendSelected to true\n * and the active legend to the legendTitle of selected legend\n */\n if (this.state.isLegendSelected) {\n if (this.state.activeLegend === legendTitle) {\n this.setState({\n activeLegend: '',\n isLegendSelected: false,\n });\n } else {\n this.setState({ activeLegend: legendTitle });\n }\n } else {\n this.setState({\n activeLegend: legendTitle,\n isLegendSelected: true,\n isLegendHovered: false,\n });\n }\n };\n private _createLegendBars = (): JSX.Element => {\n const { data, legendProps } = this.props;\n const legends: ILegend[] = [];\n data.forEach((item: IHeatMapChartData) => {\n const legend: ILegend = {\n title: item.legend,\n color: this._colorScale(item.value),\n action: () => {\n this._onLegendClick(item.legend);\n },\n hoverAction: () => {\n this._onLegendHover(item.legend);\n },\n onMouseOutAction: (isLegendSelected?: boolean) => {\n this._onLegendLeave(isLegendSelected);\n },\n };\n legends.push(legend);\n });\n return <Legends {...legendProps} legends={legends} />;\n };\n\n private _getColorScale = () => {\n const { domainValuesForColorScale, rangeValuesForColorScale } = this.props;\n return d3ScaleLinear()\n .domain(domainValuesForColorScale)\n .range((rangeValuesForColorScale as unknown) as number[]);\n };\n\n private _getXIndex = (value: string | Date | number): string => {\n if (this._xAxisType === XAxisTypes.DateAxis) {\n return `${(value as Date).getTime()}`;\n } else if (this._xAxisType === XAxisTypes.StringAxis) {\n return value as string;\n } else if (this._xAxisType === XAxisTypes.NumericAxis) {\n return `${value}`;\n } else {\n return '';\n }\n };\n private _getYIndex = (value: string | Date | number): string => {\n if (this._yAxisType === YAxisType.DateAxis) {\n return `${(value as Date).getTime()}`;\n } else if (this._yAxisType === YAxisType.StringAxis) {\n return value as string;\n } else if (this._yAxisType === YAxisType.NumericAxis) {\n return `${value}`;\n } else {\n return '';\n }\n };\n\n /**\n * This will create a new data set based on the prop\n * @data\n * We will be using This data set to contsruct our rectangles\n * in the chart, we use this data set becuase, when we loop in this\n * data and build the heat map, it will support accessibility as\n * specified in the figma\n */\n\n private _createNewDataSet = (\n data: IHeatMapChartData[],\n xAxisDateFormatString: string | undefined,\n xAxisNumberFormatString: string | undefined,\n yAxisDateFormatString: string | undefined,\n yAxisNumberFormatString: string | undefined,\n ): DataSet => {\n /**\n * please do not destructure any of the props here,\n * instead send them as parameter to this functions so that\n * this functions get called whenever the prop changes\n */\n const flattenData: FlattenData[] = [];\n /**\n * below for each loop will store all the datapoints in the one array.\n * basically it will flatten the nestesd array (data prop) into single array\n * of object. where each object contains x, y, rectText , value and legend propety of single\n * data point.\n */\n data.forEach((item: IHeatMapChartData) => {\n item.data.forEach((point: IHeatMapChartDataPoint) => {\n flattenData.push({ ...point, legend: item.legend });\n });\n });\n const yPoints: RectanglesGraphData = {};\n const uniqueYPoints: { [key: string]: '1' } = {};\n const uniqueXPoints: { [key: string]: '1' } = {};\n flattenData.forEach((item: FlattenData) => {\n const posX = this._getXIndex(item.x);\n const posY = this._getYIndex(item.y);\n\n uniqueXPoints[posX] = '1';\n uniqueYPoints[posY] = '1';\n /** we will check if the property(posY) is already there in object, if Yes,\n * then we will append the item in the Array related to the pos, if not\n * then we will simply append the item in the new Array and\n * assign that array to the property (posY) in the Object\n * and finally we will get the array of Objects associated to each\n * property (which is nothing but y data point) and object in the\n * array are noting but x data points associated to the property y\n */\n if (yPoints[posY]) {\n yPoints[posY] = [...yPoints[posY], item];\n } else {\n yPoints[posY] = [item];\n }\n });\n /**\n * we will now sort(ascending) the array's of y data point based on the x value\n * sorting is important to achive the accessibility order of the\n * rectangles and then format the x and y datapoints respectively\n */\n Object.keys(yPoints).forEach((item: string) => {\n yPoints[item]\n .sort((a: IHeatMapChartDataPoint, b: IHeatMapChartDataPoint) => {\n if (this._xAxisType === XAxisTypes.StringAxis) {\n return (a.x as string).toLowerCase() > (b.x as string).toLowerCase() ? 1 : -1;\n } else if (this._xAxisType === XAxisTypes.DateAxis) {\n return (a.x as Date).getTime() - (b.x as Date).getTime();\n } else if (this._xAxisType === XAxisTypes.NumericAxis) {\n return +(a.x as string) > +(b.x as string) ? 1 : -1;\n } else {\n return a.x > b.x ? 1 : -1;\n }\n })\n .forEach((datapoint: IHeatMapChartDataPoint) => {\n if (this._xAxisType === XAxisTypes.DateAxis) {\n datapoint.x = this._getStringFormattedDate(datapoint.x as string, xAxisDateFormatString);\n }\n if (this._xAxisType === XAxisTypes.NumericAxis) {\n datapoint.x = this._getStringFormattedNumber(datapoint.x as string, xAxisNumberFormatString);\n }\n if (this._xAxisType === XAxisTypes.StringAxis) {\n datapoint.x = this._getFormattedLabelForXAxisDataPoint(datapoint.x as string);\n }\n if (this._yAxisType === YAxisType.DateAxis) {\n datapoint.y = this._getStringFormattedDate(datapoint.y as string, yAxisDateFormatString);\n }\n if (this._yAxisType === YAxisType.NumericAxis) {\n datapoint.y = this._getStringFormattedNumber(datapoint.y as string, yAxisNumberFormatString);\n }\n if (this._yAxisType === YAxisType.StringAxis) {\n datapoint.y = this._getFormattedLabelForYAxisDataPoint(datapoint.y as string);\n }\n });\n });\n /**\n * if y-axis data points are of type date or number or if we have string formatter,\n * then we need to change data points to their respective string\n * format, becuase in the private variable this._stringYAxisDatapoints, points will be stored in\n * string format. and in here `yPoint` are not so we need to change, so that\n * function `this._createRectangles` should work perfetcly while looping, and if we don't change\n * then `this._createRectangles` will fail while looping, causing the error\n * Cannot read property 'forEach' of undefined\n */\n\n Object.keys(yPoints).forEach((yPoint: string) => {\n if (this._yAxisType === YAxisType.DateAxis) {\n yPoints[this._getStringFormattedDate(yPoint, yAxisDateFormatString)] = yPoints[yPoint];\n } else if (this._yAxisType === YAxisType.NumericAxis) {\n yPoints[`${this._getStringFormattedNumber(yPoint, yAxisNumberFormatString)}`] = yPoints[yPoint];\n } else {\n yPoints[this._getFormattedLabelForYAxisDataPoint(yPoint)] = yPoints[yPoint];\n }\n });\n /**\n * assigning new data set\n */\n const dataSet = yPoints;\n /**\n * These are the Y axis data points which will get rendered in the\n * Y axis in graph\n */\n const yAxisPoints = this._getYAxisDataPoints(uniqueYPoints);\n /**\n * These are the x axis data points which will get rendered in the\n * x axis in the graph\n */\n\n const xAxisPoints = this._getXAxisDataPoints(uniqueXPoints);\n return {\n dataSet,\n yAxisPoints,\n xAxisPoints,\n };\n };\n\n /**\n * This function will return the final sorted and formatted x-axis points\n * which will be rendered on the x-axis\n * @param points\n * @returns x-axis points\n */\n private _getXAxisDataPoints = (points: { [key: string]: '1' }): string[] => {\n let xAxisPoints: string[] = [];\n const unFormattedXAxisDataPoints = Object.keys(points).sort((a: string, b: string) => {\n if (this._xAxisType === XAxisTypes.DateAxis || this._xAxisType === XAxisTypes.NumericAxis) {\n return +a - +b;\n } else {\n return a.toLowerCase() > b.toLowerCase() ? 1 : -1;\n }\n });\n xAxisPoints = unFormattedXAxisDataPoints.map((xPoint: string) => {\n if (this._xAxisType === XAxisTypes.DateAxis) {\n return this._getStringFormattedDate(xPoint, this.props.xAxisDateFormatString);\n } else if (this._xAxisType === XAxisTypes.NumericAxis) {\n return this._getStringFormattedNumber(xPoint, this.props.xAxisNumberFormatString);\n } else {\n return this._getFormattedLabelForXAxisDataPoint(xPoint);\n }\n });\n\n return xAxisPoints;\n };\n /**\n * This function will return the final sorted and formatted y-axis points\n * which will be rendered on the y-axis\n * @param points\n * @returns yaxis points\n */\n private _getYAxisDataPoints = (points: { [key: string]: '1' }): string[] => {\n let yAxisPoints: string[] = [];\n const unFormattedYAxisDataPoints = Object.keys(points).sort((a: string, b: string) => {\n if (this._yAxisType === YAxisType.DateAxis || this._yAxisType === YAxisType.NumericAxis) {\n return +a - +b;\n } else {\n return a.toLowerCase() > b.toLowerCase() ? 1 : -1;\n }\n });\n yAxisPoints = unFormattedYAxisDataPoints.map((yPoint: string) => {\n if (this._yAxisType === YAxisType.DateAxis) {\n return this._getStringFormattedDate(yPoint, this.props.yAxisDateFormatString);\n } else if (this._yAxisType === YAxisType.NumericAxis) {\n return this._getStringFormattedNumber(yPoint, this.props.yAxisNumberFormatString);\n } else {\n return this._getFormattedLabelForYAxisDataPoint(yPoint);\n }\n });\n\n return yAxisPoints;\n };\n\n private _getStringFormattedDate = (point: string, formatString?: string): string => {\n const date = new Date();\n date.setTime(+point);\n return d3TimeFormat.timeFormat(formatString || '%b/%d')(date);\n };\n\n private _getStringFormattedNumber = (point: string, formatString?: string): string => {\n return d3Format(formatString || '.2~s')(+point);\n };\n\n private _getFormattedLabelForXAxisDataPoint = (point: string): string => {\n const { xAxisStringFormatter } = this.props;\n return xAxisStringFormatter ? xAxisStringFormatter(point) : point;\n };\n\n private _getFormattedLabelForYAxisDataPoint = (point: string): string => {\n const { yAxisStringFormatter } = this.props;\n return yAxisStringFormatter ? yAxisStringFormatter(point) : point;\n };\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IHeatMapChartProps } from './HeatMapChart.types';
3
- export declare const HeatMapChart: React.FunctionComponent<IHeatMapChartProps>;
@@ -1,7 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Utilities", "./HeatMapChart.styles", "./HeatMapChart.base"], function (require, exports, Utilities_1, HeatMapChart_styles_1, HeatMapChart_base_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HeatMapChart = void 0;
5
- exports.HeatMapChart = Utilities_1.styled(HeatMapChart_base_1.HeatMapChartBase, HeatMapChart_styles_1.getHeatMapChartStyles);
6
- });
7
- //# sourceMappingURL=HeatMapChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.ts"],"names":[],"mappings":";;;;IAMa,QAAA,YAAY,GAAgD,kBAAM,CAI7E,oCAAgB,EAAE,2CAAqB,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IHeatMapChartProps, IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\nimport { getHeatMapChartStyles } from './HeatMapChart.styles';\nimport { HeatMapChartBase } from './HeatMapChart.base';\n\nexport const HeatMapChart: React.FunctionComponent<IHeatMapChartProps> = styled<\n IHeatMapChartProps,\n IHeatMapChartStyleProps,\n IHeatMapChartStyles\n>(HeatMapChartBase, getHeatMapChartStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';
2
- export declare const getHeatMapChartStyles: (props: IHeatMapChartStyleProps) => IHeatMapChartStyles;
@@ -1,28 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getHeatMapChartStyles = void 0;
5
- var getHeatMapChartStyles = function (props) {
6
- var theme = props.theme;
7
- return {
8
- root: {},
9
- text: [
10
- theme.fonts.medium,
11
- {
12
- pointerEvents: 'none',
13
- fill: theme.palette.white,
14
- },
15
- ],
16
- subComponentStyles: {
17
- cartesianStyles: {},
18
- calloutStyles: {
19
- root: {
20
- maxWidth: '238px',
21
- },
22
- },
23
- },
24
- };
25
- };
26
- exports.getHeatMapChartStyles = getHeatMapChartStyles;
27
- });
28
- //# sourceMappingURL=HeatMapChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.styles.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.styles.ts"],"names":[],"mappings":";;;;IAEO,IAAM,qBAAqB,GAAG,UAAC,KAA8B;QAC1D,IAAA,KAAK,GAAK,KAAK,MAAV,CAAW;QACxB,OAAO;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE;gBACJ,KAAK,CAAC,KAAK,CAAC,MAAM;gBAClB;oBACE,aAAa,EAAE,MAAM;oBACrB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;iBAC1B;aACF;YACD,kBAAkB,EAAE;gBAClB,eAAe,EAAE,EAAE;gBACnB,aAAa,EAAE;oBACb,IAAI,EAAE;wBACJ,QAAQ,EAAE,OAAO;qBAClB;iBACF;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IApBW,QAAA,qBAAqB,yBAoBhC","sourcesContent":["import { IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\n\nexport const getHeatMapChartStyles = (props: IHeatMapChartStyleProps): IHeatMapChartStyles => {\n const { theme } = props;\n return {\n root: {},\n text: [\n theme.fonts.medium,\n {\n pointerEvents: 'none',\n fill: theme.palette.white,\n },\n ],\n subComponentStyles: {\n cartesianStyles: {},\n calloutStyles: {\n root: {\n maxWidth: '238px',\n },\n },\n },\n };\n};\n"]}
@@ -1,110 +0,0 @@
1
- import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
2
- import { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';
3
- import { IStyle } from '@fluentui/react/lib/Styling';
4
- import { ICartesianChartStyleProps, ICartesianChartProps, ICartesianChartStyles } from '../CommonComponents/CartesianChart.types';
5
- import { ILegendsProps } from '../Legends/Legends.types';
6
- import { IHeatMapChartData } from '../../types/IDataPoint';
7
- export interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {
8
- /**
9
- * chart title for the chart
10
- */
11
- chartTitle?: string;
12
- /**
13
- * data to provide for Heat Map
14
- */
15
- data: IHeatMapChartData[];
16
- /**
17
- * The domain value for the color scale,
18
- *
19
- */
20
- domainValuesForColorScale: number[];
21
- /**
22
- * The range values for the color scale,
23
- * fill the array with colors in hex format
24
- * note:- it should contain values exactly as many as values in the array
25
- * `domainValuesForColorScale`
26
- */
27
- rangeValuesForColorScale: string[];
28
- /**
29
- * date formatter of x axis,
30
- * if the x-axis data point are of date type then user can use this
31
- * prop to format the date
32
- * refer to https://github.com/d3/d3-time-format for string values
33
- * @default '%b/%d'
34
- */
35
- xAxisDateFormatString?: string;
36
- /**
37
- * date formatter of y axis,
38
- * if the y-axis data point are or date type then user can use this
39
- * prop to format the date
40
- * refer to https://github.com/d3/d3-time-format for string values
41
- * @default '%b/%d'
42
- */
43
- yAxisDateFormatString?: string;
44
- /**
45
- * number formatter of x axis
46
- * if the x-axis data pints are of number type then user can
47
- * use this prop to format the number
48
- * refer to https://github.com/d3/d3-format for string values
49
- * @default '.2~s'
50
- */
51
- xAxisNumberFormatString?: string;
52
- /**
53
- * number formatter of y axis
54
- * if the y-axis data pints are of number type then user can
55
- * use this prop to format the number
56
- * refer to https://github.com/d3/d3-format for string values
57
- * @default '.2~s'
58
- */
59
- yAxisNumberFormatString?: string;
60
- /**
61
- * string formatter for x-axis.
62
- * This prop only applies if the x-axis is of string type
63
- *
64
- * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
65
- * order and then render in the x-axis. this behaviour would force the order of the data points.
66
- * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
67
- * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
68
- * name to that point by using this prop, hence giving the us the flexiblity of the order in which
69
- * label should render
70
- *
71
- * see the example file for the usage of the prop
72
- */
73
- xAxisStringFormatter?: (point: string) => string;
74
- /**
75
- * string formatter for y-axis.
76
- * This prop only applies if the y-axis is of string type
77
- *
78
- * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
79
- * order and then render in the y-axis. this behaviour would force the order of the data points.
80
- * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
81
- * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
82
- * name to that point by using this prop, hence giving the us the flexiblity of the order in which
83
- * label should render
84
- *
85
- * see the exaple file for the usage of the prop
86
- */
87
- yAxisStringFormatter?: (point: string) => string;
88
- /**
89
- * custom legend properties
90
- */
91
- legendProps?: Partial<ILegendsProps>;
92
- /**
93
- * Call to provide customized styling that will layer on top of the variant rules.
94
- */
95
- styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;
96
- /**
97
- * The prop used to define the culture to localized the numbers
98
- */
99
- culture?: string;
100
- }
101
- export interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {
102
- }
103
- export interface IHeatMapChartStyles {
104
- root?: IStyle;
105
- text?: IStyle;
106
- subComponentStyles: {
107
- cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
108
- calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;
109
- };
110
- }
@@ -1,5 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- });
5
- //# sourceMappingURL=HeatMapChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.types.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';\nimport { IStyle } from '@fluentui/react/lib/Styling';\nimport {\n ICartesianChartStyleProps,\n ICartesianChartProps,\n ICartesianChartStyles,\n} from '../CommonComponents/CartesianChart.types';\nimport { ILegendsProps } from '../Legends/Legends.types';\nimport { IHeatMapChartData } from '../../types/IDataPoint';\n\nexport interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * data to provide for Heat Map\n */\n data: IHeatMapChartData[];\n /**\n * The domain value for the color scale,\n *\n */\n domainValuesForColorScale: number[];\n /**\n * The range values for the color scale,\n * fill the array with colors in hex format\n * note:- it should contain values exactly as many as values in the array\n * `domainValuesForColorScale`\n */\n rangeValuesForColorScale: string[];\n /**\n * date formatter of x axis,\n * if the x-axis data point are of date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n xAxisDateFormatString?: string;\n /**\n * date formatter of y axis,\n * if the y-axis data point are or date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n yAxisDateFormatString?: string;\n /**\n * number formatter of x axis\n * if the x-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n xAxisNumberFormatString?: string;\n /**\n * number formatter of y axis\n * if the y-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n yAxisNumberFormatString?: string;\n /**\n * string formatter for x-axis.\n * This prop only applies if the x-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the x-axis. this behaviour would force the order of the data points.\n * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the example file for the usage of the prop\n */\n xAxisStringFormatter?: (point: string) => string;\n\n /**\n * string formatter for y-axis.\n * This prop only applies if the y-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the y-axis. this behaviour would force the order of the data points.\n * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the exaple file for the usage of the prop\n */\n yAxisStringFormatter?: (point: string) => string;\n /**\n * custom legend properties\n */\n legendProps?: Partial<ILegendsProps>;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\nexport interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {}\nexport interface IHeatMapChartStyles {\n root?: IStyle;\n text?: IStyle;\n subComponentStyles: {\n cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;\n };\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './HeatMapChart';
2
- export * from './HeatMapChart.types';
@@ -1,7 +0,0 @@
1
- define(["require", "exports", "tslib", "./HeatMapChart", "./HeatMapChart.types"], function (require, exports, tslib_1, HeatMapChart_1, HeatMapChart_types_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(HeatMapChart_1, exports);
5
- tslib_1.__exportStar(HeatMapChart_types_1, exports);
6
- });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/HeatMapChart/index.ts"],"names":[],"mappings":";;;IAAA,8CAA+B;IAC/B,oDAAqC","sourcesContent":["export * from './HeatMapChart';\nexport * from './HeatMapChart.types';\n"]}
@@ -1,34 +0,0 @@
1
- import * as React from 'react';
2
- import { IAccessibilityProps, IHorizontalBarChartProps, IChartDataPoint } from './index';
3
- export interface IHorizontalBarChartState {
4
- isCalloutVisible: boolean;
5
- refSelected: SVGGElement | null | undefined;
6
- color: string;
7
- hoverValue: string | number | Date | null;
8
- lineColor: string;
9
- legend: string | null;
10
- xCalloutValue?: string;
11
- yCalloutValue?: string;
12
- barCalloutProps?: IChartDataPoint;
13
- callOutAccessibilityData?: IAccessibilityProps;
14
- }
15
- export declare class HorizontalBarChartBase extends React.Component<IHorizontalBarChartProps, IHorizontalBarChartState> {
16
- private _barHeight;
17
- private _classNames;
18
- private _uniqLineText;
19
- private _calloutId;
20
- private _refArray;
21
- private _calloutAnchorPoint;
22
- constructor(props: IHorizontalBarChartProps);
23
- render(): JSX.Element;
24
- private _refCallback;
25
- private _hoverOn;
26
- private _hoverOff;
27
- private _handleChartMouseLeave;
28
- private _adjustProps;
29
- private _getChartDataText;
30
- private _getDefaultTextData;
31
- private _createBenchmark;
32
- private _createBars;
33
- private _closeCallout;
34
- }
@@ -1,193 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Utilities", "@fluentui/react/lib/Callout", "../../utilities/index", "@fluentui/react-focus"], function (require, exports, tslib_1, React, Utilities_1, Callout_1, index_1, react_focus_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HorizontalBarChartBase = void 0;
5
- var getClassNames = Utilities_1.classNamesFunction();
6
- var HorizontalBarChartBase = /** @class */ (function (_super) {
7
- tslib_1.__extends(HorizontalBarChartBase, _super);
8
- function HorizontalBarChartBase(props) {
9
- var _this = _super.call(this, props) || this;
10
- _this._handleChartMouseLeave = function () {
11
- _this._calloutAnchorPoint = null;
12
- if (_this.state.isCalloutVisible) {
13
- _this.setState({
14
- isCalloutVisible: false,
15
- hoverValue: '',
16
- refSelected: null,
17
- lineColor: '',
18
- legend: '',
19
- });
20
- }
21
- };
22
- _this._adjustProps = function () {
23
- _this._barHeight = _this.props.barHeight || 8;
24
- _this._classNames = getClassNames(_this.props.styles, {
25
- theme: _this.props.theme,
26
- width: _this.props.width,
27
- className: _this.props.className,
28
- barHeight: _this._barHeight,
29
- color: _this.state.lineColor,
30
- });
31
- };
32
- _this._getChartDataText = function (data) {
33
- return _this.props.barChartCustomData ? (React.createElement("div", { "data-is-focusable": true, role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
34
- };
35
- _this._closeCallout = function () {
36
- _this.setState({
37
- isCalloutVisible: false,
38
- });
39
- };
40
- _this.state = {
41
- isCalloutVisible: false,
42
- hoverValue: '',
43
- lineColor: '',
44
- legend: '',
45
- refSelected: null,
46
- // eslint-disable-next-line react/no-unused-state
47
- color: '',
48
- xCalloutValue: '',
49
- yCalloutValue: '',
50
- };
51
- _this._refArray = [];
52
- _this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);
53
- _this._hoverOff = _this._hoverOff.bind(_this);
54
- _this._calloutId = Utilities_1.getId('callout');
55
- return _this;
56
- }
57
- HorizontalBarChartBase.prototype.render = function () {
58
- var _this = this;
59
- var _a = this.props, data = _a.data, theme = _a.theme;
60
- this._adjustProps();
61
- var palette = theme.palette;
62
- var datapoint = 0;
63
- return (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
64
- data.map(function (points, index) {
65
- if (points.chartData && points.chartData[0] && points.chartData[0].horizontalBarChartdata.x) {
66
- datapoint = points.chartData[0].horizontalBarChartdata.x;
67
- }
68
- else {
69
- datapoint = 0;
70
- }
71
- points.chartData[1] = {
72
- legend: '',
73
- horizontalBarChartdata: {
74
- x: points.chartData[0].horizontalBarChartdata.y - datapoint,
75
- y: points.chartData[0].horizontalBarChartdata.y,
76
- },
77
- color: palette.neutralTertiaryAlt,
78
- };
79
- var chartDataText = _this._getChartDataText(points);
80
- var bars = _this._createBars(points, palette);
81
- var keyVal = _this._uniqLineText + '_' + index;
82
- return (React.createElement("div", { key: index, className: _this._classNames.items },
83
- React.createElement("div", { className: _this._classNames.items },
84
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
85
- React.createElement("div", { className: _this._classNames.chartTitle },
86
- points.chartTitle && (React.createElement("div", tslib_1.__assign({ className: _this._classNames.chartDataText }, index_1.getAccessibleDataObject(points.chartTitleAccessibilityData)), points.chartTitle)),
87
- chartDataText)),
88
- points.chartData[0].data && _this._createBenchmark(points),
89
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
90
- React.createElement("svg", { className: _this._classNames.chart, "aria-label": points.chartTitle },
91
- React.createElement("g", { id: keyVal, key: keyVal, ref: function (e) {
92
- _this._refCallback(e, points.chartData[0].legend);
93
- },
94
- // NOTE: points.chartData![0] contains current data value
95
- onClick: function () {
96
- var p = points.chartData[0];
97
- if (p && p.onClick) {
98
- p.onClick();
99
- }
100
- }, className: _this._classNames.barWrapper }, bars))))));
101
- }),
102
- React.createElement(Callout_1.Callout, tslib_1.__assign({ target: this.state.refSelected, coverTarget: true, isBeakVisible: false, gapSpace: 30, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }, this.props.calloutProps, index_1.getAccessibleDataObject(this.state.callOutAccessibilityData)),
103
- React.createElement(React.Fragment, null, this.props.onRenderCalloutPerHorizontalBar ? (this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)) : (React.createElement(index_1.ChartHoverCard, { Legend: this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue, color: this.state.lineColor, culture: this.props.culture }))))));
104
- };
105
- HorizontalBarChartBase.prototype._refCallback = function (element, legendTitle) {
106
- this._refArray.push({ index: legendTitle, refElement: element });
107
- };
108
- HorizontalBarChartBase.prototype._hoverOn = function (hoverValue, point) {
109
- if ((!this.state.isCalloutVisible || this.state.legend !== point.legend) && this._calloutAnchorPoint !== point) {
110
- var currentHoveredElement = Utilities_1.find(this._refArray, function (currentElement) { return currentElement.index === point.legend; });
111
- this._calloutAnchorPoint = point;
112
- this.setState({
113
- isCalloutVisible: true,
114
- hoverValue: hoverValue,
115
- lineColor: point.color,
116
- legend: point.legend,
117
- refSelected: currentHoveredElement.refElement,
118
- xCalloutValue: point.xAxisCalloutData,
119
- yCalloutValue: point.yAxisCalloutData,
120
- barCalloutProps: point,
121
- callOutAccessibilityData: point.callOutAccessibilityData,
122
- });
123
- }
124
- };
125
- HorizontalBarChartBase.prototype._hoverOff = function () {
126
- /**/
127
- };
128
- HorizontalBarChartBase.prototype._getDefaultTextData = function (data) {
129
- var culture = this.props.culture;
130
- var chartDataMode = this.props.chartDataMode || 'default';
131
- var chartData = data.chartData[0];
132
- var x = chartData.horizontalBarChartdata.x;
133
- var y = chartData.horizontalBarChartdata.y;
134
- var accessibilityData = index_1.getAccessibleDataObject(data.chartDataAccessibilityData);
135
- switch (chartDataMode) {
136
- case 'default':
137
- return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartDataText }, accessibilityData), index_1.convertToLocaleString(x, culture)));
138
- case 'fraction':
139
- return (React.createElement("div", tslib_1.__assign({}, accessibilityData),
140
- React.createElement("span", { className: this._classNames.chartDataText }, index_1.convertToLocaleString(x, culture)),
141
- React.createElement("span", { className: this._classNames.chartDataTextDenominator }, '/' + index_1.convertToLocaleString(y, culture))));
142
- case 'percentage':
143
- var dataRatioPercentage = index_1.convertToLocaleString(Math.round((x / y) * 100), culture) + "%";
144
- return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartDataText }, accessibilityData), dataRatioPercentage));
145
- }
146
- };
147
- HorizontalBarChartBase.prototype._createBenchmark = function (data) {
148
- var totalData = data.chartData[0].horizontalBarChartdata.y;
149
- var benchmarkData = data.chartData[0].data;
150
- var benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);
151
- var benchmarkStyles = {
152
- marginLeft: 'calc(' + benchmarkRatio + '% - 4px)',
153
- marginRight: 'calc(' + (100 - benchmarkRatio) + '% - 4px)',
154
- };
155
- return React.createElement("div", { className: this._classNames.triangle, style: benchmarkStyles });
156
- };
157
- HorizontalBarChartBase.prototype._createBars = function (data, palette) {
158
- var _this = this;
159
- var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
160
- // calculating starting point of each bar and it's range
161
- var startingPoint = [];
162
- var total = data.chartData.reduce(function (acc, point) {
163
- return acc + (point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0);
164
- }, 0);
165
- var prevPosition = 0;
166
- var value = 0;
167
- var bars = data.chartData.map(function (point, index) {
168
- var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
169
- var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
170
- if (index > 0) {
171
- prevPosition += value;
172
- }
173
- value = (pointData / total) * 100;
174
- if (value < 0) {
175
- value = 0;
176
- }
177
- else if (value < 1 && value !== 0) {
178
- value = 1;
179
- }
180
- startingPoint.push(prevPosition);
181
- if (value < 1) {
182
- return React.createElement(React.Fragment, { key: index }, " ");
183
- }
184
- var xValue = point.horizontalBarChartdata.x;
185
- return (React.createElement("rect", { key: index, x: startingPoint[index] + '%', y: 0, "data-is-focusable": point.legend !== '' ? true : false, width: value + '%', height: _this._barHeight, fill: color, onMouseOver: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, onFocus: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, "aria-labelledby": _this._calloutId, role: "img", "aria-label": "Horizontal bar chart", onBlur: _this._hoverOff, onMouseLeave: _this._hoverOff }));
186
- });
187
- return bars;
188
- };
189
- return HorizontalBarChartBase;
190
- }(React.Component));
191
- exports.HorizontalBarChartBase = HorizontalBarChartBase;
192
- });
193
- //# sourceMappingURL=HorizontalBarChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.base.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.base.tsx"],"names":[],"mappings":";;;;IAgBA,IAAM,aAAa,GAAG,8BAAkB,EAA4D,CAAC;IAerG;QAA4C,kDAAmE;QAQ7G,gCAAY,KAA+B;YAA3C,YACE,kBAAM,KAAK,CAAC,SAgBb;YAiIO,4BAAsB,GAAG;gBAC/B,KAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;gBAChC,IAAI,KAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;oBAC/B,KAAI,CAAC,QAAQ,CAAC;wBACZ,gBAAgB,EAAE,KAAK;wBACvB,UAAU,EAAE,EAAE;wBACd,WAAW,EAAE,IAAI;wBACjB,SAAS,EAAE,EAAE;wBACb,MAAM,EAAE,EAAE;qBACX,CAAC,CAAC;iBACJ;YACH,CAAC,CAAC;Y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CAAC,QAAQ,CAAC,IAAI,CAAC,KAAI,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EACtF,OAAO,EAAE,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,KAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAI,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,qBACjE,KAAI,CAAC,UAAU,EAChC,IAAI,EAAC,KAAK,gBACC,sBAAsB,EACjC,MAAM,EAAE,KAAI,CAAC,SAAS,EACtB,YAAY,EAAE,KAAI,CAAC,SAAS,GAC5B,CACH,CAAC;YACJ,CAAC,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC;QAOH,6BAAC;IAAD,CAAC,AAjSD,CAA4C,KAAK,CAAC,SAAS,GAiS1D;IAjSY,wDAAsB","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, find, getId } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet, IPalette } from '@fluentui/react/lib/Styling';\nimport {\n IAccessibilityProps,\n IChartProps,\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n IChartDataPoint,\n IRefArrayData,\n} from './index';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { ChartHoverCard, convertToLocaleString, getAccessibleDataObject } from '../../utilities/index';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\n\nconst getClassNames = classNamesFunction<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>();\n\nexport interface IHorizontalBarChartState {\n isCalloutVisible: boolean;\n refSelected: SVGGElement | null | undefined;\n color: string;\n hoverValue: string | number | Date | null;\n lineColor: string;\n legend: string | null;\n xCalloutValue?: string;\n yCalloutValue?: string;\n barCalloutProps?: IChartDataPoint;\n callOutAccessibilityData?: IAccessibilityProps;\n}\n\nexport class HorizontalBarChartBase extends React.Component<IHorizontalBarChartProps, IHorizontalBarChartState> {\n private _barHeight: number;\n private _classNames: IProcessedStyleSet<IHorizontalBarChartStyles>;\n private _uniqLineText: string;\n private _calloutId: string;\n private _refArray: IRefArrayData[];\n private _calloutAnchorPoint: IChartDataPoint | null;\n\n constructor(props: IHorizontalBarChartProps) {\n super(props);\n this.state = {\n isCalloutVisible: false,\n hoverValue: '',\n lineColor: '',\n legend: '',\n refSelected: null,\n // eslint-disable-next-line react/no-unused-state\n color: '',\n xCalloutValue: '',\n yCalloutValue: '',\n };\n this._refArray = [];\n this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);\n this._hoverOff = this._hoverOff.bind(this);\n this._calloutId = getId('callout');\n }\n\n public render(): JSX.Element {\n const { data, theme } = this.props;\n this._adjustProps();\n const { palette } = theme!;\n let datapoint: number | undefined = 0;\n return (\n <div className={this._classNames.root} onMouseLeave={this._handleChartMouseLeave}>\n {data!.map((points: IChartProps, index: number) => {\n if (points.chartData && points.chartData![0] && points.chartData![0].horizontalBarChartdata!.x) {\n datapoint = points.chartData![0].horizontalBarChartdata!.x;\n } else {\n datapoint = 0;\n }\n points.chartData![1] = {\n legend: '',\n horizontalBarChartdata: {\n x: points.chartData![0].horizontalBarChartdata!.y - datapoint!,\n y: points.chartData![0].horizontalBarChartdata!.y,\n },\n color: palette.neutralTertiaryAlt,\n };\n\n const chartDataText = this._getChartDataText(points!);\n const bars = this._createBars(points!, palette);\n const keyVal = this._uniqLineText + '_' + index;\n\n return (\n <div key={index} className={this._classNames.items}>\n <div className={this._classNames.items}>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <div className={this._classNames.chartTitle}>\n {points!.chartTitle && (\n <div\n className={this._classNames.chartDataText}\n {...getAccessibleDataObject(points!.chartTitleAccessibilityData)}\n >\n {points!.chartTitle}\n </div>\n )}\n {chartDataText}\n </div>\n </FocusZone>\n {points!.chartData![0].data && this._createBenchmark(points!)}\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <svg className={this._classNames.chart} aria-label={points!.chartTitle}>\n <g\n id={keyVal}\n key={keyVal}\n ref={(e: SVGGElement) => {\n this._refCallback(e, points!.chartData![0].legend);\n }}\n // NOTE: points.chartData![0] contains current data value\n onClick={() => {\n const p = points!.chartData![0];\n if (p && p.onClick) {\n p.onClick();\n }\n }}\n className={this._classNames.barWrapper}\n >\n {bars}\n </g>\n </svg>\n </FocusZone>\n </div>\n </div>\n );\n })}\n <Callout\n target={this.state.refSelected}\n coverTarget={true}\n isBeakVisible={false}\n gapSpace={30}\n hidden={!(!this.props.hideTooltip && this.state.isCalloutVisible)}\n directionalHint={DirectionalHint.topAutoEdge}\n id={this._calloutId}\n onDismiss={this._closeCallout}\n preventDismissOnLostFocus={true}\n {...this.props.calloutProps!}\n {...getAccessibleDataObject(this.state.callOutAccessibilityData)}\n >\n <>\n {this.props.onRenderCalloutPerHorizontalBar ? (\n this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)\n ) : (\n <ChartHoverCard\n Legend={this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend!}\n YValue={this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue!}\n color={this.state.lineColor}\n culture={this.props.culture}\n />\n )}\n </>\n </Callout>\n </div>\n );\n }\n\n private _refCallback(element: SVGGElement, legendTitle: string | undefined): void {\n this._refArray.push({ index: legendTitle, refElement: element });\n }\n\n private _hoverOn(hoverValue: string | number | Date | null, point: IChartDataPoint): void {\n if ((!this.state.isCalloutVisible || this.state.legend !== point.legend!) && this._calloutAnchorPoint !== point) {\n const currentHoveredElement = find(\n this._refArray,\n (currentElement: IRefArrayData) => currentElement.index === point.legend,\n );\n this._calloutAnchorPoint = point;\n this.setState({\n isCalloutVisible: true,\n hoverValue: hoverValue,\n lineColor: point.color!,\n legend: point.legend!,\n refSelected: currentHoveredElement!.refElement,\n xCalloutValue: point.xAxisCalloutData!,\n yCalloutValue: point.yAxisCalloutData!,\n barCalloutProps: point,\n callOutAccessibilityData: point.callOutAccessibilityData,\n });\n }\n }\n\n private _hoverOff(): void {\n /**/\n }\n\n private _handleChartMouseLeave = () => {\n this._calloutAnchorPoint = null;\n if (this.state.isCalloutVisible) {\n this.setState({\n isCalloutVisible: false,\n hoverValue: '',\n refSelected: null,\n lineColor: '',\n legend: '',\n });\n }\n };\n\n private _adjustProps = (): void => {\n this._barHeight = this.props.barHeight || 8;\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.props.width,\n className: this.props.className,\n barHeight: this._barHeight,\n color: this.state.lineColor,\n });\n };\n\n private _getChartDataText = (data: IChartProps) => {\n return this.props.barChartCustomData ? (\n <div data-is-focusable={true} role=\"text\">\n {this.props.barChartCustomData(data)}\n </div>\n ) : (\n this._getDefaultTextData(data)\n );\n };\n\n private _getDefaultTextData(data: IChartProps): JSX.Element {\n const { culture } = this.props;\n const chartDataMode = this.props.chartDataMode || 'default';\n const chartData: IChartDataPoint = data!.chartData![0];\n const x = chartData.horizontalBarChartdata!.x;\n const y = chartData.horizontalBarChartdata!.y;\n\n const accessibilityData = getAccessibleDataObject(data.chartDataAccessibilityData!);\n switch (chartDataMode) {\n case 'default':\n return (\n <div className={this._classNames.chartDataText} {...accessibilityData}>\n {convertToLocaleString(x, culture)}\n </div>\n );\n case 'fraction':\n return (\n <div {...accessibilityData}>\n <span className={this._classNames.chartDataText}>{convertToLocaleString(x, culture)}</span>\n <span className={this._classNames.chartDataTextDenominator}>{'/' + convertToLocaleString(y, culture)}</span>\n </div>\n );\n case 'percentage':\n const dataRatioPercentage = `${convertToLocaleString(Math.round((x / y) * 100), culture)}%`;\n return (\n <div className={this._classNames.chartDataText} {...accessibilityData}>\n {dataRatioPercentage}\n </div>\n );\n }\n }\n\n private _createBenchmark(data: IChartProps): JSX.Element {\n const totalData = data.chartData![0].horizontalBarChartdata!.y;\n const benchmarkData = data.chartData![0].data;\n const benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);\n\n const benchmarkStyles = {\n marginLeft: 'calc(' + benchmarkRatio + '% - 4px)',\n marginRight: 'calc(' + (100 - benchmarkRatio) + '% - 4px)',\n };\n\n return <div className={this._classNames.triangle} style={benchmarkStyles} />;\n }\n\n private _createBars(data: IChartProps, palette: IPalette): JSX.Element[] {\n const defaultPalette: string[] = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];\n // calculating starting point of each bar and it's range\n const startingPoint: number[] = [];\n const total = data.chartData!.reduce(\n (acc: number, point: IChartDataPoint) =>\n acc + (point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0),\n 0,\n );\n let prevPosition = 0;\n let value = 0;\n\n const bars = data.chartData!.map((point: IChartDataPoint, index: number) => {\n const color: string = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n const pointData = point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0;\n if (index > 0) {\n prevPosition += value;\n }\n value = (pointData / total) * 100;\n if (value < 0) {\n value = 0;\n } else if (value < 1 && value !== 0) {\n value = 1;\n }\n startingPoint.push(prevPosition);\n if (value < 1) {\n return <React.Fragment key={index}> </React.Fragment>;\n }\n const xValue = point.horizontalBarChartdata!.x;\n return (\n <rect\n key={index}\n x={startingPoint[index] + '%'}\n y={0}\n data-is-focusable={point.legend !== '' ? true : false}\n width={value + '%'}\n height={this._barHeight}\n fill={color}\n onMouseOver={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n onFocus={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n aria-labelledby={this._calloutId}\n role=\"img\"\n aria-label=\"Horizontal bar chart\"\n onBlur={this._hoverOff}\n onMouseLeave={this._hoverOff}\n />\n );\n });\n return bars;\n }\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IHorizontalBarChartProps } from './HorizontalBarChart.types';
3
- export declare const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps>;
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Utilities", "./HorizontalBarChart.base", "./HorizontalBarChart.styles"], function (require, exports, Utilities_1, HorizontalBarChart_base_1, HorizontalBarChart_styles_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HorizontalBarChart = void 0;
5
- // Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
6
- exports.HorizontalBarChart = Utilities_1.styled(HorizontalBarChart_base_1.HorizontalBarChartBase, HorizontalBarChart_styles_1.getHorizontalBarChartStyles);
7
- });
8
- //# sourceMappingURL=HorizontalBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":";;;;IAUA,oGAAoG;IACvF,QAAA,kBAAkB,GAAsD,kBAAM,CAIzF,gDAAsB,EAAE,uDAA2B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n} from './HorizontalBarChart.types';\nimport { HorizontalBarChartBase } from './HorizontalBarChart.base';\nimport { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';\n\n// Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.\nexport const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps> = styled<\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles\n>(HorizontalBarChartBase, getHorizontalBarChartStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IHorizontalBarChartStyleProps, IHorizontalBarChartStyles } from './HorizontalBarChart.types';
2
- export declare const getHorizontalBarChartStyles: (props: IHorizontalBarChartStyleProps) => IHorizontalBarChartStyles;