@fluentui/react-charting 5.12.23 → 5.12.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1169) hide show
  1. package/CHANGELOG.json +22 -1
  2. package/CHANGELOG.md +12 -2
  3. package/config/tests.js +1 -1
  4. package/package.json +4 -4
  5. package/dist/react-charting.js +0 -2
  6. package/dist/react-charting.js.map +0 -1
  7. package/dist/react-charting.min.js +0 -2
  8. package/dist/react-charting.min.js.map +0 -1
  9. package/lib/AreaChart.d.ts +0 -1
  10. package/lib/AreaChart.js +0 -2
  11. package/lib/AreaChart.js.map +0 -1
  12. package/lib/CartesianChart.d.ts +0 -1
  13. package/lib/CartesianChart.js +0 -2
  14. package/lib/CartesianChart.js.map +0 -1
  15. package/lib/DonutChart.d.ts +0 -1
  16. package/lib/DonutChart.js +0 -2
  17. package/lib/DonutChart.js.map +0 -1
  18. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  19. package/lib/GroupedVerticalBarChart.js +0 -2
  20. package/lib/GroupedVerticalBarChart.js.map +0 -1
  21. package/lib/HeatMapChart.d.ts +0 -1
  22. package/lib/HeatMapChart.js +0 -2
  23. package/lib/HeatMapChart.js.map +0 -1
  24. package/lib/HorizontalBarChart.d.ts +0 -1
  25. package/lib/HorizontalBarChart.js +0 -2
  26. package/lib/HorizontalBarChart.js.map +0 -1
  27. package/lib/Legends.d.ts +0 -1
  28. package/lib/Legends.js +0 -2
  29. package/lib/Legends.js.map +0 -1
  30. package/lib/LineChart.d.ts +0 -1
  31. package/lib/LineChart.js +0 -2
  32. package/lib/LineChart.js.map +0 -1
  33. package/lib/PieChart.d.ts +0 -1
  34. package/lib/PieChart.js +0 -2
  35. package/lib/PieChart.js.map +0 -1
  36. package/lib/SankeyChart.d.ts +0 -1
  37. package/lib/SankeyChart.js +0 -2
  38. package/lib/SankeyChart.js.map +0 -1
  39. package/lib/Sparkline.d.ts +0 -1
  40. package/lib/Sparkline.js +0 -2
  41. package/lib/Sparkline.js.map +0 -1
  42. package/lib/StackedBarChart.d.ts +0 -1
  43. package/lib/StackedBarChart.js +0 -2
  44. package/lib/StackedBarChart.js.map +0 -1
  45. package/lib/Styling.d.ts +0 -2
  46. package/lib/Styling.js +0 -8
  47. package/lib/Styling.js.map +0 -1
  48. package/lib/TreeChart.d.ts +0 -1
  49. package/lib/TreeChart.js +0 -2
  50. package/lib/TreeChart.js.map +0 -1
  51. package/lib/Utilities.d.ts +0 -2
  52. package/lib/Utilities.js +0 -20
  53. package/lib/Utilities.js.map +0 -1
  54. package/lib/VerticalBarChart.d.ts +0 -1
  55. package/lib/VerticalBarChart.js +0 -2
  56. package/lib/VerticalBarChart.js.map +0 -1
  57. package/lib/VerticalStackedBarChart.d.ts +0 -1
  58. package/lib/VerticalStackedBarChart.js +0 -2
  59. package/lib/VerticalStackedBarChart.js.map +0 -1
  60. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -73
  61. package/lib/components/AreaChart/AreaChart.base.js +0 -489
  62. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  63. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  64. package/lib/components/AreaChart/AreaChart.js +0 -6
  65. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  66. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  67. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  68. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  69. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -36
  70. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  71. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  72. package/lib/components/AreaChart/index.d.ts +0 -2
  73. package/lib/components/AreaChart/index.js +0 -3
  74. package/lib/components/AreaChart/index.js.map +0 -1
  75. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  76. package/lib/components/CommonComponents/CartesianChart.base.js +0 -323
  77. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  78. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  79. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  80. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  81. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  82. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  83. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  84. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  85. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  87. package/lib/components/CommonComponents/index.d.ts +0 -2
  88. package/lib/components/CommonComponents/index.js +0 -3
  89. package/lib/components/CommonComponents/index.js.map +0 -1
  90. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -19
  91. package/lib/components/DonutChart/Arc/Arc.js +0 -77
  92. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  93. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  94. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -32
  95. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  96. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  97. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  99. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  100. package/lib/components/DonutChart/Arc/index.js +0 -3
  101. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  102. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -44
  103. package/lib/components/DonutChart/DonutChart.base.js +0 -209
  104. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  105. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  106. package/lib/components/DonutChart/DonutChart.js +0 -6
  107. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  108. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  109. package/lib/components/DonutChart/DonutChart.styles.js +0 -29
  110. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  111. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -53
  112. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  113. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  114. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -12
  115. package/lib/components/DonutChart/Pie/Pie.js +0 -47
  116. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  117. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  118. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -6
  119. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  120. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  121. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  123. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  124. package/lib/components/DonutChart/Pie/index.js +0 -3
  125. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  126. package/lib/components/DonutChart/index.d.ts +0 -3
  127. package/lib/components/DonutChart/index.js +0 -4
  128. package/lib/components/DonutChart/index.js.map +0 -1
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -351
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -11
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  140. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  141. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  142. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  143. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  144. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  146. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  147. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  148. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  149. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -22
  152. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  153. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  155. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  156. package/lib/components/HeatMapChart/index.d.ts +0 -2
  157. package/lib/components/HeatMapChart/index.js +0 -3
  158. package/lib/components/HeatMapChart/index.js.map +0 -1
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -194
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -49
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -2
  170. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  171. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  172. package/lib/components/HorizontalBarChart/index.js +0 -4
  173. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  174. package/lib/components/Legends/Legends.base.d.ts +0 -42
  175. package/lib/components/Legends/Legends.base.js +0 -311
  176. package/lib/components/Legends/Legends.base.js.map +0 -1
  177. package/lib/components/Legends/Legends.d.ts +0 -3
  178. package/lib/components/Legends/Legends.js +0 -5
  179. package/lib/components/Legends/Legends.js.map +0 -1
  180. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  181. package/lib/components/Legends/Legends.styles.js +0 -103
  182. package/lib/components/Legends/Legends.styles.js.map +0 -1
  183. package/lib/components/Legends/Legends.types.d.ts +0 -169
  184. package/lib/components/Legends/Legends.types.js +0 -2
  185. package/lib/components/Legends/Legends.types.js.map +0 -1
  186. package/lib/components/Legends/index.d.ts +0 -3
  187. package/lib/components/Legends/index.js +0 -4
  188. package/lib/components/Legends/index.js.map +0 -1
  189. package/lib/components/Legends/shape.d.ts +0 -9
  190. package/lib/components/Legends/shape.js +0 -24
  191. package/lib/components/Legends/shape.js.map +0 -1
  192. package/lib/components/LineChart/LineChart.base.d.ts +0 -69
  193. package/lib/components/LineChart/LineChart.base.js +0 -768
  194. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  195. package/lib/components/LineChart/LineChart.d.ts +0 -3
  196. package/lib/components/LineChart/LineChart.js +0 -6
  197. package/lib/components/LineChart/LineChart.js.map +0 -1
  198. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  199. package/lib/components/LineChart/LineChart.styles.js +0 -7
  200. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  201. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  202. package/lib/components/LineChart/LineChart.types.js +0 -2
  203. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  206. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  209. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  210. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  212. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  213. package/lib/components/LineChart/index.d.ts +0 -3
  214. package/lib/components/LineChart/index.js +0 -4
  215. package/lib/components/LineChart/index.js.map +0 -1
  216. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  217. package/lib/components/PieChart/Arc/Arc.js +0 -57
  218. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  219. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  220. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  221. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  222. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  223. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  224. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  225. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  226. package/lib/components/PieChart/Arc/index.js +0 -3
  227. package/lib/components/PieChart/Arc/index.js.map +0 -1
  228. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  229. package/lib/components/PieChart/Pie/Pie.js +0 -35
  230. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  231. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  232. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  233. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  234. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  235. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  236. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  237. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  238. package/lib/components/PieChart/Pie/index.js +0 -3
  239. package/lib/components/PieChart/Pie/index.js.map +0 -1
  240. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  241. package/lib/components/PieChart/PieChart.base.js +0 -34
  242. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  243. package/lib/components/PieChart/PieChart.d.ts +0 -3
  244. package/lib/components/PieChart/PieChart.js +0 -6
  245. package/lib/components/PieChart/PieChart.js.map +0 -1
  246. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  247. package/lib/components/PieChart/PieChart.styles.js +0 -29
  248. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  249. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  250. package/lib/components/PieChart/PieChart.types.js +0 -2
  251. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  252. package/lib/components/PieChart/index.d.ts +0 -2
  253. package/lib/components/PieChart/index.js +0 -3
  254. package/lib/components/PieChart/index.js.map +0 -1
  255. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  256. package/lib/components/SankeyChart/SankeyChart.base.js +0 -108
  257. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  258. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  259. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  260. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  261. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  262. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -21
  263. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  264. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  265. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  266. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  267. package/lib/components/SankeyChart/index.d.ts +0 -2
  268. package/lib/components/SankeyChart/index.js +0 -3
  269. package/lib/components/SankeyChart/index.js.map +0 -1
  270. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  271. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  272. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  273. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  274. package/lib/components/Sparkline/Sparkline.js +0 -6
  275. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  276. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  277. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  278. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  279. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  280. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  281. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  282. package/lib/components/Sparkline/index.d.ts +0 -2
  283. package/lib/components/Sparkline/index.js +0 -3
  284. package/lib/components/Sparkline/index.js.map +0 -1
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -293
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -61
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -2
  296. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  297. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -297
  299. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  300. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  301. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  302. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -94
  305. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  306. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  308. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  309. package/lib/components/StackedBarChart/index.d.ts +0 -5
  310. package/lib/components/StackedBarChart/index.js +0 -6
  311. package/lib/components/StackedBarChart/index.js.map +0 -1
  312. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  313. package/lib/components/TreeChart/TreeChart.base.js +0 -303
  314. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  315. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  316. package/lib/components/TreeChart/TreeChart.js +0 -5
  317. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  318. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  319. package/lib/components/TreeChart/TreeChart.styles.js +0 -28
  320. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  321. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -185
  322. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  323. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  324. package/lib/components/TreeChart/index.d.ts +0 -2
  325. package/lib/components/TreeChart/index.js +0 -3
  326. package/lib/components/TreeChart/index.js.map +0 -1
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -482
  329. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  330. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  332. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -22
  335. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  338. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  339. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  340. package/lib/components/VerticalBarChart/index.js +0 -3
  341. package/lib/components/VerticalBarChart/index.js.map +0 -1
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -607
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -12
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  353. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  354. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  355. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  356. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  357. package/lib/index.d.ts +0 -18
  358. package/lib/index.js +0 -19
  359. package/lib/index.js.map +0 -1
  360. package/lib/types/IDataPoint.d.ts +0 -541
  361. package/lib/types/IDataPoint.js +0 -2
  362. package/lib/types/IDataPoint.js.map +0 -1
  363. package/lib/types/IEventAnnotation.d.ts +0 -6
  364. package/lib/types/IEventAnnotation.js +0 -2
  365. package/lib/types/IEventAnnotation.js.map +0 -1
  366. package/lib/types/ILegendDataItem.d.ts +0 -10
  367. package/lib/types/ILegendDataItem.js +0 -2
  368. package/lib/types/ILegendDataItem.js.map +0 -1
  369. package/lib/types/index.d.ts +0 -2
  370. package/lib/types/index.js +0 -3
  371. package/lib/types/index.js.map +0 -1
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  383. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  384. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  385. package/lib/utilities/ChartHoverCard/index.js +0 -4
  386. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  387. package/lib/utilities/index.d.ts +0 -2
  388. package/lib/utilities/index.js +0 -3
  389. package/lib/utilities/index.js.map +0 -1
  390. package/lib/utilities/utilities.d.ts +0 -374
  391. package/lib/utilities/utilities.js +0 -819
  392. package/lib/utilities/utilities.js.map +0 -1
  393. package/lib/version.d.ts +0 -1
  394. package/lib/version.js +0 -5
  395. package/lib/version.js.map +0 -1
  396. package/lib-amd/AreaChart.d.ts +0 -1
  397. package/lib-amd/AreaChart.js +0 -6
  398. package/lib-amd/AreaChart.js.map +0 -1
  399. package/lib-amd/CartesianChart.d.ts +0 -1
  400. package/lib-amd/CartesianChart.js +0 -6
  401. package/lib-amd/CartesianChart.js.map +0 -1
  402. package/lib-amd/DonutChart.d.ts +0 -1
  403. package/lib-amd/DonutChart.js +0 -6
  404. package/lib-amd/DonutChart.js.map +0 -1
  405. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  406. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  407. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  408. package/lib-amd/HeatMapChart.d.ts +0 -1
  409. package/lib-amd/HeatMapChart.js +0 -6
  410. package/lib-amd/HeatMapChart.js.map +0 -1
  411. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  412. package/lib-amd/HorizontalBarChart.js +0 -6
  413. package/lib-amd/HorizontalBarChart.js.map +0 -1
  414. package/lib-amd/Legends.d.ts +0 -1
  415. package/lib-amd/Legends.js +0 -6
  416. package/lib-amd/Legends.js.map +0 -1
  417. package/lib-amd/LineChart.d.ts +0 -1
  418. package/lib-amd/LineChart.js +0 -6
  419. package/lib-amd/LineChart.js.map +0 -1
  420. package/lib-amd/PieChart.d.ts +0 -1
  421. package/lib-amd/PieChart.js +0 -6
  422. package/lib-amd/PieChart.js.map +0 -1
  423. package/lib-amd/SankeyChart.d.ts +0 -1
  424. package/lib-amd/SankeyChart.js +0 -6
  425. package/lib-amd/SankeyChart.js.map +0 -1
  426. package/lib-amd/Sparkline.d.ts +0 -1
  427. package/lib-amd/Sparkline.js +0 -6
  428. package/lib-amd/Sparkline.js.map +0 -1
  429. package/lib-amd/StackedBarChart.d.ts +0 -1
  430. package/lib-amd/StackedBarChart.js +0 -6
  431. package/lib-amd/StackedBarChart.js.map +0 -1
  432. package/lib-amd/Styling.d.ts +0 -2
  433. package/lib-amd/Styling.js +0 -75
  434. package/lib-amd/Styling.js.map +0 -1
  435. package/lib-amd/TreeChart.d.ts +0 -1
  436. package/lib-amd/TreeChart.js +0 -6
  437. package/lib-amd/TreeChart.js.map +0 -1
  438. package/lib-amd/Utilities.d.ts +0 -2
  439. package/lib-amd/Utilities.js +0 -183
  440. package/lib-amd/Utilities.js.map +0 -1
  441. package/lib-amd/VerticalBarChart.d.ts +0 -1
  442. package/lib-amd/VerticalBarChart.js +0 -6
  443. package/lib-amd/VerticalBarChart.js.map +0 -1
  444. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  445. package/lib-amd/VerticalStackedBarChart.js +0 -6
  446. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  447. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -73
  448. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -482
  449. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  450. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  451. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  452. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  453. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  454. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  455. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  456. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -36
  457. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  458. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  459. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  460. package/lib-amd/components/AreaChart/index.js +0 -7
  461. package/lib-amd/components/AreaChart/index.js.map +0 -1
  462. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  463. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -321
  464. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  465. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  466. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  467. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  468. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  469. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  470. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  471. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  472. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  473. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  474. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  475. package/lib-amd/components/CommonComponents/index.js +0 -7
  476. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  477. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -19
  478. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -76
  479. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  480. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  481. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -37
  482. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  483. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  484. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  485. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  486. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  487. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  488. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  489. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -44
  490. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -206
  491. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  492. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  493. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  494. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  495. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  496. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -35
  497. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  498. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -53
  499. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  500. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  501. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -12
  502. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -48
  503. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  504. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  505. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -12
  506. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  507. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  508. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  509. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  510. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  511. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  512. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  513. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  514. package/lib-amd/components/DonutChart/index.js +0 -8
  515. package/lib-amd/components/DonutChart/index.js.map +0 -1
  516. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  517. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -346
  518. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  519. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  520. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -16
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  528. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  529. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  530. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  531. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  532. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  533. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  534. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  535. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  543. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  544. package/lib-amd/components/HeatMapChart/index.js +0 -7
  545. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  546. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  547. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -193
  548. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  549. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  550. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -5
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  558. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  559. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  560. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  561. package/lib-amd/components/Legends/Legends.base.d.ts +0 -42
  562. package/lib-amd/components/Legends/Legends.base.js +0 -307
  563. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  564. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  565. package/lib-amd/components/Legends/Legends.js +0 -7
  566. package/lib-amd/components/Legends/Legends.js.map +0 -1
  567. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  568. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  569. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  570. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  571. package/lib-amd/components/Legends/Legends.types.js +0 -5
  572. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  573. package/lib-amd/components/Legends/index.d.ts +0 -3
  574. package/lib-amd/components/Legends/index.js +0 -8
  575. package/lib-amd/components/Legends/index.js.map +0 -1
  576. package/lib-amd/components/Legends/shape.d.ts +0 -9
  577. package/lib-amd/components/Legends/shape.js +0 -27
  578. package/lib-amd/components/Legends/shape.js.map +0 -1
  579. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -69
  580. package/lib-amd/components/LineChart/LineChart.base.js +0 -762
  581. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  582. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  583. package/lib-amd/components/LineChart/LineChart.js +0 -8
  584. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  585. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  586. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  587. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  588. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  589. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  590. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  591. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  592. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  593. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  594. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  595. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  596. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  597. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  598. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  599. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  600. package/lib-amd/components/LineChart/index.d.ts +0 -3
  601. package/lib-amd/components/LineChart/index.js +0 -8
  602. package/lib-amd/components/LineChart/index.js.map +0 -1
  603. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  604. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  605. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  606. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  607. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  608. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  609. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  610. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  611. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  612. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  613. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  614. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  615. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  616. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  617. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  618. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  619. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  620. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  621. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  622. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  623. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  624. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  625. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  626. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  627. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  628. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  629. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  630. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  631. package/lib-amd/components/PieChart/PieChart.js +0 -8
  632. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  633. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  634. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  635. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  636. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  637. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  638. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  639. package/lib-amd/components/PieChart/index.d.ts +0 -2
  640. package/lib-amd/components/PieChart/index.js +0 -7
  641. package/lib-amd/components/PieChart/index.js.map +0 -1
  642. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  643. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -109
  644. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  645. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  646. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  647. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  648. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  649. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -27
  650. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  651. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  652. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  653. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  654. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  655. package/lib-amd/components/SankeyChart/index.js +0 -7
  656. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  657. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  658. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  659. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  660. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  661. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  662. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  663. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  664. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  665. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  666. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  667. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  668. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  669. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  670. package/lib-amd/components/Sparkline/index.js +0 -7
  671. package/lib-amd/components/Sparkline/index.js.map +0 -1
  672. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  673. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -291
  674. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  675. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  676. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -66
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -5
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  684. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  685. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -295
  686. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  687. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  688. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  696. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  697. package/lib-amd/components/StackedBarChart/index.js +0 -10
  698. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  699. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  700. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -301
  701. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  702. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  703. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  704. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  705. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  706. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -33
  707. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  708. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -185
  709. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  710. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  711. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  712. package/lib-amd/components/TreeChart/index.js +0 -7
  713. package/lib-amd/components/TreeChart/index.js.map +0 -1
  714. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  715. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -476
  716. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  717. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  718. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -27
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  726. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  727. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  728. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  729. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  730. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -601
  731. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  732. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  733. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -17
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  741. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  742. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  743. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  744. package/lib-amd/index.d.ts +0 -18
  745. package/lib-amd/index.js +0 -22
  746. package/lib-amd/index.js.map +0 -1
  747. package/lib-amd/types/IDataPoint.d.ts +0 -541
  748. package/lib-amd/types/IDataPoint.js +0 -5
  749. package/lib-amd/types/IDataPoint.js.map +0 -1
  750. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  751. package/lib-amd/types/IEventAnnotation.js +0 -5
  752. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  753. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  754. package/lib-amd/types/ILegendDataItem.js +0 -5
  755. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  756. package/lib-amd/types/index.d.ts +0 -2
  757. package/lib-amd/types/index.js +0 -7
  758. package/lib-amd/types/index.js.map +0 -1
  759. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  760. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  761. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  762. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  763. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  771. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  772. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  773. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  774. package/lib-amd/utilities/index.d.ts +0 -2
  775. package/lib-amd/utilities/index.js +0 -7
  776. package/lib-amd/utilities/index.js.map +0 -1
  777. package/lib-amd/utilities/utilities.d.ts +0 -374
  778. package/lib-amd/utilities/utilities.js +0 -844
  779. package/lib-amd/utilities/utilities.js.map +0 -1
  780. package/lib-amd/version.d.ts +0 -1
  781. package/lib-amd/version.js +0 -6
  782. package/lib-amd/version.js.map +0 -1
  783. package/lib-commonjs/AreaChart.d.ts +0 -1
  784. package/lib-commonjs/AreaChart.js +0 -5
  785. package/lib-commonjs/AreaChart.js.map +0 -1
  786. package/lib-commonjs/CartesianChart.d.ts +0 -1
  787. package/lib-commonjs/CartesianChart.js +0 -5
  788. package/lib-commonjs/CartesianChart.js.map +0 -1
  789. package/lib-commonjs/DonutChart.d.ts +0 -1
  790. package/lib-commonjs/DonutChart.js +0 -5
  791. package/lib-commonjs/DonutChart.js.map +0 -1
  792. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  793. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  794. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  795. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  796. package/lib-commonjs/HeatMapChart.js +0 -5
  797. package/lib-commonjs/HeatMapChart.js.map +0 -1
  798. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  799. package/lib-commonjs/HorizontalBarChart.js +0 -5
  800. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  801. package/lib-commonjs/Legends.d.ts +0 -1
  802. package/lib-commonjs/Legends.js +0 -5
  803. package/lib-commonjs/Legends.js.map +0 -1
  804. package/lib-commonjs/LineChart.d.ts +0 -1
  805. package/lib-commonjs/LineChart.js +0 -5
  806. package/lib-commonjs/LineChart.js.map +0 -1
  807. package/lib-commonjs/PieChart.d.ts +0 -1
  808. package/lib-commonjs/PieChart.js +0 -5
  809. package/lib-commonjs/PieChart.js.map +0 -1
  810. package/lib-commonjs/SankeyChart.d.ts +0 -1
  811. package/lib-commonjs/SankeyChart.js +0 -5
  812. package/lib-commonjs/SankeyChart.js.map +0 -1
  813. package/lib-commonjs/Sparkline.d.ts +0 -1
  814. package/lib-commonjs/Sparkline.js +0 -5
  815. package/lib-commonjs/Sparkline.js.map +0 -1
  816. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  817. package/lib-commonjs/StackedBarChart.js +0 -5
  818. package/lib-commonjs/StackedBarChart.js.map +0 -1
  819. package/lib-commonjs/Styling.d.ts +0 -2
  820. package/lib-commonjs/Styling.js +0 -75
  821. package/lib-commonjs/Styling.js.map +0 -1
  822. package/lib-commonjs/TreeChart.d.ts +0 -1
  823. package/lib-commonjs/TreeChart.js +0 -5
  824. package/lib-commonjs/TreeChart.js.map +0 -1
  825. package/lib-commonjs/Utilities.d.ts +0 -2
  826. package/lib-commonjs/Utilities.js +0 -185
  827. package/lib-commonjs/Utilities.js.map +0 -1
  828. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  829. package/lib-commonjs/VerticalBarChart.js +0 -5
  830. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  831. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  832. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  833. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  834. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -73
  835. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -492
  836. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  837. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -3
  838. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -9
  839. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  840. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  841. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  842. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  843. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -36
  844. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  845. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  846. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  847. package/lib-commonjs/components/AreaChart/index.js +0 -6
  848. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  849. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  850. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -326
  851. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  852. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -3
  853. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -8
  854. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  855. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  856. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -167
  857. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  858. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -400
  859. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  860. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  861. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  862. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  863. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  864. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -19
  865. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -80
  866. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  867. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  868. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -36
  869. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  870. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -112
  871. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  872. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  873. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  874. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  875. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  876. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -44
  877. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -212
  878. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  879. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -3
  880. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -9
  881. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  882. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  883. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -33
  884. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  885. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -53
  886. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  887. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  888. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -12
  889. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -50
  890. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  891. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  892. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -10
  893. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  894. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -78
  895. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  896. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  897. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  898. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  899. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  900. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  901. package/lib-commonjs/components/DonutChart/index.js +0 -7
  902. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  903. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -49
  904. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -354
  905. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  906. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  907. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -9
  908. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  909. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  910. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -15
  911. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  912. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -74
  913. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  914. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  915. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  916. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  917. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  918. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -145
  919. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -501
  920. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  921. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  922. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -8
  923. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  924. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  925. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -26
  926. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  927. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  928. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  929. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  930. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  931. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  932. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  933. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -34
  934. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -197
  935. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  936. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  937. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -9
  938. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  939. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  940. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -53
  941. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  942. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -130
  943. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -3
  944. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  945. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  946. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  947. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  948. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -42
  949. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  950. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  951. package/lib-commonjs/components/Legends/Legends.d.ts +0 -3
  952. package/lib-commonjs/components/Legends/Legends.js +0 -8
  953. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  954. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  955. package/lib-commonjs/components/Legends/Legends.styles.js +0 -107
  956. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  957. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -169
  958. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  959. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  960. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  961. package/lib-commonjs/components/Legends/index.js +0 -7
  962. package/lib-commonjs/components/Legends/index.js.map +0 -1
  963. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  964. package/lib-commonjs/components/Legends/shape.js +0 -28
  965. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  966. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -69
  967. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -771
  968. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  969. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -3
  970. package/lib-commonjs/components/LineChart/LineChart.js +0 -9
  971. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  972. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  973. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  974. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  975. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -72
  976. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  977. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  978. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  979. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  980. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  981. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  982. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -41
  983. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  984. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  985. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  986. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  987. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  988. package/lib-commonjs/components/LineChart/index.js +0 -7
  989. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  990. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -12
  991. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -60
  992. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  993. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  994. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -12
  995. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  996. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -60
  997. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  998. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  999. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1000. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1001. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1002. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1003. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -38
  1004. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1005. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1006. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1007. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1008. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -46
  1009. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1010. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1011. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1012. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1013. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1014. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -7
  1015. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -37
  1016. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1017. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -3
  1018. package/lib-commonjs/components/PieChart/PieChart.js +0 -9
  1019. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1020. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1021. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1022. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1023. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -63
  1024. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1025. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1026. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1027. package/lib-commonjs/components/PieChart/index.js +0 -6
  1028. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1029. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -18
  1030. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -111
  1031. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1032. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -3
  1033. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -9
  1034. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1035. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1036. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -25
  1037. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1038. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -63
  1039. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1040. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1041. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1042. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1043. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1044. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -20
  1045. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -79
  1046. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1047. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -3
  1048. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -9
  1049. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1050. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1051. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1052. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1053. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -51
  1054. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1055. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1056. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1057. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1058. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1059. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -41
  1060. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -296
  1061. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1062. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  1063. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -9
  1064. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1065. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1066. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -65
  1067. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1068. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -154
  1069. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -3
  1070. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1071. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -39
  1072. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -300
  1073. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1074. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  1075. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -9
  1076. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1077. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1078. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -98
  1079. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1080. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -202
  1081. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1082. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1083. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1084. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1085. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1086. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1087. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -306
  1088. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1089. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -3
  1090. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -8
  1091. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1092. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1093. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -32
  1094. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1095. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -185
  1096. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -26
  1097. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1098. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1099. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1100. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1101. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -57
  1102. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -485
  1103. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1104. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  1105. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -9
  1106. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1107. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1108. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -26
  1109. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1110. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -105
  1111. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1112. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1113. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1114. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1115. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1116. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -71
  1117. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -610
  1118. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1119. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  1120. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -9
  1121. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1122. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1123. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -16
  1124. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1125. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -133
  1126. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1127. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1128. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1129. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1130. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1131. package/lib-commonjs/index.d.ts +0 -18
  1132. package/lib-commonjs/index.js +0 -22
  1133. package/lib-commonjs/index.js.map +0 -1
  1134. package/lib-commonjs/types/IDataPoint.d.ts +0 -541
  1135. package/lib-commonjs/types/IDataPoint.js +0 -3
  1136. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1137. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1138. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1139. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1140. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1141. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1142. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1143. package/lib-commonjs/types/index.d.ts +0 -2
  1144. package/lib-commonjs/types/index.js +0 -6
  1145. package/lib-commonjs/types/index.js.map +0 -1
  1146. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1147. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1148. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1149. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1150. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1151. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1152. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1153. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -86
  1154. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1155. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1156. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1157. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1158. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1159. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1160. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1161. package/lib-commonjs/utilities/index.d.ts +0 -2
  1162. package/lib-commonjs/utilities/index.js +0 -6
  1163. package/lib-commonjs/utilities/index.js.map +0 -1
  1164. package/lib-commonjs/utilities/utilities.d.ts +0 -374
  1165. package/lib-commonjs/utilities/utilities.js +0 -849
  1166. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1167. package/lib-commonjs/version.d.ts +0 -1
  1168. package/lib-commonjs/version.js +0 -7
  1169. package/lib-commonjs/version.js.map +0 -1
@@ -1,482 +0,0 @@
1
- import { __assign, __extends } from "tslib";
2
- import * as React from 'react';
3
- import { max as d3Max } from 'd3-array';
4
- import { line as d3Line } from 'd3-shape';
5
- import { select as d3Select } from 'd3-selection';
6
- import { scaleLinear as d3ScaleLinear, scaleBand as d3ScaleBand } from 'd3-scale';
7
- import { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';
8
- import { DirectionalHint } from '@fluentui/react/lib/Callout';
9
- import { CartesianChart, ChartHoverCard, Legends, } from '../../index';
10
- import { FocusZoneDirection } from '@fluentui/react-focus';
11
- import { ChartTypes, getAccessibleDataObject, XAxisTypes, getTypeOfAxis, tooltipOfXAxislabels, } from '../../utilities/index';
12
- var CircleVisbility;
13
- (function (CircleVisbility) {
14
- CircleVisbility["show"] = "visibility";
15
- CircleVisbility["hide"] = "hidden";
16
- })(CircleVisbility || (CircleVisbility = {}));
17
- var getClassNames = classNamesFunction();
18
- var VerticalBarChartBase = /** @class */ (function (_super) {
19
- __extends(VerticalBarChartBase, _super);
20
- function VerticalBarChartBase(props) {
21
- var _this = _super.call(this, props) || this;
22
- _this._isRtl = getRTL();
23
- _this._createLine = function (
24
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
25
- xScale,
26
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
27
- yScale, containerHeight, containerWidth) {
28
- var _a;
29
- if (containerHeight === void 0) { containerHeight = 0; }
30
- if (containerWidth === void 0) { containerWidth = 0; }
31
- var isNumericAxis = _this._xAxisType === XAxisTypes.NumericAxis;
32
- var xBarScale = _this._getScales(containerHeight, containerWidth, isNumericAxis).xBarScale;
33
- var colorScale = _this._createColors();
34
- var theme = _this.props.theme;
35
- var _b = _this.props, data = _b.data, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c, lineLegendText = _b.lineLegendText;
36
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
37
- var lineData = [];
38
- var line = [];
39
- data &&
40
- data.forEach(function (item, index) {
41
- if (item.lineData && item.lineData.y) {
42
- lineData.push({ x: item.x, y: item.lineData.y, point: item, index: index });
43
- }
44
- });
45
- var linePath = d3Line()
46
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
47
- .x(function (d) { return (!isNumericAxis ? xBarScale(d.index) + 0.5 * _this._barWidth : xScale(d.x)); })
48
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
49
- .y(function (d) { return yScale(d.y); });
50
- var shouldHighlight = true;
51
- if (_this.state.isLegendHovered || _this.state.isLegendSelected) {
52
- shouldHighlight = _this.state.selectedLegendTitle === lineLegendText;
53
- }
54
- var lineBorderWidth = ((_a = _this.props.lineOptions) === null || _a === void 0 ? void 0 : _a.lineBorderWidth)
55
- ? Number.parseFloat(_this.props.lineOptions.lineBorderWidth.toString())
56
- : 0;
57
- if (lineBorderWidth > 0) {
58
- 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 }));
59
- }
60
- line.push(React.createElement("path", { opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3, stroke: lineLegendColor }));
61
- var dots = lineData.map(function (item, index) {
62
- var _a;
63
- 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 }));
64
- });
65
- return (React.createElement(React.Fragment, null,
66
- line,
67
- dots));
68
- };
69
- _this._checkForLine = function () {
70
- var data = _this.props.data;
71
- 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; });
72
- };
73
- _this._getMargins = function (margins) {
74
- _this.margins = margins;
75
- };
76
- _this._renderContentForBothLineAndBars = function (point) {
77
- var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
78
- var content = YValueHover.map(function (item, index) {
79
- return (React.createElement(ChartHoverCard, __assign({ key: index, Legend: item.legend }, (index === 0 && { XValue: "" + (hoverXValue || item.data) }), { color: item.color, YValue: item.data || item.y, culture: _this.props.culture })));
80
- });
81
- return React.createElement(React.Fragment, null, content);
82
- };
83
- _this._renderContentForOnlyBars = function (props) {
84
- var _a = _this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
85
- return (React.createElement(React.Fragment, null,
86
- React.createElement(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 })));
87
- };
88
- _this._renderCallout = function (props) {
89
- return props
90
- ? _this._isHavingLine
91
- ? _this._renderContentForBothLineAndBars(props)
92
- : _this._renderContentForOnlyBars(props)
93
- : null;
94
- };
95
- _this._getCustomizedCallout = function () {
96
- return _this.props.onRenderCalloutPerDataPoint
97
- ? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps, _this._renderCallout)
98
- : null;
99
- };
100
- _this._getGraphData = function (xScale, yScale, containerHeight, containerWidth, xElement) {
101
- return (_this._bars =
102
- _this._xAxisType === XAxisTypes.NumericAxis
103
- ? _this._createNumericBars(containerHeight, containerWidth, xElement)
104
- : _this._createStringBars(containerHeight, containerWidth, xElement));
105
- };
106
- _this._refCallback = function (element, legendTitle) {
107
- _this._refArray.push({ index: legendTitle, refElement: element });
108
- };
109
- _this._getCalloutContentForLineAndBar = function (point) {
110
- var _a, _b, _c, _d;
111
- var YValueHover = [];
112
- var _e = _this.props, theme = _e.theme, _f = _e.useSingleColor, useSingleColor = _f === void 0 ? false : _f;
113
- var _g = _this.props, data = _g.data, lineLegendText = _g.lineLegendText, _h = _g.lineLegendColor, lineLegendColor = _h === void 0 ? theme.palette.yellow : _h;
114
- var selectedPoint = data.filter(function (xDataPoint) { return xDataPoint.x === point.x; });
115
- // there might be no y value of the line for the hovered bar. so we need to check this condition
116
- if (_this._isHavingLine && ((_a = selectedPoint[0].lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined) {
117
- // callout data for the line
118
- YValueHover.push({
119
- legend: lineLegendText,
120
- color: lineLegendColor,
121
- y: (_b = selectedPoint[0].lineData) === null || _b === void 0 ? void 0 : _b.y,
122
- data: (_c = selectedPoint[0].lineData) === null || _c === void 0 ? void 0 : _c.yAxisCalloutData,
123
- yAxisCalloutData: (_d = selectedPoint[0].lineData) === null || _d === void 0 ? void 0 : _d.yAxisCalloutData,
124
- });
125
- }
126
- // callout data for the bar
127
- YValueHover.push({
128
- legend: selectedPoint[0].legend,
129
- y: selectedPoint[0].y,
130
- color: !useSingleColor
131
- ? selectedPoint[0].color
132
- ? selectedPoint[0].color
133
- : _this._createColors()(selectedPoint[0].y)
134
- : _this._createColors()(1),
135
- data: selectedPoint[0].yAxisCalloutData,
136
- yAxisCalloutData: selectedPoint[0].yAxisCalloutData,
137
- });
138
- return { YValueHover: YValueHover, hoverXValue: point.xAxisCalloutData || point.x.toString() };
139
- };
140
- _this._onBarLeave = function () {
141
- /**/
142
- };
143
- _this._handleChartMouseLeave = function () {
144
- _this._calloutAnchorPoint = null;
145
- _this.setState({
146
- isCalloutVisible: false,
147
- activeXdataPoint: null,
148
- YValueHover: [],
149
- hoverXValue: '',
150
- });
151
- };
152
- _this._onBarFocus = function (point, refArrayIndexNumber, color) {
153
- if (_this.state.isLegendSelected === false ||
154
- (_this.state.isLegendSelected && _this.state.selectedLegendTitle === point.legend)) {
155
- var _a = _this._getCalloutContentForLineAndBar(point), YValueHover_1 = _a.YValueHover, hoverXValue_1 = _a.hoverXValue;
156
- _this._refArray.forEach(function (obj, index) {
157
- if (obj.index === point.legend && refArrayIndexNumber === index) {
158
- _this.setState({
159
- refSelected: obj.refElement,
160
- isCalloutVisible: true,
161
- selectedLegendTitle: point.legend,
162
- dataForHoverCard: point.y,
163
- color: point.color || color,
164
- xCalloutValue: point.xAxisCalloutData || point.x.toString(),
165
- yCalloutValue: point.yAxisCalloutData,
166
- dataPointCalloutProps: point,
167
- activeXdataPoint: point.x,
168
- YValueHover: YValueHover_1,
169
- hoverXValue: hoverXValue_1,
170
- callOutAccessibilityData: point.callOutAccessibilityData,
171
- });
172
- }
173
- });
174
- }
175
- };
176
- _this._getScales = function (containerHeight, containerWidth, isNumericScale) {
177
- if (isNumericScale) {
178
- var xMax = d3Max(_this._points, function (point) { return point.x; });
179
- var xBarScale = d3ScaleLinear()
180
- .domain(_this._isRtl ? [xMax, 0] : [0, xMax])
181
- .nice()
182
- .range([
183
- _this.margins.left + _this._barWidth / 2,
184
- containerWidth - _this.margins.right - _this._barWidth - _this._barWidth / 2,
185
- ]);
186
- var yBarScale = d3ScaleLinear()
187
- .domain([0, _this._yMax])
188
- .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
189
- return { xBarScale: xBarScale, yBarScale: yBarScale };
190
- }
191
- else {
192
- var xBarScale = d3ScaleBand()
193
- .domain(_this._xAxisLabels)
194
- .range([_this.margins.left, containerWidth - _this.margins.right])
195
- .padding(_this.props.xAxisPadding || 0.1);
196
- var yBarScale = d3ScaleLinear()
197
- .domain([0, _this._yMax])
198
- .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
199
- return { xBarScale: xBarScale, yBarScale: yBarScale };
200
- }
201
- };
202
- _this._closeCallout = function () {
203
- _this.setState({
204
- isCalloutVisible: false,
205
- });
206
- };
207
- _this._getLegendData = function (data, palette) {
208
- var _a = _this.props, theme = _a.theme, useSingleColor = _a.useSingleColor;
209
- var _b = _this.props, lineLegendText = _b.lineLegendText, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
210
- var actions = [];
211
- data.forEach(function (point, _index) {
212
- var color = !useSingleColor ? point.color : _this._createColors()(1);
213
- // mapping data to the format Legends component needs
214
- var legend = {
215
- title: point.legend,
216
- color: color,
217
- action: function () {
218
- _this._onLegendClick(point.legend);
219
- },
220
- hoverAction: function () {
221
- _this._onLegendHover(point.legend);
222
- },
223
- onMouseOutAction: function (isLegendSelected) {
224
- _this._onLegendLeave(isLegendSelected);
225
- },
226
- };
227
- actions.push(legend);
228
- });
229
- if (_this._isHavingLine && lineLegendText && lineLegendColor) {
230
- var lineLegend = {
231
- title: lineLegendText,
232
- color: lineLegendColor,
233
- action: function () {
234
- _this._onLegendClick(lineLegendText);
235
- },
236
- hoverAction: function () {
237
- _this._onLegendHover(lineLegendText);
238
- },
239
- onMouseOutAction: function (isLegendSelected) {
240
- _this._onLegendLeave(isLegendSelected);
241
- },
242
- isLineLegendInBarChart: true,
243
- };
244
- actions.unshift(lineLegend);
245
- }
246
- var legends = (React.createElement(Legends, __assign({ legends: actions, enabledWrapLines: _this.props.enabledLegendsWrapLines, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps)));
247
- return legends;
248
- };
249
- _this._getAxisData = function (yAxisData) {
250
- if (yAxisData && yAxisData.yAxisDomainValues.length) {
251
- var domainValue = yAxisData.yAxisDomainValues;
252
- _this._yMax = Math.max(domainValue[domainValue.length - 1], _this.props.yMaxValue || 0);
253
- }
254
- };
255
- _this.state = {
256
- color: '',
257
- dataForHoverCard: 0,
258
- isCalloutVisible: false,
259
- isLegendSelected: false,
260
- isLegendHovered: false,
261
- refSelected: null,
262
- selectedLegendTitle: '',
263
- xCalloutValue: '',
264
- yCalloutValue: '',
265
- activeXdataPoint: null,
266
- YValueHover: [],
267
- hoverXValue: '',
268
- };
269
- _this._isHavingLine = _this._checkForLine();
270
- _this._calloutId = getId('callout');
271
- _this._tooltipId = getId('VCTooltipID_');
272
- _this._refArray = [];
273
- _this._xAxisType =
274
- _this.props.data && _this.props.data.length > 0
275
- ? getTypeOfAxis(_this.props.data[0].x, true)
276
- : XAxisTypes.StringAxis;
277
- return _this;
278
- }
279
- VerticalBarChartBase.prototype.render = function () {
280
- var _this = this;
281
- this._adjustProps();
282
- this._xAxisLabels = this._points.map(function (point) { return point.x; });
283
- this._yMax = Math.max(d3Max(this._points, function (point) { return point.y; }), this.props.yMaxValue || 0);
284
- var legendBars = this._getLegendData(this._points, this.props.theme.palette);
285
- this._classNames = getClassNames(this.props.styles, {
286
- theme: this.props.theme,
287
- legendColor: this.state.color,
288
- });
289
- var calloutProps = __assign(__assign(__assign(__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: DirectionalHint.topAutoEdge, id: "toolTip" + this._calloutId, target: this.state.refSelected, isBeakVisible: false }, (this._isHavingLine && {
290
- YValueHover: this.state.YValueHover,
291
- hoverXValue: this.state.hoverXValue,
292
- })), { 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), getAccessibleDataObject(this.state.callOutAccessibilityData));
293
- var tickParams = {
294
- tickValues: this.props.tickValues,
295
- tickFormat: this.props.tickFormat,
296
- };
297
- return (React.createElement(CartesianChart, __assign({}, this.props, { points: this._points, chartType: ChartTypes.VerticalBarChart, xAxisType: this._xAxisType, calloutProps: calloutProps, tickParams: tickParams }, (this._isHavingLine && { isCalloutForStack: true }), { legendBars: legendBars, datasetForXAxisDomain: this._xAxisLabels, barwidth: this._barWidth, focusZoneDirection: FocusZoneDirection.horizontal, customizedCallout: this._getCustomizedCallout(), getmargins: this._getMargins, getGraphData: this._getGraphData, getAxisData: this._getAxisData, onChartMouseLeave: this._handleChartMouseLeave,
298
- /* eslint-disable react/jsx-no-bind */
299
- // eslint-disable-next-line react/no-children-prop
300
- children: function (props) {
301
- return (React.createElement(React.Fragment, null,
302
- React.createElement("g", null, _this._bars),
303
- _this._isHavingLine && (React.createElement("g", null, _this._createLine(props.xScale, props.yScale, props.containerHeight, props.containerWidth)))));
304
- } })));
305
- };
306
- VerticalBarChartBase.prototype._adjustProps = function () {
307
- this._points = this.props.data || [];
308
- this._barWidth = this.props.barWidth || 32;
309
- var palette = this.props.theme.palette;
310
- this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.blueDark];
311
- this._isHavingLine = this._checkForLine();
312
- };
313
- VerticalBarChartBase.prototype._createColors = function () {
314
- var _this = this;
315
- var increment = this._colors.length <= 1 ? 1 : 1 / (this._colors.length - 1);
316
- var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
317
- if (useSingleColor) {
318
- return function (_p) {
319
- var _a = _this.props, theme = _a.theme, colors = _a.colors;
320
- return colors && colors.length > 0 ? colors[0] : theme.palette.blueLight;
321
- };
322
- }
323
- var domainValues = [];
324
- for (var i = 0; i < this._colors.length; i++) {
325
- domainValues.push(increment * i * this._yMax);
326
- }
327
- var colorScale = d3ScaleLinear().domain(domainValues).range(this._colors);
328
- return colorScale;
329
- };
330
- VerticalBarChartBase.prototype._onBarHover = function (point, color, mouseEvent) {
331
- mouseEvent.persist();
332
- var _a = this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
333
- if ((this.state.isLegendSelected === false ||
334
- (this.state.isLegendSelected && this.state.selectedLegendTitle === point.legend)) &&
335
- this._calloutAnchorPoint !== point) {
336
- this._calloutAnchorPoint = point;
337
- this.setState({
338
- refSelected: mouseEvent,
339
- isCalloutVisible: true,
340
- dataForHoverCard: point.y,
341
- selectedLegendTitle: point.legend,
342
- color: point.color || color,
343
- // To display callout value, if no callout value given, taking given point.x value as a string.
344
- xCalloutValue: point.xAxisCalloutData || point.x.toString(),
345
- yCalloutValue: point.yAxisCalloutData,
346
- dataPointCalloutProps: point,
347
- activeXdataPoint: point.x,
348
- YValueHover: YValueHover,
349
- hoverXValue: hoverXValue,
350
- callOutAccessibilityData: point.callOutAccessibilityData,
351
- });
352
- }
353
- };
354
- VerticalBarChartBase.prototype._createNumericBars = function (containerHeight, containerWidth, xElement) {
355
- var _this = this;
356
- var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
357
- var _b = this._getScales(containerHeight, containerWidth, true), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
358
- var colorScale = this._createColors();
359
- var bars = this._points.map(function (point, index) {
360
- var shouldHighlight = true;
361
- if (_this.state.isLegendHovered || _this.state.isLegendSelected) {
362
- shouldHighlight = _this.state.selectedLegendTitle === point.legend;
363
- }
364
- _this._classNames = getClassNames(_this.props.styles, {
365
- theme: _this.props.theme,
366
- legendColor: _this.state.color,
367
- shouldHighlight: shouldHighlight,
368
- });
369
- var barHeight = Math.max(yBarScale(point.y), 0);
370
- if (barHeight < 1) {
371
- return React.createElement(React.Fragment, { key: point.x }, " ");
372
- }
373
- 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) {
374
- _this._refCallback(e, point.legend);
375
- }, 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) }));
376
- });
377
- // Removing un wanted tooltip div from DOM, when prop not provided.
378
- if (!this.props.showXAxisLablesTooltip) {
379
- try {
380
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
381
- // eslint-disable-next-line no-empty
382
- }
383
- catch (e) { }
384
- }
385
- // Used to display tooltip at x axis labels.
386
- if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
387
- var xAxisElement = d3Select(xElement).call(xBarScale);
388
- try {
389
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
390
- // eslint-disable-next-line no-empty
391
- }
392
- catch (e) { }
393
- var tooltipProps = {
394
- tooltipCls: this._classNames.tooltip,
395
- id: this._tooltipId,
396
- xAxis: xAxisElement,
397
- };
398
- xAxisElement && tooltipOfXAxislabels(tooltipProps);
399
- }
400
- return bars;
401
- };
402
- VerticalBarChartBase.prototype._createStringBars = function (containerHeight, containerWidth, xElement) {
403
- var _this = this;
404
- var _a = this._getScales(containerHeight, containerWidth, false), xBarScale = _a.xBarScale, yBarScale = _a.yBarScale;
405
- var colorScale = this._createColors();
406
- var bars = this._points.map(function (point, index) {
407
- var barHeight = Math.max(yBarScale(point.y), 0);
408
- if (barHeight < 1) {
409
- return React.createElement(React.Fragment, { key: point.x }, " ");
410
- }
411
- 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) {
412
- _this._refCallback(e, point.legend);
413
- }, 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)" }));
414
- });
415
- // Removing un wanted tooltip div from DOM, when prop not provided.
416
- if (!this.props.showXAxisLablesTooltip) {
417
- try {
418
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
419
- // eslint-disable-next-line no-empty
420
- }
421
- catch (e) { }
422
- }
423
- // Used to display tooltip at x axis labels.
424
- if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
425
- var xAxisElement = d3Select(xElement).call(xBarScale);
426
- try {
427
- document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
428
- // eslint-disable-next-line no-empty
429
- }
430
- catch (e) { }
431
- var tooltipProps = {
432
- tooltipCls: this._classNames.tooltip,
433
- id: this._tooltipId,
434
- xAxis: xAxisElement,
435
- showTooltip: this.props.showXAxisLablesTooltip,
436
- };
437
- xAxisElement && tooltipOfXAxislabels(tooltipProps);
438
- }
439
- return bars;
440
- };
441
- VerticalBarChartBase.prototype._onLegendClick = function (customMessage) {
442
- if (this.state.isLegendSelected) {
443
- if (this.state.selectedLegendTitle === customMessage) {
444
- this.setState({
445
- isLegendSelected: false,
446
- selectedLegendTitle: customMessage,
447
- });
448
- }
449
- else {
450
- this.setState({
451
- selectedLegendTitle: customMessage,
452
- });
453
- }
454
- }
455
- else {
456
- this.setState({
457
- isLegendSelected: true,
458
- selectedLegendTitle: customMessage,
459
- });
460
- }
461
- };
462
- VerticalBarChartBase.prototype._onLegendHover = function (customMessage) {
463
- if (this.state.isLegendSelected === false) {
464
- this.setState({
465
- isLegendHovered: true,
466
- selectedLegendTitle: customMessage,
467
- });
468
- }
469
- };
470
- VerticalBarChartBase.prototype._onLegendLeave = function (isLegendFocused) {
471
- if (!!isLegendFocused || this.state.isLegendSelected === false) {
472
- this.setState({
473
- isLegendHovered: false,
474
- selectedLegendTitle: '',
475
- isLegendSelected: isLegendFocused ? false : this.state.isLegendSelected,
476
- });
477
- }
478
- };
479
- return VerticalBarChartBase;
480
- }(React.Component));
481
- export { VerticalBarChartBase };
482
- //# 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":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAA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CAAC;oBACZ,gBAAgB,EAAE,KAAK;oBACvB,mBAAmB,EAAE,aAAa;iBACnC,CAAC,CAAC;aACJ;iBAAM;gBACL,IAAI,CAAC,QAAQ,CAAC;oBACZ,mBAAmB,EAAE,aAAa;iBACnC,CAAC,CAAC;aACJ;SACF;aAAM;YACL,IAAI,CAAC,QAAQ,CAAC;gBACZ,gBAAgB,EAAE,IAAI;gBACtB,mBAAmB,EAAE,aAAa;aACnC,CAAC,CAAC;SACJ;IACH,CAAC;IAEO,6CAAc,GAAtB,UAAuB,aAAqB;QAC1C,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,KAAK,KAAK,EAAE;YACzC,IAAI,CAAC,QAAQ,CAAC;gBACZ,eAAe,EAAE,IAAI;gBACrB,mBAAmB,EAAE,aAAa;aACnC,CAAC,CAAC;SACJ;IACH,CAAC;IAEO,6CAAc,GAAtB,UAAuB,eAAyB;QAC9C,IAAI,CAAC,CAAC,eAAe,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,KAAK,KAAK,EAAE;YAC9D,IAAI,CAAC,QAAQ,CAAC;gBACZ,eAAe,EAAE,KAAK;gBACtB,mBAAmB,EAAE,EAAE;gBACvB,gBAAgB,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB;aACxE,CAAC,CAAC;SACJ;IACH,CAAC;IA4DH,2BAAC;AAAD,CAAC,AAppBD,CAA0C,KAAK,CAAC,SAAS,GAopBxD","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,6 +0,0 @@
1
- import { styled } from '../../Utilities';
2
- import { VerticalBarChartBase } from './VerticalBarChart.base';
3
- import { getStyles } from './VerticalBarChart.styles';
4
- // Create a VerticalBarChart variant which uses these default styles and this styled subcomponent.
5
- export var VerticalBarChart = styled(VerticalBarChartBase, getStyles);
6
- //# sourceMappingURL=VerticalBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalBarChart.js","sourceRoot":"../src/","sources":["components/VerticalBarChart/VerticalBarChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,kGAAkG;AAClG,MAAM,CAAC,IAAM,gBAAgB,GAAoD,MAAM,CAIrF,oBAAoB,EAAE,SAAS,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;
@@ -1,22 +0,0 @@
1
- import { __assign } from "tslib";
2
- export var getStyles = function (props) {
3
- var shouldHighlight = props.shouldHighlight, theme = props.theme;
4
- return {
5
- opacityChangeOnHover: {
6
- opacity: shouldHighlight ? '' : '0.1',
7
- },
8
- xAxisTicks: [],
9
- yAxisTicks: [
10
- {
11
- transform: 'scaleX(-1)',
12
- },
13
- ],
14
- yAxisDomain: [
15
- {
16
- transform: 'scaleX(-1)',
17
- },
18
- ],
19
- tooltip: __assign(__assign({}, theme.fonts.medium), { display: 'flex', flexDirection: 'column', padding: '8px', position: 'absolute', textAlign: 'center', top: '0px', background: theme.semanticColors.bodyBackground, borderRadius: '2px', pointerEvents: 'none' }),
20
- };
21
- };
22
- //# sourceMappingURL=VerticalBarChart.styles.js.map