@fluentui/react-charting 5.21.27 → 5.21.28

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 (742) hide show
  1. package/CHANGELOG.json +28 -1
  2. package/CHANGELOG.md +13 -2
  3. package/lib/AreaChart.js.map +1 -1
  4. package/lib/CartesianChart.js.map +1 -1
  5. package/lib/DonutChart.js.map +1 -1
  6. package/lib/GaugeChart.js.map +1 -1
  7. package/lib/GroupedVerticalBarChart.js.map +1 -1
  8. package/lib/HeatMapChart.js.map +1 -1
  9. package/lib/HorizontalBarChart.js.map +1 -1
  10. package/lib/HorizontalBarChartWithAxis.js.map +1 -1
  11. package/lib/Legends.js.map +1 -1
  12. package/lib/LineChart.js.map +1 -1
  13. package/lib/PieChart.js.map +1 -1
  14. package/lib/SankeyChart.js.map +1 -1
  15. package/lib/Sparkline.js.map +1 -1
  16. package/lib/StackedBarChart.js.map +1 -1
  17. package/lib/Styling.js.map +1 -1
  18. package/lib/TreeChart.js.map +1 -1
  19. package/lib/Utilities.js.map +1 -1
  20. package/lib/VerticalBarChart.js.map +1 -1
  21. package/lib/VerticalStackedBarChart.js.map +1 -1
  22. package/lib/components/AreaChart/AreaChart.base.js.map +1 -1
  23. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  24. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -1
  25. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  26. package/lib/components/AreaChart/index.js.map +1 -1
  27. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -1
  28. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  29. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  30. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  31. package/lib/components/CommonComponents/index.js.map +1 -1
  32. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  33. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  34. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  35. package/lib/components/DonutChart/Arc/index.js.map +1 -1
  36. package/lib/components/DonutChart/DonutChart.base.js.map +1 -1
  37. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  38. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -1
  39. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  40. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  41. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -1
  42. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
  43. package/lib/components/DonutChart/Pie/index.js.map +1 -1
  44. package/lib/components/DonutChart/index.js.map +1 -1
  45. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -1
  46. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  47. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  48. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  49. package/lib/components/GaugeChart/index.js.map +1 -1
  50. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  51. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  52. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  53. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  54. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
  55. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  56. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  57. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
  58. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  59. package/lib/components/HeatMapChart/index.js.map +1 -1
  60. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  61. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  62. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  63. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  64. package/lib/components/HorizontalBarChart/index.js.map +1 -1
  65. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  66. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  67. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  68. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  69. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  70. package/lib/components/Legends/Legends.base.js.map +1 -1
  71. package/lib/components/Legends/Legends.js.map +1 -1
  72. package/lib/components/Legends/Legends.styles.js.map +1 -1
  73. package/lib/components/Legends/Legends.types.js.map +1 -1
  74. package/lib/components/Legends/index.js.map +1 -1
  75. package/lib/components/Legends/shape.js.map +1 -1
  76. package/lib/components/LineChart/LineChart.base.js.map +1 -1
  77. package/lib/components/LineChart/LineChart.js.map +1 -1
  78. package/lib/components/LineChart/LineChart.styles.js.map +1 -1
  79. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  80. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  81. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  82. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  83. package/lib/components/LineChart/index.js.map +1 -1
  84. package/lib/components/PieChart/Arc/Arc.js.map +1 -1
  85. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -1
  86. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -1
  87. package/lib/components/PieChart/Arc/index.js.map +1 -1
  88. package/lib/components/PieChart/Pie/Pie.js.map +1 -1
  89. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -1
  90. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -1
  91. package/lib/components/PieChart/Pie/index.js.map +1 -1
  92. package/lib/components/PieChart/PieChart.base.js.map +1 -1
  93. package/lib/components/PieChart/PieChart.js.map +1 -1
  94. package/lib/components/PieChart/PieChart.styles.js.map +1 -1
  95. package/lib/components/PieChart/PieChart.types.js.map +1 -1
  96. package/lib/components/PieChart/index.js.map +1 -1
  97. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -1
  98. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  99. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  100. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  101. package/lib/components/SankeyChart/index.js.map +1 -1
  102. package/lib/components/Sparkline/Sparkline.base.js.map +1 -1
  103. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  104. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -1
  105. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  106. package/lib/components/Sparkline/index.js.map +1 -1
  107. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  108. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  109. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  110. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  111. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  112. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -1
  113. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  114. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  115. package/lib/components/StackedBarChart/index.js.map +1 -1
  116. package/lib/components/TreeChart/TreeChart.base.js.map +1 -1
  117. package/lib/components/TreeChart/TreeChart.js.map +1 -1
  118. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -1
  119. package/lib/components/TreeChart/TreeChart.types.js.map +1 -1
  120. package/lib/components/TreeChart/index.js.map +1 -1
  121. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  122. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  123. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  124. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  125. package/lib/components/VerticalBarChart/index.js.map +1 -1
  126. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  127. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  128. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  129. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  130. package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
  131. package/lib/index.js.map +1 -1
  132. package/lib/types/IDataPoint.js.map +1 -1
  133. package/lib/types/IEventAnnotation.js.map +1 -1
  134. package/lib/types/ILegendDataItem.js.map +1 -1
  135. package/lib/types/index.js.map +1 -1
  136. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  137. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  138. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  139. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
  140. package/lib/utilities/ChartHoverCard/index.js.map +1 -1
  141. package/lib/utilities/FocusableTooltipText.js.map +1 -1
  142. package/lib/utilities/SVGTooltipText.js.map +1 -1
  143. package/lib/utilities/colors.js.map +1 -1
  144. package/lib/utilities/index.js.map +1 -1
  145. package/lib/utilities/locale-util.js.map +1 -1
  146. package/lib/utilities/test-data.js.map +1 -1
  147. package/lib/utilities/utilities.js.map +1 -1
  148. package/lib/utilities/vbc-utils.js.map +1 -1
  149. package/lib/version.js +1 -1
  150. package/lib/version.js.map +1 -1
  151. package/lib-commonjs/AreaChart.js.map +1 -1
  152. package/lib-commonjs/CartesianChart.js.map +1 -1
  153. package/lib-commonjs/DonutChart.js.map +1 -1
  154. package/lib-commonjs/GaugeChart.js.map +1 -1
  155. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -1
  156. package/lib-commonjs/HeatMapChart.js.map +1 -1
  157. package/lib-commonjs/HorizontalBarChart.js.map +1 -1
  158. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -1
  159. package/lib-commonjs/Legends.js.map +1 -1
  160. package/lib-commonjs/LineChart.js.map +1 -1
  161. package/lib-commonjs/PieChart.js.map +1 -1
  162. package/lib-commonjs/SankeyChart.js.map +1 -1
  163. package/lib-commonjs/Sparkline.js.map +1 -1
  164. package/lib-commonjs/StackedBarChart.js.map +1 -1
  165. package/lib-commonjs/Styling.js.map +1 -1
  166. package/lib-commonjs/TreeChart.js.map +1 -1
  167. package/lib-commonjs/Utilities.js.map +1 -1
  168. package/lib-commonjs/VerticalBarChart.js.map +1 -1
  169. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -1
  170. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -1
  171. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -1
  172. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -1
  173. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -1
  174. package/lib-commonjs/components/AreaChart/index.js.map +1 -1
  175. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -1
  176. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -1
  177. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -1
  178. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -1
  179. package/lib-commonjs/components/CommonComponents/index.js.map +1 -1
  180. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -1
  181. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -1
  182. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -1
  183. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -1
  184. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -1
  185. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -1
  186. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -1
  187. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -1
  188. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -1
  189. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -1
  190. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -1
  191. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -1
  192. package/lib-commonjs/components/DonutChart/index.js.map +1 -1
  193. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -1
  194. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -1
  195. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -1
  196. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -1
  197. package/lib-commonjs/components/GaugeChart/index.js.map +1 -1
  198. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -1
  199. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  200. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -1
  201. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  202. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -1
  203. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -1
  204. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -1
  205. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -1
  206. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  207. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -1
  208. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -1
  209. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  210. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -1
  211. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  212. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -1
  213. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -1
  214. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  215. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -1
  216. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  217. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  218. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
  219. package/lib-commonjs/components/Legends/Legends.js.map +1 -1
  220. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -1
  221. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
  222. package/lib-commonjs/components/Legends/index.js.map +1 -1
  223. package/lib-commonjs/components/Legends/shape.js.map +1 -1
  224. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -1
  225. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -1
  226. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -1
  227. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -1
  228. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  229. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  230. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  231. package/lib-commonjs/components/LineChart/index.js.map +1 -1
  232. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -1
  233. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -1
  234. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -1
  235. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -1
  236. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -1
  237. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -1
  238. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -1
  239. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -1
  240. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -1
  241. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -1
  242. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -1
  243. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -1
  244. package/lib-commonjs/components/PieChart/index.js.map +1 -1
  245. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -1
  246. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -1
  247. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -1
  248. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -1
  249. package/lib-commonjs/components/SankeyChart/index.js.map +1 -1
  250. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -1
  251. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -1
  252. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -1
  253. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -1
  254. package/lib-commonjs/components/Sparkline/index.js.map +1 -1
  255. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
  256. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -1
  257. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -1
  258. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -1
  259. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -1
  260. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -1
  261. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -1
  262. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -1
  263. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -1
  264. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -1
  265. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -1
  266. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -1
  267. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -1
  268. package/lib-commonjs/components/TreeChart/index.js.map +1 -1
  269. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -1
  270. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  271. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -1
  272. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  273. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -1
  274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -1
  275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  276. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -1
  277. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -1
  279. package/lib-commonjs/index.js.map +1 -1
  280. package/lib-commonjs/types/IDataPoint.js.map +1 -1
  281. package/lib-commonjs/types/IEventAnnotation.js.map +1 -1
  282. package/lib-commonjs/types/ILegendDataItem.js.map +1 -1
  283. package/lib-commonjs/types/index.js.map +1 -1
  284. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -1
  285. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -1
  286. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
  287. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -1
  288. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -1
  289. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -1
  290. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -1
  291. package/lib-commonjs/utilities/colors.js.map +1 -1
  292. package/lib-commonjs/utilities/index.js.map +1 -1
  293. package/lib-commonjs/utilities/locale-util.js.map +1 -1
  294. package/lib-commonjs/utilities/test-data.js.map +1 -1
  295. package/lib-commonjs/utilities/utilities.js.map +1 -1
  296. package/lib-commonjs/utilities/vbc-utils.js.map +1 -1
  297. package/lib-commonjs/version.js +1 -1
  298. package/lib-commonjs/version.js.map +1 -1
  299. package/package.json +4 -4
  300. package/dist/react-charting.js +0 -1
  301. package/dist/react-charting.min.js +0 -1
  302. package/lib-amd/AreaChart.d.ts +0 -1
  303. package/lib-amd/AreaChart.js +0 -6
  304. package/lib-amd/AreaChart.js.map +0 -1
  305. package/lib-amd/CartesianChart.d.ts +0 -1
  306. package/lib-amd/CartesianChart.js +0 -6
  307. package/lib-amd/CartesianChart.js.map +0 -1
  308. package/lib-amd/DonutChart.d.ts +0 -1
  309. package/lib-amd/DonutChart.js +0 -6
  310. package/lib-amd/DonutChart.js.map +0 -1
  311. package/lib-amd/GaugeChart.d.ts +0 -1
  312. package/lib-amd/GaugeChart.js +0 -6
  313. package/lib-amd/GaugeChart.js.map +0 -1
  314. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  315. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  316. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  317. package/lib-amd/HeatMapChart.d.ts +0 -1
  318. package/lib-amd/HeatMapChart.js +0 -6
  319. package/lib-amd/HeatMapChart.js.map +0 -1
  320. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  321. package/lib-amd/HorizontalBarChart.js +0 -6
  322. package/lib-amd/HorizontalBarChart.js.map +0 -1
  323. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  324. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  325. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  326. package/lib-amd/Legends.d.ts +0 -1
  327. package/lib-amd/Legends.js +0 -6
  328. package/lib-amd/Legends.js.map +0 -1
  329. package/lib-amd/LineChart.d.ts +0 -1
  330. package/lib-amd/LineChart.js +0 -6
  331. package/lib-amd/LineChart.js.map +0 -1
  332. package/lib-amd/PieChart.d.ts +0 -1
  333. package/lib-amd/PieChart.js +0 -6
  334. package/lib-amd/PieChart.js.map +0 -1
  335. package/lib-amd/SankeyChart.d.ts +0 -1
  336. package/lib-amd/SankeyChart.js +0 -6
  337. package/lib-amd/SankeyChart.js.map +0 -1
  338. package/lib-amd/Sparkline.d.ts +0 -1
  339. package/lib-amd/Sparkline.js +0 -6
  340. package/lib-amd/Sparkline.js.map +0 -1
  341. package/lib-amd/StackedBarChart.d.ts +0 -1
  342. package/lib-amd/StackedBarChart.js +0 -6
  343. package/lib-amd/StackedBarChart.js.map +0 -1
  344. package/lib-amd/Styling.d.ts +0 -2
  345. package/lib-amd/Styling.js +0 -75
  346. package/lib-amd/Styling.js.map +0 -1
  347. package/lib-amd/TreeChart.d.ts +0 -1
  348. package/lib-amd/TreeChart.js +0 -6
  349. package/lib-amd/TreeChart.js.map +0 -1
  350. package/lib-amd/Utilities.d.ts +0 -2
  351. package/lib-amd/Utilities.js +0 -183
  352. package/lib-amd/Utilities.js.map +0 -1
  353. package/lib-amd/VerticalBarChart.d.ts +0 -1
  354. package/lib-amd/VerticalBarChart.js +0 -6
  355. package/lib-amd/VerticalBarChart.js.map +0 -1
  356. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  357. package/lib-amd/VerticalStackedBarChart.js +0 -6
  358. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  359. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  360. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  361. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  362. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  363. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  364. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  365. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  366. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  367. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  368. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  369. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  370. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  371. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  372. package/lib-amd/components/AreaChart/index.js +0 -7
  373. package/lib-amd/components/AreaChart/index.js.map +0 -1
  374. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  375. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  376. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  377. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  378. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  379. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  380. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  381. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  382. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  383. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  384. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  385. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  386. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  387. package/lib-amd/components/CommonComponents/index.js +0 -7
  388. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  389. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  390. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -88
  391. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  392. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  393. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
  394. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  395. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
  396. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  397. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  398. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  399. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  400. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  401. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  402. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -241
  403. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  404. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  405. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  406. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  407. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  408. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  409. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  410. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -75
  411. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  412. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  413. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  414. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -67
  415. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  416. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  417. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  418. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  419. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
  420. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  421. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  422. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  423. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  424. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  425. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  426. package/lib-amd/components/DonutChart/index.js +0 -8
  427. package/lib-amd/components/DonutChart/index.js.map +0 -1
  428. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  429. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -410
  430. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  431. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  432. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  433. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  434. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  435. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -122
  436. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  437. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -238
  438. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  439. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  440. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  441. package/lib-amd/components/GaugeChart/index.js +0 -7
  442. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  443. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  444. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -425
  445. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  446. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  447. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  448. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  449. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  450. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  451. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  452. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -111
  453. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  454. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  455. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  456. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  457. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  458. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  459. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  460. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  461. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  462. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  463. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  464. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  465. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  466. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  467. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  468. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  469. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  470. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  471. package/lib-amd/components/HeatMapChart/index.js +0 -7
  472. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  473. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  474. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -270
  475. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  476. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  477. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  478. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  479. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  480. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  481. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  482. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -188
  483. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  484. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  485. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  486. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  487. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  488. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  489. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -499
  490. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  491. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  492. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  493. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  494. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  495. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  496. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  497. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -112
  498. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  499. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  500. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  501. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  502. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  503. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  504. package/lib-amd/components/Legends/Legends.base.js +0 -308
  505. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  506. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  507. package/lib-amd/components/Legends/Legends.js +0 -11
  508. package/lib-amd/components/Legends/Legends.js.map +0 -1
  509. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  510. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  511. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  512. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  513. package/lib-amd/components/Legends/Legends.types.js +0 -5
  514. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  515. package/lib-amd/components/Legends/index.d.ts +0 -3
  516. package/lib-amd/components/Legends/index.js +0 -8
  517. package/lib-amd/components/Legends/index.js.map +0 -1
  518. package/lib-amd/components/Legends/shape.d.ts +0 -9
  519. package/lib-amd/components/Legends/shape.js +0 -27
  520. package/lib-amd/components/Legends/shape.js.map +0 -1
  521. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  522. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  523. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  524. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  525. package/lib-amd/components/LineChart/LineChart.js +0 -12
  526. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  527. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  528. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  529. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  530. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  531. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  532. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  533. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  534. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  535. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  536. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  537. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  538. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  539. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  540. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  541. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  542. package/lib-amd/components/LineChart/index.d.ts +0 -3
  543. package/lib-amd/components/LineChart/index.js +0 -8
  544. package/lib-amd/components/LineChart/index.js.map +0 -1
  545. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  546. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  547. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  548. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  549. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  550. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  551. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  552. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  553. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  554. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  555. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  556. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  557. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  558. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  559. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  560. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  561. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  562. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  563. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  564. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  565. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  566. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  567. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  568. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  569. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  570. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  571. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  572. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  573. package/lib-amd/components/PieChart/PieChart.js +0 -12
  574. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  575. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  576. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  577. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  578. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  579. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  580. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  581. package/lib-amd/components/PieChart/index.d.ts +0 -2
  582. package/lib-amd/components/PieChart/index.js +0 -7
  583. package/lib-amd/components/PieChart/index.js.map +0 -1
  584. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  585. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  586. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  587. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  588. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  589. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  590. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  591. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  592. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  593. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  594. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  595. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  596. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  597. package/lib-amd/components/SankeyChart/index.js +0 -7
  598. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  599. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  600. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  601. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  602. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  603. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  604. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  605. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  606. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  607. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  608. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  609. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  610. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  611. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  612. package/lib-amd/components/Sparkline/index.js +0 -7
  613. package/lib-amd/components/Sparkline/index.js.map +0 -1
  614. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  615. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -412
  616. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  617. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  618. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  619. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  620. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  621. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  622. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  623. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -213
  624. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  625. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  626. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  627. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -349
  628. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  629. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  630. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  631. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  632. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  633. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  634. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  635. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -222
  636. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  637. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  638. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  639. package/lib-amd/components/StackedBarChart/index.js +0 -10
  640. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  641. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  642. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  643. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  644. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  645. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  646. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  647. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  648. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  649. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  650. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  651. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  652. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  653. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  654. package/lib-amd/components/TreeChart/index.js +0 -7
  655. package/lib-amd/components/TreeChart/index.js.map +0 -1
  656. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  657. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -738
  658. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  659. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  660. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  661. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  662. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  663. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  664. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  665. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -145
  666. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  667. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  668. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  669. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  670. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  671. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  672. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -754
  673. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  674. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  675. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  676. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  677. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  678. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  679. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  680. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -172
  681. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  682. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  683. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  684. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  685. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  686. package/lib-amd/index.d.ts +0 -21
  687. package/lib-amd/index.js +0 -25
  688. package/lib-amd/index.js.map +0 -1
  689. package/lib-amd/types/IDataPoint.d.ts +0 -687
  690. package/lib-amd/types/IDataPoint.js +0 -5
  691. package/lib-amd/types/IDataPoint.js.map +0 -1
  692. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  693. package/lib-amd/types/IEventAnnotation.js +0 -5
  694. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  695. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  696. package/lib-amd/types/ILegendDataItem.js +0 -5
  697. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  698. package/lib-amd/types/index.d.ts +0 -2
  699. package/lib-amd/types/index.js +0 -7
  700. package/lib-amd/types/index.js.map +0 -1
  701. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  702. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  703. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  704. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  705. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  706. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  707. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  708. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  709. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  710. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  711. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  712. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  713. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  714. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  715. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  716. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  717. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  718. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  719. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  720. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  721. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  722. package/lib-amd/utilities/colors.d.ts +0 -51
  723. package/lib-amd/utilities/colors.js +0 -139
  724. package/lib-amd/utilities/colors.js.map +0 -1
  725. package/lib-amd/utilities/index.d.ts +0 -4
  726. package/lib-amd/utilities/index.js +0 -9
  727. package/lib-amd/utilities/index.js.map +0 -1
  728. package/lib-amd/utilities/locale-util.d.ts +0 -3
  729. package/lib-amd/utilities/locale-util.js +0 -24
  730. package/lib-amd/utilities/locale-util.js.map +0 -1
  731. package/lib-amd/utilities/test-data.d.ts +0 -27
  732. package/lib-amd/utilities/test-data.js +0 -214
  733. package/lib-amd/utilities/test-data.js.map +0 -1
  734. package/lib-amd/utilities/utilities.d.ts +0 -411
  735. package/lib-amd/utilities/utilities.js +0 -1085
  736. package/lib-amd/utilities/utilities.js.map +0 -1
  737. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  738. package/lib-amd/utilities/vbc-utils.js +0 -38
  739. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  740. package/lib-amd/version.d.ts +0 -1
  741. package/lib-amd/version.js +0 -6
  742. package/lib-amd/version.js.map +0 -1
@@ -1,652 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "d3-array", "d3-selection", "d3-selection", "d3-shape", "@fluentui/react/lib/Utilities", "../../index", "@fluentui/react/lib/Utilities", "../../utilities/index", "../Legends/index", "@fluentui/react/lib/Callout"], function (require, exports, tslib_1, React, d3_array_1, d3_selection_1, d3_selection_2, d3_shape_1, Utilities_1, index_1, Utilities_2, index_2, index_3, Callout_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AreaChartBase = void 0;
5
- var getClassNames = (0, Utilities_1.classNamesFunction)();
6
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
- var bisect = (0, d3_array_1.bisector)(function (d) { return d.x; }).left;
8
- var COMPONENT_NAME = 'AREA CHART';
9
- var InterceptVisibility;
10
- (function (InterceptVisibility) {
11
- InterceptVisibility["show"] = "visibility";
12
- InterceptVisibility["hide"] = "hidden";
13
- })(InterceptVisibility || (InterceptVisibility = {}));
14
- var AreaChartBase = exports.AreaChartBase = /** @class */ (function (_super) {
15
- tslib_1.__extends(AreaChartBase, _super);
16
- function AreaChartBase(props) {
17
- var _this = _super.call(this, props) || this;
18
- _this._getDomainNRangeValues = function (points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues) {
19
- var domainNRangeValue;
20
- if (xAxisType === index_2.XAxisTypes.NumericAxis) {
21
- domainNRangeValue = (0, index_2.domainRangeOfNumericForAreaChart)(points, margins, width, isRTL);
22
- }
23
- else if (xAxisType === index_2.XAxisTypes.DateAxis) {
24
- domainNRangeValue = (0, index_2.domainRangeOfDateForAreaLineVerticalBarChart)(points, margins, width, isRTL, tickValues, chartType, barWidth);
25
- }
26
- else {
27
- domainNRangeValue = { dStartValue: 0, dEndValue: 0, rStartValue: 0, rEndValue: 0 };
28
- }
29
- return domainNRangeValue;
30
- };
31
- _this._getMargins = function (margins) {
32
- _this.margins = margins;
33
- };
34
- _this._onRectMouseMove = function (mouseEvent) {
35
- var _a;
36
- mouseEvent.persist();
37
- var data = _this.props.data;
38
- var lineChartData = data.lineChartData;
39
- // This will get the value of the X when mouse is on the chart
40
- var xOffset = _this._xAxisRectScale.invert((0, d3_selection_1.pointer)(mouseEvent)[0], document.getElementById(_this._rectId));
41
- var i = bisect(lineChartData[0].data, xOffset);
42
- var d0 = lineChartData[0].data[i - 1];
43
- var d1 = lineChartData[0].data[i];
44
- var pointToHighlight = null;
45
- var index = null;
46
- var axisType = lineChartData[0].data.length > 0 ? (0, index_2.getTypeOfAxis)(lineChartData[0].data[0].x, true) : null;
47
- if (d0 === undefined && d1 !== undefined) {
48
- pointToHighlight = d1.x;
49
- index = i;
50
- }
51
- else if (d0 !== undefined && d1 === undefined) {
52
- pointToHighlight = d0.x;
53
- index = i - 1;
54
- }
55
- else {
56
- var x0 = void 0;
57
- var point0 = void 0;
58
- var point1 = void 0;
59
- switch (axisType) {
60
- case index_2.XAxisTypes.DateAxis:
61
- x0 = new Date(xOffset).getTime();
62
- point0 = d0.x.getTime();
63
- point1 = d1.x.getTime();
64
- pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
65
- index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
66
- break;
67
- case index_2.XAxisTypes.NumericAxis:
68
- x0 = xOffset;
69
- point0 = d0.x;
70
- point1 = d1.x;
71
- pointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
72
- index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
73
- break;
74
- default:
75
- break;
76
- }
77
- }
78
- var xAxisCalloutData = (_a = lineChartData[0].data[index], _a.xAxisCalloutData), xAxisCalloutAccessibilityData = _a.xAxisCalloutAccessibilityData;
79
- var formattedDate = pointToHighlight instanceof Date ? (0, index_2.formatDate)(pointToHighlight, _this.props.useUTC) : pointToHighlight;
80
- var modifiedXVal = pointToHighlight instanceof Date ? pointToHighlight.getTime() : pointToHighlight;
81
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
82
- var found = (0, Utilities_1.find)(_this._calloutPoints, function (element) {
83
- return element.x === modifiedXVal;
84
- });
85
- var nearestCircleToHighlight = axisType === index_2.XAxisTypes.DateAxis ? pointToHighlight.getTime() : pointToHighlight;
86
- var pointToHighlightUpdated = _this.state.nearestCircleToHighlight !== nearestCircleToHighlight;
87
- // if no points need to be called out then don't show vertical line and callout card
88
- if (found && pointToHighlightUpdated && !_this.state.isShowCalloutPending) {
89
- _this.setState({
90
- nearestCircleToHighlight: nearestCircleToHighlight,
91
- isCalloutVisible: false,
92
- isShowCalloutPending: true,
93
- lineXValue: _this._xAxisRectScale(pointToHighlight),
94
- displayOfLine: InterceptVisibility.show,
95
- isCircleClicked: false,
96
- stackCalloutProps: found,
97
- YValueHover: found.values,
98
- dataPointCalloutProps: found,
99
- hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
100
- xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
101
- activePoint: '',
102
- });
103
- }
104
- else {
105
- /*
106
- When above if condition is false but found=true, it means either
107
-
108
- 1). pointToHighlightUpdated is false.
109
- For this case we dont need to do anything.
110
-
111
- 2). isShowCalloutPending is true.
112
- For this case there will be no callout updation for the event.
113
- This condition has been added to prevent repeated callout flashing.
114
- Currently there is a fraction of second delay between hover event and subsequent callout refresh.
115
- In the meantime if another event is received, the callout continues to flash for the set of
116
- intermediate hover events.
117
-
118
- This does not cause any issue as the user interaction takes atleast a fraction of second and the final
119
- callout state is ultimately achieved.
120
- If a user performs very swift mouse maneuver, the intermediate events will be lost but the callout experience
121
- remains smooth.
122
- */
123
- }
124
- if (!found) {
125
- _this.setState({
126
- isCalloutVisible: false,
127
- nearestCircleToHighlight: nearestCircleToHighlight,
128
- displayOfLine: InterceptVisibility.hide,
129
- isCircleClicked: false,
130
- });
131
- }
132
- };
133
- /**
134
- * just cleaning up the state which we have set in the mouse move event
135
- */
136
- _this._onRectMouseOut = function () {
137
- /**/
138
- };
139
- _this._handleChartMouseLeave = function () {
140
- _this.setState({
141
- refSelected: null,
142
- isCalloutVisible: false,
143
- nearestCircleToHighlight: null,
144
- lineXValue: 0,
145
- displayOfLine: InterceptVisibility.hide,
146
- isCircleClicked: false,
147
- stackCalloutProps: undefined,
148
- dataPointCalloutProps: undefined,
149
- hoverXValue: undefined,
150
- YValueHover: [],
151
- });
152
- };
153
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
154
- _this._getStackedData = function (keys, dataSet) {
155
- var stackedValues = (0, d3_shape_1.stack)().keys(keys)(dataSet);
156
- var maxOfYVal = (0, d3_array_1.max)(stackedValues[stackedValues.length - 1], function (dp) { return dp[1]; });
157
- var stackedData = [];
158
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
159
- stackedValues.forEach(function (layer) {
160
- var currentStack = [];
161
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
162
- layer.forEach(function (d) {
163
- currentStack.push({
164
- values: d,
165
- xVal: d.data.xVal,
166
- });
167
- });
168
- stackedData.push(currentStack);
169
- });
170
- _this._isMultiStackChart = stackedData && stackedData.length > 1 ? true : false;
171
- return {
172
- stackedData: stackedData,
173
- maxOfYVal: maxOfYVal,
174
- };
175
- };
176
- _this._createDataSet = function (points) {
177
- if (_this.props.enablePerfOptimization && _this._enableComputationOptimization) {
178
- var allChartPoints_1 = [];
179
- var dataSet_1 = [];
180
- var colors_1 = [];
181
- var opacity_1 = [];
182
- var calloutPoints = (0, index_2.calloutData)(points);
183
- points &&
184
- points.length &&
185
- points.forEach(function (singleChartPoint) {
186
- colors_1.push(singleChartPoint.color);
187
- opacity_1.push(singleChartPoint.opacity || 1);
188
- allChartPoints_1.push.apply(allChartPoints_1, singleChartPoint.data);
189
- });
190
- var mapOfXvalToListOfDataPoints_1 = {};
191
- allChartPoints_1.forEach(function (dataPoint) {
192
- var xValue = dataPoint.x instanceof Date ? dataPoint.x.toLocaleString() : dataPoint.x;
193
- // map of x value to the list of data points which share the same x value .
194
- if (mapOfXvalToListOfDataPoints_1[xValue]) {
195
- mapOfXvalToListOfDataPoints_1[xValue].push(dataPoint);
196
- }
197
- else {
198
- mapOfXvalToListOfDataPoints_1[xValue] = [dataPoint];
199
- }
200
- });
201
- Object.keys(mapOfXvalToListOfDataPoints_1).forEach(function (key) {
202
- var value = mapOfXvalToListOfDataPoints_1[key];
203
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
204
- var singleDataset = {};
205
- value.forEach(function (singleDataPoint, index) {
206
- singleDataset.xVal = singleDataPoint.x;
207
- singleDataset["chart".concat(index)] = singleDataPoint.y;
208
- });
209
- dataSet_1.push(singleDataset);
210
- });
211
- // get keys from dataset, used to create stacked data
212
- var keysLength = dataSet_1 && Object.keys(dataSet_1[0]).length;
213
- var keys = [];
214
- for (var i = 0; i < keysLength - 1; i++) {
215
- var keyVal = "chart".concat(i);
216
- keys.push(keyVal);
217
- }
218
- // Stacked Info used to draw graph
219
- var stackedInfo = _this._getStackedData(keys, dataSet_1);
220
- return {
221
- colors: colors_1,
222
- opacity: opacity_1,
223
- keys: keys,
224
- stackedInfo: stackedInfo,
225
- calloutPoints: calloutPoints,
226
- };
227
- }
228
- else {
229
- var allChartPoints_2 = [];
230
- var dataSet = [];
231
- var colors_2 = [];
232
- var opacity_2 = [];
233
- var calloutPoints = (0, index_2.calloutData)(points);
234
- points &&
235
- points.length &&
236
- points.forEach(function (singleChartPoint) {
237
- colors_2.push(singleChartPoint.color);
238
- opacity_2.push(singleChartPoint.opacity || 1);
239
- allChartPoints_2.push.apply(allChartPoints_2, singleChartPoint.data);
240
- });
241
- var tempArr = allChartPoints_2;
242
- var _loop_1 = function () {
243
- var valToCheck = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;
244
- var filteredChartPoints = tempArr.filter(function (point) { return (point.x instanceof Date ? point.x.toLocaleString() : point.x) === valToCheck; });
245
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
246
- var singleDataset = {};
247
- filteredChartPoints.forEach(function (singleDataPoint, index) {
248
- singleDataset.xVal = singleDataPoint.x;
249
- singleDataset["chart".concat(index)] = singleDataPoint.y;
250
- });
251
- dataSet.push(singleDataset);
252
- // removing compared objects from array
253
- var val = tempArr[0].x instanceof Date ? tempArr[0].x.toLocaleString() : tempArr[0].x;
254
- tempArr = tempArr.filter(function (point) { return (point.x instanceof Date ? point.x.toLocaleString() : point.x) !== val; });
255
- };
256
- while (tempArr.length) {
257
- _loop_1();
258
- }
259
- // get keys from dataset, used to create stacked data
260
- var keysLength = dataSet && Object.keys(dataSet[0]).length;
261
- var keys = [];
262
- for (var i = 0; i < keysLength - 1; i++) {
263
- var keyVal = "chart".concat(i);
264
- keys.push(keyVal);
265
- }
266
- // Stacked Info used to draw graph
267
- var stackedInfo = _this._getStackedData(keys, dataSet);
268
- return {
269
- colors: colors_2,
270
- opacity: opacity_2,
271
- keys: keys,
272
- stackedInfo: stackedInfo,
273
- calloutPoints: calloutPoints,
274
- };
275
- }
276
- };
277
- _this._getCustomizedCallout = function () {
278
- return _this.props.onRenderCalloutPerStack
279
- ? _this.props.onRenderCalloutPerStack(_this.state.stackCalloutProps)
280
- : _this.props.onRenderCalloutPerDataPoint
281
- ? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps)
282
- : null;
283
- };
284
- _this._getGraphData = function (
285
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
286
- xAxis,
287
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
288
- yAxis, containerHeight, containerWidth, xElement) {
289
- _this._chart = _this._drawGraph(containerHeight, xAxis, yAxis, xElement);
290
- };
291
- _this._getLegendData = function (points) {
292
- var data = points;
293
- var actions = [];
294
- data.forEach(function (singleChartData) {
295
- var color = singleChartData.color;
296
- var checkSimilarLegends = actions.filter(function (leg) { return leg.title === singleChartData.legend && leg.color === color; });
297
- if (checkSimilarLegends.length > 0) {
298
- return;
299
- }
300
- var legend = {
301
- title: singleChartData.legend,
302
- color: color,
303
- action: function () {
304
- _this._onLegendClick(singleChartData.legend);
305
- },
306
- hoverAction: function () {
307
- _this._handleChartMouseLeave();
308
- _this._onLegendHover(singleChartData.legend);
309
- },
310
- onMouseOutAction: function () {
311
- _this._onLegendLeave();
312
- },
313
- };
314
- actions.push(legend);
315
- });
316
- return (React.createElement(index_3.Legends, tslib_1.__assign({ legends: actions, overflowProps: _this.props.legendsOverflowProps, enabledWrapLines: _this.props.enabledLegendsWrapLines, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard }, _this.props.legendProps)));
317
- };
318
- _this._onDataPointClick = function (func) {
319
- if (func) {
320
- func();
321
- }
322
- _this.setState({ isCircleClicked: true });
323
- };
324
- _this._getOpacity = function (legend) {
325
- if (!_this._isMultiStackChart) {
326
- return 0.7;
327
- }
328
- else {
329
- var opacity = _this._legendHighlighted(legend) || _this._noLegendHighlighted() ? 0.7 : 0.1;
330
- return opacity;
331
- }
332
- };
333
- _this._getLineOpacity = function (legend) {
334
- if (!_this._isMultiStackChart) {
335
- return 1;
336
- }
337
- else {
338
- var opacity = 0.3;
339
- if (_this.state.isCalloutVisible) {
340
- opacity = 1;
341
- }
342
- if (!_this._noLegendHighlighted()) {
343
- opacity = _this._legendHighlighted(legend) ? 0 : 0.1;
344
- }
345
- return opacity;
346
- }
347
- };
348
- _this._updateCircleFillColor = function (xDataPoint, lineColor, circleId) {
349
- var fillColor = lineColor;
350
- if (_this.state.nearestCircleToHighlight === xDataPoint || _this.state.activePoint === circleId) {
351
- _this._highlightedCircleId = circleId;
352
- if (!_this.state.isCircleClicked) {
353
- fillColor = _this.props.theme.semanticColors.bodyBackground;
354
- }
355
- }
356
- return fillColor;
357
- };
358
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
359
- _this._drawGraph = function (containerHeight, xScale, yScale, xElement) {
360
- var _a;
361
- var points = _this._addDefaultColors(_this.props.data.lineChartData);
362
- var pointOptions = (_a = _this.props.data, _a.pointOptions), pointLineOptions = _a.pointLineOptions;
363
- var area = (0, d3_shape_1.area)()
364
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
365
- .x(function (d) { return xScale(d.xVal); })
366
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
367
- .y0(function (d) { return yScale(d.values[0]); })
368
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
369
- .y1(function (d) { return yScale(d.values[1]); })
370
- .curve(d3_shape_1.curveMonotoneX);
371
- var line = (0, d3_shape_1.line)()
372
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
373
- .x(function (d) { return xScale(d.xVal); })
374
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
375
- .y(function (d) { return yScale(d.values[1]); })
376
- .curve(d3_shape_1.curveMonotoneX);
377
- var graph = [];
378
- var lineColor;
379
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
380
- _this._stackedData.forEach(function (singleStackedData, index) {
381
- graph.push(React.createElement(React.Fragment, { key: "".concat(index, "-graph-").concat(_this._uniqueIdForGraph) },
382
- _this.props.enableGradient && (React.createElement("defs", null,
383
- React.createElement("linearGradient", { id: "gradient_".concat(index), x1: "0%", x2: "0%", y1: "0%", y2: "100%" },
384
- React.createElement("stop", { offset: "0", stopColor: _this._colors[index] }),
385
- React.createElement("stop", { offset: "100%", stopColor: "transparent" })))),
386
- React.createElement("path", tslib_1.__assign({ id: "".concat(index, "-line-").concat(_this._uniqueIdForGraph), d: line(singleStackedData), fill: 'transparent', strokeWidth: 3, stroke: _this._colors[index], opacity: _this._getLineOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove }, points[index].lineOptions)),
387
- singleStackedData.length === 1 ? (React.createElement("circle", { id: "".concat(index, "-graph-").concat(_this._uniqueIdForGraph), cx: xScale(singleStackedData[0].xVal), cy: yScale(singleStackedData[0].values[1]), r: 6, stroke: _this._colors[index], strokeWidth: 3, fill: _this._colors[index], opacity: _this._opacity[index], fillOpacity: _this._getOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove })) : (React.createElement("path", tslib_1.__assign({ id: "".concat(index, "-graph-").concat(_this._uniqueIdForGraph), d: area(singleStackedData), fill: _this.props.enableGradient ? "url(#gradient_".concat(index, ")") : _this._colors[index], opacity: _this._opacity[index], fillOpacity: _this._getOpacity(points[index].legend), onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove }, (_this.props.optimizeLargeData && {
388
- 'data-is-focusable': _this._legendHighlighted(points[index].legend) || _this._noLegendHighlighted(),
389
- role: 'img',
390
- 'aria-label': "".concat(points[index].legend, ", series ").concat(index + 1, " of ").concat(points.length, " with ").concat(points[index].data.length, " data points."),
391
- }))))));
392
- });
393
- var circleRadius = pointOptions && pointOptions.r ? Number(pointOptions.r) : 8;
394
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
395
- _this._stackedData.forEach(function (singleStackedData, index) {
396
- if (points.length === index) {
397
- return;
398
- }
399
- if (!_this.props.optimizeLargeData || singleStackedData.length === 1) {
400
- // Render circles for all data points
401
- graph.push(React.createElement("g", { key: "".concat(index, "-dots-").concat(_this._uniqueIdForGraph), d: area(singleStackedData), clipPath: "url(#clip)", role: "region", "aria-label": "".concat(points[index].legend, ", series ").concat(index + 1, " of ").concat(points.length, " with ").concat(points[index].data.length, " data points.") }, singleStackedData.map(function (singlePoint, pointIndex) {
402
- var circleId = "".concat(_this._circleId, "_").concat(index * _this._stackedData[0].length + pointIndex);
403
- var xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;
404
- lineColor = points[index].color;
405
- return (React.createElement("circle", tslib_1.__assign({ key: circleId, id: circleId, "data-is-focusable": _this._legendHighlighted(points[index].legend) || _this._noLegendHighlighted(), cx: xScale(singlePoint.xVal), cy: yScale(singlePoint.values[1]), stroke: lineColor, strokeWidth: 3, fill: _this._updateCircleFillColor(xDataPoint, lineColor, circleId), onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove, onClick: _this._onDataPointClick.bind(_this, points[index].data[pointIndex].onDataPointClick), onFocus: function () { return _this._handleFocus(index, pointIndex, circleId); }, onBlur: _this._handleBlur }, pointOptions, { r: _this._getCircleRadius(xDataPoint, circleRadius, circleId), role: "img", "aria-label": _this._getAriaLabel(index, pointIndex) })));
406
- })));
407
- }
408
- else {
409
- // Render circles for data points close to the mouse pointer only
410
- singleStackedData.forEach(function (singlePoint, pointIndex) {
411
- var xDataPoint = singlePoint.xVal instanceof Date ? singlePoint.xVal.getTime() : singlePoint.xVal;
412
- if (_this.state.nearestCircleToHighlight === xDataPoint) {
413
- var circleId = "".concat(_this._circleId, "_").concat(index * _this._stackedData[0].length + pointIndex);
414
- lineColor = points[index].color;
415
- graph.push(React.createElement("circle", tslib_1.__assign({ key: circleId, id: circleId, cx: xScale(singlePoint.xVal), cy: yScale(singlePoint.values[1]), stroke: lineColor, strokeWidth: 3, fill: _this._updateCircleFillColor(xDataPoint, lineColor, circleId), onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove, onClick: _this._onDataPointClick.bind(_this, points[index].data[pointIndex].onDataPointClick) }, pointOptions, { r: _this._getCircleRadius(xDataPoint, circleRadius, circleId) })));
416
- }
417
- });
418
- }
419
- });
420
- graph.push(React.createElement("line", tslib_1.__assign({ id: _this._verticalLineId, key: _this._verticalLineId, x1: _this.state.lineXValue, y1: 0, x2: _this.state.lineXValue, y2: containerHeight, strokeWidth: 1, strokeDasharray: 5.5, stroke: lineColor, opacity: 0.5, visibility: _this.state.displayOfLine }, pointLineOptions)));
421
- var classNames = getClassNames(_this.props.styles, {
422
- theme: _this.props.theme,
423
- });
424
- // Removing un wanted tooltip div from DOM, when prop not provided.
425
- if (!_this.props.showXAxisLablesTooltip) {
426
- try {
427
- document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
428
- // eslint-disable-next-line no-empty
429
- }
430
- catch (e) { }
431
- }
432
- // Used to display tooltip at x axis labels.
433
- if (!_this.props.wrapXAxisLables && _this.props.showXAxisLablesTooltip) {
434
- var xAxisElement = (0, d3_selection_2.select)(xElement).call(xScale);
435
- try {
436
- document.getElementById(_this._tooltipId) && document.getElementById(_this._tooltipId).remove();
437
- // eslint-disable-next-line no-empty
438
- }
439
- catch (e) { }
440
- var tooltipProps = {
441
- tooltipCls: classNames.tooltip,
442
- id: _this._tooltipId,
443
- xAxis: xAxisElement,
444
- };
445
- xAxisElement && (0, index_2.tooltipOfXAxislabels)(tooltipProps);
446
- }
447
- return graph;
448
- };
449
- _this._getCircleRadius = function (xDataPoint, circleRadius, circleId) {
450
- var _a;
451
- var isCircleClicked = (_a = _this.state, _a.isCircleClicked), nearestCircleToHighlight = _a.nearestCircleToHighlight, activePoint = _a.activePoint;
452
- if (isCircleClicked && nearestCircleToHighlight === xDataPoint) {
453
- return 1;
454
- }
455
- else if (nearestCircleToHighlight === xDataPoint || activePoint === circleId) {
456
- return circleRadius;
457
- }
458
- else {
459
- return 0;
460
- }
461
- };
462
- _this._closeCallout = function () {
463
- _this.setState({
464
- isCalloutVisible: false,
465
- });
466
- };
467
- /**
468
- * This function checks if the given legend is highlighted or not.
469
- * A legend can be highlighted in 2 ways:
470
- * 1. selection: if the user clicks on it
471
- * 2. hovering: if there is no selected legend and the user hovers over it
472
- */
473
- _this._legendHighlighted = function (legend) {
474
- return (_this.state.selectedLegend === legend || (_this.state.selectedLegend === '' && _this.state.activeLegend === legend));
475
- };
476
- /**
477
- * This function checks if none of the legends is selected or hovered.
478
- */
479
- _this._noLegendHighlighted = function () {
480
- return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
481
- };
482
- _this._addDefaultColors = function (lineChartData) {
483
- return lineChartData
484
- ? lineChartData.map(function (item, index) {
485
- var _a, _b;
486
- var color;
487
- // isInverted property is applicable to v8 themes only
488
- if (typeof item.color === 'undefined') {
489
- color = (0, index_2.getNextColor)(index, 0, (_a = _this.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
490
- }
491
- else {
492
- color = (0, index_2.getColorFromToken)(item.color, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
493
- }
494
- return tslib_1.__assign(tslib_1.__assign({}, item), { color: color });
495
- })
496
- : [];
497
- };
498
- _this._handleFocus = function (lineIndex, pointIndex, circleId) {
499
- var _a;
500
- var x = (_a = _this.props.data.lineChartData[lineIndex].data[pointIndex], _a.x), y = _a.y, xAxisCalloutData = _a.xAxisCalloutData;
501
- var formattedDate = x instanceof Date ? (0, index_2.formatDate)(x, _this.props.useUTC) : x;
502
- var modifiedXVal = x instanceof Date ? x.getTime() : x;
503
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
504
- var found = _this._calloutPoints.find(function (e) { return e.x === modifiedXVal; });
505
- // Show details in the callout for the focused point only
506
- found.values = found.values.filter(function (e) { return e.y === y; });
507
- _this.setState({
508
- refSelected: "#".concat(circleId),
509
- isCalloutVisible: true,
510
- hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
511
- YValueHover: found.values,
512
- stackCalloutProps: found,
513
- dataPointCalloutProps: found,
514
- activePoint: circleId,
515
- });
516
- };
517
- _this._handleBlur = function () {
518
- _this.setState({
519
- refSelected: null,
520
- isCalloutVisible: false,
521
- hoverXValue: undefined,
522
- YValueHover: [],
523
- stackCalloutProps: undefined,
524
- dataPointCalloutProps: undefined,
525
- activePoint: '',
526
- });
527
- };
528
- _this._getChartTitle = function () {
529
- var _a;
530
- var chartTitle = (_a = _this.props.data, _a.chartTitle), lineChartData = _a.lineChartData;
531
- return (chartTitle ? "".concat(chartTitle, ". ") : '') + "Area chart with ".concat((lineChartData === null || lineChartData === void 0 ? void 0 : lineChartData.length) || 0, " data series. ");
532
- };
533
- _this._createSet = (0, Utilities_1.memoizeFunction)(_this._createDataSet);
534
- _this.state = {
535
- selectedLegend: '',
536
- activeLegend: '',
537
- hoverXValue: '',
538
- isCalloutVisible: false,
539
- refSelected: null,
540
- YValueHover: [],
541
- lineXValue: 0,
542
- displayOfLine: InterceptVisibility.hide,
543
- isCircleClicked: false,
544
- nearestCircleToHighlight: null,
545
- isShowCalloutPending: false,
546
- activePoint: '',
547
- };
548
- (0, Utilities_2.warnDeprecations)(COMPONENT_NAME, props, {
549
- showYAxisGridLines: 'Dont use this property. Lines are drawn by default',
550
- });
551
- _this._uniqueIdForGraph = (0, Utilities_1.getId)('areaChart_');
552
- _this._verticalLineId = (0, Utilities_1.getId)('verticalLine_');
553
- _this._circleId = (0, Utilities_1.getId)('circle');
554
- _this._rectId = (0, Utilities_1.getId)('rectangle');
555
- _this._tooltipId = (0, Utilities_1.getId)('AreaChartTooltipID');
556
- _this._enableComputationOptimization = true;
557
- _this._firstRenderOptimization = true;
558
- _this._emptyChartId = (0, Utilities_1.getId)('_AreaChart_empty');
559
- return _this;
560
- }
561
- AreaChartBase.prototype.componentDidUpdate = function () {
562
- if (this.state.isShowCalloutPending) {
563
- this.setState({
564
- refSelected: "#".concat(this._highlightedCircleId),
565
- isCalloutVisible: true,
566
- isShowCalloutPending: false,
567
- });
568
- }
569
- };
570
- AreaChartBase.prototype.render = function () {
571
- var _a;
572
- var _this = this;
573
- if (!this._isChartEmpty()) {
574
- var lineChartData = this.props.data.lineChartData;
575
- var points = this._addDefaultColors(lineChartData);
576
- var colors = (_a = this._createSet(points), _a.colors), opacity = _a.opacity, stackedInfo = _a.stackedInfo, calloutPoints = _a.calloutPoints;
577
- this._calloutPoints = calloutPoints;
578
- var isXAxisDateType = (0, index_2.getXAxisType)(points);
579
- this._colors = colors;
580
- this._opacity = opacity;
581
- this._stackedData = stackedInfo.stackedData;
582
- var legends = this._getLegendData(points);
583
- var tickParams = {
584
- tickValues: this.props.tickValues,
585
- tickFormat: this.props.tickFormat,
586
- };
587
- var calloutProps = tslib_1.__assign({ target: this.state.refSelected, isCalloutVisible: this.state.isCalloutVisible, directionalHint: Callout_1.DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip".concat(this._uniqueCallOutID), gapSpace: 15, isBeakVisible: false, onDismiss: this._closeCallout, 'data-is-focusable': true, xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData }, this.props.calloutProps);
588
- return (React.createElement(index_1.CartesianChart, tslib_1.__assign({}, this.props, { chartTitle: this._getChartTitle(), points: points, chartType: index_2.ChartTypes.AreaChart, calloutProps: calloutProps, legendBars: legends, createYAxis: index_2.createNumericYAxis, isCalloutForStack: true, xAxisType: isXAxisDateType ? index_2.XAxisTypes.DateAxis : index_2.XAxisTypes.NumericAxis, tickParams: tickParams, maxOfYVal: stackedInfo.maxOfYVal, getGraphData: this._getGraphData, getDomainNRangeValues: this._getDomainNRangeValues, createStringYAxis: index_2.createStringYAxis, getmargins: this._getMargins, getMinMaxOfYAxis: index_2.findNumericMinMaxOfY, customizedCallout: this._getCustomizedCallout(), onChartMouseLeave: this._handleChartMouseLeave, enableFirstRenderOptimization: this.props.enablePerfOptimization && this._firstRenderOptimization,
589
- /* eslint-disable react/jsx-no-bind */
590
- // eslint-disable-next-line react/no-children-prop
591
- children: function (props) {
592
- _this._xAxisRectScale = props.xScale;
593
- var ticks = _this._xAxisRectScale.ticks();
594
- var width1 = _this._xAxisRectScale(ticks[ticks.length - 1]);
595
- var rectHeight = props.containerHeight - _this.margins.top;
596
- return (React.createElement(React.Fragment, null,
597
- React.createElement("g", null,
598
- React.createElement("rect", { id: _this._rectId, width: width1, height: rectHeight, fill: 'transparent', onMouseMove: _this._onRectMouseMove, onMouseOut: _this._onRectMouseOut, onMouseOver: _this._onRectMouseMove })),
599
- React.createElement("g", null, _this._chart)));
600
- } })));
601
- }
602
- return (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
603
- };
604
- AreaChartBase.prototype._onLegendClick = function (legend) {
605
- if (this.state.selectedLegend === legend) {
606
- this.setState({
607
- selectedLegend: '',
608
- });
609
- }
610
- else {
611
- this.setState({
612
- selectedLegend: legend,
613
- });
614
- }
615
- };
616
- AreaChartBase.prototype._onLegendHover = function (legend) {
617
- this.setState({
618
- activeLegend: legend,
619
- });
620
- };
621
- AreaChartBase.prototype._onLegendLeave = function () {
622
- this.setState({
623
- activeLegend: '',
624
- });
625
- };
626
- AreaChartBase.prototype._getAriaLabel = function (lineIndex, pointIndex) {
627
- var _a;
628
- var line = this.props.data.lineChartData[lineIndex];
629
- var point = line.data[pointIndex];
630
- var formattedDate = point.x instanceof Date ? (0, index_2.formatDate)(point.x, this.props.useUTC) : point.x;
631
- var xValue = point.xAxisCalloutData || formattedDate;
632
- var legend = line.legend;
633
- var yValue = point.yAxisCalloutData || point.y;
634
- return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || "".concat(xValue, ". ").concat(legend, ", ").concat(yValue, ".");
635
- };
636
- AreaChartBase.prototype._isChartEmpty = function () {
637
- return !((this.props.data &&
638
- this.props.data.lineChartData &&
639
- this.props.data.lineChartData.length > 0 &&
640
- this.props.data.lineChartData.filter(function (item) { return item.data.length === 0; }).length === 0)
641
- // if all the data sets have no data
642
- // filtering all items which have no data and checking if the length of the filtered array is 0
643
- // which means chart is not empty
644
- );
645
- };
646
- AreaChartBase.defaultProps = {
647
- useUTC: true,
648
- };
649
- return AreaChartBase;
650
- }(React.Component));
651
- });
652
- //# sourceMappingURL=AreaChart.base.js.map