@fluentui/react-charting 5.12.23 → 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 +22 -1
  2. package/CHANGELOG.md +12 -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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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,5 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { getHeatMapChartStyles } from './HeatMapChart.styles';
3
- import { HeatMapChartBase } from './HeatMapChart.base';
4
- export var HeatMapChart = styled(HeatMapChartBase, getHeatMapChartStyles);
5
- //# sourceMappingURL=HeatMapChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,CAAC,IAAM,YAAY,GAAgD,MAAM,CAI7E,gBAAgB,EAAE,qBAAqB,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,22 +0,0 @@
1
- export var getHeatMapChartStyles = function (props) {
2
- var theme = props.theme;
3
- return {
4
- root: {},
5
- text: [
6
- theme.fonts.medium,
7
- {
8
- pointerEvents: 'none',
9
- fill: theme.palette.white,
10
- },
11
- ],
12
- subComponentStyles: {
13
- cartesianStyles: {},
14
- calloutStyles: {
15
- root: {
16
- maxWidth: '238px',
17
- },
18
- },
19
- },
20
- };
21
- };
22
- //# 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":"AAEA,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,KAA8B;IAC1D,IAAA,KAAK,GAAK,KAAK,MAAV,CAAW;IACxB,OAAO;QACL,IAAI,EAAE,EAAE;QACR,IAAI,EAAE;YACJ,KAAK,CAAC,KAAK,CAAC,MAAM;YAClB;gBACE,aAAa,EAAE,MAAM;gBACrB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;aAC1B;SACF;QACD,kBAAkB,EAAE;YAClB,eAAe,EAAE,EAAE;YACnB,aAAa,EAAE;gBACb,IAAI,EAAE;oBACJ,QAAQ,EAAE,OAAO;iBAClB;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC","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,2 +0,0 @@
1
- export {};
2
- //# 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,3 +0,0 @@
1
- export * from './HeatMapChart';
2
- export * from './HeatMapChart.types';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/HeatMapChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC","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,194 +0,0 @@
1
- import { __assign, __extends } from "tslib";
2
- import * as React from 'react';
3
- import { classNamesFunction, find, getId } from '@fluentui/react/lib/Utilities';
4
- import { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';
5
- import { ChartHoverCard, convertToLocaleString, getAccessibleDataObject } from '../../utilities/index';
6
- import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
7
- var getClassNames = classNamesFunction();
8
- var HorizontalBarChartBase = /** @class */ (function (_super) {
9
- __extends(HorizontalBarChartBase, _super);
10
- function HorizontalBarChartBase(props) {
11
- var _this = _super.call(this, props) || this;
12
- _this._handleChartMouseLeave = function () {
13
- _this._calloutAnchorPoint = null;
14
- if (_this.state.isCalloutVisible) {
15
- _this.setState({
16
- isCalloutVisible: false,
17
- hoverValue: '',
18
- refSelected: null,
19
- lineColor: '',
20
- legend: '',
21
- });
22
- }
23
- };
24
- _this._adjustProps = function () {
25
- _this._barHeight = _this.props.barHeight || 8;
26
- _this._classNames = getClassNames(_this.props.styles, {
27
- theme: _this.props.theme,
28
- width: _this.props.width,
29
- className: _this.props.className,
30
- barHeight: _this._barHeight,
31
- color: _this.state.lineColor,
32
- });
33
- };
34
- _this._getChartDataText = function (data) {
35
- return _this.props.barChartCustomData ? (React.createElement("div", { "data-is-focusable": true, role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
36
- };
37
- _this._closeCallout = function () {
38
- _this.setState({
39
- isCalloutVisible: false,
40
- });
41
- };
42
- _this.state = {
43
- isCalloutVisible: false,
44
- hoverValue: '',
45
- lineColor: '',
46
- legend: '',
47
- refSelected: null,
48
- // eslint-disable-next-line react/no-unused-state
49
- color: '',
50
- xCalloutValue: '',
51
- yCalloutValue: '',
52
- };
53
- _this._refArray = [];
54
- _this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);
55
- _this._hoverOff = _this._hoverOff.bind(_this);
56
- _this._calloutId = getId('callout');
57
- return _this;
58
- }
59
- HorizontalBarChartBase.prototype.render = function () {
60
- var _this = this;
61
- var _a = this.props, data = _a.data, theme = _a.theme;
62
- this._adjustProps();
63
- var palette = theme.palette;
64
- var datapoint = 0;
65
- return (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
66
- data.map(function (points, index) {
67
- if (points.chartData && points.chartData[0] && points.chartData[0].horizontalBarChartdata.x) {
68
- datapoint = points.chartData[0].horizontalBarChartdata.x;
69
- }
70
- else {
71
- datapoint = 0;
72
- }
73
- points.chartData[1] = {
74
- legend: '',
75
- horizontalBarChartdata: {
76
- x: points.chartData[0].horizontalBarChartdata.y - datapoint,
77
- y: points.chartData[0].horizontalBarChartdata.y,
78
- },
79
- color: palette.neutralTertiaryAlt,
80
- };
81
- var chartDataText = _this._getChartDataText(points);
82
- var bars = _this._createBars(points, palette);
83
- var keyVal = _this._uniqLineText + '_' + index;
84
- return (React.createElement("div", { key: index, className: _this._classNames.items },
85
- React.createElement("div", { className: _this._classNames.items },
86
- React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal },
87
- React.createElement("div", { className: _this._classNames.chartTitle },
88
- points.chartTitle && (React.createElement("div", __assign({ className: _this._classNames.chartDataText }, getAccessibleDataObject(points.chartTitleAccessibilityData)), points.chartTitle)),
89
- chartDataText)),
90
- points.chartData[0].data && _this._createBenchmark(points),
91
- React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal },
92
- React.createElement("svg", { className: _this._classNames.chart, "aria-label": points.chartTitle },
93
- React.createElement("g", { id: keyVal, key: keyVal, ref: function (e) {
94
- _this._refCallback(e, points.chartData[0].legend);
95
- },
96
- // NOTE: points.chartData![0] contains current data value
97
- onClick: function () {
98
- var p = points.chartData[0];
99
- if (p && p.onClick) {
100
- p.onClick();
101
- }
102
- }, className: _this._classNames.barWrapper }, bars))))));
103
- }),
104
- React.createElement(Callout, __assign({ target: this.state.refSelected, coverTarget: true, isBeakVisible: false, gapSpace: 30, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), directionalHint: DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }, this.props.calloutProps, getAccessibleDataObject(this.state.callOutAccessibilityData)),
105
- React.createElement(React.Fragment, null, this.props.onRenderCalloutPerHorizontalBar ? (this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)) : (React.createElement(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 }))))));
106
- };
107
- HorizontalBarChartBase.prototype._refCallback = function (element, legendTitle) {
108
- this._refArray.push({ index: legendTitle, refElement: element });
109
- };
110
- HorizontalBarChartBase.prototype._hoverOn = function (hoverValue, point) {
111
- if ((!this.state.isCalloutVisible || this.state.legend !== point.legend) && this._calloutAnchorPoint !== point) {
112
- var currentHoveredElement = find(this._refArray, function (currentElement) { return currentElement.index === point.legend; });
113
- this._calloutAnchorPoint = point;
114
- this.setState({
115
- isCalloutVisible: true,
116
- hoverValue: hoverValue,
117
- lineColor: point.color,
118
- legend: point.legend,
119
- refSelected: currentHoveredElement.refElement,
120
- xCalloutValue: point.xAxisCalloutData,
121
- yCalloutValue: point.yAxisCalloutData,
122
- barCalloutProps: point,
123
- callOutAccessibilityData: point.callOutAccessibilityData,
124
- });
125
- }
126
- };
127
- HorizontalBarChartBase.prototype._hoverOff = function () {
128
- /**/
129
- };
130
- HorizontalBarChartBase.prototype._getDefaultTextData = function (data) {
131
- var culture = this.props.culture;
132
- var chartDataMode = this.props.chartDataMode || 'default';
133
- var chartData = data.chartData[0];
134
- var x = chartData.horizontalBarChartdata.x;
135
- var y = chartData.horizontalBarChartdata.y;
136
- var accessibilityData = getAccessibleDataObject(data.chartDataAccessibilityData);
137
- switch (chartDataMode) {
138
- case 'default':
139
- return (React.createElement("div", __assign({ className: this._classNames.chartDataText }, accessibilityData), convertToLocaleString(x, culture)));
140
- case 'fraction':
141
- return (React.createElement("div", __assign({}, accessibilityData),
142
- React.createElement("span", { className: this._classNames.chartDataText }, convertToLocaleString(x, culture)),
143
- React.createElement("span", { className: this._classNames.chartDataTextDenominator }, '/' + convertToLocaleString(y, culture))));
144
- case 'percentage':
145
- var dataRatioPercentage = convertToLocaleString(Math.round((x / y) * 100), culture) + "%";
146
- return (React.createElement("div", __assign({ className: this._classNames.chartDataText }, accessibilityData), dataRatioPercentage));
147
- }
148
- };
149
- HorizontalBarChartBase.prototype._createBenchmark = function (data) {
150
- var totalData = data.chartData[0].horizontalBarChartdata.y;
151
- var benchmarkData = data.chartData[0].data;
152
- var benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);
153
- var benchmarkStyles = {
154
- marginLeft: 'calc(' + benchmarkRatio + '% - 4px)',
155
- marginRight: 'calc(' + (100 - benchmarkRatio) + '% - 4px)',
156
- };
157
- return React.createElement("div", { className: this._classNames.triangle, style: benchmarkStyles });
158
- };
159
- HorizontalBarChartBase.prototype._createBars = function (data, palette) {
160
- var _this = this;
161
- var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
162
- // calculating starting point of each bar and it's range
163
- var startingPoint = [];
164
- var total = data.chartData.reduce(function (acc, point) {
165
- return acc + (point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0);
166
- }, 0);
167
- var prevPosition = 0;
168
- var value = 0;
169
- var bars = data.chartData.map(function (point, index) {
170
- var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
171
- var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
172
- if (index > 0) {
173
- prevPosition += value;
174
- }
175
- value = (pointData / total) * 100;
176
- if (value < 0) {
177
- value = 0;
178
- }
179
- else if (value < 1 && value !== 0) {
180
- value = 1;
181
- }
182
- startingPoint.push(prevPosition);
183
- if (value < 1) {
184
- return React.createElement(React.Fragment, { key: index }, " ");
185
- }
186
- var xValue = point.horizontalBarChartdata.x;
187
- 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 }));
188
- });
189
- return bars;
190
- };
191
- return HorizontalBarChartBase;
192
- }(React.Component));
193
- export { HorizontalBarChartBase };
194
- //# 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":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAWhF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,IAAM,aAAa,GAAG,kBAAkB,EAA4D,CAAC;AAerG;IAA4C,0CAAmE;IAQ7G,gCAAY,KAA+B;QAA3C,YACE,kBAAM,KAAK,CAAC,SAgBb;QAiIO,4BAAsB,GAAG;YAC/B,KAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;YAChC,IAAI,KAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;gBAC/B,KA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,EAClB,MAAM,EAAE,KAAI,CAAC,UAAU,EACvB,IAAI,EAAE,KAAK,EACX,WAAW,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,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;QACJ,CAAC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAOH,6BAAC;AAAD,CAAC,AAjSD,CAA4C,KAAK,CAAC,SAAS,GAiS1D","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,6 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { HorizontalBarChartBase } from './HorizontalBarChart.base';
3
- import { getHorizontalBarChartStyles } from './HorizontalBarChart.styles';
4
- // Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
5
- export var HorizontalBarChart = styled(HorizontalBarChartBase, getHorizontalBarChartStyles);
6
- //# sourceMappingURL=HorizontalBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAMvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,oGAAoG;AACpG,MAAM,CAAC,IAAM,kBAAkB,GAAsD,MAAM,CAIzF,sBAAsB,EAAE,2BAA2B,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;