@fluentui/react-charting 5.16.22 → 5.16.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/CHANGELOG.json +67 -1
  2. package/CHANGELOG.md +26 -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 +0,0 @@
1
- {"version":3,"file":"AreaChart.base.js","sourceRoot":"../src/","sources":["components/AreaChart/AreaChart.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,IAAI,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,IAAI,OAAO,EAAE,cAAc,IAAI,YAAY,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5G,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EAEL,cAAc,GAUf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,GAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAW,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,IAAM,aAAa,GAAG,kBAAkB,EAA0C,CAAC;AAEnF,8DAA8D;AAC9D,IAAM,MAAM,GAAG,QAAQ,CAAC,UAAC,CAAM,IAAK,OAAA,CAAC,CAAC,CAAC,EAAH,CAAG,CAAC,CAAC,IAAI,CAAC;AAE9C,IAAM,cAAc,GAAG,YAAY,CAAC;AAEpC,IAAK,mBAGJ;AAHD,WAAK,mBAAmB;IACtB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AACj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,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;gBAC7D,IAAM,UAAU,GAAG,KAAK,CAAC,eAAgB,GAAG,KAAI,CAAC,OAAO,CAAC,GAAI,CAAC;gBAC9D,OAAO,CACL;oBACE;wBACE,8BACE,EAAE,EAAE,KAAI,CAAC,OAAO,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,aAAa,EACnB,WAAW,EAAE,KAAI,CAAC,gBAAgB,EAClC,UAAU,EAAE,KAAI,CAAC,eAAe,EAChC,WAAW,EAAE,KAAI,CAAC,gBAAgB,GAClC,CACA;oBACJ,+BAAI,KAAI,CAAC,MAAM,CAAK,CACnB,CACJ,CAAC;YACJ,CAAC,IACD,CACH,CAAC;IACJ,CAAC;IAiOO,sCAAc,GAAtB,UAAuB,MAAc;QACnC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,KAAK,MAAM,EAAE;YACxC,IAAI,CAAC,QAAQ,CAAC;gBACZ,cAAc,EAAE,EAAE;aACnB,CAAC,CAAC;SACJ;aAAM;YACL,IAAI,CAAC,QAAQ,CAAC;gBACZ,cAAc,EAAE,MAAM;aACvB,CAAC,CAAC;SACJ;IACH,CAAC;IAEO,sCAAc,GAAtB,UAAuB,MAAc;QACnC,IAAI,CAAC,QAAQ,CAAC;YACZ,YAAY,EAAE,MAAM;SACrB,CAAC,CAAC;IACL,CAAC;IAEO,sCAAc,GAAtB;QACE,IAAI,CAAC,QAAQ,CAAC;YACZ,YAAY,EAAE,EAAE;SACjB,CAAC,CAAC;IACL,CAAC;IA2WH,oBAAC;AAAD,CAAC,AA5uBD,CAAmC,KAAK,CAAC,SAAS,GA4uBjD","sourcesContent":["import * as React from 'react';\nimport { max as d3Max, bisector } from 'd3-array';\nimport { clientPoint } from 'd3-selection';\nimport { select as d3Select } from 'd3-selection';\nimport { area as d3Area, stack as d3Stack, curveMonotoneX as d3CurveBasis, line as d3Line } from 'd3-shape';\nimport { classNamesFunction, find, getId, memoizeFunction } from '@fluentui/react/lib/Utilities';\nimport {\n IAccessibilityProps,\n CartesianChart,\n ICustomizedCalloutData,\n IAreaChartProps,\n IBasestate,\n ILineChartDataPoint,\n ILineChartPoints,\n IChildProps,\n IMargins,\n IAreaChartStyleProps,\n IAreaChartStyles,\n} from '../../index';\nimport { warnDeprecations } from '@fluentui/react/lib/Utilities';\nimport {\n calloutData,\n getXAxisType,\n ChartTypes,\n XAxisTypes,\n getTypeOfAxis,\n tooltipOfXAxislabels,\n getNextColor,\n getColorFromToken,\n} from '../../utilities/index';\nimport { ILegend, Legends } from '../Legends/index';\nimport { DirectionalHint } from '@fluentui/react/lib/Callout';\n\nconst getClassNames = classNamesFunction<IAreaChartStyleProps, IAreaChartStyles>();\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst bisect = bisector((d: any) => d.x).left;\n\nconst COMPONENT_NAME = 'AREA CHART';\n\nenum InterceptVisibility {\n show = 'visibility',\n hide = 'hidden',\n}\n\nexport interface IAreaChartAreaPoint {\n xVal: string | number;\n values: IAreaChartDataSetPoint;\n}\nexport interface IAreaChartDataSetPoint {\n [key: string]: number | string;\n}\nexport interface IDPointType {\n values: { 0: number; 1: number; data: {} };\n xVal: number | Date;\n}\n\nexport interface IAreaChartState extends IBasestate {\n lineXValue: number;\n displayOfLine: InterceptVisibility;\n isCircleClicked: boolean;\n dataPointCalloutProps?: ICustomizedCalloutData;\n stackCalloutProps?: ICustomizedCalloutData;\n nearestCircleToHighlight: number | string | Date | null;\n xAxisCalloutAccessibilityData?: IAccessibilityProps;\n isShowCalloutPending: boolean;\n /** focused point */\n activePoint: string;\n}\n\nexport class AreaChartBase extends React.Component<IAreaChartProps, IAreaChartState> {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _calloutPoints: any;\n private _createSet: (data: ILineChartPoints[]) => {\n colors: string[];\n opacity: number[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n stackedInfo: any;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n calloutPoints: any;\n };\n private _colors: string[];\n private _opacity: number[];\n private _uniqueIdForGraph: string;\n private _verticalLineId: string;\n private _circleId: string;\n private _uniqueCallOutID: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _stackedData: any;\n private _chart: JSX.Element[];\n private margins: IMargins;\n private _rectId: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _xAxisRectScale: any;\n // determines if the given area chart has multiple stacked bar charts\n private _isMultiStackChart: boolean;\n private _tooltipId: string;\n private _highlightedCircleId: string;\n\n public constructor(props: IAreaChartProps) {\n super(props);\n this._createSet = memoizeFunction(this._createDataSet);\n this.state = {\n selectedLegend: '',\n activeLegend: '',\n hoverXValue: '',\n isCalloutVisible: false,\n refSelected: null,\n YValueHover: [],\n lineXValue: 0,\n displayOfLine: InterceptVisibility.hide,\n isCircleClicked: false,\n nearestCircleToHighlight: null,\n isShowCalloutPending: false,\n activePoint: '',\n };\n warnDeprecations(COMPONENT_NAME, props, {\n showYAxisGridLines: 'Dont use this property. Lines are drawn by default',\n });\n this._uniqueIdForGraph = getId('areaChart_');\n this._verticalLineId = getId('verticalLine_');\n this._circleId = getId('circle');\n this._rectId = getId('rectangle');\n this._tooltipId = getId('AreaChartTooltipID');\n }\n\n public componentDidUpdate() {\n if (this.state.isShowCalloutPending) {\n this.setState({\n refSelected: `#${this._highlightedCircleId}`,\n isCalloutVisible: true,\n isShowCalloutPending: false,\n });\n }\n }\n\n public render(): JSX.Element {\n const { lineChartData, chartTitle } = this.props.data;\n const points = this._addDefaultColors(lineChartData);\n const { colors, opacity, stackedInfo, calloutPoints } = this._createSet(points);\n this._calloutPoints = calloutPoints;\n const isXAxisDateType = getXAxisType(points);\n this._colors = colors;\n this._opacity = opacity;\n this._stackedData = stackedInfo.stackedData;\n const legends: JSX.Element = this._getLegendData(points);\n\n const tickParams = {\n tickValues: this.props.tickValues,\n tickFormat: this.props.tickFormat,\n };\n\n const calloutProps = {\n target: this.state.refSelected,\n isCalloutVisible: this.state.isCalloutVisible,\n directionalHint: DirectionalHint.topAutoEdge,\n YValueHover: this.state.YValueHover,\n hoverXValue: this.state.hoverXValue,\n id: `toolTip${this._uniqueCallOutID}`,\n gapSpace: 15,\n isBeakVisible: false,\n onDismiss: this._closeCallout,\n 'data-is-focusable': true,\n xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData,\n ...this.props.calloutProps,\n };\n return (\n <CartesianChart\n {...this.props}\n chartTitle={chartTitle}\n points={points}\n chartType={ChartTypes.AreaChart}\n calloutProps={calloutProps}\n legendBars={legends}\n isCalloutForStack\n xAxisType={isXAxisDateType ? XAxisTypes.DateAxis : XAxisTypes.NumericAxis}\n tickParams={tickParams}\n maxOfYVal={stackedInfo.maxOfYVal}\n getGraphData={this._getGraphData}\n getmargins={this._getMargins}\n customizedCallout={this._getCustomizedCallout()}\n onChartMouseLeave={this._handleChartMouseLeave}\n /* eslint-disable react/jsx-no-bind */\n // eslint-disable-next-line react/no-children-prop\n children={(props: IChildProps) => {\n this._xAxisRectScale = props.xScale;\n const ticks = this._xAxisRectScale.ticks();\n const width1 = this._xAxisRectScale(ticks[ticks.length - 1]);\n const rectHeight = props.containerHeight! - this.margins.top!;\n return (\n <>\n <g>\n <rect\n id={this._rectId}\n width={width1}\n height={rectHeight}\n fill={'transparent'}\n onMouseMove={this._onRectMouseMove}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n />\n </g>\n <g>{this._chart}</g>\n </>\n );\n }}\n />\n );\n }\n\n private _getMargins = (margins: IMargins) => {\n this.margins = margins;\n };\n\n private _onRectMouseMove = (mouseEvent: React.MouseEvent<SVGRectElement | SVGPathElement | SVGCircleElement>) => {\n mouseEvent.persist();\n const { data } = this.props;\n const { lineChartData } = data;\n // This will get the value of the X when mouse is on the chart\n const xOffset = this._xAxisRectScale.invert(clientPoint(document.getElementById(this._rectId)!, mouseEvent)[0]);\n const i = bisect(lineChartData![0].data, xOffset);\n const d0 = lineChartData![0].data[i - 1] as ILineChartDataPoint;\n const d1 = lineChartData![0].data[i] as ILineChartDataPoint;\n let axisType: XAxisTypes | null = null;\n let pointToHighlight: string | Date | number | null = null;\n let index: null | number = null;\n if (d0 === undefined && d1 !== undefined) {\n pointToHighlight = d1.x;\n index = i;\n } else if (d0 !== undefined && d1 === undefined) {\n pointToHighlight = d0.x;\n index = i - 1;\n } else {\n axisType = getTypeOfAxis(lineChartData![0].data[0].x, true) as XAxisTypes;\n let x0;\n let point0;\n let point1;\n switch (axisType) {\n case XAxisTypes.DateAxis:\n x0 = new Date(xOffset).getTime();\n point0 = (d0.x as Date).getTime();\n point1 = (d1.x as Date).getTime();\n pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;\n index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;\n break;\n case XAxisTypes.NumericAxis:\n x0 = xOffset as number;\n point0 = d0.x as number;\n point1 = d1.x as number;\n pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;\n index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;\n break;\n default:\n break;\n }\n }\n\n const { xAxisCalloutData, xAxisCalloutAccessibilityData } = lineChartData![0].data[index as number];\n const formattedDate = pointToHighlight instanceof Date ? pointToHighlight.toLocaleString() : pointToHighlight;\n const modifiedXVal = pointToHighlight instanceof Date ? pointToHighlight.getTime() : pointToHighlight;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const found: any = find(this._calloutPoints, (element: { x: string | number }) => {\n return element.x === modifiedXVal;\n });\n const nearestCircleToHighlight =\n axisType === XAxisTypes.DateAxis ? (pointToHighlight as Date).getTime() : pointToHighlight;\n const pointToHighlightUpdated = this.state.nearestCircleToHighlight !== nearestCircleToHighlight;\n // if no points need to be called out then don't show vertical line and callout card\n if (found && pointToHighlightUpdated && !this.state.isShowCalloutPending) {\n this.setState({\n nearestCircleToHighlight: nearestCircleToHighlight,\n isCalloutVisible: false,\n isShowCalloutPending: true,\n lineXValue: this._xAxisRectScale(pointToHighlight),\n displayOfLine: InterceptVisibility.show,\n isCircleClicked: false,\n stackCalloutProps: found!,\n YValueHover: found.values,\n dataPointCalloutProps: found!,\n hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,\n xAxisCalloutAccessibilityData,\n activePoint: '',\n });\n } else {\n /*\n When above if condition is false but found=true, it means either\n\n 1). pointToHighlightUpdated is false.\n For this case we dont need to do anything.\n\n 2). isShowCalloutPending is true.\n For this case there will be no callout updation for the event.\n This condition has been added to prevent repeated callout flashing.\n Currently there is a fraction of second delay between hover event and subsequent callout refresh.\n In the meantime if another event is received, the callout continues to flash for the set of\n intermediate hover events.\n\n This does not cause any issue as the user interaction takes atleast a fraction of second and the final\n callout state is ultimately achieved.\n If a user performs very swift mouse maneuver, the intermediate events will be lost but the callout experience\n remains smooth.\n */\n }\n if (!found) {\n this.setState({\n isCalloutVisible: false,\n nearestCircleToHighlight: nearestCircleToHighlight,\n displayOfLine: InterceptVisibility.hide,\n isCircleClicked: false,\n });\n }\n };\n /**\n * just cleaning up the state which we have set in the mouse move event\n */\n private _onRectMouseOut = () => {\n /**/\n };\n\n private _handleChartMouseLeave = () => {\n this.setState({\n refSelected: null,\n isCalloutVisible: false,\n nearestCircleToHighlight: null,\n lineXValue: 0,\n displayOfLine: InterceptVisibility.hide,\n isCircleClicked: false,\n stackCalloutProps: undefined,\n dataPointCalloutProps: undefined,\n hoverXValue: undefined,\n YValueHover: [],\n });\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _getStackedData = (keys: string[], dataSet: any) => {\n const stackedValues = d3Stack().keys(keys)(dataSet);\n const maxOfYVal = d3Max(stackedValues[stackedValues.length - 1], dp => dp[1])!;\n const stackedData: Array<IAreaChartDataSetPoint[]> = [];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n stackedValues.forEach((layer: any) => {\n const currentStack: IAreaChartDataSetPoint[] = [];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n layer.forEach((d: any) => {\n currentStack.push({\n values: d,\n xVal: d.data.xVal,\n });\n });\n stackedData.push(currentStack);\n });\n this._isMultiStackChart = stackedData && stackedData.length > 1 ? true : false;\n return {\n stackedData,\n maxOfYVal,\n };\n };\n\n private _createDataSet = (points: ILineChartPoints[]) => {\n const allChartPoints: ILineChartDataPoint[] = [];\n const dataSet: IAreaChartDataSetPoint[] = [];\n const colors: string[] = [];\n const opacity: number[] = [];\n const calloutPoints = calloutData(points!);\n\n points &&\n points.length &&\n points.forEach((singleChartPoint: ILineChartPoints) => {\n colors.push(singleChartPoint.color!);\n opacity.push(singleChartPoint.opacity || 1);\n allChartPoints.push(...singleChartPoint.data);\n });\n\n let tempArr = allChartPoints;\n while (tempArr.length) {\n const valToCheck = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;\n const filteredChartPoints: ILineChartDataPoint[] = tempArr.filter(\n (point: ILineChartDataPoint) => (point.x instanceof Date ? point.x.toLocaleString() : point.x) === valToCheck,\n );\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const singleDataset: any = {};\n filteredChartPoints.forEach((singleDataPoint: ILineChartDataPoint, index: number) => {\n singleDataset.xVal = singleDataPoint.x;\n singleDataset[`chart${index}`] = singleDataPoint.y;\n });\n dataSet.push(singleDataset);\n // removing compared objects from array\n const val = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;\n tempArr = tempArr.filter(\n (point: ILineChartDataPoint) => (point.x instanceof Date ? point.x.toLocaleString() : point.x) !== val,\n );\n }\n\n // get keys from dataset, used to create stacked data\n const keysLength: number = dataSet && Object.keys(dataSet[0])!.length;\n const keys: string[] = [];\n for (let i = 0; i < keysLength - 1; i++) {\n const keyVal = `chart${i}`;\n keys.push(keyVal);\n }\n\n // Stacked Info used to draw graph\n const stackedInfo = this._getStackedData(keys, dataSet);\n\n return {\n colors,\n opacity,\n keys,\n stackedInfo,\n calloutPoints,\n };\n };\n\n private _getCustomizedCallout = () => {\n return this.props.onRenderCalloutPerStack\n ? this.props.onRenderCalloutPerStack(this.state.stackCalloutProps)\n : this.props.onRenderCalloutPerDataPoint\n ? this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps)\n : null;\n };\n\n private _getGraphData = (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n xAxis: any,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n yAxis: any,\n containerHeight: number,\n containerWidth: number,\n xElement: SVGElement | null,\n ) => {\n this._chart = this._drawGraph(containerHeight, xAxis, yAxis, xElement!);\n };\n\n private _onLegendClick(legend: string): void {\n if (this.state.selectedLegend === legend) {\n this.setState({\n selectedLegend: '',\n });\n } else {\n this.setState({\n selectedLegend: legend,\n });\n }\n }\n\n private _onLegendHover(legend: string): void {\n this.setState({\n activeLegend: legend,\n });\n }\n\n private _onLegendLeave(): void {\n this.setState({\n activeLegend: '',\n });\n }\n\n private _getLegendData = (points: ILineChartPoints[]): JSX.Element => {\n const data = points;\n const actions: ILegend[] = [];\n\n data.forEach((singleChartData: ILineChartPoints) => {\n const color: string = singleChartData.color!;\n const checkSimilarLegends = actions.filter(\n (leg: ILegend) => leg.title === singleChartData.legend && leg.color === color,\n );\n if (checkSimilarLegends!.length > 0) {\n return;\n }\n\n const legend: ILegend = {\n title: singleChartData.legend,\n color: color,\n action: () => {\n this._onLegendClick(singleChartData.legend);\n },\n hoverAction: () => {\n this._handleChartMouseLeave();\n this._onLegendHover(singleChartData.legend);\n },\n onMouseOutAction: () => {\n this._onLegendLeave();\n },\n };\n\n actions.push(legend);\n });\n return (\n <Legends\n legends={actions}\n overflowProps={this.props.legendsOverflowProps}\n enabledWrapLines={this.props.enabledLegendsWrapLines}\n focusZonePropsInHoverCard={this.props.focusZonePropsForLegendsInHoverCard}\n {...this.props.legendProps}\n />\n );\n };\n\n private _onDataPointClick = (func: (() => void) | undefined) => {\n if (func) {\n func();\n }\n this.setState({ isCircleClicked: true });\n };\n\n private _getOpacity = (legend: string): number => {\n if (!this._isMultiStackChart) {\n return 0.7;\n } else {\n const opacity = this._legendHighlighted(legend) || this._noLegendHighlighted() ? 0.7 : 0.1;\n return opacity;\n }\n };\n\n private _getLineOpacity = (legend: string): number => {\n if (!this._isMultiStackChart) {\n return 1;\n } else {\n let opacity = 0.3;\n if (this.state.isCalloutVisible) {\n opacity = 1;\n }\n if (!this._noLegendHighlighted()) {\n opacity = this._legendHighlighted(legend) ? 0 : 0.1;\n }\n return opacity;\n }\n };\n\n private _updateCircleFillColor = (xDataPoint: number | Date, lineColor: string, circleId: string): string => {\n let fillColor = lineColor;\n if (this.state.nearestCircleToHighlight === xDataPoint || this.state.activePoint === circleId) {\n this._highlightedCircleId = circleId;\n if (!this.state.isCircleClicked) {\n fillColor = this.props.theme!.palette.white;\n }\n }\n\n return fillColor;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _drawGraph = (containerHeight: number, xScale: any, yScale: any, xElement: SVGElement): JSX.Element[] => {\n const points = this._addDefaultColors(this.props.data.lineChartData);\n const { pointOptions, pointLineOptions } = this.props.data;\n const area = d3Area()\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .x((d: any) => xScale(d.xVal))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y0((d: any) => yScale(d.values[0]))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y1((d: any) => yScale(d.values[1]))\n .curve(d3CurveBasis);\n const line = d3Line()\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .x((d: any) => xScale(d.xVal))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .y((d: any) => yScale(d.values[1]))\n .curve(d3CurveBasis);\n\n const graph: JSX.Element[] = [];\n let lineColor: string;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this._stackedData.forEach((singleStackedData: Array<any>, index: number) => {\n graph.push(\n <React.Fragment key={`${index}-graph-${this._uniqueIdForGraph}`}>\n <path\n id={`${index}-line-${this._uniqueIdForGraph}`}\n d={line(singleStackedData)!}\n fill={'transparent'}\n strokeWidth={3}\n stroke={this._colors[index]}\n opacity={this._getLineOpacity(points[index]!.legend)}\n onMouseMove={this._onRectMouseMove}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n {...points[index]!.lineOptions}\n />\n {singleStackedData.length === 1 ? (\n <circle\n id={`${index}-graph-${this._uniqueIdForGraph}`}\n cx={xScale(singleStackedData[0].xVal)}\n cy={yScale(singleStackedData[0].values[1])}\n r={6}\n stroke={this._colors[index]}\n strokeWidth={3}\n fill={this._colors[index]}\n opacity={this._opacity[index]}\n fillOpacity={this._getOpacity(points[index]!.legend)}\n onMouseMove={this._onRectMouseMove}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n />\n ) : (\n <path\n id={`${index}-graph-${this._uniqueIdForGraph}`}\n d={area(singleStackedData)!}\n fill={this._colors[index]}\n opacity={this._opacity[index]}\n fillOpacity={this._getOpacity(points[index]!.legend)}\n onMouseMove={this._onRectMouseMove}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n {...(this.props.optimizeLargeData && {\n 'data-is-focusable': true,\n role: 'img',\n 'aria-label': `${points[index].legend}, series ${index + 1} of ${points.length} with ${\n points[index].data.length\n } data points.`,\n })}\n />\n )}\n </React.Fragment>,\n );\n });\n\n const circleRadius = pointOptions && pointOptions.r ? Number(pointOptions.r) : 8;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this._stackedData.forEach((singleStackedData: Array<any>, index: number) => {\n if (points.length === index) {\n return;\n }\n\n if (!this.props.optimizeLargeData || singleStackedData.length === 1) {\n // Render circles for all data points\n graph.push(\n <g key={`${index}-dots-${this._uniqueIdForGraph}`} d={area(singleStackedData)!} clipPath=\"url(#clip)\">\n {singleStackedData.map((singlePoint: IDPointType, pointIndex: number) => {\n const circleId = `${this._circleId}_${index * this._stackedData[0].length + pointIndex}`;\n const xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;\n lineColor = points[index]!.color!;\n return (\n <circle\n key={circleId}\n id={circleId}\n data-is-focusable={true}\n cx={xScale(singlePoint.xVal)}\n cy={yScale(singlePoint.values[1])}\n stroke={lineColor}\n strokeWidth={3}\n fill={this._updateCircleFillColor(xDataPoint, lineColor, circleId)}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n onClick={this._onDataPointClick.bind(this, points[index]!.data[pointIndex].onDataPointClick!)}\n onFocus={() => this._handleFocus(index, pointIndex, circleId)}\n onBlur={this._handleBlur}\n {...pointOptions}\n r={this._getCircleRadius(xDataPoint, circleRadius, circleId)}\n role=\"img\"\n aria-label={this._getAriaLabel(index, pointIndex)}\n />\n );\n })}\n </g>,\n );\n } else {\n // Render circles for data points close to the mouse pointer only\n singleStackedData.forEach((singlePoint: IDPointType, pointIndex: number) => {\n const xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;\n if (this.state.nearestCircleToHighlight === xDataPoint) {\n const circleId = `${this._circleId}_${index * this._stackedData[0].length + pointIndex}`;\n lineColor = points[index]!.color!;\n graph.push(\n <circle\n key={circleId}\n id={circleId}\n cx={xScale(singlePoint.xVal)}\n cy={yScale(singlePoint.values[1])}\n stroke={lineColor}\n strokeWidth={3}\n fill={this._updateCircleFillColor(xDataPoint, lineColor, circleId)}\n onMouseOut={this._onRectMouseOut}\n onMouseOver={this._onRectMouseMove}\n onClick={this._onDataPointClick.bind(this, points[index]!.data[pointIndex].onDataPointClick!)}\n {...pointOptions}\n r={this._getCircleRadius(xDataPoint, circleRadius, circleId)}\n />,\n );\n }\n });\n }\n });\n graph.push(\n <line\n id={this._verticalLineId}\n key={this._verticalLineId}\n x1={this.state.lineXValue}\n y1={0}\n x2={this.state.lineXValue}\n y2={containerHeight}\n strokeWidth={1}\n strokeDasharray={5.5}\n stroke={lineColor!}\n opacity={0.5}\n visibility={this.state.displayOfLine}\n {...pointLineOptions}\n />,\n );\n const classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n });\n // Removing un wanted tooltip div from DOM, when prop not provided.\n if (!this.props.showXAxisLablesTooltip) {\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n // Used to display tooltip at x axis labels.\n if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {\n const xAxisElement = d3Select(xElement).call(xScale);\n try {\n document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId)!.remove();\n // eslint-disable-next-line no-empty\n } catch (e) {}\n const tooltipProps = {\n tooltipCls: classNames.tooltip!,\n id: this._tooltipId,\n xAxis: xAxisElement,\n };\n xAxisElement && tooltipOfXAxislabels(tooltipProps);\n }\n return graph;\n };\n\n private _getCircleRadius = (xDataPoint: number, circleRadius: number, circleId: string): number => {\n const { isCircleClicked, nearestCircleToHighlight, activePoint } = this.state;\n if (isCircleClicked && nearestCircleToHighlight === xDataPoint) {\n return 1;\n } else if (nearestCircleToHighlight === xDataPoint || activePoint === circleId) {\n return circleRadius;\n } else {\n return 0;\n }\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 = (legend: string) => {\n return (\n this.state.selectedLegend === legend || (this.state.selectedLegend === '' && this.state.activeLegend === legend)\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 _addDefaultColors = (lineChartData?: ILineChartPoints[]): ILineChartPoints[] => {\n return lineChartData\n ? lineChartData.map((item, index) => {\n let color: string;\n // isInverted property is applicable to v8 themes only\n if (typeof item.color === 'undefined') {\n color = getNextColor(index, 0, this.props.theme?.isInverted);\n } else {\n color = getColorFromToken(item.color, this.props.theme?.isInverted);\n }\n\n return { ...item, color };\n })\n : [];\n };\n\n private _handleFocus = (lineIndex: number, pointIndex: number, circleId: string) => {\n const { x, y, xAxisCalloutData } = this.props.data.lineChartData![lineIndex].data[pointIndex];\n const formattedDate = x instanceof Date ? x.toLocaleString() : x;\n const modifiedXVal = x instanceof Date ? x.getTime() : x;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const found: any = this._calloutPoints.find((e: { x: string | number }) => e.x === modifiedXVal);\n // Show details in the callout for the focused point only\n found.values = found.values.filter((e: { y: number }) => e.y === y);\n\n this.setState({\n refSelected: `#${circleId}`,\n isCalloutVisible: true,\n hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,\n YValueHover: found.values,\n stackCalloutProps: found,\n dataPointCalloutProps: found,\n activePoint: circleId,\n });\n };\n\n private _handleBlur = () => {\n this.setState({\n refSelected: null,\n isCalloutVisible: false,\n hoverXValue: undefined,\n YValueHover: [],\n stackCalloutProps: undefined,\n dataPointCalloutProps: undefined,\n activePoint: '',\n });\n };\n\n private _getAriaLabel = (lineIndex: number, pointIndex: number): string => {\n const line = this.props.data.lineChartData![lineIndex];\n const point = line.data[pointIndex];\n const formattedDate = point.x instanceof Date ? point.x.toLocaleString() : point.x;\n const xValue = point.xAxisCalloutData || formattedDate;\n const legend = line.legend;\n const yValue = point.yAxisCalloutData || point.y;\n return point.callOutAccessibilityData?.ariaLabel || `${xValue}. ${legend}, ${yValue}.`;\n };\n}\n"]}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { IAreaChartProps } from '../../index';
3
- export declare const AreaChart: React.FunctionComponent<IAreaChartProps>;
@@ -1,6 +0,0 @@
1
- import { styled } from '@fluentui/react/lib/Utilities';
2
- import { AreaChartBase } from '../AreaChart/AreaChart.base';
3
- import { getStyles } from './AreaChart.styles';
4
- // Create a AreaChart variant which uses these default styles and this styled subcomponent.
5
- export var AreaChart = styled(AreaChartBase, getStyles);
6
- //# sourceMappingURL=AreaChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AreaChart.js","sourceRoot":"../src/","sources":["components/AreaChart/AreaChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,2FAA2F;AAC3F,MAAM,CAAC,IAAM,SAAS,GAA6C,MAAM,CAIvE,aAAa,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IAreaChartProps, IAreaChartStyleProps, IAreaChartStyles } from '../../index';\nimport { AreaChartBase } from '../AreaChart/AreaChart.base';\nimport { getStyles } from './AreaChart.styles';\n\n// Create a AreaChart variant which uses these default styles and this styled subcomponent.\nexport const AreaChart: React.FunctionComponent<IAreaChartProps> = styled<\n IAreaChartProps,\n IAreaChartStyleProps,\n IAreaChartStyles\n>(AreaChartBase, getStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IAreaChartStyleProps, IAreaChartStyles } from './AreaChart.types';
2
- export declare const getStyles: (props: IAreaChartStyleProps) => IAreaChartStyles;
@@ -1,7 +0,0 @@
1
- import { __assign } from "tslib";
2
- export var getStyles = function (props) {
3
- return {
4
- tooltip: __assign(__assign({}, props.theme.fonts.medium), { display: 'flex', flexDirection: 'column', padding: '8px', position: 'absolute', textAlign: 'center', top: '0px', background: props.theme.semanticColors.bodyBackground, borderRadius: '2px', pointerEvents: 'none' }),
5
- };
6
- };
7
- //# sourceMappingURL=AreaChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AreaChart.styles.js","sourceRoot":"../src/","sources":["components/AreaChart/AreaChart.styles.ts"],"names":[],"mappings":";AAEA,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAA2B;IACnD,OAAO;QACL,OAAO,wBACF,KAAK,CAAC,KAAM,CAAC,KAAK,CAAC,MAAM,KAC5B,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,QAAQ,EACvB,OAAO,EAAE,KAAK,EACd,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,QAAQ,EACnB,GAAG,EAAE,KAAK,EACV,UAAU,EAAE,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,cAAc,EACtD,YAAY,EAAE,KAAK,EACnB,aAAa,EAAE,MAAM,GACtB;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { IAreaChartStyleProps, IAreaChartStyles } from './AreaChart.types';\n\nexport const getStyles = (props: IAreaChartStyleProps): IAreaChartStyles => {\n return {\n tooltip: {\n ...props.theme!.fonts.medium,\n display: 'flex',\n flexDirection: 'column',\n padding: '8px',\n position: 'absolute',\n textAlign: 'center',\n top: '0px',\n background: props.theme!.semanticColors.bodyBackground,\n borderRadius: '2px',\n pointerEvents: 'none',\n },\n };\n};\n"]}
@@ -1,37 +0,0 @@
1
- import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
2
- import { IChartProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, ICustomizedCalloutData, IMargins } from '../../types/index';
3
- import { ICartesianChartStyles, ICartesianChartStyleProps, ICartesianChartProps, IChildProps } from '../CommonComponents/CartesianChart.types';
4
- export type { IChildProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, IMargins };
5
- export interface IAreaChartProps extends ICartesianChartProps {
6
- /**
7
- * Data to render in the chart.
8
- */
9
- data: IChartProps;
10
- /**
11
- * This prop is used to draw Y axis grid lines on the chart. Default value will be false
12
- * @deprecated now lines are shown by default
13
- * no need to use this prop
14
- */
15
- showYAxisGridLines?: boolean;
16
- /**
17
- * Call to provide customized styling that will layer on top of the variant rules.
18
- */
19
- styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
20
- /**
21
- * Define a custom callout renderer for a data point
22
- */
23
- onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;
24
- /**
25
- * Define a custom callout renderer for a stack; default is to render per data point
26
- */
27
- onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;
28
- /**
29
- * The prop used to define the culture to localized the numbers
30
- */
31
- culture?: string;
32
- optimizeLargeData?: boolean;
33
- }
34
- export interface IAreaChartStyles extends ICartesianChartStyles {
35
- }
36
- export interface IAreaChartStyleProps extends ICartesianChartStyleProps {
37
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=AreaChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AreaChart.types.js","sourceRoot":"../src/","sources":["components/AreaChart/AreaChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport {\n IChartProps,\n IRefArrayData,\n IBasestate,\n ILineChartDataPoint,\n ILineChartPoints,\n ICustomizedCalloutData,\n IMargins,\n} from '../../types/index';\nimport {\n ICartesianChartStyles,\n ICartesianChartStyleProps,\n ICartesianChartProps,\n IChildProps,\n} from '../CommonComponents/CartesianChart.types';\n\nexport type { IChildProps, IRefArrayData, IBasestate, ILineChartDataPoint, ILineChartPoints, IMargins };\nexport interface IAreaChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data: IChartProps;\n\n /**\n * This prop is used to draw Y axis grid lines on the chart. Default value will be false\n * @deprecated now lines are shown by default\n * no need to use this prop\n */\n showYAxisGridLines?: boolean;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * Define a custom callout renderer for a stack; default is to render per data point\n */\n onRenderCalloutPerStack?: IRenderFunction<ICustomizedCalloutData>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /*\n * Optimize area chart rendering for large data set.\n */\n optimizeLargeData?: boolean;\n}\n\nexport interface IAreaChartStyles extends ICartesianChartStyles {}\n\nexport interface IAreaChartStyleProps extends ICartesianChartStyleProps {}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './AreaChart';
2
- export * from './AreaChart.types';
@@ -1,3 +0,0 @@
1
- export * from './AreaChart';
2
- export * from './AreaChart.types';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/AreaChart/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './AreaChart';\nexport * from './AreaChart.types';\n"]}
@@ -1,43 +0,0 @@
1
- import * as React from 'react';
2
- import { IModifiedCartesianChartProps } from '../../index';
3
- export interface ICartesianChartState {
4
- containerWidth: number;
5
- containerHeight: number;
6
- _width: number;
7
- _height: number;
8
- isRemoveValCalculated?: boolean;
9
- _removalValueForTextTuncate?: number;
10
- }
11
- /**
12
- * Cartesian chart used for
13
- * 1.draw X and Y axis of the chart
14
- * 2.Callout
15
- * 3.Fit parent Continer
16
- */
17
- export declare class CartesianChartBase extends React.Component<IModifiedCartesianChartProps, ICartesianChartState> {
18
- private _classNames;
19
- private chartContainer;
20
- private legendContainer;
21
- private minLegendContainerHeight;
22
- private xAxisElement;
23
- private yAxisElement;
24
- private margins;
25
- private idForGraph;
26
- private _reqID;
27
- private _isRtl;
28
- private _xScale;
29
- constructor(props: IModifiedCartesianChartProps);
30
- componentDidMount(): void;
31
- componentWillUnmount(): void;
32
- componentDidUpdate(prevProps: IModifiedCartesianChartProps): void;
33
- render(): JSX.Element;
34
- private _multiValueCallout;
35
- private _yValueHoverSubCountsExists;
36
- private _getCalloutContent;
37
- /**
38
- * When screen resizes, along with screen, chart also auto adjusted.
39
- * This method used to adjust height and width of the charts.
40
- */
41
- private _fitParentContainer;
42
- private _getData;
43
- }
@@ -1,331 +0,0 @@
1
- import { __assign, __extends } from "tslib";
2
- import * as React from 'react';
3
- import { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';
4
- import { Callout } from '@fluentui/react/lib/Callout';
5
- import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';
6
- import { ChartHoverCard, convertToLocaleString, createNumericXAxis, createStringXAxis, getAccessibleDataObject, getDomainNRangeValues, createDateXAxis, createYAxis, createStringYAxis, getMinMaxOfYAxis, XAxisTypes, YAxisType, createWrapOfXLabels, rotateXAxisLabels, Points, pointTypes, } from '../../utilities/index';
7
- import { Shape } from '../Legends/index';
8
- var getClassNames = classNamesFunction();
9
- /**
10
- * Cartesian chart used for
11
- * 1.draw X and Y axis of the chart
12
- * 2.Callout
13
- * 3.Fit parent Continer
14
- */
15
- var CartesianChartBase = /** @class */ (function (_super) {
16
- __extends(CartesianChartBase, _super);
17
- function CartesianChartBase(props) {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
19
- var _this = _super.call(this, props) || this;
20
- _this.minLegendContainerHeight = 32;
21
- _this._isRtl = getRTL();
22
- // TO DO: Write a common functional component for Multi value callout and divide sub count method
23
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
24
- _this._multiValueCallout = function (calloutProps) {
25
- var yValueHoverSubCountsExists = _this._yValueHoverSubCountsExists(calloutProps.YValueHover);
26
- return (React.createElement("div", { className: _this._classNames.calloutContentRoot },
27
- React.createElement("div", { className: _this._classNames.calloutDateTimeContainer, style: yValueHoverSubCountsExists ? { marginBottom: '11px' } : {} },
28
- React.createElement("div", __assign({ className: _this._classNames.calloutContentX }, getAccessibleDataObject(calloutProps.xAxisCalloutAccessibilityData, 'text', false)), convertToLocaleString(calloutProps.hoverXValue, _this.props.culture))),
29
- React.createElement("div", { className: _this._classNames.calloutInfoContainer, style: yValueHoverSubCountsExists ? { display: 'flex' } : {} },
30
- calloutProps.YValueHover &&
31
- calloutProps.YValueHover.map(function (yValue, index, yValues) {
32
- var isLast = index + 1 === yValues.length;
33
- var _a = yValue.shouldDrawBorderBottom, shouldDrawBorderBottom = _a === void 0 ? false : _a;
34
- return (React.createElement("div", __assign({}, getAccessibleDataObject(yValue.callOutAccessibilityData, 'text', false), { key: "callout-content-" + index, style: yValueHoverSubCountsExists
35
- ? __assign({ display: 'inline-block' }, (shouldDrawBorderBottom && {
36
- borderBottom: "1px solid " + _this.props.theme.semanticColors.menuDivider,
37
- paddingBottom: '10px',
38
- })) : __assign({}, (shouldDrawBorderBottom && {
39
- borderBottom: "1px solid " + _this.props.theme.semanticColors.menuDivider,
40
- paddingBottom: '10px',
41
- })) }), _this._getCalloutContent(yValue, index, yValueHoverSubCountsExists, isLast)));
42
- }),
43
- !!calloutProps.descriptionMessage && (React.createElement("div", { className: _this._classNames.descriptionMessage }, calloutProps.descriptionMessage)))));
44
- };
45
- // Call back to the chart.
46
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
47
- _this._getData = function (xScale, yScale) {
48
- _this.props.getGraphData &&
49
- _this.props.getGraphData(xScale, yScale, _this.state.containerHeight - _this.state._removalValueForTextTuncate, _this.state.containerWidth, _this.xAxisElement);
50
- };
51
- _this.state = {
52
- containerHeight: 0,
53
- containerWidth: 0,
54
- _width: _this.props.width || 600,
55
- _height: _this.props.height || 350,
56
- _removalValueForTextTuncate: 0,
57
- isRemoveValCalculated: true,
58
- };
59
- _this.idForGraph = getId('chart_');
60
- /**
61
- * In RTL mode, Only graph will be rendered left/right. We need to provide left and right margins manually.
62
- * So that, in RTL, left margins becomes right margins and viceversa.
63
- * As graph needs to be drawn perfecty, these values consider as default values.
64
- * Same margins using for all other cartesian charts. Can be accessible through 'getMargins' call back method.
65
- */
66
- _this.margins = {
67
- top: (_b = (_a = _this.props.margins) === null || _a === void 0 ? void 0 : _a.top) !== null && _b !== void 0 ? _b : 20,
68
- bottom: (_d = (_c = _this.props.margins) === null || _c === void 0 ? void 0 : _c.bottom) !== null && _d !== void 0 ? _d : 35,
69
- right: _this._isRtl ? (_f = (_e = _this.props.margins) === null || _e === void 0 ? void 0 : _e.left) !== null && _f !== void 0 ? _f : 40 : (_h = (_g = _this.props.margins) === null || _g === void 0 ? void 0 : _g.right) !== null && _h !== void 0 ? _h : 20,
70
- left: _this._isRtl ? (_k = (_j = _this.props.margins) === null || _j === void 0 ? void 0 : _j.right) !== null && _k !== void 0 ? _k : 20 : (_m = (_l = _this.props.margins) === null || _l === void 0 ? void 0 : _l.left) !== null && _m !== void 0 ? _m : 40,
71
- };
72
- return _this;
73
- }
74
- CartesianChartBase.prototype.componentDidMount = function () {
75
- this._fitParentContainer();
76
- };
77
- CartesianChartBase.prototype.componentWillUnmount = function () {
78
- cancelAnimationFrame(this._reqID);
79
- };
80
- CartesianChartBase.prototype.componentDidUpdate = function (prevProps) {
81
- if (prevProps.height !== this.props.height || prevProps.width !== this.props.width) {
82
- this._fitParentContainer();
83
- }
84
- if (!this.props.wrapXAxisLables &&
85
- this.props.rotateXAxisLables &&
86
- this.props.xAxisType === XAxisTypes.StringAxis) {
87
- var rotateLabelProps = {
88
- node: this.xAxisElement,
89
- xAxis: this._xScale,
90
- };
91
- var rotatedHeight = rotateXAxisLabels(rotateLabelProps);
92
- if (this.state.isRemoveValCalculated &&
93
- this.state._removalValueForTextTuncate !== rotatedHeight + this.margins.bottom &&
94
- rotatedHeight > 0) {
95
- this.setState({
96
- _removalValueForTextTuncate: rotatedHeight + this.margins.bottom,
97
- isRemoveValCalculated: false,
98
- });
99
- }
100
- }
101
- };
102
- CartesianChartBase.prototype.render = function () {
103
- var _this = this;
104
- var _a = this.props, calloutProps = _a.calloutProps, points = _a.points, chartType = _a.chartType, chartHoverProps = _a.chartHoverProps, svgFocusZoneProps = _a.svgFocusZoneProps, svgProps = _a.svgProps, culture = _a.culture, dateLocalizeOptions = _a.dateLocalizeOptions, timeFormatLocale = _a.timeFormatLocale, customDateTimeFormatter = _a.customDateTimeFormatter;
105
- if (this.props.parentRef) {
106
- this._fitParentContainer();
107
- }
108
- // Callback for margins to the chart
109
- this.props.getmargins && this.props.getmargins(this.margins);
110
- var XAxisParams = {
111
- domainNRangeValues: getDomainNRangeValues(points, this.props.getDomainMargins ? this.props.getDomainMargins(this.state.containerWidth) : this.margins, this.state.containerWidth, chartType, this._isRtl, this.props.xAxisType, this.props.barwidth, this.props.tickValues),
112
- xAxisElement: this.xAxisElement,
113
- showRoundOffXTickValues: true,
114
- xAxisCount: this.props.xAxisTickCount,
115
- xAxistickSize: this.props.xAxistickSize,
116
- tickPadding: this.props.tickPadding || this.props.showXAxisLablesTooltip ? 5 : 10,
117
- xAxisPadding: this.props.xAxisPadding,
118
- xAxisInnerPadding: this.props.xAxisInnerPadding,
119
- xAxisOuterPadding: this.props.xAxisOuterPadding,
120
- };
121
- var YAxisParams = {
122
- margins: this.margins,
123
- containerWidth: this.state.containerWidth,
124
- containerHeight: this.state.containerHeight - this.state._removalValueForTextTuncate,
125
- yAxisElement: this.yAxisElement,
126
- yAxisTickFormat: this.props.yAxisTickFormat,
127
- yAxisTickCount: this.props.yAxisTickCount,
128
- yMinValue: this.props.yMinValue || 0,
129
- yMaxValue: this.props.yMaxValue || 0,
130
- tickPadding: 10,
131
- maxOfYVal: this.props.maxOfYVal,
132
- yMinMaxValues: getMinMaxOfYAxis(points, chartType),
133
- yAxisPadding: this.props.yAxisPadding,
134
- };
135
- /**
136
- * These scales used for 2 purposes.
137
- * 1. To create x and y axis
138
- * 2. To draw the graph.
139
- * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
140
- */
141
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
142
- var xScale;
143
- switch (this.props.xAxisType) {
144
- case XAxisTypes.NumericAxis:
145
- xScale = createNumericXAxis(XAxisParams, culture);
146
- break;
147
- case XAxisTypes.DateAxis:
148
- xScale = createDateXAxis(XAxisParams, this.props.tickParams, culture, dateLocalizeOptions, timeFormatLocale, customDateTimeFormatter);
149
- break;
150
- case XAxisTypes.StringAxis:
151
- xScale = createStringXAxis(XAxisParams, this.props.tickParams, this.props.datasetForXAxisDomain, culture);
152
- break;
153
- default:
154
- xScale = createNumericXAxis(XAxisParams, culture);
155
- }
156
- this._xScale = xScale;
157
- /*
158
- * To enable wrapping of x axis tick values or to display complete x axis tick values,
159
- * we need to calculate how much space it needed to render the text.
160
- * No need to re-calculate every time the chart renders and same time need to get an update. So using setState.
161
- * Required space will be calculated first time chart rendering and if any width/height of chart updated.
162
- * */
163
- if (this.props.wrapXAxisLables || this.props.showXAxisLablesTooltip) {
164
- var wrapLabelProps = {
165
- node: this.xAxisElement,
166
- xAxis: xScale,
167
- showXAxisLablesTooltip: this.props.showXAxisLablesTooltip || false,
168
- noOfCharsToTruncate: this.props.noOfCharsToTruncate || 4,
169
- };
170
- var temp = xScale && createWrapOfXLabels(wrapLabelProps);
171
- // this value need to be updated for draw graph updated. So instead of using private value, using set state.
172
- if (this.state.isRemoveValCalculated && this.state._removalValueForTextTuncate !== temp) {
173
- this.setState({ _removalValueForTextTuncate: temp, isRemoveValCalculated: false });
174
- }
175
- }
176
- /**
177
- * These scales used for 2 purposes.
178
- * 1. To create x and y axis
179
- * 2. To draw the graph.
180
- * For area/line chart using same scales. For other charts, creating their own scales to draw the graph.
181
- */
182
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
183
- var yScale;
184
- var axisData = { yAxisDomainValues: [] };
185
- if (this.props.yAxisType && this.props.yAxisType === YAxisType.StringAxis) {
186
- yScale = createStringYAxis(YAxisParams, this.props.stringDatasetForYAxisDomain, this._isRtl);
187
- }
188
- else {
189
- yScale = createYAxis(YAxisParams, this._isRtl, axisData);
190
- }
191
- this.props.getAxisData && this.props.getAxisData(axisData);
192
- // Callback function for chart, returns axis
193
- this._getData(xScale, yScale);
194
- this._classNames = getClassNames(this.props.styles, {
195
- theme: this.props.theme,
196
- width: this.state._width,
197
- height: this.state._height,
198
- className: this.props.className,
199
- isRtl: this._isRtl,
200
- });
201
- var svgDimensions = {
202
- width: this.state.containerWidth,
203
- height: this.state.containerHeight,
204
- };
205
- var children = this.props.children(__assign(__assign({}, this.state), { xScale: xScale, yScale: yScale }));
206
- var focusDirection;
207
- if (this.props.focusZoneDirection === FocusZoneDirection.vertical) {
208
- focusDirection = this.props.focusZoneDirection;
209
- }
210
- else if (this.props.focusZoneDirection) {
211
- focusDirection = this.props.focusZoneDirection;
212
- }
213
- else {
214
- focusDirection = FocusZoneDirection.horizontal;
215
- }
216
- return (React.createElement("div", { id: this.idForGraph, className: this._classNames.root, role: 'presentation', ref: function (rootElem) { return (_this.chartContainer = rootElem); }, onMouseLeave: this.props.onChartMouseLeave },
217
- React.createElement(FocusZone, __assign({ direction: focusDirection }, svgFocusZoneProps),
218
- React.createElement("svg", __assign({ width: svgDimensions.width, height: svgDimensions.height, "aria-label": this.props.chartTitle, style: { display: 'block' } }, svgProps),
219
- React.createElement("g", { ref: function (e) {
220
- _this.xAxisElement = e;
221
- }, id: "xAxisGElement" + this.idForGraph,
222
- // To add wrap of x axis lables feature, need to remove word height from svg height.
223
- transform: "translate(0, " + (svgDimensions.height - this.margins.bottom - this.state._removalValueForTextTuncate) + ")", className: this._classNames.xAxis }),
224
- React.createElement("g", { ref: function (e) {
225
- _this.yAxisElement = e;
226
- }, id: "yAxisGElement" + this.idForGraph, transform: "translate(" + (this._isRtl ? svgDimensions.width - this.margins.right : this.margins.left) + ", 0)", className: this._classNames.yAxis }),
227
- children)),
228
- !this.props.hideLegend && (React.createElement("div", { ref: function (e) { return (_this.legendContainer = e); }, className: this._classNames.legendContainer }, this.props.legendBars)),
229
- React.createElement(Callout, __assign({ hidden: !(!this.props.hideTooltip && calloutProps.isCalloutVisible),
230
- /** Keep the callout updated with details of focused/hovered chart element */
231
- shouldUpdateWhenHidden: true }, calloutProps),
232
- this.props.customizedCallout && this.props.customizedCallout,
233
- !this.props.customizedCallout && this.props.isCalloutForStack && this._multiValueCallout(calloutProps),
234
- !this.props.customizedCallout && !this.props.isCalloutForStack && (React.createElement(ChartHoverCard, __assign({ XValue: calloutProps.XValue, Legend: calloutProps.legend, YValue: calloutProps.YValue, color: calloutProps.color, culture: this.props.culture }, chartHoverProps))))));
235
- };
236
- CartesianChartBase.prototype._yValueHoverSubCountsExists = function (yValueHover) {
237
- if (yValueHover) {
238
- return yValueHover.some(function (yValue) { return yValue.yAxisCalloutData && typeof yValue.yAxisCalloutData !== 'string'; });
239
- }
240
- return false;
241
- };
242
- CartesianChartBase.prototype._getCalloutContent = function (xValue, index, yValueHoverSubCountsExists, isLast) {
243
- var marginStyle = isLast ? {} : { marginRight: '16px' };
244
- var toDrawShape = xValue.index !== undefined && xValue.index !== -1;
245
- var _classNames = getClassNames(this.props.styles, {
246
- theme: this.props.theme,
247
- width: this.state._width,
248
- height: this.state._height,
249
- className: this.props.className,
250
- isRtl: this._isRtl,
251
- lineColor: xValue.color,
252
- toDrawShape: toDrawShape,
253
- });
254
- var culture = this.props.culture;
255
- var yValue = convertToLocaleString(xValue.y, culture);
256
- if (!xValue.yAxisCalloutData || typeof xValue.yAxisCalloutData === 'string') {
257
- return (React.createElement("div", { style: yValueHoverSubCountsExists ? marginStyle : {} },
258
- yValueHoverSubCountsExists && (React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
259
- xValue.legend,
260
- " (",
261
- yValue,
262
- ")")),
263
- React.createElement("div", { id: index + "_" + xValue.y, className: _classNames.calloutBlockContainer },
264
- toDrawShape && (React.createElement(Shape, { svgProps: {
265
- className: _classNames.shapeStyles,
266
- }, pathProps: { fill: xValue.color }, shape: Points[xValue.index % Object.keys(pointTypes).length] })),
267
- React.createElement("div", null,
268
- React.createElement("div", { className: _classNames.calloutlegendText },
269
- " ",
270
- xValue.legend),
271
- React.createElement("div", { className: _classNames.calloutContentY }, convertToLocaleString(xValue.yAxisCalloutData ? xValue.yAxisCalloutData : xValue.y || xValue.data, culture))))));
272
- }
273
- else {
274
- var subcounts_1 = xValue.yAxisCalloutData;
275
- return (React.createElement("div", { style: marginStyle },
276
- React.createElement("div", { className: "ms-fontWeight-semibold", style: { fontSize: '12pt' } },
277
- xValue.legend,
278
- " (",
279
- yValue,
280
- ")"),
281
- Object.keys(subcounts_1).map(function (subcountName) {
282
- return (React.createElement("div", { key: subcountName, className: _classNames.calloutBlockContainer },
283
- React.createElement("div", { className: _classNames.calloutlegendText },
284
- " ",
285
- convertToLocaleString(subcountName, culture)),
286
- React.createElement("div", { className: _classNames.calloutContentY }, convertToLocaleString(subcounts_1[subcountName], culture))));
287
- })));
288
- }
289
- };
290
- /**
291
- * When screen resizes, along with screen, chart also auto adjusted.
292
- * This method used to adjust height and width of the charts.
293
- */
294
- CartesianChartBase.prototype._fitParentContainer = function () {
295
- var _this = this;
296
- var _a = this.state, containerWidth = _a.containerWidth, containerHeight = _a.containerHeight;
297
- this._reqID = requestAnimationFrame(function () {
298
- var legendContainerHeight;
299
- if (_this.props.hideLegend) {
300
- // If there is no legend, need not to allocate some space from total chart space.
301
- legendContainerHeight = 0;
302
- }
303
- else {
304
- var legendContainerComputedStyles = _this.legendContainer && getComputedStyle(_this.legendContainer);
305
- legendContainerHeight =
306
- ((_this.legendContainer && _this.legendContainer.getBoundingClientRect().height) ||
307
- _this.minLegendContainerHeight) +
308
- parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginTop) || '0') +
309
- parseFloat((legendContainerComputedStyles && legendContainerComputedStyles.marginBottom) || '0');
310
- }
311
- if (_this.props.parentRef || _this.chartContainer) {
312
- var container = _this.props.parentRef ? _this.props.parentRef : _this.chartContainer;
313
- var currentContainerWidth = container.getBoundingClientRect().width;
314
- var currentContainerHeight = container.getBoundingClientRect().height > legendContainerHeight
315
- ? container.getBoundingClientRect().height
316
- : 350;
317
- var shouldResize = containerWidth !== currentContainerWidth ||
318
- containerHeight !== currentContainerHeight - legendContainerHeight;
319
- if (shouldResize) {
320
- _this.setState({
321
- containerWidth: currentContainerWidth,
322
- containerHeight: currentContainerHeight - legendContainerHeight,
323
- });
324
- }
325
- }
326
- });
327
- };
328
- return CartesianChartBase;
329
- }(React.Component));
330
- export { CartesianChartBase };
331
- //# sourceMappingURL=CartesianChart.base.js.map