@fluentui/react-charting 5.16.21 → 5.16.23

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 (798) hide show
  1. package/CHANGELOG.json +55 -1
  2. package/CHANGELOG.md +24 -2
  3. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +4 -5
  4. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  5. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +5 -6
  6. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  7. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +4 -5
  8. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  9. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +1 -1
  10. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  11. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
  12. package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
  13. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
  14. package/lib-commonjs/version.js +1 -1
  15. package/lib-commonjs/version.js.map +1 -1
  16. package/package.json +6 -6
  17. package/dist/react-charting.js +0 -1
  18. package/dist/react-charting.min.js +0 -1
  19. package/lib/AreaChart.d.ts +0 -1
  20. package/lib/AreaChart.js +0 -2
  21. package/lib/AreaChart.js.map +0 -1
  22. package/lib/CartesianChart.d.ts +0 -1
  23. package/lib/CartesianChart.js +0 -2
  24. package/lib/CartesianChart.js.map +0 -1
  25. package/lib/DonutChart.d.ts +0 -1
  26. package/lib/DonutChart.js +0 -2
  27. package/lib/DonutChart.js.map +0 -1
  28. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  29. package/lib/GroupedVerticalBarChart.js +0 -2
  30. package/lib/GroupedVerticalBarChart.js.map +0 -1
  31. package/lib/HeatMapChart.d.ts +0 -1
  32. package/lib/HeatMapChart.js +0 -2
  33. package/lib/HeatMapChart.js.map +0 -1
  34. package/lib/HorizontalBarChart.d.ts +0 -1
  35. package/lib/HorizontalBarChart.js +0 -2
  36. package/lib/HorizontalBarChart.js.map +0 -1
  37. package/lib/Legends.d.ts +0 -1
  38. package/lib/Legends.js +0 -2
  39. package/lib/Legends.js.map +0 -1
  40. package/lib/LineChart.d.ts +0 -1
  41. package/lib/LineChart.js +0 -2
  42. package/lib/LineChart.js.map +0 -1
  43. package/lib/PieChart.d.ts +0 -1
  44. package/lib/PieChart.js +0 -2
  45. package/lib/PieChart.js.map +0 -1
  46. package/lib/SankeyChart.d.ts +0 -1
  47. package/lib/SankeyChart.js +0 -2
  48. package/lib/SankeyChart.js.map +0 -1
  49. package/lib/Sparkline.d.ts +0 -1
  50. package/lib/Sparkline.js +0 -2
  51. package/lib/Sparkline.js.map +0 -1
  52. package/lib/StackedBarChart.d.ts +0 -1
  53. package/lib/StackedBarChart.js +0 -2
  54. package/lib/StackedBarChart.js.map +0 -1
  55. package/lib/Styling.d.ts +0 -2
  56. package/lib/Styling.js +0 -8
  57. package/lib/Styling.js.map +0 -1
  58. package/lib/TreeChart.d.ts +0 -1
  59. package/lib/TreeChart.js +0 -2
  60. package/lib/TreeChart.js.map +0 -1
  61. package/lib/Utilities.d.ts +0 -2
  62. package/lib/Utilities.js +0 -20
  63. package/lib/Utilities.js.map +0 -1
  64. package/lib/VerticalBarChart.d.ts +0 -1
  65. package/lib/VerticalBarChart.js +0 -2
  66. package/lib/VerticalBarChart.js.map +0 -1
  67. package/lib/VerticalStackedBarChart.d.ts +0 -1
  68. package/lib/VerticalStackedBarChart.js +0 -2
  69. package/lib/VerticalStackedBarChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -92
  71. package/lib/components/AreaChart/AreaChart.base.js +0 -562
  72. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  74. package/lib/components/AreaChart/AreaChart.js +0 -6
  75. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  76. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  77. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  78. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  79. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -37
  80. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  81. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  82. package/lib/components/AreaChart/index.d.ts +0 -2
  83. package/lib/components/AreaChart/index.js +0 -3
  84. package/lib/components/AreaChart/index.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  86. package/lib/components/CommonComponents/CartesianChart.base.js +0 -331
  87. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  89. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  90. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  91. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  92. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  93. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  94. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  95. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  96. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  97. package/lib/components/CommonComponents/index.d.ts +0 -2
  98. package/lib/components/CommonComponents/index.js +0 -3
  99. package/lib/components/CommonComponents/index.js.map +0 -1
  100. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  101. package/lib/components/DonutChart/Arc/Arc.js +0 -86
  102. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  103. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  104. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -28
  105. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  106. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  107. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  108. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  109. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  110. package/lib/components/DonutChart/Arc/index.js +0 -3
  111. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  112. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -50
  113. package/lib/components/DonutChart/DonutChart.base.js +0 -211
  114. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  115. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  116. package/lib/components/DonutChart/DonutChart.js +0 -6
  117. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  118. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  119. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  120. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  121. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -63
  122. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  123. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  124. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  125. package/lib/components/DonutChart/Pie/Pie.js +0 -71
  126. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  127. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  128. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  129. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  130. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  131. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  132. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  133. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  134. package/lib/components/DonutChart/Pie/index.js +0 -3
  135. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  136. package/lib/components/DonutChart/index.d.ts +0 -3
  137. package/lib/components/DonutChart/index.js +0 -4
  138. package/lib/components/DonutChart/index.js.map +0 -1
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  140. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -381
  141. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  142. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  143. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  144. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  145. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  146. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  147. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  151. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  152. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  153. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  154. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  155. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  156. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  157. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  158. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  159. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  160. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  161. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  162. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  163. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  164. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  165. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  166. package/lib/components/HeatMapChart/index.d.ts +0 -2
  167. package/lib/components/HeatMapChart/index.js +0 -3
  168. package/lib/components/HeatMapChart/index.js.map +0 -1
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  170. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -238
  171. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  172. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  173. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  174. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  175. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  176. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  177. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -6
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  181. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  182. package/lib/components/HorizontalBarChart/index.js +0 -4
  183. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  184. package/lib/components/Legends/Legends.base.d.ts +0 -44
  185. package/lib/components/Legends/Legends.base.js +0 -293
  186. package/lib/components/Legends/Legends.base.js.map +0 -1
  187. package/lib/components/Legends/Legends.d.ts +0 -3
  188. package/lib/components/Legends/Legends.js +0 -5
  189. package/lib/components/Legends/Legends.js.map +0 -1
  190. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  191. package/lib/components/Legends/Legends.styles.js +0 -103
  192. package/lib/components/Legends/Legends.styles.js.map +0 -1
  193. package/lib/components/Legends/Legends.types.d.ts +0 -169
  194. package/lib/components/Legends/Legends.types.js +0 -2
  195. package/lib/components/Legends/Legends.types.js.map +0 -1
  196. package/lib/components/Legends/index.d.ts +0 -3
  197. package/lib/components/Legends/index.js +0 -4
  198. package/lib/components/Legends/index.js.map +0 -1
  199. package/lib/components/Legends/shape.d.ts +0 -9
  200. package/lib/components/Legends/shape.js +0 -24
  201. package/lib/components/Legends/shape.js.map +0 -1
  202. package/lib/components/LineChart/LineChart.base.d.ts +0 -84
  203. package/lib/components/LineChart/LineChart.base.js +0 -815
  204. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  205. package/lib/components/LineChart/LineChart.d.ts +0 -3
  206. package/lib/components/LineChart/LineChart.js +0 -6
  207. package/lib/components/LineChart/LineChart.js.map +0 -1
  208. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  209. package/lib/components/LineChart/LineChart.styles.js +0 -7
  210. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  211. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  212. package/lib/components/LineChart/LineChart.types.js +0 -2
  213. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  214. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  215. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  216. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  217. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  218. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  219. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  220. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  221. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  222. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  223. package/lib/components/LineChart/index.d.ts +0 -3
  224. package/lib/components/LineChart/index.js +0 -4
  225. package/lib/components/LineChart/index.js.map +0 -1
  226. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  227. package/lib/components/PieChart/Arc/Arc.js +0 -57
  228. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  229. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  230. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  231. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  232. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  233. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  234. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  235. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  236. package/lib/components/PieChart/Arc/index.js +0 -3
  237. package/lib/components/PieChart/Arc/index.js.map +0 -1
  238. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  239. package/lib/components/PieChart/Pie/Pie.js +0 -35
  240. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  241. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  242. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  243. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  244. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  245. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  246. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  247. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  248. package/lib/components/PieChart/Pie/index.js +0 -3
  249. package/lib/components/PieChart/Pie/index.js.map +0 -1
  250. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  251. package/lib/components/PieChart/PieChart.base.js +0 -34
  252. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  253. package/lib/components/PieChart/PieChart.d.ts +0 -3
  254. package/lib/components/PieChart/PieChart.js +0 -6
  255. package/lib/components/PieChart/PieChart.js.map +0 -1
  256. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  257. package/lib/components/PieChart/PieChart.styles.js +0 -29
  258. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  259. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  260. package/lib/components/PieChart/PieChart.types.js +0 -2
  261. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  262. package/lib/components/PieChart/index.d.ts +0 -2
  263. package/lib/components/PieChart/index.js +0 -3
  264. package/lib/components/PieChart/index.js.map +0 -1
  265. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  266. package/lib/components/SankeyChart/SankeyChart.base.js +0 -674
  267. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  268. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  269. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  270. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  271. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  272. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -58
  273. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  274. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  275. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  276. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  277. package/lib/components/SankeyChart/index.d.ts +0 -2
  278. package/lib/components/SankeyChart/index.js +0 -3
  279. package/lib/components/SankeyChart/index.js.map +0 -1
  280. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  281. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  282. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  283. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  284. package/lib/components/Sparkline/Sparkline.js +0 -6
  285. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  286. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  287. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  288. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  289. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  290. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  291. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  292. package/lib/components/Sparkline/index.d.ts +0 -2
  293. package/lib/components/Sparkline/index.js +0 -3
  294. package/lib/components/Sparkline/index.js.map +0 -1
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  296. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -357
  297. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  298. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  299. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  300. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  301. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  302. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  303. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  304. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  305. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -6
  306. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  307. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  308. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -312
  309. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  310. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  311. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  312. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  313. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  314. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -104
  315. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  316. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  317. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  318. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  319. package/lib/components/StackedBarChart/index.d.ts +0 -5
  320. package/lib/components/StackedBarChart/index.js +0 -6
  321. package/lib/components/StackedBarChart/index.js.map +0 -1
  322. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  323. package/lib/components/TreeChart/TreeChart.base.js +0 -316
  324. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  325. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  326. package/lib/components/TreeChart/TreeChart.js +0 -5
  327. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  328. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  329. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  330. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  331. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -197
  332. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  333. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  334. package/lib/components/TreeChart/index.d.ts +0 -2
  335. package/lib/components/TreeChart/index.js +0 -3
  336. package/lib/components/TreeChart/index.js.map +0 -1
  337. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  338. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -536
  339. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  340. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  341. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  342. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  343. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  344. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  345. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  346. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  347. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  348. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  349. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  350. package/lib/components/VerticalBarChart/index.js +0 -3
  351. package/lib/components/VerticalBarChart/index.js.map +0 -1
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  353. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -666
  354. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  355. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  356. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  357. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  358. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  359. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  360. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  361. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  362. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  363. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  364. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  365. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  366. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  367. package/lib/index.d.ts +0 -19
  368. package/lib/index.js +0 -20
  369. package/lib/index.js.map +0 -1
  370. package/lib/types/IDataPoint.d.ts +0 -545
  371. package/lib/types/IDataPoint.js +0 -2
  372. package/lib/types/IDataPoint.js.map +0 -1
  373. package/lib/types/IEventAnnotation.d.ts +0 -6
  374. package/lib/types/IEventAnnotation.js +0 -2
  375. package/lib/types/IEventAnnotation.js.map +0 -1
  376. package/lib/types/ILegendDataItem.d.ts +0 -10
  377. package/lib/types/ILegendDataItem.js +0 -2
  378. package/lib/types/ILegendDataItem.js.map +0 -1
  379. package/lib/types/index.d.ts +0 -2
  380. package/lib/types/index.js +0 -3
  381. package/lib/types/index.js.map +0 -1
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  383. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  384. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  385. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  386. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  387. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  388. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  389. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  390. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  391. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  392. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  393. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  394. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  395. package/lib/utilities/ChartHoverCard/index.js +0 -4
  396. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  397. package/lib/utilities/colors.d.ts +0 -51
  398. package/lib/utilities/colors.js +0 -132
  399. package/lib/utilities/colors.js.map +0 -1
  400. package/lib/utilities/index.d.ts +0 -3
  401. package/lib/utilities/index.js +0 -4
  402. package/lib/utilities/index.js.map +0 -1
  403. package/lib/utilities/utilities.d.ts +0 -377
  404. package/lib/utilities/utilities.js +0 -864
  405. package/lib/utilities/utilities.js.map +0 -1
  406. package/lib/version.d.ts +0 -1
  407. package/lib/version.js +0 -5
  408. package/lib/version.js.map +0 -1
  409. package/lib-amd/AreaChart.d.ts +0 -1
  410. package/lib-amd/AreaChart.js +0 -6
  411. package/lib-amd/AreaChart.js.map +0 -1
  412. package/lib-amd/CartesianChart.d.ts +0 -1
  413. package/lib-amd/CartesianChart.js +0 -6
  414. package/lib-amd/CartesianChart.js.map +0 -1
  415. package/lib-amd/DonutChart.d.ts +0 -1
  416. package/lib-amd/DonutChart.js +0 -6
  417. package/lib-amd/DonutChart.js.map +0 -1
  418. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  419. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  420. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  421. package/lib-amd/HeatMapChart.d.ts +0 -1
  422. package/lib-amd/HeatMapChart.js +0 -6
  423. package/lib-amd/HeatMapChart.js.map +0 -1
  424. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  425. package/lib-amd/HorizontalBarChart.js +0 -6
  426. package/lib-amd/HorizontalBarChart.js.map +0 -1
  427. package/lib-amd/Legends.d.ts +0 -1
  428. package/lib-amd/Legends.js +0 -6
  429. package/lib-amd/Legends.js.map +0 -1
  430. package/lib-amd/LineChart.d.ts +0 -1
  431. package/lib-amd/LineChart.js +0 -6
  432. package/lib-amd/LineChart.js.map +0 -1
  433. package/lib-amd/PieChart.d.ts +0 -1
  434. package/lib-amd/PieChart.js +0 -6
  435. package/lib-amd/PieChart.js.map +0 -1
  436. package/lib-amd/SankeyChart.d.ts +0 -1
  437. package/lib-amd/SankeyChart.js +0 -6
  438. package/lib-amd/SankeyChart.js.map +0 -1
  439. package/lib-amd/Sparkline.d.ts +0 -1
  440. package/lib-amd/Sparkline.js +0 -6
  441. package/lib-amd/Sparkline.js.map +0 -1
  442. package/lib-amd/StackedBarChart.d.ts +0 -1
  443. package/lib-amd/StackedBarChart.js +0 -6
  444. package/lib-amd/StackedBarChart.js.map +0 -1
  445. package/lib-amd/Styling.d.ts +0 -2
  446. package/lib-amd/Styling.js +0 -75
  447. package/lib-amd/Styling.js.map +0 -1
  448. package/lib-amd/TreeChart.d.ts +0 -1
  449. package/lib-amd/TreeChart.js +0 -6
  450. package/lib-amd/TreeChart.js.map +0 -1
  451. package/lib-amd/Utilities.d.ts +0 -2
  452. package/lib-amd/Utilities.js +0 -183
  453. package/lib-amd/Utilities.js.map +0 -1
  454. package/lib-amd/VerticalBarChart.d.ts +0 -1
  455. package/lib-amd/VerticalBarChart.js +0 -6
  456. package/lib-amd/VerticalBarChart.js.map +0 -1
  457. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  458. package/lib-amd/VerticalStackedBarChart.js +0 -6
  459. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  460. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -92
  461. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -555
  462. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  463. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  464. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  465. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  466. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  467. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  468. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  469. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -37
  470. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  471. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  472. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  473. package/lib-amd/components/AreaChart/index.js +0 -7
  474. package/lib-amd/components/AreaChart/index.js.map +0 -1
  475. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  476. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -329
  477. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  478. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  479. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  480. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  481. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  482. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  483. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  484. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  485. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  486. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  487. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  488. package/lib-amd/components/CommonComponents/index.js +0 -7
  489. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  490. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  491. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -85
  492. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  493. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  494. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
  495. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  496. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  497. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  498. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  499. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  500. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  501. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  502. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -50
  503. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -208
  504. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  505. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  506. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  507. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  508. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  509. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  510. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  511. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -63
  512. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  513. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  514. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  515. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -69
  516. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  517. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  518. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  519. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  520. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  521. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  522. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  523. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  524. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  525. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  526. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  527. package/lib-amd/components/DonutChart/index.js +0 -8
  528. package/lib-amd/components/DonutChart/index.js.map +0 -1
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -375
  531. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  532. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  533. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  534. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  535. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  536. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  537. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  538. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  539. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  540. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  541. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  542. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  543. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  546. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  547. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  548. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  549. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  550. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  551. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  552. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  553. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  554. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  555. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  556. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  557. package/lib-amd/components/HeatMapChart/index.js +0 -7
  558. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -234
  561. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  562. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  563. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  564. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  565. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  566. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -72
  567. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  568. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  569. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -11
  570. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  571. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  572. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  573. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  574. package/lib-amd/components/Legends/Legends.base.d.ts +0 -44
  575. package/lib-amd/components/Legends/Legends.base.js +0 -290
  576. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  577. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  578. package/lib-amd/components/Legends/Legends.js +0 -7
  579. package/lib-amd/components/Legends/Legends.js.map +0 -1
  580. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  581. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  582. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  583. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  584. package/lib-amd/components/Legends/Legends.types.js +0 -5
  585. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  586. package/lib-amd/components/Legends/index.d.ts +0 -3
  587. package/lib-amd/components/Legends/index.js +0 -8
  588. package/lib-amd/components/Legends/index.js.map +0 -1
  589. package/lib-amd/components/Legends/shape.d.ts +0 -9
  590. package/lib-amd/components/Legends/shape.js +0 -27
  591. package/lib-amd/components/Legends/shape.js.map +0 -1
  592. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -84
  593. package/lib-amd/components/LineChart/LineChart.base.js +0 -809
  594. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  595. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  596. package/lib-amd/components/LineChart/LineChart.js +0 -8
  597. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  598. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  599. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  600. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  601. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  602. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  603. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  604. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  605. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  606. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  607. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  608. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  609. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  610. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  611. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  612. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  613. package/lib-amd/components/LineChart/index.d.ts +0 -3
  614. package/lib-amd/components/LineChart/index.js +0 -8
  615. package/lib-amd/components/LineChart/index.js.map +0 -1
  616. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  617. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  618. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  619. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  620. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  621. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  622. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  623. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  624. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  625. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  626. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  627. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  628. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  629. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  630. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  631. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  632. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  633. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  634. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  635. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  636. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  637. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  638. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  639. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  640. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  641. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  642. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  643. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  644. package/lib-amd/components/PieChart/PieChart.js +0 -8
  645. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  646. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  647. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  648. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  649. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  650. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  651. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  652. package/lib-amd/components/PieChart/index.d.ts +0 -2
  653. package/lib-amd/components/PieChart/index.js +0 -7
  654. package/lib-amd/components/PieChart/index.js.map +0 -1
  655. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  656. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -669
  657. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  658. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  659. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  660. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  661. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  662. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -62
  663. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  664. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  665. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  666. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  667. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  668. package/lib-amd/components/SankeyChart/index.js +0 -7
  669. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  670. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  671. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  672. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  673. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  674. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  675. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  676. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  677. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  678. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  679. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  680. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  681. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  682. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  683. package/lib-amd/components/Sparkline/index.js +0 -7
  684. package/lib-amd/components/Sparkline/index.js.map +0 -1
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -352
  687. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  688. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  689. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  690. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  691. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  692. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -93
  693. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  694. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  695. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -11
  696. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -309
  699. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  700. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  701. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  702. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  703. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  704. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -108
  705. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  706. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  707. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  708. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  709. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  710. package/lib-amd/components/StackedBarChart/index.js +0 -10
  711. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  712. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  713. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -314
  714. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  715. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  716. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  717. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  718. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  719. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  720. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  721. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -197
  722. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  723. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  724. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  725. package/lib-amd/components/TreeChart/index.js +0 -7
  726. package/lib-amd/components/TreeChart/index.js.map +0 -1
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -529
  729. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  730. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  731. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  732. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  733. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  734. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  735. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  736. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  737. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  738. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  739. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  740. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  741. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -659
  744. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  745. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  746. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  747. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  748. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  749. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  750. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  751. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  752. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  753. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  754. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  755. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  756. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  757. package/lib-amd/index.d.ts +0 -19
  758. package/lib-amd/index.js +0 -23
  759. package/lib-amd/index.js.map +0 -1
  760. package/lib-amd/types/IDataPoint.d.ts +0 -545
  761. package/lib-amd/types/IDataPoint.js +0 -5
  762. package/lib-amd/types/IDataPoint.js.map +0 -1
  763. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  764. package/lib-amd/types/IEventAnnotation.js +0 -5
  765. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  766. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  767. package/lib-amd/types/ILegendDataItem.js +0 -5
  768. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  769. package/lib-amd/types/index.d.ts +0 -2
  770. package/lib-amd/types/index.js +0 -7
  771. package/lib-amd/types/index.js.map +0 -1
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  774. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  775. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  776. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  777. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  778. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  779. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  780. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  781. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  782. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  783. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  784. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  785. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  786. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  787. package/lib-amd/utilities/colors.d.ts +0 -51
  788. package/lib-amd/utilities/colors.js +0 -139
  789. package/lib-amd/utilities/colors.js.map +0 -1
  790. package/lib-amd/utilities/index.d.ts +0 -3
  791. package/lib-amd/utilities/index.js +0 -8
  792. package/lib-amd/utilities/index.js.map +0 -1
  793. package/lib-amd/utilities/utilities.d.ts +0 -377
  794. package/lib-amd/utilities/utilities.js +0 -888
  795. package/lib-amd/utilities/utilities.js.map +0 -1
  796. package/lib-amd/version.d.ts +0 -1
  797. package/lib-amd/version.js +0 -6
  798. package/lib-amd/version.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/GroupedVerticalBarChart/index.ts"],"names":[],"mappings":";;;IAAA,yDAA0C;IAC1C,+DAAgD","sourcesContent":["export * from './GroupedVerticalBarChart';\nexport * from './GroupedVerticalBarChart.types';\n"]}
@@ -1,147 +0,0 @@
1
- import { IAccessibilityProps } from '../../index';
2
- import * as React from 'react';
3
- import { IHeatMapChartProps } from './HeatMapChart.types';
4
- import { Target } from '@fluentui/react';
5
- export interface IHeatMapChartState {
6
- /**
7
- * contains the selected legend string
8
- */
9
- selectedLegend: string;
10
- /**
11
- * contains the hovered legend string
12
- */
13
- activeLegend: string;
14
- /**
15
- * determines wethere to show or hide the callout
16
- * @default false
17
- */
18
- isCalloutVisible: boolean;
19
- /**
20
- * y value to be shown in callout
21
- */
22
- calloutYValue: string;
23
- /**
24
- * legend title to be shown in callout
25
- */
26
- calloutLegend: string;
27
- /**
28
- * color of the text in the callout
29
- */
30
- calloutTextColor: string;
31
- /**
32
- * The target that the Callout should try to position itself based on
33
- */
34
- target: Target;
35
- /**
36
- * ratio to show in the callout
37
- */
38
- ratio: [number, number] | null;
39
- /**
40
- * description message to show in the callout
41
- */
42
- descriptionMessage: string;
43
- /**
44
- * id to give to callout for accesiblity purpose
45
- */
46
- calloutId: string;
47
- /**
48
- * Accessibility data for callout
49
- */
50
- callOutAccessibilityData?: IAccessibilityProps;
51
- }
52
- export declare class HeatMapChartBase extends React.Component<IHeatMapChartProps, IHeatMapChartState> {
53
- private _classNames;
54
- private _stringXAxisDataPoints;
55
- private _stringYAxisDataPoints;
56
- private _createSet;
57
- private _dataSet;
58
- private _colorScale;
59
- private _xAxisScale;
60
- private _yAxisScale;
61
- /**
62
- * This array contains ref for all the rectangles
63
- * drawn inside the chard
64
- */
65
- private _rectRefArray;
66
- private _xAxisType;
67
- private _yAxisType;
68
- private _calloutAnchorPoint;
69
- constructor(props: IHeatMapChartProps);
70
- render(): React.ReactNode;
71
- private _getXandY;
72
- private _getOpacity;
73
- private _rectRefCallback;
74
- private _onRectFocus;
75
- private _onRectMouseOver;
76
- private _onRectBlurOrMouseOut;
77
- private _handleChartMouseLeave;
78
- /**
79
- * This is the function which is responsible for
80
- * drawing the rectangle in the graph and also
81
- * attaching dom events to that rectangles
82
- */
83
- private _createRectangles;
84
- /**
85
- * when the legend is hovered we need to highlight
86
- * all the rectangles which fall under that category
87
- * and un-highlight the rest of them
88
- * @param legendTitle
89
- */
90
- private _onLegendHover;
91
- /**
92
- * when the mouse is out from the legend , we need
93
- * to show the graph in initial mode.
94
- */
95
- private _onLegendLeave;
96
- /**
97
- * @param legendTitle
98
- * when the legend is clicked we need to highlight
99
- * all the rectangles which fall under that category
100
- * and un highlight the rest of them
101
- */
102
- private _onLegendClick;
103
- private _createLegendBars;
104
- private _getColorScale;
105
- private _getXIndex;
106
- private _getYIndex;
107
- /**
108
- * This will create a new data set based on the prop
109
- * @data
110
- * We will be using This data set to contsruct our rectangles
111
- * in the chart, we use this data set becuase, when we loop in this
112
- * data and build the heat map, it will support accessibility as
113
- * specified in the figma
114
- */
115
- private _createNewDataSet;
116
- /**
117
- * This function will return the final sorted and formatted x-axis points
118
- * which will be rendered on the x-axis
119
- * @param points
120
- * @returns x-axis points
121
- */
122
- private _getXAxisDataPoints;
123
- /**
124
- * This function will return the final sorted and formatted y-axis points
125
- * which will be rendered on the y-axis
126
- * @param points
127
- * @returns yaxis points
128
- */
129
- private _getYAxisDataPoints;
130
- private _getStringFormattedDate;
131
- private _getStringFormattedNumber;
132
- private _getFormattedLabelForXAxisDataPoint;
133
- private _getFormattedLabelForYAxisDataPoint;
134
- private _closeCallout;
135
- /**
136
- * This function checks if the given legend is highlighted or not.
137
- * A legend can be highlighted in 2 ways:
138
- * 1. selection: if the user clicks on it
139
- * 2. hovering: if there is no selected legend and the user hovers over it
140
- */
141
- private _legendHighlighted;
142
- /**
143
- * This function checks if none of the legends is selected or hovered.
144
- */
145
- private _noLegendHighlighted;
146
- private _getAriaLabel;
147
- }
@@ -1,492 +0,0 @@
1
- define(["require", "exports", "tslib", "../../index", "d3-scale", "@fluentui/react/lib/Utilities", "@fluentui/react-focus", "@fluentui/react/lib/Callout", "react", "../Legends/index", "../../utilities/utilities", "d3-format", "d3-time-format"], function (require, exports, tslib_1, index_1, d3_scale_1, Utilities_1, react_focus_1, Callout_1, React, index_2, utilities_1, d3_format_1, d3TimeFormat) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HeatMapChartBase = void 0;
5
- var getClassNames = Utilities_1.classNamesFunction();
6
- var HeatMapChartBase = /** @class */ (function (_super) {
7
- tslib_1.__extends(HeatMapChartBase, _super);
8
- function HeatMapChartBase(props) {
9
- var _this = _super.call(this, props) || this;
10
- /**
11
- * This array contains ref for all the rectangles
12
- * drawn inside the chard
13
- */
14
- _this._rectRefArray = {};
15
- _this._getXandY = function () {
16
- var x = '';
17
- var y = '';
18
- _this.props.data.forEach(function (item) {
19
- if (item.data && item.data.length > 0) {
20
- x = item.data[0].x;
21
- y = item.data[0].y;
22
- return { x: x, y: y };
23
- }
24
- });
25
- return { x: x, y: y };
26
- };
27
- _this._getOpacity = function (legendTitle) {
28
- var opacity = _this._legendHighlighted(legendTitle) || _this._noLegendHighlighted() ? '1' : '0.1';
29
- return opacity;
30
- };
31
- _this._rectRefCallback = function (rectElement, index, dataPointObject) {
32
- _this._rectRefArray[index] = { data: dataPointObject, refElement: rectElement };
33
- };
34
- _this._onRectFocus = function (id, data) {
35
- _this.setState({
36
- target: _this._rectRefArray[id].refElement,
37
- /** Show the callout if highlighted rectangle is focused and Hide it if unhighlighted rectangle is focused */
38
- isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
39
- calloutYValue: "" + data.rectText,
40
- calloutTextColor: _this._colorScale(data.value),
41
- calloutLegend: data.legend,
42
- ratio: data.ratio || null,
43
- descriptionMessage: data.descriptionMessage || '',
44
- calloutId: id,
45
- callOutAccessibilityData: data.callOutAccessibilityData,
46
- });
47
- };
48
- _this._onRectMouseOver = function (id, data, mouseEvent) {
49
- mouseEvent.persist();
50
- if (_this._calloutAnchorPoint !== data) {
51
- _this._calloutAnchorPoint = data;
52
- _this.setState({
53
- target: _this._rectRefArray[id].refElement,
54
- /** Show the callout if highlighted rectangle is hovered and Hide it if unhighlighted rectangle is hovered */
55
- isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
56
- calloutYValue: "" + data.rectText,
57
- calloutTextColor: _this._colorScale(data.value),
58
- calloutLegend: data.legend,
59
- ratio: data.ratio || null,
60
- descriptionMessage: data.descriptionMessage || '',
61
- calloutId: id,
62
- callOutAccessibilityData: data.callOutAccessibilityData,
63
- });
64
- }
65
- };
66
- _this._onRectBlurOrMouseOut = function () {
67
- /**/
68
- };
69
- _this._handleChartMouseLeave = function () {
70
- _this._calloutAnchorPoint = null;
71
- _this.setState({
72
- isCalloutVisible: false,
73
- });
74
- };
75
- /**
76
- * This is the function which is responsible for
77
- * drawing the rectangle in the graph and also
78
- * attaching dom events to that rectangles
79
- */
80
- _this._createRectangles = function () {
81
- var rectangles = [];
82
- var yAxisDataPoints = _this._stringYAxisDataPoints.slice().reverse();
83
- /**
84
- * yAxisDataPoint is noting but the DataPoint
85
- * which will be rendered on the y-axis
86
- */
87
- yAxisDataPoints.forEach(function (yAxisDataPoint, index1) {
88
- /**
89
- * dataPointObject is an object where it contains information on single
90
- * data point such as x, y , value, rectText property of the rectangle
91
- */
92
- _this._dataSet[yAxisDataPoint].forEach(function (dataPointObject, index2) {
93
- var id = "" + index1 + index2;
94
- var rectElement = (React.createElement("g", { key: id, role: "img", "aria-label": _this._getAriaLabel(dataPointObject), "data-is-focusable": true, fillOpacity: _this._getOpacity(dataPointObject.legend), transform: "translate(" + _this._xAxisScale(dataPointObject.x) + ", " + _this._yAxisScale(dataPointObject.y) + ")", ref: function (gElement) {
95
- _this._rectRefCallback(gElement, id, dataPointObject);
96
- }, onFocus: _this._onRectFocus.bind(_this, id, dataPointObject), onBlur: _this._onRectBlurOrMouseOut, onMouseOver: _this._onRectMouseOver.bind(_this, id, dataPointObject), onMouseOut: _this._onRectBlurOrMouseOut },
97
- React.createElement("rect", { fill: _this._colorScale(dataPointObject.value), width: _this._xAxisScale.bandwidth(), height: _this._yAxisScale.bandwidth(), onClick: dataPointObject.onClick }),
98
- React.createElement("text", { dominantBaseline: 'middle', textAnchor: 'middle', className: _this._classNames.text, transform: "translate(" + _this._xAxisScale.bandwidth() / 2 + ", " + _this._yAxisScale.bandwidth() / 2 + ")" }, utilities_1.convertToLocaleString(dataPointObject.rectText, _this.props.culture))));
99
- rectangles.push(rectElement);
100
- });
101
- });
102
- return rectangles;
103
- };
104
- /**
105
- * when the legend is hovered we need to highlight
106
- * all the rectangles which fall under that category
107
- * and un-highlight the rest of them
108
- * @param legendTitle
109
- */
110
- _this._onLegendHover = function (legendTitle) {
111
- _this.setState({
112
- activeLegend: legendTitle,
113
- });
114
- };
115
- /**
116
- * when the mouse is out from the legend , we need
117
- * to show the graph in initial mode.
118
- */
119
- _this._onLegendLeave = function () {
120
- _this.setState({
121
- activeLegend: '',
122
- });
123
- };
124
- /**
125
- * @param legendTitle
126
- * when the legend is clicked we need to highlight
127
- * all the rectangles which fall under that category
128
- * and un highlight the rest of them
129
- */
130
- _this._onLegendClick = function (legendTitle) {
131
- /**
132
- * check if the legend is already selceted,
133
- * if yes, un-select the legend, else
134
- * set the selected legend state to legendTitle
135
- */
136
- if (_this.state.selectedLegend === legendTitle) {
137
- _this.setState({
138
- selectedLegend: '',
139
- });
140
- }
141
- else {
142
- _this.setState({
143
- selectedLegend: legendTitle,
144
- });
145
- }
146
- };
147
- _this._createLegendBars = function () {
148
- var _a = _this.props, data = _a.data, legendProps = _a.legendProps;
149
- var legends = [];
150
- data.forEach(function (item) {
151
- var legend = {
152
- title: item.legend,
153
- color: _this._colorScale(item.value),
154
- action: function () {
155
- _this._onLegendClick(item.legend);
156
- },
157
- hoverAction: function () {
158
- _this._handleChartMouseLeave();
159
- _this._onLegendHover(item.legend);
160
- },
161
- onMouseOutAction: function () {
162
- _this._onLegendLeave();
163
- },
164
- };
165
- legends.push(legend);
166
- });
167
- return React.createElement(index_2.Legends, tslib_1.__assign({}, legendProps, { legends: legends }));
168
- };
169
- _this._getColorScale = function () {
170
- var _a = _this.props, domainValuesForColorScale = _a.domainValuesForColorScale, rangeValuesForColorScale = _a.rangeValuesForColorScale;
171
- return d3_scale_1.scaleLinear()
172
- .domain(domainValuesForColorScale)
173
- .range(rangeValuesForColorScale);
174
- };
175
- _this._getXIndex = function (value) {
176
- if (_this._xAxisType === utilities_1.XAxisTypes.DateAxis) {
177
- return "" + value.getTime();
178
- }
179
- else if (_this._xAxisType === utilities_1.XAxisTypes.StringAxis) {
180
- return value;
181
- }
182
- else if (_this._xAxisType === utilities_1.XAxisTypes.NumericAxis) {
183
- return "" + value;
184
- }
185
- else {
186
- return '';
187
- }
188
- };
189
- _this._getYIndex = function (value) {
190
- if (_this._yAxisType === utilities_1.YAxisType.DateAxis) {
191
- return "" + value.getTime();
192
- }
193
- else if (_this._yAxisType === utilities_1.YAxisType.StringAxis) {
194
- return value;
195
- }
196
- else if (_this._yAxisType === utilities_1.YAxisType.NumericAxis) {
197
- return "" + value;
198
- }
199
- else {
200
- return '';
201
- }
202
- };
203
- /**
204
- * This will create a new data set based on the prop
205
- * @data
206
- * We will be using This data set to contsruct our rectangles
207
- * in the chart, we use this data set becuase, when we loop in this
208
- * data and build the heat map, it will support accessibility as
209
- * specified in the figma
210
- */
211
- _this._createNewDataSet = function (data, xAxisDateFormatString, xAxisNumberFormatString, yAxisDateFormatString, yAxisNumberFormatString) {
212
- /**
213
- * please do not destructure any of the props here,
214
- * instead send them as parameter to this functions so that
215
- * this functions get called whenever the prop changes
216
- */
217
- var flattenData = [];
218
- /**
219
- * below for each loop will store all the datapoints in the one array.
220
- * basically it will flatten the nestesd array (data prop) into single array
221
- * of object. where each object contains x, y, rectText , value and legend propety of single
222
- * data point.
223
- */
224
- data.forEach(function (item) {
225
- item.data.forEach(function (point) {
226
- flattenData.push(tslib_1.__assign(tslib_1.__assign({}, point), { legend: item.legend }));
227
- });
228
- });
229
- var yPoints = {};
230
- var uniqueYPoints = {};
231
- var uniqueXPoints = {};
232
- flattenData.forEach(function (item) {
233
- var posX = _this._getXIndex(item.x);
234
- var posY = _this._getYIndex(item.y);
235
- uniqueXPoints[posX] = '1';
236
- uniqueYPoints[posY] = '1';
237
- /** we will check if the property(posY) is already there in object, if Yes,
238
- * then we will append the item in the Array related to the pos, if not
239
- * then we will simply append the item in the new Array and
240
- * assign that array to the property (posY) in the Object
241
- * and finally we will get the array of Objects associated to each
242
- * property (which is nothing but y data point) and object in the
243
- * array are noting but x data points associated to the property y
244
- */
245
- if (yPoints[posY]) {
246
- yPoints[posY] = tslib_1.__spreadArray(tslib_1.__spreadArray([], yPoints[posY]), [item]);
247
- }
248
- else {
249
- yPoints[posY] = [item];
250
- }
251
- });
252
- /**
253
- * we will now sort(ascending) the array's of y data point based on the x value
254
- * sorting is important to achive the accessibility order of the
255
- * rectangles and then format the x and y datapoints respectively
256
- */
257
- Object.keys(yPoints).forEach(function (item) {
258
- yPoints[item]
259
- .sort(function (a, b) {
260
- if (_this._xAxisType === utilities_1.XAxisTypes.StringAxis) {
261
- return a.x.toLowerCase() > b.x.toLowerCase() ? 1 : -1;
262
- }
263
- else if (_this._xAxisType === utilities_1.XAxisTypes.DateAxis) {
264
- return a.x.getTime() - b.x.getTime();
265
- }
266
- else if (_this._xAxisType === utilities_1.XAxisTypes.NumericAxis) {
267
- return +a.x > +b.x ? 1 : -1;
268
- }
269
- else {
270
- return a.x > b.x ? 1 : -1;
271
- }
272
- })
273
- .forEach(function (datapoint) {
274
- if (_this._xAxisType === utilities_1.XAxisTypes.DateAxis) {
275
- datapoint.x = _this._getStringFormattedDate(datapoint.x, xAxisDateFormatString);
276
- }
277
- if (_this._xAxisType === utilities_1.XAxisTypes.NumericAxis) {
278
- datapoint.x = _this._getStringFormattedNumber(datapoint.x, xAxisNumberFormatString);
279
- }
280
- if (_this._xAxisType === utilities_1.XAxisTypes.StringAxis) {
281
- datapoint.x = _this._getFormattedLabelForXAxisDataPoint(datapoint.x);
282
- }
283
- if (_this._yAxisType === utilities_1.YAxisType.DateAxis) {
284
- datapoint.y = _this._getStringFormattedDate(datapoint.y, yAxisDateFormatString);
285
- }
286
- if (_this._yAxisType === utilities_1.YAxisType.NumericAxis) {
287
- datapoint.y = _this._getStringFormattedNumber(datapoint.y, yAxisNumberFormatString);
288
- }
289
- if (_this._yAxisType === utilities_1.YAxisType.StringAxis) {
290
- datapoint.y = _this._getFormattedLabelForYAxisDataPoint(datapoint.y);
291
- }
292
- });
293
- });
294
- /**
295
- * if y-axis data points are of type date or number or if we have string formatter,
296
- * then we need to change data points to their respective string
297
- * format, becuase in the private variable this._stringYAxisDatapoints, points will be stored in
298
- * string format. and in here `yPoint` are not so we need to change, so that
299
- * function `this._createRectangles` should work perfetcly while looping, and if we don't change
300
- * then `this._createRectangles` will fail while looping, causing the error
301
- * Cannot read property 'forEach' of undefined
302
- */
303
- Object.keys(yPoints).forEach(function (yPoint) {
304
- if (_this._yAxisType === utilities_1.YAxisType.DateAxis) {
305
- yPoints[_this._getStringFormattedDate(yPoint, yAxisDateFormatString)] = yPoints[yPoint];
306
- }
307
- else if (_this._yAxisType === utilities_1.YAxisType.NumericAxis) {
308
- yPoints["" + _this._getStringFormattedNumber(yPoint, yAxisNumberFormatString)] = yPoints[yPoint];
309
- }
310
- else {
311
- yPoints[_this._getFormattedLabelForYAxisDataPoint(yPoint)] = yPoints[yPoint];
312
- }
313
- });
314
- /**
315
- * assigning new data set
316
- */
317
- var dataSet = yPoints;
318
- /**
319
- * These are the Y axis data points which will get rendered in the
320
- * Y axis in graph
321
- */
322
- var yAxisPoints = _this._getYAxisDataPoints(uniqueYPoints);
323
- /**
324
- * These are the x axis data points which will get rendered in the
325
- * x axis in the graph
326
- */
327
- var xAxisPoints = _this._getXAxisDataPoints(uniqueXPoints);
328
- return {
329
- dataSet: dataSet,
330
- yAxisPoints: yAxisPoints,
331
- xAxisPoints: xAxisPoints,
332
- };
333
- };
334
- /**
335
- * This function will return the final sorted and formatted x-axis points
336
- * which will be rendered on the x-axis
337
- * @param points
338
- * @returns x-axis points
339
- */
340
- _this._getXAxisDataPoints = function (points) {
341
- var xAxisPoints = [];
342
- var unFormattedXAxisDataPoints = Object.keys(points).sort(function (a, b) {
343
- if (_this._xAxisType === utilities_1.XAxisTypes.DateAxis || _this._xAxisType === utilities_1.XAxisTypes.NumericAxis) {
344
- return +a - +b;
345
- }
346
- else {
347
- return a.toLowerCase() > b.toLowerCase() ? 1 : -1;
348
- }
349
- });
350
- xAxisPoints = unFormattedXAxisDataPoints.map(function (xPoint) {
351
- if (_this._xAxisType === utilities_1.XAxisTypes.DateAxis) {
352
- return _this._getStringFormattedDate(xPoint, _this.props.xAxisDateFormatString);
353
- }
354
- else if (_this._xAxisType === utilities_1.XAxisTypes.NumericAxis) {
355
- return _this._getStringFormattedNumber(xPoint, _this.props.xAxisNumberFormatString);
356
- }
357
- else {
358
- return _this._getFormattedLabelForXAxisDataPoint(xPoint);
359
- }
360
- });
361
- return xAxisPoints;
362
- };
363
- /**
364
- * This function will return the final sorted and formatted y-axis points
365
- * which will be rendered on the y-axis
366
- * @param points
367
- * @returns yaxis points
368
- */
369
- _this._getYAxisDataPoints = function (points) {
370
- var yAxisPoints = [];
371
- var unFormattedYAxisDataPoints = Object.keys(points).sort(function (a, b) {
372
- if (_this._yAxisType === utilities_1.YAxisType.DateAxis || _this._yAxisType === utilities_1.YAxisType.NumericAxis) {
373
- return +a - +b;
374
- }
375
- else {
376
- return a.toLowerCase() > b.toLowerCase() ? 1 : -1;
377
- }
378
- });
379
- yAxisPoints = unFormattedYAxisDataPoints.map(function (yPoint) {
380
- if (_this._yAxisType === utilities_1.YAxisType.DateAxis) {
381
- return _this._getStringFormattedDate(yPoint, _this.props.yAxisDateFormatString);
382
- }
383
- else if (_this._yAxisType === utilities_1.YAxisType.NumericAxis) {
384
- return _this._getStringFormattedNumber(yPoint, _this.props.yAxisNumberFormatString);
385
- }
386
- else {
387
- return _this._getFormattedLabelForYAxisDataPoint(yPoint);
388
- }
389
- });
390
- return yAxisPoints;
391
- };
392
- _this._getStringFormattedDate = function (point, formatString) {
393
- var date = new Date();
394
- date.setTime(+point);
395
- return d3TimeFormat.timeFormat(formatString || '%b/%d')(date);
396
- };
397
- _this._getStringFormattedNumber = function (point, formatString) {
398
- return d3_format_1.format(formatString || '.2~s')(+point);
399
- };
400
- _this._getFormattedLabelForXAxisDataPoint = function (point) {
401
- var xAxisStringFormatter = _this.props.xAxisStringFormatter;
402
- return xAxisStringFormatter ? xAxisStringFormatter(point) : point;
403
- };
404
- _this._getFormattedLabelForYAxisDataPoint = function (point) {
405
- var yAxisStringFormatter = _this.props.yAxisStringFormatter;
406
- return yAxisStringFormatter ? yAxisStringFormatter(point) : point;
407
- };
408
- _this._closeCallout = function () {
409
- _this.setState({
410
- isCalloutVisible: false,
411
- });
412
- };
413
- /**
414
- * This function checks if the given legend is highlighted or not.
415
- * A legend can be highlighted in 2 ways:
416
- * 1. selection: if the user clicks on it
417
- * 2. hovering: if there is no selected legend and the user hovers over it
418
- */
419
- _this._legendHighlighted = function (legendTitle) {
420
- return (_this.state.selectedLegend === legendTitle ||
421
- (_this.state.selectedLegend === '' && _this.state.activeLegend === legendTitle));
422
- };
423
- /**
424
- * This function checks if none of the legends is selected or hovered.
425
- */
426
- _this._noLegendHighlighted = function () {
427
- return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
428
- };
429
- _this._getAriaLabel = function (point) {
430
- var _a;
431
- var xValue = point.x;
432
- var yValue = point.y;
433
- var legend = point.legend;
434
- var zValue = point.ratio ? point.ratio[0] + "/" + point.ratio[1] : point.rectText || point.value;
435
- var description = point.descriptionMessage;
436
- return (((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) ||
437
- xValue + ", " + yValue + ". " + legend + ", " + zValue + "." + (description ? " " + description + "." : ''));
438
- };
439
- var _a = _this._getXandY(), x = _a.x, y = _a.y;
440
- _this._xAxisType = utilities_1.getTypeOfAxis(x, true);
441
- _this._yAxisType = utilities_1.getTypeOfAxis(y, false);
442
- /**
443
- * below funciton creates a new data set from the prop
444
- * @data and also finds all the unique x-axis datapoints
445
- * and y-axis datapoints(which will render in the axis in graph)
446
- * we store this in a memoized function, because we want to calulate
447
- * this set whenever props changes.
448
- */
449
- _this._createSet = Utilities_1.memoizeFunction(function (data, xDate, xNum, yDate, yNum) { return _this._createNewDataSet(data, xDate, xNum, yDate, yNum); });
450
- _this.state = {
451
- selectedLegend: '',
452
- activeLegend: '',
453
- isCalloutVisible: false,
454
- target: null,
455
- calloutLegend: '',
456
- calloutTextColor: '',
457
- calloutYValue: '',
458
- ratio: null,
459
- descriptionMessage: '',
460
- calloutId: '',
461
- };
462
- return _this;
463
- }
464
- HeatMapChartBase.prototype.render = function () {
465
- var _this = this;
466
- var _a = this.props, data = _a.data, xAxisDateFormatString = _a.xAxisDateFormatString, xAxisNumberFormatString = _a.xAxisNumberFormatString, yAxisDateFormatString = _a.yAxisDateFormatString, yAxisNumberFormatString = _a.yAxisNumberFormatString;
467
- this._colorScale = this._getColorScale();
468
- var _b = this._createSet(data, xAxisDateFormatString, xAxisNumberFormatString, yAxisDateFormatString, yAxisNumberFormatString), dataSet = _b.dataSet, xAxisPoints = _b.xAxisPoints, yAxisPoints = _b.yAxisPoints;
469
- this._dataSet = dataSet;
470
- this._stringYAxisDataPoints = yAxisPoints;
471
- this._stringXAxisDataPoints = xAxisPoints;
472
- this._classNames = getClassNames(this.props.styles, { theme: this.props.theme });
473
- var calloutProps = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({ isBeakVisible: false, gapSpace: 8 }, this.props.calloutProps), { isCalloutVisible: this.state.isCalloutVisible, id: this.state.calloutId, YValue: this.state.calloutYValue, legend: this.state.calloutLegend, color: this.state.calloutTextColor, target: this.state.target, styles: this._classNames.subComponentStyles.calloutStyles, directionalHint: Callout_1.DirectionalHint.topAutoEdge, onDismiss: this._closeCallout }), utilities_1.getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)), { preventDismissOnLostFocus: true });
474
- var chartHoverProps = tslib_1.__assign(tslib_1.__assign({}, (this.state.ratio && {
475
- ratio: this.state.ratio,
476
- })), { descriptionMessage: this.state.descriptionMessage });
477
- return (React.createElement(index_1.CartesianChart, tslib_1.__assign({}, this.props, { points: data, chartType: utilities_1.ChartTypes.HeatMapChart, xAxisType: utilities_1.XAxisTypes.StringAxis, yAxisType: utilities_1.YAxisType.StringAxis, calloutProps: calloutProps, chartHoverProps: chartHoverProps, styles: this._classNames.subComponentStyles.cartesianStyles, datasetForXAxisDomain: this._stringXAxisDataPoints, stringDatasetForYAxisDomain: this._stringYAxisDataPoints, xAxisTickCount: this._stringXAxisDataPoints.length, xAxistickSize: 0, xAxisPadding: 0.02, yAxisPadding: 0.02, svgFocusZoneProps: {
478
- direction: react_focus_1.FocusZoneDirection.bidirectional,
479
- }, legendBars: this._createLegendBars(), onChartMouseLeave: this._handleChartMouseLeave,
480
- /* eslint-disable react/jsx-no-bind */
481
- // eslint-disable-next-line react/no-children-prop
482
- children: function (props) {
483
- _this._xAxisScale = props.xScale;
484
- _this._yAxisScale = props.yScale;
485
- return _this._createRectangles();
486
- } })));
487
- };
488
- return HeatMapChartBase;
489
- }(React.Component));
490
- exports.HeatMapChartBase = HeatMapChartBase;
491
- });
492
- //# sourceMappingURL=HeatMapChart.base.js.map