@fluentui/react-charting 5.12.22 → 5.12.25

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 +52 -1
  2. package/CHANGELOG.md +30 -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,476 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "d3-array", "d3-shape", "d3-selection", "d3-scale", "@fluentui/react/lib/Utilities", "@fluentui/react/lib/Callout", "../../index", "@fluentui/react-focus", "../../utilities/index"], function (require, exports, tslib_1, React, d3_array_1, d3_shape_1, d3_selection_1, d3_scale_1, Utilities_1, Callout_1, index_1, react_focus_1, index_2) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.VerticalBarChartBase = void 0;
5
- var CircleVisbility;
6
- (function (CircleVisbility) {
7
- CircleVisbility["show"] = "visibility";
8
- CircleVisbility["hide"] = "hidden";
9
- })(CircleVisbility || (CircleVisbility = {}));
10
- var getClassNames = Utilities_1.classNamesFunction();
11
- var VerticalBarChartBase = /** @class */ (function (_super) {
12
- tslib_1.__extends(VerticalBarChartBase, _super);
13
- function VerticalBarChartBase(props) {
14
- var _this = _super.call(this, props) || this;
15
- _this._isRtl = Utilities_1.getRTL();
16
- _this._createLine = function (
17
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
- xScale,
19
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
- yScale, containerHeight, containerWidth) {
21
- var _a;
22
- if (containerHeight === void 0) { containerHeight = 0; }
23
- if (containerWidth === void 0) { containerWidth = 0; }
24
- var isNumericAxis = _this._xAxisType === index_2.XAxisTypes.NumericAxis;
25
- var xBarScale = _this._getScales(containerHeight, containerWidth, isNumericAxis).xBarScale;
26
- var colorScale = _this._createColors();
27
- var theme = _this.props.theme;
28
- var _b = _this.props, data = _b.data, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c, lineLegendText = _b.lineLegendText;
29
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
30
- var lineData = [];
31
- var line = [];
32
- data &&
33
- data.forEach(function (item, index) {
34
- if (item.lineData && item.lineData.y) {
35
- lineData.push({ x: item.x, y: item.lineData.y, point: item, index: index });
36
- }
37
- });
38
- var linePath = d3_shape_1.line()
39
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
40
- .x(function (d) { return (!isNumericAxis ? xBarScale(d.index) + 0.5 * _this._barWidth : xScale(d.x)); })
41
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
42
- .y(function (d) { return yScale(d.y); });
43
- var shouldHighlight = true;
44
- if (_this.state.isLegendHovered || _this.state.isLegendSelected) {
45
- shouldHighlight = _this.state.selectedLegendTitle === lineLegendText;
46
- }
47
- var lineBorderWidth = ((_a = _this.props.lineOptions) === null || _a === void 0 ? void 0 : _a.lineBorderWidth)
48
- ? Number.parseFloat(_this.props.lineOptions.lineBorderWidth.toString())
49
- : 0;
50
- if (lineBorderWidth > 0) {
51
- line.push(React.createElement("path", { opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3 + lineBorderWidth * 2, stroke: theme.palette.white }));
52
- }
53
- line.push(React.createElement("path", { opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3, stroke: lineLegendColor }));
54
- var dots = lineData.map(function (item, index) {
55
- var _a;
56
- return (React.createElement("circle", { key: index, cx: !isNumericAxis ? xBarScale(item.index) + 0.5 * _this._barWidth : xScale(item.x), cy: yScale(item.y), onMouseOver: _this._onBarHover.bind(_this, item.point, colorScale(item.y)), onMouseOut: _this._onBarLeave, r: 8, stroke: lineLegendColor, fill: _this.props.theme.palette.white, strokeWidth: 3, visibility: _this.state.activeXdataPoint === item.x ? CircleVisbility.show : CircleVisbility.hide, onClick: (_a = item.point.lineData) === null || _a === void 0 ? void 0 : _a.onClick }));
57
- });
58
- return (React.createElement(React.Fragment, null,
59
- line,
60
- dots));
61
- };
62
- _this._checkForLine = function () {
63
- var data = _this.props.data;
64
- return data.some(function (item) { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined; });
65
- };
66
- _this._getMargins = function (margins) {
67
- _this.margins = margins;
68
- };
69
- _this._renderContentForBothLineAndBars = function (point) {
70
- var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
71
- var content = YValueHover.map(function (item, index) {
72
- return (React.createElement(index_1.ChartHoverCard, tslib_1.__assign({ key: index, Legend: item.legend }, (index === 0 && { XValue: "" + (hoverXValue || item.data) }), { color: item.color, YValue: item.data || item.y, culture: _this.props.culture })));
73
- });
74
- return React.createElement(React.Fragment, null, content);
75
- };
76
- _this._renderContentForOnlyBars = function (props) {
77
- var _a = _this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
78
- return (React.createElement(React.Fragment, null,
79
- React.createElement(index_1.ChartHoverCard, { XValue: props.xAxisCalloutData || props.x, Legend: props.legend, YValue: props.yAxisCalloutData || props.y, color: !useSingleColor && props.color ? props.color : _this._createColors()(props.y), culture: _this.props.culture })));
80
- };
81
- _this._renderCallout = function (props) {
82
- return props
83
- ? _this._isHavingLine
84
- ? _this._renderContentForBothLineAndBars(props)
85
- : _this._renderContentForOnlyBars(props)
86
- : null;
87
- };
88
- _this._getCustomizedCallout = function () {
89
- return _this.props.onRenderCalloutPerDataPoint
90
- ? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps, _this._renderCallout)
91
- : null;
92
- };
93
- _this._getGraphData = function (xScale, yScale, containerHeight, containerWidth, xElement) {
94
- return (_this._bars =
95
- _this._xAxisType === index_2.XAxisTypes.NumericAxis
96
- ? _this._createNumericBars(containerHeight, containerWidth, xElement)
97
- : _this._createStringBars(containerHeight, containerWidth, xElement));
98
- };
99
- _this._refCallback = function (element, legendTitle) {
100
- _this._refArray.push({ index: legendTitle, refElement: element });
101
- };
102
- _this._getCalloutContentForLineAndBar = function (point) {
103
- var _a, _b, _c, _d;
104
- var YValueHover = [];
105
- var _e = _this.props, theme = _e.theme, _f = _e.useSingleColor, useSingleColor = _f === void 0 ? false : _f;
106
- var _g = _this.props, data = _g.data, lineLegendText = _g.lineLegendText, _h = _g.lineLegendColor, lineLegendColor = _h === void 0 ? theme.palette.yellow : _h;
107
- var selectedPoint = data.filter(function (xDataPoint) { return xDataPoint.x === point.x; });
108
- // there might be no y value of the line for the hovered bar. so we need to check this condition
109
- if (_this._isHavingLine && ((_a = selectedPoint[0].lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined) {
110
- // callout data for the line
111
- YValueHover.push({
112
- legend: lineLegendText,
113
- color: lineLegendColor,
114
- y: (_b = selectedPoint[0].lineData) === null || _b === void 0 ? void 0 : _b.y,
115
- data: (_c = selectedPoint[0].lineData) === null || _c === void 0 ? void 0 : _c.yAxisCalloutData,
116
- yAxisCalloutData: (_d = selectedPoint[0].lineData) === null || _d === void 0 ? void 0 : _d.yAxisCalloutData,
117
- });
118
- }
119
- // callout data for the bar
120
- YValueHover.push({
121
- legend: selectedPoint[0].legend,
122
- y: selectedPoint[0].y,
123
- color: !useSingleColor
124
- ? selectedPoint[0].color
125
- ? selectedPoint[0].color
126
- : _this._createColors()(selectedPoint[0].y)
127
- : _this._createColors()(1),
128
- data: selectedPoint[0].yAxisCalloutData,
129
- yAxisCalloutData: selectedPoint[0].yAxisCalloutData,
130
- });
131
- return { YValueHover: YValueHover, hoverXValue: point.xAxisCalloutData || point.x.toString() };
132
- };
133
- _this._onBarLeave = function () {
134
- /**/
135
- };
136
- _this._handleChartMouseLeave = function () {
137
- _this._calloutAnchorPoint = null;
138
- _this.setState({
139
- isCalloutVisible: false,
140
- activeXdataPoint: null,
141
- YValueHover: [],
142
- hoverXValue: '',
143
- });
144
- };
145
- _this._onBarFocus = function (point, refArrayIndexNumber, color) {
146
- if (_this.state.isLegendSelected === false ||
147
- (_this.state.isLegendSelected && _this.state.selectedLegendTitle === point.legend)) {
148
- var _a = _this._getCalloutContentForLineAndBar(point), YValueHover_1 = _a.YValueHover, hoverXValue_1 = _a.hoverXValue;
149
- _this._refArray.forEach(function (obj, index) {
150
- if (obj.index === point.legend && refArrayIndexNumber === index) {
151
- _this.setState({
152
- refSelected: obj.refElement,
153
- isCalloutVisible: true,
154
- selectedLegendTitle: point.legend,
155
- dataForHoverCard: point.y,
156
- color: point.color || color,
157
- xCalloutValue: point.xAxisCalloutData || point.x.toString(),
158
- yCalloutValue: point.yAxisCalloutData,
159
- dataPointCalloutProps: point,
160
- activeXdataPoint: point.x,
161
- YValueHover: YValueHover_1,
162
- hoverXValue: hoverXValue_1,
163
- callOutAccessibilityData: point.callOutAccessibilityData,
164
- });
165
- }
166
- });
167
- }
168
- };
169
- _this._getScales = function (containerHeight, containerWidth, isNumericScale) {
170
- if (isNumericScale) {
171
- var xMax = d3_array_1.max(_this._points, function (point) { return point.x; });
172
- var xBarScale = d3_scale_1.scaleLinear()
173
- .domain(_this._isRtl ? [xMax, 0] : [0, xMax])
174
- .nice()
175
- .range([
176
- _this.margins.left + _this._barWidth / 2,
177
- containerWidth - _this.margins.right - _this._barWidth - _this._barWidth / 2,
178
- ]);
179
- var yBarScale = d3_scale_1.scaleLinear()
180
- .domain([0, _this._yMax])
181
- .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
182
- return { xBarScale: xBarScale, yBarScale: yBarScale };
183
- }
184
- else {
185
- var xBarScale = d3_scale_1.scaleBand()
186
- .domain(_this._xAxisLabels)
187
- .range([_this.margins.left, containerWidth - _this.margins.right])
188
- .padding(_this.props.xAxisPadding || 0.1);
189
- var yBarScale = d3_scale_1.scaleLinear()
190
- .domain([0, _this._yMax])
191
- .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
192
- return { xBarScale: xBarScale, yBarScale: yBarScale };
193
- }
194
- };
195
- _this._closeCallout = function () {
196
- _this.setState({
197
- isCalloutVisible: false,
198
- });
199
- };
200
- _this._getLegendData = function (data, palette) {
201
- var _a = _this.props, theme = _a.theme, useSingleColor = _a.useSingleColor;
202
- var _b = _this.props, lineLegendText = _b.lineLegendText, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
203
- var actions = [];
204
- data.forEach(function (point, _index) {
205
- var color = !useSingleColor ? point.color : _this._createColors()(1);
206
- // mapping data to the format Legends component needs
207
- var legend = {
208
- title: point.legend,
209
- color: color,
210
- action: function () {
211
- _this._onLegendClick(point.legend);
212
- },
213
- hoverAction: function () {
214
- _this._onLegendHover(point.legend);
215
- },
216
- onMouseOutAction: function (isLegendSelected) {
217
- _this._onLegendLeave(isLegendSelected);
218
- },
219
- };
220
- actions.push(legend);
221
- });
222
- if (_this._isHavingLine && lineLegendText && lineLegendColor) {
223
- var lineLegend = {
224
- title: lineLegendText,
225
- color: lineLegendColor,
226
- action: function () {
227
- _this._onLegendClick(lineLegendText);
228
- },
229
- hoverAction: function () {
230
- _this._onLegendHover(lineLegendText);
231
- },
232
- onMouseOutAction: function (isLegendSelected) {
233
- _this._onLegendLeave(isLegendSelected);
234
- },
235
- isLineLegendInBarChart: true,
236
- };
237
- actions.unshift(lineLegend);
238
- }
239
- var legends = (React.createElement(index_1.Legends, tslib_1.__assign({ legends: actions, enabledWrapLines: _this.props.enabledLegendsWrapLines, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps)));
240
- return legends;
241
- };
242
- _this._getAxisData = function (yAxisData) {
243
- if (yAxisData && yAxisData.yAxisDomainValues.length) {
244
- var domainValue = yAxisData.yAxisDomainValues;
245
- _this._yMax = Math.max(domainValue[domainValue.length - 1], _this.props.yMaxValue || 0);
246
- }
247
- };
248
- _this.state = {
249
- color: '',
250
- dataForHoverCard: 0,
251
- isCalloutVisible: false,
252
- isLegendSelected: false,
253
- isLegendHovered: false,
254
- refSelected: null,
255
- selectedLegendTitle: '',
256
- xCalloutValue: '',
257
- yCalloutValue: '',
258
- activeXdataPoint: null,
259
- YValueHover: [],
260
- hoverXValue: '',
261
- };
262
- _this._isHavingLine = _this._checkForLine();
263
- _this._calloutId = Utilities_1.getId('callout');
264
- _this._tooltipId = Utilities_1.getId('VCTooltipID_');
265
- _this._refArray = [];
266
- _this._xAxisType =
267
- _this.props.data && _this.props.data.length > 0
268
- ? index_2.getTypeOfAxis(_this.props.data[0].x, true)
269
- : index_2.XAxisTypes.StringAxis;
270
- return _this;
271
- }
272
- VerticalBarChartBase.prototype.render = function () {
273
- var _this = this;
274
- this._adjustProps();
275
- this._xAxisLabels = this._points.map(function (point) { return point.x; });
276
- this._yMax = Math.max(d3_array_1.max(this._points, function (point) { return point.y; }), this.props.yMaxValue || 0);
277
- var legendBars = this._getLegendData(this._points, this.props.theme.palette);
278
- this._classNames = getClassNames(this.props.styles, {
279
- theme: this.props.theme,
280
- legendColor: this.state.color,
281
- });
282
- var calloutProps = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: "toolTip" + this._calloutId, target: this.state.refSelected, isBeakVisible: false }, (this._isHavingLine && {
283
- YValueHover: this.state.YValueHover,
284
- hoverXValue: this.state.hoverXValue,
285
- })), { gapSpace: 15, color: this.state.color, legend: this.state.selectedLegendTitle, XValue: this.state.xCalloutValue, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }), this.props.calloutProps), index_2.getAccessibleDataObject(this.state.callOutAccessibilityData));
286
- var tickParams = {
287
- tickValues: this.props.tickValues,
288
- tickFormat: this.props.tickFormat,
289
- };
290
- return (React.createElement(index_1.CartesianChart, tslib_1.__assign({}, this.props, { points: this._points, chartType: index_2.ChartTypes.VerticalBarChart, xAxisType: this._xAxisType, calloutProps: calloutProps, tickParams: tickParams }, (this._isHavingLine && { isCalloutForStack: true }), { legendBars: legendBars, datasetForXAxisDomain: this._xAxisLabels, barwidth: this._barWidth, focusZoneDirection: react_focus_1.FocusZoneDirection.horizontal, customizedCallout: this._getCustomizedCallout(), getmargins: this._getMargins, getGraphData: this._getGraphData, getAxisData: this._getAxisData, onChartMouseLeave: this._handleChartMouseLeave,
291
- /* eslint-disable react/jsx-no-bind */
292
- // eslint-disable-next-line react/no-children-prop
293
- children: function (props) {
294
- return (React.createElement(React.Fragment, null,
295
- React.createElement("g", null, _this._bars),
296
- _this._isHavingLine && (React.createElement("g", null, _this._createLine(props.xScale, props.yScale, props.containerHeight, props.containerWidth)))));
297
- } })));
298
- };
299
- VerticalBarChartBase.prototype._adjustProps = function () {
300
- this._points = this.props.data || [];
301
- this._barWidth = this.props.barWidth || 32;
302
- var palette = this.props.theme.palette;
303
- this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.blueDark];
304
- this._isHavingLine = this._checkForLine();
305
- };
306
- VerticalBarChartBase.prototype._createColors = function () {
307
- var _this = this;
308
- var increment = this._colors.length <= 1 ? 1 : 1 / (this._colors.length - 1);
309
- var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
310
- if (useSingleColor) {
311
- return function (_p) {
312
- var _a = _this.props, theme = _a.theme, colors = _a.colors;
313
- return colors && colors.length > 0 ? colors[0] : theme.palette.blueLight;
314
- };
315
- }
316
- var domainValues = [];
317
- for (var i = 0; i < this._colors.length; i++) {
318
- domainValues.push(increment * i * this._yMax);
319
- }
320
- var colorScale = d3_scale_1.scaleLinear().domain(domainValues).range(this._colors);
321
- return colorScale;
322
- };
323
- VerticalBarChartBase.prototype._onBarHover = function (point, color, mouseEvent) {
324
- mouseEvent.persist();
325
- var _a = this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
326
- if ((this.state.isLegendSelected === false ||
327
- (this.state.isLegendSelected && this.state.selectedLegendTitle === point.legend)) &&
328
- this._calloutAnchorPoint !== point) {
329
- this._calloutAnchorPoint = point;
330
- this.setState({
331
- refSelected: mouseEvent,
332
- isCalloutVisible: true,
333
- dataForHoverCard: point.y,
334
- selectedLegendTitle: point.legend,
335
- color: point.color || color,
336
- // To display callout value, if no callout value given, taking given point.x value as a string.
337
- xCalloutValue: point.xAxisCalloutData || point.x.toString(),
338
- yCalloutValue: point.yAxisCalloutData,
339
- dataPointCalloutProps: point,
340
- activeXdataPoint: point.x,
341
- YValueHover: YValueHover,
342
- hoverXValue: hoverXValue,
343
- callOutAccessibilityData: point.callOutAccessibilityData,
344
- });
345
- }
346
- };
347
- VerticalBarChartBase.prototype._createNumericBars = function (containerHeight, containerWidth, xElement) {
348
- var _this = this;
349
- var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
350
- var _b = this._getScales(containerHeight, containerWidth, true), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
351
- var colorScale = this._createColors();
352
- var bars = this._points.map(function (point, index) {
353
- var shouldHighlight = true;
354
- if (_this.state.isLegendHovered || _this.state.isLegendSelected) {
355
- shouldHighlight = _this.state.selectedLegendTitle === point.legend;
356
- }
357
- _this._classNames = getClassNames(_this.props.styles, {
358
- theme: _this.props.theme,
359
- legendColor: _this.state.color,
360
- shouldHighlight: shouldHighlight,
361
- });
362
- var barHeight = Math.max(yBarScale(point.y), 0);
363
- if (barHeight < 1) {
364
- return React.createElement(React.Fragment, { key: point.x }, " ");
365
- }
366
- return (React.createElement("rect", { key: point.x, x: xBarScale(point.x), className: _this._classNames.opacityChangeOnHover, y: containerHeight - _this.margins.bottom - yBarScale(point.y), width: _this._barWidth, "data-is-focusable": !_this.props.hideTooltip, height: Math.max(yBarScale(point.y), 0), ref: function (e) {
367
- _this._refCallback(e, point.legend);
368
- }, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, colorScale(point.y)), "aria-label": "Vertical bar chart", role: "text", "aria-labelledby": "toolTip" + _this._calloutId, onMouseLeave: _this._onBarLeave, onFocus: _this._onBarFocus.bind(_this, point, index, colorScale(point.y)), onBlur: _this._onBarLeave, fill: point.color && !useSingleColor ? point.color : colorScale(point.y) }));
369
- });
370
- // Removing un wanted tooltip div from DOM, when prop not provided.
371
- if (!this.props.showXAxisLablesTooltip) {
372
- try {
373
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
374
- // eslint-disable-next-line no-empty
375
- }
376
- catch (e) { }
377
- }
378
- // Used to display tooltip at x axis labels.
379
- if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
380
- var xAxisElement = d3_selection_1.select(xElement).call(xBarScale);
381
- try {
382
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
383
- // eslint-disable-next-line no-empty
384
- }
385
- catch (e) { }
386
- var tooltipProps = {
387
- tooltipCls: this._classNames.tooltip,
388
- id: this._tooltipId,
389
- xAxis: xAxisElement,
390
- };
391
- xAxisElement && index_2.tooltipOfXAxislabels(tooltipProps);
392
- }
393
- return bars;
394
- };
395
- VerticalBarChartBase.prototype._createStringBars = function (containerHeight, containerWidth, xElement) {
396
- var _this = this;
397
- var _a = this._getScales(containerHeight, containerWidth, false), xBarScale = _a.xBarScale, yBarScale = _a.yBarScale;
398
- var colorScale = this._createColors();
399
- var bars = this._points.map(function (point, index) {
400
- var barHeight = Math.max(yBarScale(point.y), 0);
401
- if (barHeight < 1) {
402
- return React.createElement(React.Fragment, { key: point.x }, " ");
403
- }
404
- return (React.createElement("rect", { key: point.x, x: xBarScale(point.x), y: containerHeight - _this.margins.bottom - yBarScale(point.y), width: _this._barWidth, height: barHeight, "aria-label": "Vertical bar chart", role: "text", "aria-labelledby": "toolTip" + _this._calloutId, ref: function (e) {
405
- _this._refCallback(e, point.legend);
406
- }, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, colorScale(point.y)), onMouseLeave: _this._onBarLeave, onBlur: _this._onBarLeave, "data-is-focusable": !_this.props.hideTooltip, onFocus: _this._onBarFocus.bind(_this, point, index, colorScale(point.y)), fill: point.color ? point.color : colorScale(point.y), transform: "translate(" + 0.5 * (xBarScale.bandwidth() - _this._barWidth) + ", 0)" }));
407
- });
408
- // Removing un wanted tooltip div from DOM, when prop not provided.
409
- if (!this.props.showXAxisLablesTooltip) {
410
- try {
411
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
412
- // eslint-disable-next-line no-empty
413
- }
414
- catch (e) { }
415
- }
416
- // Used to display tooltip at x axis labels.
417
- if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
418
- var xAxisElement = d3_selection_1.select(xElement).call(xBarScale);
419
- try {
420
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
421
- // eslint-disable-next-line no-empty
422
- }
423
- catch (e) { }
424
- var tooltipProps = {
425
- tooltipCls: this._classNames.tooltip,
426
- id: this._tooltipId,
427
- xAxis: xAxisElement,
428
- showTooltip: this.props.showXAxisLablesTooltip,
429
- };
430
- xAxisElement && index_2.tooltipOfXAxislabels(tooltipProps);
431
- }
432
- return bars;
433
- };
434
- VerticalBarChartBase.prototype._onLegendClick = function (customMessage) {
435
- if (this.state.isLegendSelected) {
436
- if (this.state.selectedLegendTitle === customMessage) {
437
- this.setState({
438
- isLegendSelected: false,
439
- selectedLegendTitle: customMessage,
440
- });
441
- }
442
- else {
443
- this.setState({
444
- selectedLegendTitle: customMessage,
445
- });
446
- }
447
- }
448
- else {
449
- this.setState({
450
- isLegendSelected: true,
451
- selectedLegendTitle: customMessage,
452
- });
453
- }
454
- };
455
- VerticalBarChartBase.prototype._onLegendHover = function (customMessage) {
456
- if (this.state.isLegendSelected === false) {
457
- this.setState({
458
- isLegendHovered: true,
459
- selectedLegendTitle: customMessage,
460
- });
461
- }
462
- };
463
- VerticalBarChartBase.prototype._onLegendLeave = function (isLegendFocused) {
464
- if (!!isLegendFocused || this.state.isLegendSelected === false) {
465
- this.setState({
466
- isLegendHovered: false,
467
- selectedLegendTitle: '',
468
- isLegendSelected: isLegendFocused ? false : this.state.isLegendSelected,
469
- });
470
- }
471
- };
472
- return VerticalBarChartBase;
473
- }(React.Component));
474
- exports.VerticalBarChartBase = VerticalBarChartBase;
475
- });
476
- //# sourceMappingURL=VerticalBarChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalBarChart.base.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.base.tsx"],"names":[],"mappings":";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,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,KAAK,KAAK,EAAE;gBACzC,IAAI,CAAC,QAAQ,CAAC;oBACZ,eAAe,EAAE,IAAI;oBACrB,mBAAmB,EAAE,aAAa;iBACnC,CAAC,CAAC;aACJ;QACH,CAAC;QAEO,6CAAc,GAAtB,UAAuB,eAAyB;YAC9C,IAAI,CAAC,CAAC,eAAe,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,KAAK,KAAK,EAAE;gBAC9D,IAAI,CAAC,QAAQ,CAAC;oBACZ,eAAe,EAAE,KAAK;oBACtB,mBAAmB,EAAE,EAAE;oBACvB,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB;iBACxE,CAAC,CAAC;aACJ;QACH,CAAC;QA4DH,2BAAC;IAAD,CAAC,AAppBD,CAA0C,KAAK,CAAC,SAAS,GAopBxD;IAppBY,oDAAoB","sourcesContent":["import * as React from 'react';\nimport { max as d3Max } from 'd3-array';\nimport { line as d3Line } from 'd3-shape';\nimport { select as d3Select } from 'd3-selection';\nimport { scaleLinear as d3ScaleLinear, ScaleLinear as D3ScaleLinear, scaleBand as d3ScaleBand } from 'd3-scale';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet, IPalette } from '@fluentui/react/lib/Styling';\nimport { DirectionalHint } from '@fluentui/react/lib/Callout';\nimport {\n IAccessibilityProps,\n CartesianChart,\n ChartHoverCard,\n IBasestate,\n IMargins,\n ILegend,\n IRefArrayData,\n IVerticalBarChartProps,\n IVerticalBarChartStyleProps,\n IVerticalBarChartStyles,\n IVerticalBarChartDataPoint,\n Legends,\n IChildProps,\n IYValueHover,\n} from '../../index';\nimport { FocusZoneDirection } from '@fluentui/react-focus';\nimport {\n ChartTypes,\n IAxisData,\n getAccessibleDataObject,\n XAxisTypes,\n NumericAxis,\n StringAxis,\n getTypeOfAxis,\n tooltipOfXAxislabels,\n} from '../../utilities/index';\n\nenum CircleVisbility {\n show = 'visibility',\n hide = 'hidden',\n}\nconst getClassNames = classNamesFunction<IVerticalBarChartStyleProps, IVerticalBarChartStyles>();\nexport interface IVerticalBarChartState extends IBasestate {\n selectedLegendTitle: string;\n dataPointCalloutProps?: IVerticalBarChartDataPoint; // define this in hover and focus\n /**\n * data point of x, where rectangle is hovered or focused\n */\n activeXdataPoint: number | string | null;\n YValueHover: IYValueHover[];\n hoverXValue?: string | number | null;\n callOutAccessibilityData?: IAccessibilityProps;\n}\n\ntype ColorScale = (_p?: number) => string;\n\nexport class VerticalBarChartBase extends React.Component<IVerticalBarChartProps, IVerticalBarChartState> {\n private _points: IVerticalBarChartDataPoint[];\n private _barWidth: number;\n private _colors: string[];\n private _classNames: IProcessedStyleSet<IVerticalBarChartStyles>;\n private _refArray: IRefArrayData[];\n private _calloutId: string;\n private margins: IMargins;\n private _isRtl: boolean = getRTL();\n private _bars: JSX.Element[];\n private _xAxisLabels: string[];\n private _yMax: number;\n private _isHavingLine: boolean;\n private _tooltipId: string;\n private _xAxisType: XAxisTypes;\n private _calloutAnchorPoint: IVerticalBarChartDataPoint | null;\n\n public constructor(props: IVerticalBarChartProps) {\n super(props);\n this.state = {\n color: '',\n dataForHoverCard: 0,\n isCalloutVisible: false,\n isLegendSelected: false,\n isLegendHovered: false,\n refSelected: null,\n selectedLegendTitle: '',\n xCalloutValue: '',\n yCalloutValue: '',\n activeXdataPoint: null,\n YValueHover: [],\n hoverXValue: '',\n };\n this._isHavingLine = this._checkForLine();\n this._calloutId = getId('callout');\n this._tooltipId = getId('VCTooltipID_');\n this._refArray = [];\n this._xAxisType =\n this.props.data! && this.props.data!.length > 0\n ? (getTypeOfAxis(this.props.data![0].x, true) as XAxisTypes)\n : XAxisTypes.StringAxis;\n }\n\n public render(): JSX.Element {\n this._adjustProps();\n this._xAxisLabels = this._points.map((point: IVerticalBarChartDataPoint) => point.x as string);\n this._yMax = Math.max(\n d3Max(this._points, (point: IVerticalBarChartDataPoint) => point.y)!,\n this.props.yMaxValue || 0,\n );\n const legendBars: JSX.Element = this._getLegendData(this._points, this.props.theme!.palette);\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n legendColor: this.state.color,\n });\n const calloutProps = {\n isCalloutVisible: this.state.isCalloutVisible,\n directionalHint: DirectionalHint.topAutoEdge,\n id: `toolTip${this._calloutId}`,\n target: this.state.refSelected,\n isBeakVisible: false,\n ...(this._isHavingLine && {\n YValueHover: this.state.YValueHover,\n hoverXValue: this.state.hoverXValue,\n }),\n gapSpace: 15,\n color: this.state.color,\n legend: this.state.selectedLegendTitle,\n XValue: this.state.xCalloutValue,\n YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard,\n onDismiss: this._closeCallout,\n preventDismissOnLostFocus: true,\n ...this.props.calloutProps,\n ...getAccessibleDataObject(this.state.callOutAccessibilityData),\n };\n const tickParams = {\n tickValues: this.props.tickValues,\n tickFormat: this.props.tickFormat,\n };\n return (\n <CartesianChart\n {...this.props}\n points={this._points}\n chartType={ChartTypes.VerticalBarChart}\n xAxisType={this._xAxisType}\n calloutProps={calloutProps}\n tickParams={tickParams}\n {...(this._isHavingLine && { isCalloutForStack: true })}\n legendBars={legendBars}\n datasetForXAxisDomain={this._xAxisLabels}\n barwidth={this._barWidth}\n focusZoneDirection={FocusZoneDirection.horizontal}\n customizedCallout={this._getCustomizedCallout()}\n getmargins={this._getMargins}\n getGraphData={this._getGraphData}\n getAxisData={this._getAxisData}\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 return (\n <>\n <g>{this._bars}</g>\n {this._isHavingLine && (\n <g>{this._createLine(props.xScale!, props.yScale!, props.containerHeight, props.containerWidth)}</g>\n )}\n </>\n );\n }}\n />\n );\n }\n\n private _createLine = (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n xScale: any,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n yScale: any,\n containerHeight: number = 0,\n containerWidth: number = 0,\n ): React.ReactNode => {\n const isNumericAxis = this._xAxisType === XAxisTypes.NumericAxis;\n const { xBarScale } = this._getScales(containerHeight, containerWidth, isNumericAxis);\n const colorScale = this._createColors();\n const { theme } = this.props;\n const { data, lineLegendColor = theme!.palette.yellow, lineLegendText } = this.props;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const lineData: Array<any> = [];\n const line: JSX.Element[] = [];\n data &&\n data.forEach((item: IVerticalBarChartDataPoint, index: number) => {\n if (item.lineData && item.lineData.y) {\n lineData.push({ x: item.x, y: item.lineData!.y, point: item, index });\n }\n });\n const linePath = d3Line()\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .x((d: any) => (!isNumericAxis ? xBarScale(d.index) + 0.5 * this._barWidth : xScale(d.x)))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y((d: any) => yScale(d.y));\n let shouldHighlight = true;\n if (this.state.isLegendHovered || this.state.isLegendSelected) {\n shouldHighlight = this.state.selectedLegendTitle === lineLegendText;\n }\n const lineBorderWidth = this.props.lineOptions?.lineBorderWidth\n ? Number.parseFloat(this.props.lineOptions!.lineBorderWidth!.toString())\n : 0;\n\n if (lineBorderWidth > 0) {\n line.push(\n <path\n opacity={shouldHighlight ? 1 : 0.1}\n d={linePath(lineData)!}\n fill=\"transparent\"\n strokeLinecap=\"square\"\n strokeWidth={3 + lineBorderWidth * 2}\n stroke={theme!.palette.white}\n />,\n );\n }\n line.push(\n <path\n opacity={shouldHighlight ? 1 : 0.1}\n d={linePath(lineData)!}\n fill=\"transparent\"\n strokeLinecap=\"square\"\n strokeWidth={3}\n stroke={lineLegendColor}\n />,\n );\n\n const dots: React.ReactNode[] = lineData.map(\n (item: { x: number | string; y: number; point: IVerticalBarChartDataPoint; index: number }, index: number) => {\n return (\n <circle\n key={index}\n cx={!isNumericAxis ? xBarScale(item.index) + 0.5 * this._barWidth : xScale(item.x)}\n cy={yScale(item.y)}\n onMouseOver={this._onBarHover.bind(this, item.point, colorScale(item.y))}\n onMouseOut={this._onBarLeave}\n r={8}\n stroke={lineLegendColor}\n fill={this.props.theme!.palette.white}\n strokeWidth={3}\n visibility={this.state.activeXdataPoint === item.x ? CircleVisbility.show : CircleVisbility.hide}\n onClick={item.point.lineData?.onClick}\n />\n );\n },\n );\n\n return (\n <>\n {line}\n {dots}\n </>\n );\n };\n\n private _checkForLine = (): boolean => {\n const { data } = this.props;\n return data!.some((item: IVerticalBarChartDataPoint) => item?.lineData?.y !== undefined);\n };\n\n private _adjustProps(): void {\n this._points = this.props.data || [];\n this._barWidth = this.props.barWidth || 32;\n const { palette } = this.props.theme!;\n this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.blueDark];\n this._isHavingLine = this._checkForLine();\n }\n\n private _getMargins = (margins: IMargins) => {\n this.margins = margins;\n };\n\n private _renderContentForBothLineAndBars = (point: IVerticalBarChartDataPoint): JSX.Element => {\n const { YValueHover, hoverXValue } = this._getCalloutContentForLineAndBar(point);\n const content: JSX.Element[] = YValueHover.map((item: IYValueHover, index: number) => {\n return (\n <ChartHoverCard\n key={index}\n Legend={item.legend}\n {...(index === 0 && { XValue: `${hoverXValue || item.data}` })}\n color={item.color}\n YValue={item.data || item.y}\n culture={this.props.culture}\n />\n );\n });\n return <>{content}</>;\n };\n private _renderContentForOnlyBars = (props: IVerticalBarChartDataPoint): JSX.Element => {\n const { useSingleColor = false } = this.props;\n return (\n <>\n <ChartHoverCard\n XValue={props.xAxisCalloutData || (props.x as string)}\n Legend={props.legend}\n YValue={props.yAxisCalloutData || props.y}\n color={!useSingleColor && props.color ? props.color : this._createColors()(props.y)}\n culture={this.props.culture}\n />\n </>\n );\n };\n\n private _renderCallout = (props?: IVerticalBarChartDataPoint): JSX.Element | null => {\n return props\n ? this._isHavingLine\n ? this._renderContentForBothLineAndBars(props)\n : this._renderContentForOnlyBars(props)\n : null;\n };\n\n private _getCustomizedCallout = () => {\n return this.props.onRenderCalloutPerDataPoint\n ? this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps, this._renderCallout)\n : null;\n };\n\n private _getGraphData = (\n xScale: StringAxis,\n yScale: NumericAxis,\n containerHeight: number,\n containerWidth: number,\n xElement?: SVGElement | null,\n ) => {\n return (this._bars =\n this._xAxisType === XAxisTypes.NumericAxis\n ? this._createNumericBars(containerHeight, containerWidth, xElement!)\n : this._createStringBars(containerHeight, containerWidth, xElement!));\n };\n\n private _createColors(): D3ScaleLinear<string, string> | ColorScale {\n const increment = this._colors.length <= 1 ? 1 : 1 / (this._colors.length - 1);\n const { useSingleColor = false } = this.props;\n if (useSingleColor) {\n return (_p?: number) => {\n const { theme, colors } = this.props;\n return colors && colors.length > 0 ? colors[0] : theme!.palette.blueLight;\n };\n }\n const domainValues = [];\n for (let i = 0; i < this._colors.length; i++) {\n domainValues.push(increment * i * this._yMax);\n }\n const colorScale = d3ScaleLinear<string>().domain(domainValues).range(this._colors);\n return colorScale;\n }\n\n private _refCallback = (element: SVGRectElement, legendTitle: string): void => {\n this._refArray.push({ index: legendTitle, refElement: element });\n };\n\n private _getCalloutContentForLineAndBar = (\n point: IVerticalBarChartDataPoint,\n ): { YValueHover: IYValueHover[]; hoverXValue: string | number | null } => {\n const YValueHover: IYValueHover[] = [];\n const { theme, useSingleColor = false } = this.props;\n const { data, lineLegendText, lineLegendColor = theme!.palette.yellow } = this.props;\n const selectedPoint = data!.filter((xDataPoint: IVerticalBarChartDataPoint) => xDataPoint.x === point.x);\n // there might be no y value of the line for the hovered bar. so we need to check this condition\n if (this._isHavingLine && selectedPoint[0].lineData?.y !== undefined) {\n // callout data for the line\n YValueHover.push({\n legend: lineLegendText,\n color: lineLegendColor,\n y: selectedPoint[0].lineData?.y,\n data: selectedPoint[0].lineData?.yAxisCalloutData,\n yAxisCalloutData: selectedPoint[0].lineData?.yAxisCalloutData,\n });\n }\n // callout data for the bar\n YValueHover.push({\n legend: selectedPoint[0].legend,\n y: selectedPoint[0].y,\n color: !useSingleColor\n ? selectedPoint[0].color\n ? selectedPoint[0].color\n : this._createColors()(selectedPoint[0].y)\n : this._createColors()(1),\n data: selectedPoint[0].yAxisCalloutData,\n yAxisCalloutData: selectedPoint[0].yAxisCalloutData,\n });\n return { YValueHover, hoverXValue: point.xAxisCalloutData || point.x.toString() };\n };\n\n private _onBarHover(\n point: IVerticalBarChartDataPoint,\n color: string,\n mouseEvent: React.MouseEvent<SVGElement>,\n ): void {\n mouseEvent.persist();\n\n const { YValueHover, hoverXValue } = this._getCalloutContentForLineAndBar(point);\n if (\n (this.state.isLegendSelected === false ||\n (this.state.isLegendSelected && this.state.selectedLegendTitle === point.legend)) &&\n this._calloutAnchorPoint !== point\n ) {\n this._calloutAnchorPoint = point;\n this.setState({\n refSelected: mouseEvent,\n isCalloutVisible: true,\n dataForHoverCard: point.y,\n selectedLegendTitle: point.legend!,\n color: point.color || color,\n // To display callout value, if no callout value given, taking given point.x value as a string.\n xCalloutValue: point.xAxisCalloutData || point.x.toString(),\n yCalloutValue: point.yAxisCalloutData!,\n dataPointCalloutProps: point,\n activeXdataPoint: point.x,\n YValueHover,\n hoverXValue,\n callOutAccessibilityData: point.callOutAccessibilityData,\n });\n }\n }\n\n private _onBarLeave = (): void => {\n /**/\n };\n\n private _handleChartMouseLeave = (): void => {\n this._calloutAnchorPoint = null;\n this.setState({\n isCalloutVisible: false,\n activeXdataPoint: null,\n YValueHover: [],\n hoverXValue: '',\n });\n };\n\n private _onBarFocus = (point: IVerticalBarChartDataPoint, refArrayIndexNumber: number, color: string): void => {\n if (\n this.state.isLegendSelected === false ||\n (this.state.isLegendSelected && this.state.selectedLegendTitle === point.legend)\n ) {\n const { YValueHover, hoverXValue } = this._getCalloutContentForLineAndBar(point);\n this._refArray.forEach((obj: IRefArrayData, index: number) => {\n if (obj.index === point.legend! && refArrayIndexNumber === index) {\n this.setState({\n refSelected: obj.refElement,\n isCalloutVisible: true,\n selectedLegendTitle: point.legend!,\n dataForHoverCard: point.y,\n color: point.color || color,\n xCalloutValue: point.xAxisCalloutData || point.x.toString(),\n yCalloutValue: point.yAxisCalloutData!,\n dataPointCalloutProps: point,\n activeXdataPoint: point.x,\n YValueHover,\n hoverXValue,\n callOutAccessibilityData: point.callOutAccessibilityData,\n });\n }\n });\n }\n };\n\n private _getScales = (\n containerHeight: number,\n containerWidth: number,\n isNumericScale: boolean,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): { xBarScale: any; yBarScale: any } => {\n if (isNumericScale) {\n const xMax = d3Max(this._points, (point: IVerticalBarChartDataPoint) => point.x as number)!;\n const xBarScale = d3ScaleLinear()\n .domain(this._isRtl ? [xMax, 0] : [0, xMax])\n .nice()\n .range([\n this.margins.left! + this._barWidth / 2,\n containerWidth - this.margins.right! - this._barWidth - this._barWidth / 2,\n ]);\n const yBarScale = d3ScaleLinear()\n .domain([0, this._yMax])\n .range([0, containerHeight - this.margins.bottom! - this.margins.top!]);\n return { xBarScale, yBarScale };\n } else {\n const xBarScale = d3ScaleBand()\n .domain(this._xAxisLabels)\n .range([this.margins.left!, containerWidth - this.margins.right!])\n .padding(this.props.xAxisPadding || 0.1);\n\n const yBarScale = d3ScaleLinear()\n .domain([0, this._yMax])\n .range([0, containerHeight - this.margins.bottom! - this.margins.top!]);\n return { xBarScale, yBarScale };\n }\n };\n\n private _createNumericBars(containerHeight: number, containerWidth: number, xElement: SVGElement): JSX.Element[] {\n const { useSingleColor = false } = this.props;\n const { xBarScale, yBarScale } = this._getScales(containerHeight, containerWidth, true);\n const colorScale = this._createColors();\n const bars = this._points.map((point: IVerticalBarChartDataPoint, index: number) => {\n let shouldHighlight = true;\n if (this.state.isLegendHovered || this.state.isLegendSelected) {\n shouldHighlight = this.state.selectedLegendTitle === point.legend;\n }\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n legendColor: this.state.color,\n shouldHighlight: shouldHighlight,\n });\n const barHeight: number = Math.max(yBarScale(point.y), 0);\n if (barHeight < 1) {\n return <React.Fragment key={point.x}> </React.Fragment>;\n }\n return (\n <rect\n key={point.x}\n x={xBarScale(point.x as number)}\n className={this._classNames.opacityChangeOnHover}\n y={containerHeight - this.margins.bottom! - yBarScale(point.y)}\n width={this._barWidth}\n data-is-focusable={!this.props.hideTooltip}\n height={Math.max(yBarScale(point.y), 0)}\n ref={(e: SVGRectElement) => {\n this._refCallback(e, point.legend!);\n }}\n onClick={point.onClick}\n onMouseOver={this._onBarHover.bind(this, point, colorScale(point.y))}\n aria-label=\"Vertical bar chart\"\n role=\"text\"\n aria-labelledby={`toolTip${this._calloutId}`}\n onMouseLeave={this._onBarLeave}\n onFocus={this._onBarFocus.bind(this, point, index, colorScale(point.y))}\n onBlur={this._onBarLeave}\n fill={point.color && !useSingleColor ? point.color : colorScale(point.y)}\n />\n );\n });\n // Removing un wanted tooltip div from DOM, when prop not provided.\n if (!this.props.showXAxisLablesTooltip) {\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n // Used to display tooltip at x axis labels.\n if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {\n const xAxisElement = d3Select(xElement).call(xBarScale);\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n const tooltipProps = {\n tooltipCls: this._classNames.tooltip!,\n id: this._tooltipId,\n xAxis: xAxisElement,\n };\n xAxisElement && tooltipOfXAxislabels(tooltipProps);\n }\n return bars;\n }\n\n private _createStringBars(containerHeight: number, containerWidth: number, xElement: SVGElement): JSX.Element[] {\n const { xBarScale, yBarScale } = this._getScales(containerHeight, containerWidth, false);\n const colorScale = this._createColors();\n const bars = this._points.map((point: IVerticalBarChartDataPoint, index: number) => {\n const barHeight: number = Math.max(yBarScale(point.y), 0);\n if (barHeight < 1) {\n return <React.Fragment key={point.x}> </React.Fragment>;\n }\n return (\n <rect\n key={point.x}\n x={xBarScale(point.x)}\n y={containerHeight - this.margins.bottom! - yBarScale(point.y)}\n width={this._barWidth}\n height={barHeight}\n aria-label=\"Vertical bar chart\"\n role=\"text\"\n aria-labelledby={`toolTip${this._calloutId}`}\n ref={(e: SVGRectElement) => {\n this._refCallback(e, point.legend!);\n }}\n onClick={point.onClick}\n onMouseOver={this._onBarHover.bind(this, point, colorScale(point.y))}\n onMouseLeave={this._onBarLeave}\n onBlur={this._onBarLeave}\n data-is-focusable={!this.props.hideTooltip}\n onFocus={this._onBarFocus.bind(this, point, index, colorScale(point.y))}\n fill={point.color ? point.color : colorScale(point.y)}\n transform={`translate(${0.5 * (xBarScale.bandwidth() - this._barWidth)}, 0)`}\n />\n );\n });\n\n // Removing un wanted tooltip div from DOM, when prop not provided.\n if (!this.props.showXAxisLablesTooltip) {\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n // Used to display tooltip at x axis labels.\n if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {\n const xAxisElement = d3Select(xElement).call(xBarScale);\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n const tooltipProps = {\n tooltipCls: this._classNames.tooltip!,\n id: this._tooltipId,\n xAxis: xAxisElement,\n showTooltip: this.props.showXAxisLablesTooltip,\n };\n xAxisElement && tooltipOfXAxislabels(tooltipProps);\n }\n return bars;\n }\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n private _onLegendClick(customMessage: string): void {\n if (this.state.isLegendSelected) {\n if (this.state.selectedLegendTitle === customMessage) {\n this.setState({\n isLegendSelected: false,\n selectedLegendTitle: customMessage,\n });\n } else {\n this.setState({\n selectedLegendTitle: customMessage,\n });\n }\n } else {\n this.setState({\n isLegendSelected: true,\n selectedLegendTitle: customMessage,\n });\n }\n }\n\n private _onLegendHover(customMessage: string): void {\n if (this.state.isLegendSelected === false) {\n this.setState({\n isLegendHovered: true,\n selectedLegendTitle: customMessage,\n });\n }\n }\n\n private _onLegendLeave(isLegendFocused?: boolean): void {\n if (!!isLegendFocused || this.state.isLegendSelected === false) {\n this.setState({\n isLegendHovered: false,\n selectedLegendTitle: '',\n isLegendSelected: isLegendFocused ? false : this.state.isLegendSelected,\n });\n }\n }\n\n private _getLegendData = (data: IVerticalBarChartDataPoint[], palette: IPalette): JSX.Element => {\n const { theme, useSingleColor } = this.props;\n const { lineLegendText, lineLegendColor = theme!.palette.yellow } = this.props;\n const actions: ILegend[] = [];\n data.forEach((point: IVerticalBarChartDataPoint, _index: number) => {\n const color: string = !useSingleColor ? point.color! : this._createColors()(1);\n // mapping data to the format Legends component needs\n const legend: ILegend = {\n title: point.legend!,\n color: color,\n action: () => {\n this._onLegendClick(point.legend!);\n },\n hoverAction: () => {\n this._onLegendHover(point.legend!);\n },\n onMouseOutAction: (isLegendSelected?: boolean) => {\n this._onLegendLeave(isLegendSelected);\n },\n };\n actions.push(legend);\n });\n if (this._isHavingLine && lineLegendText && lineLegendColor) {\n const lineLegend: ILegend = {\n title: lineLegendText,\n color: lineLegendColor,\n action: () => {\n this._onLegendClick(lineLegendText);\n },\n hoverAction: () => {\n this._onLegendHover(lineLegendText);\n },\n onMouseOutAction: (isLegendSelected?: boolean) => {\n this._onLegendLeave(isLegendSelected);\n },\n isLineLegendInBarChart: true,\n };\n actions.unshift(lineLegend);\n }\n const legends = (\n <Legends\n legends={actions}\n enabledWrapLines={this.props.enabledLegendsWrapLines}\n overflowProps={this.props.legendsOverflowProps}\n focusZonePropsInHoverCard={this.props.focusZonePropsForLegendsInHoverCard}\n overflowText={this.props.legendsOverflowText}\n {...this.props.legendProps}\n />\n );\n return legends;\n };\n\n private _getAxisData = (yAxisData: IAxisData) => {\n if (yAxisData && yAxisData.yAxisDomainValues.length) {\n const { yAxisDomainValues: domainValue } = yAxisData;\n this._yMax = Math.max(domainValue[domainValue.length - 1], this.props.yMaxValue || 0);\n }\n };\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IVerticalBarChartProps } from '../../index';
3
- export declare const VerticalBarChart: React.FunctionComponent<IVerticalBarChartProps>;
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "../../Utilities", "./VerticalBarChart.base", "./VerticalBarChart.styles"], function (require, exports, Utilities_1, VerticalBarChart_base_1, VerticalBarChart_styles_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.VerticalBarChart = void 0;
5
- // Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.
6
- exports.VerticalBarChart = Utilities_1.styled(VerticalBarChart_base_1.VerticalBarChartBase, VerticalBarChart_styles_1.getStyles);
7
- });
8
- //# sourceMappingURL=VerticalBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalBarChart.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.tsx"],"names":[],"mappings":";;;;IAMA,kGAAkG;IACrF,QAAA,gBAAgB,GAAoD,kBAAM,CAIrF,4CAAoB,EAAE,mCAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { IVerticalBarChartProps, IVerticalBarChartStyleProps, IVerticalBarChartStyles } from '../../index';\nimport { VerticalBarChartBase } from './VerticalBarChart.base';\nimport { getStyles } from './VerticalBarChart.styles';\n\n// Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.\nexport const VerticalBarChart: React.FunctionComponent<IVerticalBarChartProps> = styled<\n IVerticalBarChartProps,\n IVerticalBarChartStyleProps,\n IVerticalBarChartStyles\n>(VerticalBarChartBase, getStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IVerticalBarChartStyleProps, IVerticalBarChartStyles } from '../../index';
2
- export declare const getStyles: (props: IVerticalBarChartStyleProps) => IVerticalBarChartStyles;