@fluentui/react-charting 5.16.22 → 5.16.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/CHANGELOG.json +34 -1
  2. package/CHANGELOG.md +14 -2
  3. package/lib-commonjs/version.js +1 -1
  4. package/lib-commonjs/version.js.map +1 -1
  5. package/package.json +6 -6
  6. package/dist/react-charting.js +0 -1
  7. package/dist/react-charting.min.js +0 -1
  8. package/lib/AreaChart.d.ts +0 -1
  9. package/lib/AreaChart.js +0 -2
  10. package/lib/AreaChart.js.map +0 -1
  11. package/lib/CartesianChart.d.ts +0 -1
  12. package/lib/CartesianChart.js +0 -2
  13. package/lib/CartesianChart.js.map +0 -1
  14. package/lib/DonutChart.d.ts +0 -1
  15. package/lib/DonutChart.js +0 -2
  16. package/lib/DonutChart.js.map +0 -1
  17. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  18. package/lib/GroupedVerticalBarChart.js +0 -2
  19. package/lib/GroupedVerticalBarChart.js.map +0 -1
  20. package/lib/HeatMapChart.d.ts +0 -1
  21. package/lib/HeatMapChart.js +0 -2
  22. package/lib/HeatMapChart.js.map +0 -1
  23. package/lib/HorizontalBarChart.d.ts +0 -1
  24. package/lib/HorizontalBarChart.js +0 -2
  25. package/lib/HorizontalBarChart.js.map +0 -1
  26. package/lib/Legends.d.ts +0 -1
  27. package/lib/Legends.js +0 -2
  28. package/lib/Legends.js.map +0 -1
  29. package/lib/LineChart.d.ts +0 -1
  30. package/lib/LineChart.js +0 -2
  31. package/lib/LineChart.js.map +0 -1
  32. package/lib/PieChart.d.ts +0 -1
  33. package/lib/PieChart.js +0 -2
  34. package/lib/PieChart.js.map +0 -1
  35. package/lib/SankeyChart.d.ts +0 -1
  36. package/lib/SankeyChart.js +0 -2
  37. package/lib/SankeyChart.js.map +0 -1
  38. package/lib/Sparkline.d.ts +0 -1
  39. package/lib/Sparkline.js +0 -2
  40. package/lib/Sparkline.js.map +0 -1
  41. package/lib/StackedBarChart.d.ts +0 -1
  42. package/lib/StackedBarChart.js +0 -2
  43. package/lib/StackedBarChart.js.map +0 -1
  44. package/lib/Styling.d.ts +0 -2
  45. package/lib/Styling.js +0 -8
  46. package/lib/Styling.js.map +0 -1
  47. package/lib/TreeChart.d.ts +0 -1
  48. package/lib/TreeChart.js +0 -2
  49. package/lib/TreeChart.js.map +0 -1
  50. package/lib/Utilities.d.ts +0 -2
  51. package/lib/Utilities.js +0 -20
  52. package/lib/Utilities.js.map +0 -1
  53. package/lib/VerticalBarChart.d.ts +0 -1
  54. package/lib/VerticalBarChart.js +0 -2
  55. package/lib/VerticalBarChart.js.map +0 -1
  56. package/lib/VerticalStackedBarChart.d.ts +0 -1
  57. package/lib/VerticalStackedBarChart.js +0 -2
  58. package/lib/VerticalStackedBarChart.js.map +0 -1
  59. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -92
  60. package/lib/components/AreaChart/AreaChart.base.js +0 -562
  61. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  62. package/lib/components/AreaChart/AreaChart.d.ts +0 -3
  63. package/lib/components/AreaChart/AreaChart.js +0 -6
  64. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  65. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  66. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  67. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  68. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -37
  69. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  70. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  71. package/lib/components/AreaChart/index.d.ts +0 -2
  72. package/lib/components/AreaChart/index.js +0 -3
  73. package/lib/components/AreaChart/index.js.map +0 -1
  74. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  75. package/lib/components/CommonComponents/CartesianChart.base.js +0 -331
  76. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  77. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
  78. package/lib/components/CommonComponents/CartesianChart.js +0 -5
  79. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  80. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  81. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
  82. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  83. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  84. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  85. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  86. package/lib/components/CommonComponents/index.d.ts +0 -2
  87. package/lib/components/CommonComponents/index.js +0 -3
  88. package/lib/components/CommonComponents/index.js.map +0 -1
  89. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  90. package/lib/components/DonutChart/Arc/Arc.js +0 -86
  91. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  92. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  93. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -28
  94. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  95. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  96. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  97. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  98. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  99. package/lib/components/DonutChart/Arc/index.js +0 -3
  100. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  101. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -50
  102. package/lib/components/DonutChart/DonutChart.base.js +0 -211
  103. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  104. package/lib/components/DonutChart/DonutChart.d.ts +0 -3
  105. package/lib/components/DonutChart/DonutChart.js +0 -6
  106. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  107. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  108. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  109. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  110. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -63
  111. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  112. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  113. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  114. package/lib/components/DonutChart/Pie/Pie.js +0 -71
  115. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  116. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  117. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  118. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  119. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  120. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  121. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  122. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  123. package/lib/components/DonutChart/Pie/index.js +0 -3
  124. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  125. package/lib/components/DonutChart/index.d.ts +0 -3
  126. package/lib/components/DonutChart/index.js +0 -4
  127. package/lib/components/DonutChart/index.js.map +0 -1
  128. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  129. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -381
  130. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  131. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  132. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
  133. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  134. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  135. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  136. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  137. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  138. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  139. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  140. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  141. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  142. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  143. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  144. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
  145. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  146. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  147. package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
  148. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  149. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  150. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  151. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  152. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  153. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  154. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  155. package/lib/components/HeatMapChart/index.d.ts +0 -2
  156. package/lib/components/HeatMapChart/index.js +0 -3
  157. package/lib/components/HeatMapChart/index.js.map +0 -1
  158. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  159. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -237
  160. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  161. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  162. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
  163. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  164. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  165. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  166. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  167. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  168. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -6
  169. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  170. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  171. package/lib/components/HorizontalBarChart/index.js +0 -4
  172. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  173. package/lib/components/Legends/Legends.base.d.ts +0 -44
  174. package/lib/components/Legends/Legends.base.js +0 -293
  175. package/lib/components/Legends/Legends.base.js.map +0 -1
  176. package/lib/components/Legends/Legends.d.ts +0 -3
  177. package/lib/components/Legends/Legends.js +0 -5
  178. package/lib/components/Legends/Legends.js.map +0 -1
  179. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  180. package/lib/components/Legends/Legends.styles.js +0 -103
  181. package/lib/components/Legends/Legends.styles.js.map +0 -1
  182. package/lib/components/Legends/Legends.types.d.ts +0 -169
  183. package/lib/components/Legends/Legends.types.js +0 -2
  184. package/lib/components/Legends/Legends.types.js.map +0 -1
  185. package/lib/components/Legends/index.d.ts +0 -3
  186. package/lib/components/Legends/index.js +0 -4
  187. package/lib/components/Legends/index.js.map +0 -1
  188. package/lib/components/Legends/shape.d.ts +0 -9
  189. package/lib/components/Legends/shape.js +0 -24
  190. package/lib/components/Legends/shape.js.map +0 -1
  191. package/lib/components/LineChart/LineChart.base.d.ts +0 -84
  192. package/lib/components/LineChart/LineChart.base.js +0 -815
  193. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  194. package/lib/components/LineChart/LineChart.d.ts +0 -3
  195. package/lib/components/LineChart/LineChart.js +0 -6
  196. package/lib/components/LineChart/LineChart.js.map +0 -1
  197. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  198. package/lib/components/LineChart/LineChart.styles.js +0 -7
  199. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  200. package/lib/components/LineChart/LineChart.types.d.ts +0 -72
  201. package/lib/components/LineChart/LineChart.types.js +0 -2
  202. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  203. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  204. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
  205. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  206. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  207. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
  208. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  209. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  210. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  211. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  212. package/lib/components/LineChart/index.d.ts +0 -3
  213. package/lib/components/LineChart/index.js +0 -4
  214. package/lib/components/LineChart/index.js.map +0 -1
  215. package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
  216. package/lib/components/PieChart/Arc/Arc.js +0 -57
  217. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  218. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  219. package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
  220. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  221. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
  222. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  223. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  224. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  225. package/lib/components/PieChart/Arc/index.js +0 -3
  226. package/lib/components/PieChart/Arc/index.js.map +0 -1
  227. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  228. package/lib/components/PieChart/Pie/Pie.js +0 -35
  229. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  230. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  231. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  232. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  233. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
  234. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  235. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  236. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  237. package/lib/components/PieChart/Pie/index.js +0 -3
  238. package/lib/components/PieChart/Pie/index.js.map +0 -1
  239. package/lib/components/PieChart/PieChart.base.d.ts +0 -7
  240. package/lib/components/PieChart/PieChart.base.js +0 -34
  241. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  242. package/lib/components/PieChart/PieChart.d.ts +0 -3
  243. package/lib/components/PieChart/PieChart.js +0 -6
  244. package/lib/components/PieChart/PieChart.js.map +0 -1
  245. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  246. package/lib/components/PieChart/PieChart.styles.js +0 -29
  247. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  248. package/lib/components/PieChart/PieChart.types.d.ts +0 -63
  249. package/lib/components/PieChart/PieChart.types.js +0 -2
  250. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  251. package/lib/components/PieChart/index.d.ts +0 -2
  252. package/lib/components/PieChart/index.js +0 -3
  253. package/lib/components/PieChart/index.js.map +0 -1
  254. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  255. package/lib/components/SankeyChart/SankeyChart.base.js +0 -674
  256. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  257. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
  258. package/lib/components/SankeyChart/SankeyChart.js +0 -6
  259. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  260. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  261. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -58
  262. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  263. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  264. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  265. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  266. package/lib/components/SankeyChart/index.d.ts +0 -2
  267. package/lib/components/SankeyChart/index.js +0 -3
  268. package/lib/components/SankeyChart/index.js.map +0 -1
  269. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
  270. package/lib/components/Sparkline/Sparkline.base.js +0 -76
  271. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  272. package/lib/components/Sparkline/Sparkline.d.ts +0 -3
  273. package/lib/components/Sparkline/Sparkline.js +0 -6
  274. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  275. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  276. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  277. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  278. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
  279. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  280. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  281. package/lib/components/Sparkline/index.d.ts +0 -2
  282. package/lib/components/Sparkline/index.js +0 -3
  283. package/lib/components/Sparkline/index.js.map +0 -1
  284. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  285. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -356
  286. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  287. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  288. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
  289. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  290. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  291. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  292. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  293. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  294. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -6
  295. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  296. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  297. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -311
  298. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  299. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  300. package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
  301. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  302. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  303. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -104
  304. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  305. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  306. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  307. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  308. package/lib/components/StackedBarChart/index.d.ts +0 -5
  309. package/lib/components/StackedBarChart/index.js +0 -6
  310. package/lib/components/StackedBarChart/index.js.map +0 -1
  311. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  312. package/lib/components/TreeChart/TreeChart.base.js +0 -316
  313. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  314. package/lib/components/TreeChart/TreeChart.d.ts +0 -3
  315. package/lib/components/TreeChart/TreeChart.js +0 -5
  316. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  317. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  318. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  319. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  320. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -197
  321. package/lib/components/TreeChart/TreeChart.types.js +0 -23
  322. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  323. package/lib/components/TreeChart/index.d.ts +0 -2
  324. package/lib/components/TreeChart/index.js +0 -3
  325. package/lib/components/TreeChart/index.js.map +0 -1
  326. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  327. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -536
  328. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  329. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  330. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
  331. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  332. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  333. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  334. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  335. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  336. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  337. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  338. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  339. package/lib/components/VerticalBarChart/index.js +0 -3
  340. package/lib/components/VerticalBarChart/index.js.map +0 -1
  341. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  342. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -666
  343. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  344. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  345. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
  346. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  347. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  348. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  349. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  350. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  351. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  352. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  353. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  354. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  355. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  356. package/lib/index.d.ts +0 -19
  357. package/lib/index.js +0 -20
  358. package/lib/index.js.map +0 -1
  359. package/lib/types/IDataPoint.d.ts +0 -545
  360. package/lib/types/IDataPoint.js +0 -2
  361. package/lib/types/IDataPoint.js.map +0 -1
  362. package/lib/types/IEventAnnotation.d.ts +0 -6
  363. package/lib/types/IEventAnnotation.js +0 -2
  364. package/lib/types/IEventAnnotation.js.map +0 -1
  365. package/lib/types/ILegendDataItem.d.ts +0 -10
  366. package/lib/types/ILegendDataItem.js +0 -2
  367. package/lib/types/ILegendDataItem.js.map +0 -1
  368. package/lib/types/index.d.ts +0 -2
  369. package/lib/types/index.js +0 -3
  370. package/lib/types/index.js.map +0 -1
  371. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  372. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  373. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  374. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  375. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  376. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  377. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  378. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
  379. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  380. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  381. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  382. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  383. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  384. package/lib/utilities/ChartHoverCard/index.js +0 -4
  385. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  386. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  387. package/lib/utilities/FocusableTooltipText.js +0 -54
  388. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  389. package/lib/utilities/colors.d.ts +0 -51
  390. package/lib/utilities/colors.js +0 -132
  391. package/lib/utilities/colors.js.map +0 -1
  392. package/lib/utilities/index.d.ts +0 -3
  393. package/lib/utilities/index.js +0 -4
  394. package/lib/utilities/index.js.map +0 -1
  395. package/lib/utilities/utilities.d.ts +0 -377
  396. package/lib/utilities/utilities.js +0 -864
  397. package/lib/utilities/utilities.js.map +0 -1
  398. package/lib/version.d.ts +0 -1
  399. package/lib/version.js +0 -5
  400. package/lib/version.js.map +0 -1
  401. package/lib-amd/AreaChart.d.ts +0 -1
  402. package/lib-amd/AreaChart.js +0 -6
  403. package/lib-amd/AreaChart.js.map +0 -1
  404. package/lib-amd/CartesianChart.d.ts +0 -1
  405. package/lib-amd/CartesianChart.js +0 -6
  406. package/lib-amd/CartesianChart.js.map +0 -1
  407. package/lib-amd/DonutChart.d.ts +0 -1
  408. package/lib-amd/DonutChart.js +0 -6
  409. package/lib-amd/DonutChart.js.map +0 -1
  410. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  411. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  412. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  413. package/lib-amd/HeatMapChart.d.ts +0 -1
  414. package/lib-amd/HeatMapChart.js +0 -6
  415. package/lib-amd/HeatMapChart.js.map +0 -1
  416. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  417. package/lib-amd/HorizontalBarChart.js +0 -6
  418. package/lib-amd/HorizontalBarChart.js.map +0 -1
  419. package/lib-amd/Legends.d.ts +0 -1
  420. package/lib-amd/Legends.js +0 -6
  421. package/lib-amd/Legends.js.map +0 -1
  422. package/lib-amd/LineChart.d.ts +0 -1
  423. package/lib-amd/LineChart.js +0 -6
  424. package/lib-amd/LineChart.js.map +0 -1
  425. package/lib-amd/PieChart.d.ts +0 -1
  426. package/lib-amd/PieChart.js +0 -6
  427. package/lib-amd/PieChart.js.map +0 -1
  428. package/lib-amd/SankeyChart.d.ts +0 -1
  429. package/lib-amd/SankeyChart.js +0 -6
  430. package/lib-amd/SankeyChart.js.map +0 -1
  431. package/lib-amd/Sparkline.d.ts +0 -1
  432. package/lib-amd/Sparkline.js +0 -6
  433. package/lib-amd/Sparkline.js.map +0 -1
  434. package/lib-amd/StackedBarChart.d.ts +0 -1
  435. package/lib-amd/StackedBarChart.js +0 -6
  436. package/lib-amd/StackedBarChart.js.map +0 -1
  437. package/lib-amd/Styling.d.ts +0 -2
  438. package/lib-amd/Styling.js +0 -75
  439. package/lib-amd/Styling.js.map +0 -1
  440. package/lib-amd/TreeChart.d.ts +0 -1
  441. package/lib-amd/TreeChart.js +0 -6
  442. package/lib-amd/TreeChart.js.map +0 -1
  443. package/lib-amd/Utilities.d.ts +0 -2
  444. package/lib-amd/Utilities.js +0 -183
  445. package/lib-amd/Utilities.js.map +0 -1
  446. package/lib-amd/VerticalBarChart.d.ts +0 -1
  447. package/lib-amd/VerticalBarChart.js +0 -6
  448. package/lib-amd/VerticalBarChart.js.map +0 -1
  449. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  450. package/lib-amd/VerticalStackedBarChart.js +0 -6
  451. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  452. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -92
  453. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -555
  454. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  455. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
  456. package/lib-amd/components/AreaChart/AreaChart.js +0 -8
  457. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  458. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  459. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  460. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  461. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -37
  462. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  463. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  464. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  465. package/lib-amd/components/AreaChart/index.js +0 -7
  466. package/lib-amd/components/AreaChart/index.js.map +0 -1
  467. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
  468. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -329
  469. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  470. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
  471. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
  472. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  473. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  474. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
  475. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  476. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -428
  477. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  478. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  479. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  480. package/lib-amd/components/CommonComponents/index.js +0 -7
  481. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  482. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  483. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -85
  484. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  485. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  486. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
  487. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  488. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  489. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  490. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  491. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  492. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  493. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  494. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -50
  495. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -208
  496. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  497. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
  498. package/lib-amd/components/DonutChart/DonutChart.js +0 -8
  499. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  500. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  501. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  502. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  503. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -63
  504. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  505. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  506. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  507. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -69
  508. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  509. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  510. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  511. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  512. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  513. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  514. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  515. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  516. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  517. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  518. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  519. package/lib-amd/components/DonutChart/index.js +0 -8
  520. package/lib-amd/components/DonutChart/index.js.map +0 -1
  521. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
  522. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -375
  523. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  524. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
  525. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
  526. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  527. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  528. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  529. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  530. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
  531. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  532. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  533. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  534. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  535. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  536. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
  537. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
  538. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  539. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
  540. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
  541. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  542. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  543. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  544. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  545. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
  546. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  547. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  548. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  549. package/lib-amd/components/HeatMapChart/index.js +0 -7
  550. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  551. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
  552. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -233
  553. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  554. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
  555. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
  556. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  557. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  558. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -72
  559. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  560. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
  561. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -11
  562. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  563. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  564. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  565. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  566. package/lib-amd/components/Legends/Legends.base.d.ts +0 -44
  567. package/lib-amd/components/Legends/Legends.base.js +0 -290
  568. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  569. package/lib-amd/components/Legends/Legends.d.ts +0 -3
  570. package/lib-amd/components/Legends/Legends.js +0 -7
  571. package/lib-amd/components/Legends/Legends.js.map +0 -1
  572. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  573. package/lib-amd/components/Legends/Legends.styles.js +0 -107
  574. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  575. package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
  576. package/lib-amd/components/Legends/Legends.types.js +0 -5
  577. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  578. package/lib-amd/components/Legends/index.d.ts +0 -3
  579. package/lib-amd/components/Legends/index.js +0 -8
  580. package/lib-amd/components/Legends/index.js.map +0 -1
  581. package/lib-amd/components/Legends/shape.d.ts +0 -9
  582. package/lib-amd/components/Legends/shape.js +0 -27
  583. package/lib-amd/components/Legends/shape.js.map +0 -1
  584. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -84
  585. package/lib-amd/components/LineChart/LineChart.base.js +0 -809
  586. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  587. package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
  588. package/lib-amd/components/LineChart/LineChart.js +0 -8
  589. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  590. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  591. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  592. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  593. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
  594. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  595. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  596. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
  597. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
  598. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  599. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
  600. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  601. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  602. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  603. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  604. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  605. package/lib-amd/components/LineChart/index.d.ts +0 -3
  606. package/lib-amd/components/LineChart/index.js +0 -8
  607. package/lib-amd/components/LineChart/index.js.map +0 -1
  608. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
  609. package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
  610. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  611. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
  612. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
  613. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  614. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
  615. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  616. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  617. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  618. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  619. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  620. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  621. package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
  622. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  623. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  624. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  625. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  626. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
  627. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  628. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  629. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  630. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  631. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  632. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
  633. package/lib-amd/components/PieChart/PieChart.base.js +0 -35
  634. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  635. package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
  636. package/lib-amd/components/PieChart/PieChart.js +0 -8
  637. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  638. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  639. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  640. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  641. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
  642. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  643. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  644. package/lib-amd/components/PieChart/index.d.ts +0 -2
  645. package/lib-amd/components/PieChart/index.js +0 -7
  646. package/lib-amd/components/PieChart/index.js.map +0 -1
  647. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -95
  648. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -669
  649. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  650. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
  651. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
  652. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  653. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  654. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -62
  655. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  656. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -83
  657. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  658. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  659. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  660. package/lib-amd/components/SankeyChart/index.js +0 -7
  661. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  662. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
  663. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
  664. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  665. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
  666. package/lib-amd/components/Sparkline/Sparkline.js +0 -8
  667. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  668. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  669. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  670. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  671. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
  672. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  673. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  674. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  675. package/lib-amd/components/Sparkline/index.js +0 -7
  676. package/lib-amd/components/Sparkline/index.js.map +0 -1
  677. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
  678. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -351
  679. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  680. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
  681. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
  682. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  683. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  684. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -93
  685. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  686. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
  687. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -11
  688. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  689. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
  690. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -308
  691. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  692. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
  693. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
  694. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  695. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  696. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -108
  697. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  698. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
  699. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  700. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  701. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  702. package/lib-amd/components/StackedBarChart/index.js +0 -10
  703. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  704. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  705. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -314
  706. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  707. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
  708. package/lib-amd/components/TreeChart/TreeChart.js +0 -7
  709. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  710. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  711. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  712. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  713. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -197
  714. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
  715. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  716. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  717. package/lib-amd/components/TreeChart/index.js +0 -7
  718. package/lib-amd/components/TreeChart/index.js.map +0 -1
  719. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
  720. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -529
  721. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  722. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
  723. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
  724. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  725. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  726. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  727. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  728. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
  729. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  730. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  731. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  732. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  733. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  734. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
  735. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -659
  736. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  737. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
  738. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
  739. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  740. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  741. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  742. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  743. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
  744. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  745. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  746. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  747. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  748. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  749. package/lib-amd/index.d.ts +0 -19
  750. package/lib-amd/index.js +0 -23
  751. package/lib-amd/index.js.map +0 -1
  752. package/lib-amd/types/IDataPoint.d.ts +0 -545
  753. package/lib-amd/types/IDataPoint.js +0 -5
  754. package/lib-amd/types/IDataPoint.js.map +0 -1
  755. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  756. package/lib-amd/types/IEventAnnotation.js +0 -5
  757. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  758. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  759. package/lib-amd/types/ILegendDataItem.js +0 -5
  760. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  761. package/lib-amd/types/index.d.ts +0 -2
  762. package/lib-amd/types/index.js +0 -7
  763. package/lib-amd/types/index.js.map +0 -1
  764. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  765. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  766. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  767. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  768. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  769. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  770. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  771. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
  772. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  773. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  774. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  775. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  776. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  777. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  778. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  779. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  780. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  781. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  782. package/lib-amd/utilities/colors.d.ts +0 -51
  783. package/lib-amd/utilities/colors.js +0 -139
  784. package/lib-amd/utilities/colors.js.map +0 -1
  785. package/lib-amd/utilities/index.d.ts +0 -3
  786. package/lib-amd/utilities/index.js +0 -8
  787. package/lib-amd/utilities/index.js.map +0 -1
  788. package/lib-amd/utilities/utilities.d.ts +0 -377
  789. package/lib-amd/utilities/utilities.js +0 -888
  790. package/lib-amd/utilities/utilities.js.map +0 -1
  791. package/lib-amd/version.d.ts +0 -1
  792. package/lib-amd/version.js +0 -6
  793. package/lib-amd/version.js.map +0 -1
@@ -1,56 +0,0 @@
1
- import * as React from 'react';
2
- import { IAccessibilityProps, IChartDataPoint, IMultiStackedBarChartProps } from './index';
3
- export interface IRefArrayData {
4
- legendText?: string;
5
- refElement?: SVGGElement;
6
- }
7
- export interface IMultiStackedBarChartState {
8
- isCalloutVisible: boolean;
9
- refArray: IRefArrayData[];
10
- selectedLegend: string;
11
- activeLegend: string;
12
- refSelected: any;
13
- dataForHoverCard: number;
14
- color: string;
15
- xCalloutValue?: string;
16
- yCalloutValue?: string;
17
- dataPointCalloutProps?: IChartDataPoint;
18
- callOutAccessibilityData?: IAccessibilityProps;
19
- calloutLegend: string;
20
- }
21
- export declare class MultiStackedBarChartBase extends React.Component<IMultiStackedBarChartProps, IMultiStackedBarChartState> {
22
- static defaultProps: Partial<IMultiStackedBarChartProps>;
23
- private _classNames;
24
- private _calloutId;
25
- private _calloutAnchorPoint;
26
- private _longestBarTotalValue;
27
- private _isRTL;
28
- constructor(props: IMultiStackedBarChartProps);
29
- render(): JSX.Element;
30
- private _createBarsAndLegends;
31
- private _onBarFocus;
32
- private _refCallback;
33
- private _adjustProps;
34
- private _onHover;
35
- private _getLegendData;
36
- private _onClick;
37
- private _onLeave;
38
- private _onBarHover;
39
- private _onBarLeave;
40
- private _handleChartMouseLeave;
41
- private _redirectToUrl;
42
- private _closeCallout;
43
- /**
44
- * This function checks if the given legend is highlighted or not.
45
- * A legend can be highlighted in 2 ways:
46
- * 1. selection: if the user clicks on it
47
- * 2. hovering: if there is no selected legend and the user hovers over it
48
- */
49
- private _legendHighlighted;
50
- /**
51
- * This function checks if none of the legends is selected or hovered.
52
- */
53
- private _noLegendHighlighted;
54
- private _getAriaLabel;
55
- private _computeLongestBarTotalValue;
56
- }
@@ -1,351 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Utilities", "../Legends/index", "./index", "@fluentui/react/lib/Callout", "@fluentui/react-focus", "../../utilities/index", "d3-format", "../../utilities/FocusableTooltipText"], function (require, exports, tslib_1, React, Utilities_1, index_1, index_2, Callout_1, react_focus_1, index_3, d3_format_1, FocusableTooltipText_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MultiStackedBarChartBase = void 0;
5
- var getClassNames = Utilities_1.classNamesFunction();
6
- var MultiStackedBarChartBase = /** @class */ (function (_super) {
7
- tslib_1.__extends(MultiStackedBarChartBase, _super);
8
- function MultiStackedBarChartBase(props) {
9
- var _this = _super.call(this, props) || this;
10
- _this._isRTL = Utilities_1.getRTL();
11
- _this._adjustProps = function () {
12
- var _a = _this.props, theme = _a.theme, className = _a.className, styles = _a.styles, width = _a.width, barHeight = _a.barHeight;
13
- _this._classNames = getClassNames(styles, {
14
- legendColor: _this.state.color,
15
- theme: theme,
16
- width: width,
17
- className: className,
18
- barHeight: barHeight,
19
- });
20
- };
21
- _this._getLegendData = function (data, hideRatio, palette) {
22
- var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
23
- var actions = [];
24
- data.forEach(function (singleChartData, index) {
25
- var validChartData = singleChartData.chartData.filter(function (_) { return !_.placeHolder; });
26
- if (validChartData.length < 3) {
27
- var hideNumber = hideRatio[index] === undefined ? false : hideRatio[index];
28
- if (hideNumber) {
29
- validChartData.forEach(function (point) {
30
- var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
31
- var checkSimilarLegends = actions.filter(function (leg) { return leg.title === point.legend && leg.color === color; });
32
- if (checkSimilarLegends.length > 0) {
33
- return;
34
- }
35
- var legend = {
36
- title: point.legend,
37
- color: color,
38
- action: function () {
39
- _this._onClick(point.legend);
40
- },
41
- hoverAction: function () {
42
- _this._handleChartMouseLeave();
43
- _this._onHover(point.legend);
44
- },
45
- onMouseOutAction: function () {
46
- _this._onLeave();
47
- },
48
- };
49
- actions.push(legend);
50
- });
51
- }
52
- }
53
- else {
54
- validChartData.forEach(function (point) {
55
- var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
56
- var checkSimilarLegends = actions.filter(function (leg) { return leg.title === point.legend && leg.color === color; });
57
- if (checkSimilarLegends.length > 0) {
58
- return;
59
- }
60
- var legend = {
61
- title: point.legend,
62
- color: color,
63
- action: function () {
64
- _this._onClick(point.legend);
65
- },
66
- hoverAction: function () {
67
- _this._handleChartMouseLeave();
68
- _this._onHover(point.legend);
69
- },
70
- onMouseOutAction: function () {
71
- _this._onLeave();
72
- },
73
- };
74
- actions.push(legend);
75
- });
76
- }
77
- });
78
- return (React.createElement(index_1.Legends, tslib_1.__assign({ legends: actions, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps)));
79
- };
80
- _this._handleChartMouseLeave = function () {
81
- _this._calloutAnchorPoint = null;
82
- _this.setState({
83
- isCalloutVisible: false,
84
- });
85
- };
86
- _this._closeCallout = function () {
87
- _this.setState({
88
- isCalloutVisible: false,
89
- });
90
- };
91
- /**
92
- * This function checks if the given legend is highlighted or not.
93
- * A legend can be highlighted in 2 ways:
94
- * 1. selection: if the user clicks on it
95
- * 2. hovering: if there is no selected legend and the user hovers over it
96
- */
97
- _this._legendHighlighted = function (legendTitle) {
98
- return (_this.state.selectedLegend === legendTitle ||
99
- (_this.state.selectedLegend === '' && _this.state.activeLegend === legendTitle));
100
- };
101
- /**
102
- * This function checks if none of the legends is selected or hovered.
103
- */
104
- _this._noLegendHighlighted = function () {
105
- return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
106
- };
107
- _this._getAriaLabel = function (point) {
108
- var _a;
109
- var legend = point.xAxisCalloutData || point.legend;
110
- var yValue = point.yAxisCalloutData || point.data || 0;
111
- return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || (legend ? legend + ", " : '') + (yValue + ".");
112
- };
113
- _this._computeLongestBarTotalValue = function () {
114
- var longestBarTotalValue = 0;
115
- _this.props.data.forEach(function (_a) {
116
- var chartData = _a.chartData;
117
- var barTotalValue = chartData.reduce(function (acc, point) { return acc + (point.data ? point.data : 0); }, 0);
118
- longestBarTotalValue = Math.max(longestBarTotalValue, barTotalValue);
119
- });
120
- return longestBarTotalValue;
121
- };
122
- _this.state = {
123
- isCalloutVisible: false,
124
- refArray: [],
125
- selectedLegend: '',
126
- activeLegend: '',
127
- refSelected: null,
128
- dataForHoverCard: 0,
129
- color: '',
130
- xCalloutValue: '',
131
- yCalloutValue: '',
132
- calloutLegend: '',
133
- };
134
- _this._onLeave = _this._onLeave.bind(_this);
135
- _this._onBarLeave = _this._onBarLeave.bind(_this);
136
- _this._calloutId = Utilities_1.getId('callout');
137
- return _this;
138
- }
139
- MultiStackedBarChartBase.prototype.render = function () {
140
- var _this = this;
141
- var _a = this.props, data = _a.data, theme = _a.theme, culture = _a.culture;
142
- this._adjustProps();
143
- var palette = theme.palette;
144
- var legends = this._getLegendData(data, this.props.hideRatio, palette);
145
- var isCalloutVisible = this.state.isCalloutVisible;
146
- this._classNames = getClassNames(this.props.styles, {
147
- legendColor: this.state.color,
148
- theme: theme,
149
- variant: this.props.variant,
150
- hideLabels: this.props.hideLabels,
151
- });
152
- var legendName = this.state.xCalloutValue ? this.state.xCalloutValue : this.state.calloutLegend;
153
- var calloutYVal = this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard;
154
- this._longestBarTotalValue = this._computeLongestBarTotalValue();
155
- var bars = data.map(function (singleChartData, index) {
156
- var singleChartBars = _this._createBarsAndLegends(singleChartData, _this.props.barHeight, palette, _this.props.hideRatio[index], _this.props.hideDenominator[index], _this.props.href);
157
- return React.createElement("div", { key: index }, singleChartBars);
158
- });
159
- return (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
160
- bars,
161
- !this.props.hideLegend && React.createElement("div", { className: this._classNames.legendContainer }, legends),
162
- React.createElement(Callout_1.Callout, tslib_1.__assign({ gapSpace: 15, isBeakVisible: false, target: this.state.refSelected, setInitialFocus: true, hidden: !(!this.props.hideTooltip && isCalloutVisible), directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true,
163
- /** Keep the callout updated with details of focused/hovered bar */
164
- shouldUpdateWhenHidden: true }, this.props.calloutProps, index_3.getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)),
165
- React.createElement(React.Fragment, null, this.props.onRenderCalloutPerDataPoint ? (this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps)) : (React.createElement(index_3.ChartHoverCard, { Legend: legendName, YValue: calloutYVal, color: this.state.color, culture: culture }))))));
166
- };
167
- MultiStackedBarChartBase.prototype._createBarsAndLegends = function (data, barHeight, palette, hideRatio, hideDenominator, href) {
168
- var _this = this;
169
- var culture = this.props.culture;
170
- var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
171
- // calculating starting point of each bar and it's range
172
- var startingPoint = [];
173
- var barTotalValue = data.chartData.reduce(function (acc, point) { return acc + (point.data ? point.data : 0); }, 0);
174
- var total = this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale ? this._longestBarTotalValue : barTotalValue;
175
- var sumOfPercent = 0;
176
- data.chartData.map(function (point, index) {
177
- var pointData = point.data ? point.data : 0;
178
- value = (pointData / total) * 100 ? (pointData / total) * 100 : 0;
179
- if (value < 1 && value !== 0) {
180
- value = 1;
181
- }
182
- else if (value > 99 && value !== 100) {
183
- value = 99;
184
- }
185
- sumOfPercent += value;
186
- return sumOfPercent;
187
- });
188
- // Include an imaginary placeholder bar with value equal to
189
- // the difference between longestBarTotalValue and barTotalValue
190
- // while calculating sumOfPercent to get correct scalingRatio for absolute-scale variant
191
- if (this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale) {
192
- var value_1 = total === 0 ? 0 : ((total - barTotalValue) / total) * 100;
193
- if (value_1 < 1 && value_1 !== 0) {
194
- value_1 = 1;
195
- }
196
- else if (value_1 > 99 && value_1 !== 100) {
197
- value_1 = 99;
198
- }
199
- sumOfPercent += value_1;
200
- }
201
- var scalingRatio = sumOfPercent !== 0 ? sumOfPercent / 100 : 1;
202
- var prevPosition = 0;
203
- var value = 0;
204
- var bars = data.chartData.map(function (point, index) {
205
- var color = point.color
206
- ? point.color
207
- : point.placeHolder
208
- ? palette.neutralLight
209
- : defaultPalette[Math.floor(Math.random() * 4 + 1)];
210
- var pointData = point.data ? point.data : 0;
211
- if (index > 0) {
212
- prevPosition += value;
213
- }
214
- value = (pointData / total) * 100 ? (pointData / total) * 100 : 0;
215
- if (value < 1 && value !== 0) {
216
- value = 1 / scalingRatio;
217
- }
218
- else if (value > 99 && value !== 100) {
219
- value = 99 / scalingRatio;
220
- }
221
- else {
222
- value = value / scalingRatio;
223
- }
224
- startingPoint.push(prevPosition);
225
- var styles = _this.props.styles;
226
- var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
227
- _this._classNames = getClassNames(styles, {
228
- theme: _this.props.theme,
229
- shouldHighlight: shouldHighlight,
230
- href: href,
231
- variant: _this.props.variant,
232
- hideLabels: _this.props.hideLabels,
233
- });
234
- return (React.createElement("g", { key: index, className: point.placeHolder ? _this._classNames.placeHolderOnHover : _this._classNames.opacityChangeOnHover, ref: function (e) {
235
- _this._refCallback(e, point.legend);
236
- }, "data-is-focusable": !_this.props.hideTooltip, onFocus: _this._onBarFocus.bind(_this, pointData, color, point), onBlur: _this._onBarLeave, role: "img", "aria-label": _this._getAriaLabel(point), onMouseOver: point.placeHolder ? undefined : _this._onBarHover.bind(_this, pointData, color, point), onMouseMove: point.placeHolder ? undefined : _this._onBarHover.bind(_this, pointData, color, point), onMouseLeave: point.placeHolder ? undefined : _this._onBarLeave, onClick: href ? (point.placeHolder ? undefined : _this._redirectToUrl.bind(_this, href)) : point.onClick },
237
- React.createElement("rect", { key: index, x: (_this._isRTL ? 100 - startingPoint[index] - value : startingPoint[index]) + "%", y: 0, width: value + '%', height: barHeight, fill: color })));
238
- });
239
- if (this.props.variant === index_2.MultiStackedBarChartVariant.AbsoluteScale) {
240
- if (!this.props.hideLabels) {
241
- bars.push(React.createElement("text", { key: "text", x: (this._isRTL
242
- ? 100 - (startingPoint[startingPoint.length - 1] || 0) - value
243
- : (startingPoint[startingPoint.length - 1] || 0) + value) + "%", y: barHeight / 2, dominantBaseline: "central", transform: "translate(" + (this._isRTL ? -4 : 4) + ")", className: this._classNames.barLabel, "aria-label": "Total: " + barTotalValue, role: "img" }, d3_format_1.formatPrefix(barTotalValue < 1000 ? '.2~' : '.1', barTotalValue)(barTotalValue)));
244
- }
245
- }
246
- else {
247
- // Render placeholder bars only for part-to-whole variant
248
- if (data.chartData.length === 0) {
249
- bars.push(React.createElement("g", { key: 0, className: this._classNames.noData, onClick: this._redirectToUrl.bind(this, href) },
250
- React.createElement("rect", { key: 0, x: '0%', y: 0, width: '100%', height: barHeight, fill: palette.neutralLight })));
251
- }
252
- if (barTotalValue === 0) {
253
- bars.push(React.createElement("g", { key: 'empty', className: this._classNames.noData, onClick: this._redirectToUrl.bind(this, href) },
254
- React.createElement("rect", { key: 0, x: '0%', y: 0, width: '100%', height: barHeight, fill: palette.neutralLight })));
255
- }
256
- }
257
- var hideNumber = hideRatio === undefined ? false : hideRatio;
258
- // Hide right side text of chart title for absolute-scale variant
259
- var showRatio = this.props.variant !== index_2.MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data.chartData.length === 2;
260
- var showNumber = this.props.variant !== index_2.MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data.chartData.length === 1;
261
- var getChartData = function () { return index_3.convertToLocaleString(data.chartData[0].data ? data.chartData[0].data : 0, culture); };
262
- return (React.createElement("div", { className: this._classNames.singleChartRoot },
263
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
264
- React.createElement("div", { className: this._classNames.chartTitle },
265
- data.chartTitle && (React.createElement(FocusableTooltipText_1.FocusableTooltipText, { className: this._classNames.chartTitleLeft, content: data.chartTitle, accessibilityData: data.chartTitleAccessibilityData })),
266
- showRatio && (React.createElement("div", tslib_1.__assign({}, index_3.getAccessibleDataObject(data.chartDataAccessibilityData, 'text', false)),
267
- React.createElement("span", { className: this._classNames.ratioNumerator }, getChartData()),
268
- !hideDenominator && (React.createElement("span", { className: this._classNames.ratioDenominator }, ' / ' + index_3.convertToLocaleString(barTotalValue, culture))))),
269
- showNumber && (React.createElement("div", tslib_1.__assign({ className: this._classNames.ratioNumerator }, index_3.getAccessibleDataObject(data.chartDataAccessibilityData, 'text', false)), getChartData())))),
270
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
271
- React.createElement("div", { className: this._classNames.chartWrapper },
272
- React.createElement("svg", { className: this._classNames.chart, "aria-label": data === null || data === void 0 ? void 0 : data.chartTitle }, bars)))));
273
- };
274
- MultiStackedBarChartBase.prototype._onBarFocus = function (pointData, color, point) {
275
- var _this = this;
276
- this.state.refArray.forEach(function (obj) {
277
- if (obj.legendText === point.legend) {
278
- _this.setState({
279
- refSelected: obj.refElement,
280
- /** Show the callout if highlighted bar is focused and Hide it if unhighlighted bar is focused */
281
- isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === point.legend,
282
- calloutLegend: point.legend,
283
- dataForHoverCard: pointData,
284
- color: color,
285
- xCalloutValue: point.xAxisCalloutData,
286
- yCalloutValue: point.yAxisCalloutData,
287
- dataPointCalloutProps: point,
288
- callOutAccessibilityData: point.callOutAccessibilityData,
289
- });
290
- }
291
- });
292
- };
293
- MultiStackedBarChartBase.prototype._refCallback = function (element, legendTitle) {
294
- this.state.refArray.push({ legendText: legendTitle, refElement: element });
295
- };
296
- MultiStackedBarChartBase.prototype._onHover = function (legendTitle) {
297
- this.setState({
298
- activeLegend: legendTitle,
299
- });
300
- };
301
- MultiStackedBarChartBase.prototype._onClick = function (legendTitle) {
302
- if (this.state.selectedLegend === legendTitle) {
303
- this.setState({
304
- selectedLegend: '',
305
- });
306
- }
307
- else {
308
- this.setState({
309
- selectedLegend: legendTitle,
310
- });
311
- }
312
- };
313
- MultiStackedBarChartBase.prototype._onLeave = function () {
314
- this.setState({
315
- activeLegend: '',
316
- });
317
- };
318
- MultiStackedBarChartBase.prototype._onBarHover = function (pointData, color, point, mouseEvent) {
319
- mouseEvent.persist();
320
- if (this._calloutAnchorPoint !== point) {
321
- this._calloutAnchorPoint = point;
322
- this.setState({
323
- refSelected: mouseEvent,
324
- /** Show the callout if highlighted bar is hovered and Hide it if unhighlighted bar is hovered */
325
- isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend,
326
- calloutLegend: point.legend,
327
- dataForHoverCard: pointData,
328
- color: color,
329
- xCalloutValue: point.xAxisCalloutData,
330
- yCalloutValue: point.yAxisCalloutData,
331
- dataPointCalloutProps: point,
332
- callOutAccessibilityData: point.callOutAccessibilityData,
333
- });
334
- }
335
- };
336
- MultiStackedBarChartBase.prototype._onBarLeave = function () {
337
- /**/
338
- };
339
- MultiStackedBarChartBase.prototype._redirectToUrl = function (href) {
340
- href ? (window.location.href = href) : '';
341
- };
342
- MultiStackedBarChartBase.defaultProps = {
343
- barHeight: 12,
344
- hideRatio: [],
345
- hideDenominator: [],
346
- };
347
- return MultiStackedBarChartBase;
348
- }(React.Component));
349
- exports.MultiStackedBarChartBase = MultiStackedBarChartBase;
350
- });
351
- //# sourceMappingURL=MultiStackedBarChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStackedBarChart.base.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.base.tsx"],"names":[],"mappings":";;;;IAmBA,IAAM,aAAa,GAAG,8BAAkB,EAAgE,CAAC;IAuBzG;QAA8C,oDAAuE;QAanH,kCAAmB,KAAiC;YAApD,YACE,kBAAM,KAAK,CAAC,SAgBb;YAnBO,YAAM,GAAY,kBAAM,EAAE,CAAC;YAiT3B,kBAAY,GAAG;gBACf,IAAA,KAAiD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EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,KAAK,CAAC,MAAO;oBACjG,aAAa,EAAE,KAAK,CAAC,MAAO;oBAC5B,gBAAgB,EAAE,SAAS;oBAC3B,KAAK,EAAE,KAAK;oBACZ,aAAa,EAAE,KAAK,CAAC,gBAAiB;oBACtC,aAAa,EAAE,KAAK,CAAC,gBAAiB;oBACtC,qBAAqB,EAAE,KAAK;oBAC5B,wBAAwB,EAAE,KAAK,CAAC,wBAAyB;iBAC1D,CAAC,CAAC;aACJ;QACH,CAAC;QAEO,8CAAW,GAAnB;YACE,IAAI;QACN,CAAC;QASO,iDAAc,GAAtB,UAAuB,IAAwB;YAC7C,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5C,CAAC;QA3ca,qCAAY,GAAwC;YAChE,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,EAAE;YACb,eAAe,EAAE,EAAE;SACpB,CAAC;QAofJ,+BAAC;KAAA,AAzfD,CAA8C,KAAK,CAAC,SAAS,GAyf5D;IAzfY,4DAAwB","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet, IPalette } from '@fluentui/react/lib/Styling';\nimport { ILegend, Legends } from '../Legends/index';\nimport {\n IAccessibilityProps,\n IChartDataPoint,\n IChartProps,\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyles,\n IMultiStackedBarChartStyleProps,\n MultiStackedBarChartVariant,\n} from './index';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { ChartHoverCard, convertToLocaleString, getAccessibleDataObject } from '../../utilities/index';\nimport { formatPrefix as d3FormatPrefix } from 'd3-format';\nimport { FocusableTooltipText } from '../../utilities/FocusableTooltipText';\n\nconst getClassNames = classNamesFunction<IMultiStackedBarChartStyleProps, IMultiStackedBarChartStyles>();\n\nexport interface IRefArrayData {\n legendText?: string;\n refElement?: SVGGElement;\n}\n\nexport interface IMultiStackedBarChartState {\n isCalloutVisible: boolean;\n refArray: IRefArrayData[];\n selectedLegend: string;\n activeLegend: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n refSelected: any;\n dataForHoverCard: number;\n color: string;\n xCalloutValue?: string;\n yCalloutValue?: string;\n dataPointCalloutProps?: IChartDataPoint;\n callOutAccessibilityData?: IAccessibilityProps;\n calloutLegend: string;\n}\n\nexport class MultiStackedBarChartBase extends React.Component<IMultiStackedBarChartProps, IMultiStackedBarChartState> {\n public static defaultProps: Partial<IMultiStackedBarChartProps> = {\n barHeight: 12,\n hideRatio: [],\n hideDenominator: [],\n };\n\n private _classNames: IProcessedStyleSet<IMultiStackedBarChartStyles>;\n private _calloutId: string;\n private _calloutAnchorPoint: IChartDataPoint | null;\n private _longestBarTotalValue: number;\n private _isRTL: boolean = getRTL();\n\n public constructor(props: IMultiStackedBarChartProps) {\n super(props);\n this.state = {\n isCalloutVisible: false,\n refArray: [],\n selectedLegend: '',\n activeLegend: '',\n refSelected: null,\n dataForHoverCard: 0,\n color: '',\n xCalloutValue: '',\n yCalloutValue: '',\n calloutLegend: '',\n };\n this._onLeave = this._onLeave.bind(this);\n this._onBarLeave = this._onBarLeave.bind(this);\n this._calloutId = getId('callout');\n }\n\n public render(): JSX.Element {\n const { data, theme, culture } = this.props;\n this._adjustProps();\n const { palette } = theme!;\n const legends = this._getLegendData(data!, this.props.hideRatio!, palette);\n const { isCalloutVisible } = this.state;\n\n this._classNames = getClassNames(this.props.styles!, {\n legendColor: this.state.color,\n theme: theme!,\n variant: this.props.variant,\n hideLabels: this.props.hideLabels,\n });\n\n const legendName = this.state.xCalloutValue ? this.state.xCalloutValue : this.state.calloutLegend;\n const calloutYVal = this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard;\n\n this._longestBarTotalValue = this._computeLongestBarTotalValue();\n const bars: JSX.Element[] = data!.map((singleChartData: IChartProps, index: number) => {\n const singleChartBars = this._createBarsAndLegends(\n singleChartData!,\n this.props.barHeight!,\n palette,\n this.props.hideRatio![index],\n this.props.hideDenominator![index],\n this.props.href,\n );\n return <div key={index}>{singleChartBars}</div>;\n });\n\n return (\n <div className={this._classNames.root} onMouseLeave={this._handleChartMouseLeave}>\n {bars}\n {!this.props.hideLegend && <div className={this._classNames.legendContainer}>{legends}</div>}\n <Callout\n gapSpace={15}\n isBeakVisible={false}\n target={this.state.refSelected}\n setInitialFocus={true}\n hidden={!(!this.props.hideTooltip && isCalloutVisible)}\n directionalHint={DirectionalHint.topAutoEdge}\n id={this._calloutId}\n onDismiss={this._closeCallout}\n preventDismissOnLostFocus={true}\n /** Keep the callout updated with details of focused/hovered bar */\n shouldUpdateWhenHidden={true}\n {...this.props.calloutProps!}\n {...getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)}\n >\n <>\n {this.props.onRenderCalloutPerDataPoint ? (\n this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps)\n ) : (\n <ChartHoverCard Legend={legendName} YValue={calloutYVal} color={this.state.color} culture={culture} />\n )}\n </>\n </Callout>\n </div>\n );\n }\n\n private _createBarsAndLegends(\n data: IChartProps,\n barHeight: number,\n palette: IPalette,\n hideRatio: boolean,\n hideDenominator: boolean,\n href?: string,\n ): JSX.Element {\n const { culture } = this.props;\n const defaultPalette: string[] = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];\n // calculating starting point of each bar and it's range\n const startingPoint: number[] = [];\n const barTotalValue = data.chartData!.reduce(\n (acc: number, point: IChartDataPoint) => acc + (point.data ? point.data : 0),\n 0,\n );\n const total =\n this.props.variant === MultiStackedBarChartVariant.AbsoluteScale ? this._longestBarTotalValue : barTotalValue;\n\n let sumOfPercent = 0;\n data.chartData!.map((point: IChartDataPoint, index: number) => {\n const pointData = point.data ? point.data : 0;\n value = (pointData / total) * 100 ? (pointData / total) * 100 : 0;\n if (value < 1 && value !== 0) {\n value = 1;\n } else if (value > 99 && value !== 100) {\n value = 99;\n }\n sumOfPercent += value;\n\n return sumOfPercent;\n });\n\n // Include an imaginary placeholder bar with value equal to\n // the difference between longestBarTotalValue and barTotalValue\n // while calculating sumOfPercent to get correct scalingRatio for absolute-scale variant\n if (this.props.variant === MultiStackedBarChartVariant.AbsoluteScale) {\n let value = total === 0 ? 0 : ((total - barTotalValue) / total) * 100;\n if (value < 1 && value !== 0) {\n value = 1;\n } else if (value > 99 && value !== 100) {\n value = 99;\n }\n sumOfPercent += value;\n }\n\n const scalingRatio = sumOfPercent !== 0 ? sumOfPercent / 100 : 1;\n\n let prevPosition = 0;\n let value = 0;\n\n const bars = data.chartData!.map((point: IChartDataPoint, index: number) => {\n const color: string = point.color\n ? point.color\n : point.placeHolder\n ? palette.neutralLight\n : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n const pointData = point.data ? point.data : 0;\n if (index > 0) {\n prevPosition += value;\n }\n value = (pointData / total) * 100 ? (pointData / total) * 100 : 0;\n if (value < 1 && value !== 0) {\n value = 1 / scalingRatio;\n } else if (value > 99 && value !== 100) {\n value = 99 / scalingRatio;\n } else {\n value = value / scalingRatio;\n }\n\n startingPoint.push(prevPosition);\n\n const styles = this.props.styles;\n const shouldHighlight = this._legendHighlighted(point.legend!) || this._noLegendHighlighted() ? true : false;\n\n this._classNames = getClassNames(styles!, {\n theme: this.props.theme!,\n shouldHighlight: shouldHighlight,\n href: href,\n variant: this.props.variant,\n hideLabels: this.props.hideLabels,\n });\n\n return (\n <g\n key={index}\n className={point.placeHolder ? this._classNames.placeHolderOnHover : this._classNames.opacityChangeOnHover}\n ref={(e: SVGGElement) => {\n this._refCallback(e, point.legend!);\n }}\n data-is-focusable={!this.props.hideTooltip}\n onFocus={this._onBarFocus.bind(this, pointData, color, point)}\n onBlur={this._onBarLeave}\n role=\"img\"\n aria-label={this._getAriaLabel(point)}\n onMouseOver={point.placeHolder ? undefined : this._onBarHover.bind(this, pointData, color, point)}\n onMouseMove={point.placeHolder ? undefined : this._onBarHover.bind(this, pointData, color, point)}\n onMouseLeave={point.placeHolder ? undefined : this._onBarLeave}\n onClick={href ? (point.placeHolder ? undefined : this._redirectToUrl.bind(this, href)) : point.onClick}\n >\n <rect\n key={index}\n x={`${this._isRTL ? 100 - startingPoint[index] - value : startingPoint[index]}%`}\n y={0}\n width={value + '%'}\n height={barHeight}\n fill={color}\n />\n </g>\n );\n });\n if (this.props.variant === MultiStackedBarChartVariant.AbsoluteScale) {\n if (!this.props.hideLabels) {\n bars.push(\n <text\n key=\"text\"\n x={`${\n this._isRTL\n ? 100 - (startingPoint[startingPoint.length - 1] || 0) - value\n : (startingPoint[startingPoint.length - 1] || 0) + value\n }%`}\n y={barHeight / 2}\n dominantBaseline=\"central\"\n transform={`translate(${this._isRTL ? -4 : 4})`}\n className={this._classNames.barLabel}\n aria-label={`Total: ${barTotalValue}`}\n role=\"img\"\n >\n {d3FormatPrefix(barTotalValue < 1000 ? '.2~' : '.1', barTotalValue)(barTotalValue)}\n </text>,\n );\n }\n } else {\n // Render placeholder bars only for part-to-whole variant\n if (data.chartData!.length === 0) {\n bars.push(\n <g key={0} className={this._classNames.noData} onClick={this._redirectToUrl.bind(this, href)}>\n <rect key={0} x={'0%'} y={0} width={'100%'} height={barHeight} fill={palette.neutralLight} />\n </g>,\n );\n }\n if (barTotalValue === 0) {\n bars.push(\n <g key={'empty'} className={this._classNames.noData} onClick={this._redirectToUrl.bind(this, href)}>\n <rect key={0} x={'0%'} y={0} width={'100%'} height={barHeight} fill={palette.neutralLight} />\n </g>,\n );\n }\n }\n const hideNumber = hideRatio === undefined ? false : hideRatio;\n\n // Hide right side text of chart title for absolute-scale variant\n const showRatio =\n this.props.variant !== MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data!.chartData!.length === 2;\n const showNumber =\n this.props.variant !== MultiStackedBarChartVariant.AbsoluteScale && !hideNumber && data!.chartData!.length === 1;\n\n const getChartData = () => convertToLocaleString(data!.chartData![0].data ? data!.chartData![0].data : 0, culture);\n return (\n <div className={this._classNames.singleChartRoot}>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <div className={this._classNames.chartTitle}>\n {data!.chartTitle && (\n <FocusableTooltipText\n className={this._classNames.chartTitleLeft}\n content={data!.chartTitle}\n accessibilityData={data!.chartTitleAccessibilityData}\n />\n )}\n {showRatio && (\n <div {...getAccessibleDataObject(data!.chartDataAccessibilityData, 'text', false)}>\n <span className={this._classNames.ratioNumerator}>{getChartData()}</span>\n {!hideDenominator && (\n <span className={this._classNames.ratioDenominator}>\n {' / ' + convertToLocaleString(barTotalValue, culture)}\n </span>\n )}\n </div>\n )}\n {showNumber && (\n <div\n className={this._classNames.ratioNumerator}\n {...getAccessibleDataObject(data!.chartDataAccessibilityData, 'text', false)}\n >\n {getChartData()}\n </div>\n )}\n </div>\n </FocusZone>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <div className={this._classNames.chartWrapper}>\n <svg className={this._classNames.chart} aria-label={data?.chartTitle}>\n {bars}\n </svg>\n </div>\n </FocusZone>\n </div>\n );\n }\n\n private _onBarFocus(pointData: number, color: string, point: IChartDataPoint): void {\n this.state.refArray.forEach((obj: IRefArrayData) => {\n if (obj.legendText === point.legend!) {\n this.setState({\n refSelected: obj.refElement,\n /** Show the callout if highlighted bar is focused and Hide it if unhighlighted bar is focused */\n isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend!,\n calloutLegend: point.legend!,\n dataForHoverCard: pointData,\n color: color,\n xCalloutValue: point.xAxisCalloutData!,\n yCalloutValue: point.yAxisCalloutData!,\n dataPointCalloutProps: point,\n callOutAccessibilityData: point.callOutAccessibilityData!,\n });\n }\n });\n }\n\n private _refCallback(element: SVGGElement, legendTitle: string): void {\n this.state.refArray.push({ legendText: legendTitle, refElement: element });\n }\n\n private _adjustProps = (): void => {\n const { theme, className, styles, width, barHeight } = this.props;\n this._classNames = getClassNames(styles!, {\n legendColor: this.state.color,\n theme: theme!,\n width: width,\n className,\n barHeight: barHeight,\n });\n };\n\n private _onHover(legendTitle: string): void {\n this.setState({\n activeLegend: legendTitle,\n });\n }\n\n private _getLegendData = (data: IChartProps[], hideRatio: boolean[], palette: IPalette): JSX.Element => {\n const defaultPalette: string[] = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];\n const actions: ILegend[] = [];\n data.forEach((singleChartData: IChartProps, index: number) => {\n const validChartData = singleChartData.chartData!.filter((_: IChartDataPoint) => !_.placeHolder);\n if (validChartData!.length < 3) {\n const hideNumber = hideRatio[index] === undefined ? false : hideRatio[index];\n if (hideNumber) {\n validChartData!.forEach((point: IChartDataPoint) => {\n const color: string = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n const checkSimilarLegends = actions.filter(\n (leg: ILegend) => leg.title === point.legend! && leg.color === color,\n );\n if (checkSimilarLegends!.length > 0) {\n return;\n }\n const legend: ILegend = {\n title: point.legend!,\n color: color,\n action: () => {\n this._onClick(point.legend!);\n },\n hoverAction: () => {\n this._handleChartMouseLeave();\n this._onHover(point.legend!);\n },\n onMouseOutAction: () => {\n this._onLeave();\n },\n };\n actions.push(legend);\n });\n }\n } else {\n validChartData!.forEach((point: IChartDataPoint) => {\n const color: string = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n const checkSimilarLegends = actions.filter(\n (leg: ILegend) => leg.title === point.legend! && leg.color === color,\n );\n if (checkSimilarLegends!.length > 0) {\n return;\n }\n const legend: ILegend = {\n title: point.legend!,\n color: color,\n action: () => {\n this._onClick(point.legend!);\n },\n hoverAction: () => {\n this._handleChartMouseLeave();\n this._onHover(point.legend!);\n },\n onMouseOutAction: () => {\n this._onLeave();\n },\n };\n actions.push(legend);\n });\n }\n });\n return (\n <Legends\n legends={actions}\n overflowProps={this.props.legendsOverflowProps}\n focusZonePropsInHoverCard={this.props.focusZonePropsForLegendsInHoverCard}\n overflowText={this.props.legendsOverflowText}\n {...this.props.legendProps}\n />\n );\n };\n\n private _onClick(legendTitle: string): void {\n if (this.state.selectedLegend === legendTitle) {\n this.setState({\n selectedLegend: '',\n });\n } else {\n this.setState({\n selectedLegend: legendTitle,\n });\n }\n }\n\n private _onLeave(): void {\n this.setState({\n activeLegend: '',\n });\n }\n\n private _onBarHover(\n pointData: number,\n color: string,\n point: IChartDataPoint,\n mouseEvent: React.MouseEvent<SVGPathElement>,\n ): void {\n mouseEvent.persist();\n\n if (this._calloutAnchorPoint !== point) {\n this._calloutAnchorPoint = point;\n this.setState({\n refSelected: mouseEvent,\n /** Show the callout if highlighted bar is hovered and Hide it if unhighlighted bar is hovered */\n isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend!,\n calloutLegend: point.legend!,\n dataForHoverCard: pointData,\n color: color,\n xCalloutValue: point.xAxisCalloutData!,\n yCalloutValue: point.yAxisCalloutData!,\n dataPointCalloutProps: point,\n callOutAccessibilityData: point.callOutAccessibilityData!,\n });\n }\n }\n\n private _onBarLeave(): void {\n /**/\n }\n\n private _handleChartMouseLeave = () => {\n this._calloutAnchorPoint = null;\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n private _redirectToUrl(href: string | undefined): void {\n href ? (window.location.href = href) : '';\n }\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n /**\n * This function checks if the given legend is highlighted or not.\n * A legend can be highlighted in 2 ways:\n * 1. selection: if the user clicks on it\n * 2. hovering: if there is no selected legend and the user hovers over it\n */\n private _legendHighlighted = (legendTitle: string) => {\n return (\n this.state.selectedLegend === legendTitle ||\n (this.state.selectedLegend === '' && this.state.activeLegend === legendTitle)\n );\n };\n\n /**\n * This function checks if none of the legends is selected or hovered.\n */\n private _noLegendHighlighted = () => {\n return this.state.selectedLegend === '' && this.state.activeLegend === '';\n };\n\n private _getAriaLabel = (point: IChartDataPoint): string => {\n const legend = point.xAxisCalloutData || point.legend;\n const yValue = point.yAxisCalloutData || point.data || 0;\n return point.callOutAccessibilityData?.ariaLabel || (legend ? `${legend}, ` : '') + `${yValue}.`;\n };\n\n private _computeLongestBarTotalValue = () => {\n let longestBarTotalValue = 0;\n this.props.data!.forEach(({ chartData }) => {\n const barTotalValue = chartData!.reduce(\n (acc: number, point: IChartDataPoint) => acc + (point.data ? point.data : 0),\n 0,\n );\n longestBarTotalValue = Math.max(longestBarTotalValue, barTotalValue);\n });\n return longestBarTotalValue;\n };\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IMultiStackedBarChartProps } from './MultiStackedBarChart.types';
3
- export declare const MultiStackedBarChart: React.FunctionComponent<IMultiStackedBarChartProps>;
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Utilities", "./MultiStackedBarChart.base", "./MultiStackedBarChart.styles"], function (require, exports, Utilities_1, MultiStackedBarChart_base_1, MultiStackedBarChart_styles_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MultiStackedBarChart = void 0;
5
- // Create a MultiStackedBarChart variant which uses these default styles and this styled subcomponent.
6
- exports.MultiStackedBarChart = Utilities_1.styled(MultiStackedBarChart_base_1.MultiStackedBarChartBase, MultiStackedBarChart_styles_1.getMultiStackedBarChartStyles);
7
- });
8
- //# sourceMappingURL=MultiStackedBarChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStackedBarChart.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.tsx"],"names":[],"mappings":";;;;IAUA,sGAAsG;IACzF,QAAA,oBAAoB,GAAwD,kBAAM,CAI7F,oDAAwB,EAAE,2DAA6B,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport {\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles,\n} from './MultiStackedBarChart.types';\nimport { MultiStackedBarChartBase } from './MultiStackedBarChart.base';\nimport { getMultiStackedBarChartStyles } from './MultiStackedBarChart.styles';\n\n// Create a MultiStackedBarChart variant which uses these default styles and this styled subcomponent.\nexport const MultiStackedBarChart: React.FunctionComponent<IMultiStackedBarChartProps> = styled<\n IMultiStackedBarChartProps,\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles\n>(MultiStackedBarChartBase, getMultiStackedBarChartStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IMultiStackedBarChartStyleProps, IMultiStackedBarChartStyles } from './MultiStackedBarChart.types';
2
- export declare const getMultiStackedBarChartStyles: (props: IMultiStackedBarChartStyleProps) => IMultiStackedBarChartStyles;
@@ -1,93 +0,0 @@
1
- define(["require", "exports", "tslib", "./MultiStackedBarChart.types", "@fluentui/react/lib/Styling"], function (require, exports, tslib_1, MultiStackedBarChart_types_1, Styling_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getMultiStackedBarChartStyles = void 0;
5
- var getMultiStackedBarChartStyles = function (props) {
6
- var className = props.className, width = props.width, barHeight = props.barHeight, shouldHighlight = props.shouldHighlight, theme = props.theme, href = props.href, variant = props.variant, hideLabels = props.hideLabels;
7
- return {
8
- root: [
9
- theme.fonts.medium,
10
- 'ms-StackedBarChart',
11
- {
12
- display: 'flex',
13
- flexDirection: 'column',
14
- width: width ? width : '100%',
15
- },
16
- className,
17
- ],
18
- items: {
19
- marginBottom: '11px',
20
- },
21
- chart: {
22
- width: '100%',
23
- height: barHeight ? barHeight : 12,
24
- display: 'block',
25
- overflow: 'visible',
26
- },
27
- chartTitle: tslib_1.__assign(tslib_1.__assign({}, theme.fonts.small), { display: 'flex', justifyContent: 'space-between' }),
28
- chartTitleLeft: {
29
- textOverflow: 'ellipsis',
30
- overflow: 'hidden',
31
- whiteSpace: 'nowrap',
32
- display: 'block',
33
- color: theme.palette.neutralPrimary,
34
- marginBottom: variant === MultiStackedBarChart_types_1.MultiStackedBarChartVariant.AbsoluteScale ? '4px' : '5px',
35
- },
36
- singleChartRoot: {
37
- width: width ? width : '100%',
38
- display: 'flex',
39
- flexDirection: 'column',
40
- marginBottom: variant === MultiStackedBarChart_types_1.MultiStackedBarChartVariant.AbsoluteScale ? '16px' : '10px',
41
- },
42
- opacityChangeOnHover: {
43
- opacity: shouldHighlight ? '' : '0.1',
44
- cursor: href ? 'pointer' : 'default',
45
- stroke: theme.palette.white,
46
- strokeWidth: 2,
47
- selectors: {
48
- '&:focus': {
49
- stroke: theme.palette.black,
50
- strokeWidth: '2px',
51
- },
52
- },
53
- },
54
- ratioNumerator: {
55
- fontSize: Styling_1.FontSizes.medium,
56
- fontWeight: Styling_1.FontWeights.semibold,
57
- color: theme.palette.neutralPrimary,
58
- },
59
- ratioDenominator: {
60
- fontSize: Styling_1.FontSizes.medium,
61
- color: theme.palette.neutralPrimary,
62
- },
63
- placeHolderOnHover: {
64
- opacity: shouldHighlight ? '' : '0.1',
65
- cursor: 'default',
66
- stroke: theme.palette.white,
67
- strokeWidth: '2',
68
- selectors: {
69
- '&:focus': {
70
- stroke: theme.palette.black,
71
- strokeWidth: '2px',
72
- },
73
- },
74
- },
75
- legendContainer: {
76
- margin: '5px 0px 0px 4px',
77
- },
78
- noData: {
79
- cursor: href ? 'pointer' : 'default',
80
- },
81
- barLabel: {
82
- fontSize: Styling_1.FontSizes.small,
83
- fontWeight: Styling_1.FontWeights.semibold,
84
- fill: theme.palette.neutralPrimary,
85
- },
86
- chartWrapper: {
87
- paddingRight: variant === MultiStackedBarChart_types_1.MultiStackedBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,
88
- },
89
- };
90
- };
91
- exports.getMultiStackedBarChartStyles = getMultiStackedBarChartStyles;
92
- });
93
- //# sourceMappingURL=MultiStackedBarChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStackedBarChart.styles.js","sourceRoot":"../src/","sources":["components/StackedBarChart/MultiStackedBarChart.styles.ts"],"names":[],"mappings":";;;;IAOO,IAAM,6BAA6B,GAAG,UAAC,KAAsC;QAC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AAE;gBACR,QAAQ,EAAE,mBAAS,CAAC,KAAK;gBACzB,UAAU,EAAE,qBAAW,CAAC,QAAQ;gBAChC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;aACnC;YACD,YAAY,EAAE;gBACZ,YAAY,EAAE,OAAO,KAAK,wDAA2B,CAAC,aAAa,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;aAC5F;SACF,CAAC;IACJ,CAAC,CAAC;IAzFW,QAAA,6BAA6B,iCAyFxC","sourcesContent":["import {\n IMultiStackedBarChartStyleProps,\n IMultiStackedBarChartStyles,\n MultiStackedBarChartVariant,\n} from './MultiStackedBarChart.types';\nimport { FontSizes, FontWeights } from '@fluentui/react/lib/Styling';\n\nexport const getMultiStackedBarChartStyles = (props: IMultiStackedBarChartStyleProps): IMultiStackedBarChartStyles => {\n const { className, width, barHeight, shouldHighlight, theme, href, variant, hideLabels } = props;\n return {\n root: [\n theme.fonts.medium,\n 'ms-StackedBarChart',\n {\n display: 'flex',\n flexDirection: 'column',\n width: width ? width : '100%',\n },\n className,\n ],\n items: {\n marginBottom: '11px',\n },\n chart: {\n width: '100%',\n height: barHeight ? barHeight : 12,\n display: 'block',\n overflow: 'visible',\n },\n chartTitle: {\n ...theme.fonts.small,\n display: 'flex',\n justifyContent: 'space-between',\n },\n chartTitleLeft: {\n textOverflow: 'ellipsis',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n display: 'block',\n color: theme.palette.neutralPrimary,\n marginBottom: variant === MultiStackedBarChartVariant.AbsoluteScale ? '4px' : '5px',\n },\n singleChartRoot: {\n width: width ? width : '100%',\n display: 'flex',\n flexDirection: 'column',\n marginBottom: variant === MultiStackedBarChartVariant.AbsoluteScale ? '16px' : '10px',\n },\n opacityChangeOnHover: {\n opacity: shouldHighlight ? '' : '0.1',\n cursor: href ? 'pointer' : 'default',\n stroke: theme.palette.white,\n strokeWidth: 2,\n selectors: {\n '&:focus': {\n stroke: theme.palette.black,\n strokeWidth: '2px',\n },\n },\n },\n ratioNumerator: {\n fontSize: FontSizes.medium,\n fontWeight: FontWeights.semibold,\n color: theme.palette.neutralPrimary,\n },\n ratioDenominator: {\n fontSize: FontSizes.medium,\n color: theme.palette.neutralPrimary,\n },\n placeHolderOnHover: {\n opacity: shouldHighlight ? '' : '0.1',\n cursor: 'default',\n stroke: theme.palette.white,\n strokeWidth: '2',\n selectors: {\n '&:focus': {\n stroke: theme.palette.black,\n strokeWidth: '2px',\n },\n },\n },\n legendContainer: {\n margin: '5px 0px 0px 4px',\n },\n noData: {\n cursor: href ? 'pointer' : 'default',\n },\n barLabel: {\n fontSize: FontSizes.small,\n fontWeight: FontWeights.semibold,\n fill: theme.palette.neutralPrimary,\n },\n chartWrapper: {\n paddingRight: variant === MultiStackedBarChartVariant.AbsoluteScale && !hideLabels ? 40 : 0,\n },\n };\n};\n"]}