@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,7 +0,0 @@
1
- import * as React from 'react';
2
- import { IHeatMapChartProps } from './HeatMapChart.types';
3
- /**
4
- * HeatMapchart component.
5
- * {@docCategory HeatMapChart}
6
- */
7
- export declare const HeatMapChart: React.FunctionComponent<IHeatMapChartProps>;
@@ -1,11 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Utilities", "./HeatMapChart.styles", "./HeatMapChart.base"], function (require, exports, Utilities_1, HeatMapChart_styles_1, HeatMapChart_base_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HeatMapChart = void 0;
5
- /**
6
- * HeatMapchart component.
7
- * {@docCategory HeatMapChart}
8
- */
9
- exports.HeatMapChart = (0, Utilities_1.styled)(HeatMapChart_base_1.HeatMapChartBase, HeatMapChart_styles_1.getHeatMapChartStyles);
10
- });
11
- //# sourceMappingURL=HeatMapChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.ts"],"names":[],"mappings":";;;;IAMA;;;OAGG;IACU,QAAA,YAAY,GAAgD,IAAA,kBAAM,EAI7E,oCAAgB,EAAE,2CAAqB,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '@fluentui/react/lib/Utilities';\nimport { IHeatMapChartProps, IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\nimport { getHeatMapChartStyles } from './HeatMapChart.styles';\nimport { HeatMapChartBase } from './HeatMapChart.base';\n\n/**\n * HeatMapchart component.\n * {@docCategory HeatMapChart}\n */\nexport const HeatMapChart: React.FunctionComponent<IHeatMapChartProps> = styled<\n IHeatMapChartProps,\n IHeatMapChartStyleProps,\n IHeatMapChartStyles\n>(HeatMapChartBase, getHeatMapChartStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';
2
- export declare const getHeatMapChartStyles: (props: IHeatMapChartStyleProps) => IHeatMapChartStyles;
@@ -1,29 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Styling"], function (require, exports, Styling_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getHeatMapChartStyles = void 0;
5
- var getHeatMapChartStyles = function (props) {
6
- var theme = props.theme;
7
- return {
8
- root: {},
9
- text: [
10
- theme.fonts.medium,
11
- {
12
- pointerEvents: 'none',
13
- fill: theme.palette.white,
14
- fontWeight: Styling_1.FontWeights.semibold,
15
- },
16
- ],
17
- subComponentStyles: {
18
- cartesianStyles: {},
19
- calloutStyles: {
20
- root: {
21
- maxWidth: '238px',
22
- },
23
- },
24
- },
25
- };
26
- };
27
- exports.getHeatMapChartStyles = getHeatMapChartStyles;
28
- });
29
- //# sourceMappingURL=HeatMapChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.styles.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.styles.ts"],"names":[],"mappings":";;;;IAGO,IAAM,qBAAqB,GAAG,UAAC,KAA8B;QAC1D,IAAA,KAAK,GAAK,KAAK,MAAV,CAAW;QACxB,OAAO;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE;gBACJ,KAAK,CAAC,KAAK,CAAC,MAAM;gBAClB;oBACE,aAAa,EAAE,MAAM;oBACrB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;oBACzB,UAAU,EAAE,qBAAW,CAAC,QAAQ;iBACjC;aACF;YACD,kBAAkB,EAAE;gBAClB,eAAe,EAAE,EAAE;gBACnB,aAAa,EAAE;oBACb,IAAI,EAAE;wBACJ,QAAQ,EAAE,OAAO;qBAClB;iBACF;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IArBW,QAAA,qBAAqB,yBAqBhC","sourcesContent":["import { FontWeights } from '@fluentui/react/lib/Styling';\nimport { IHeatMapChartStyleProps, IHeatMapChartStyles } from './HeatMapChart.types';\n\nexport const getHeatMapChartStyles = (props: IHeatMapChartStyleProps): IHeatMapChartStyles => {\n const { theme } = props;\n return {\n root: {},\n text: [\n theme.fonts.medium,\n {\n pointerEvents: 'none',\n fill: theme.palette.white,\n fontWeight: FontWeights.semibold,\n },\n ],\n subComponentStyles: {\n cartesianStyles: {},\n calloutStyles: {\n root: {\n maxWidth: '238px',\n },\n },\n },\n };\n};\n"]}
@@ -1,122 +0,0 @@
1
- import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
2
- import { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';
3
- import { IStyle } from '@fluentui/react/lib/Styling';
4
- import { ICartesianChartStyleProps, ICartesianChartProps, ICartesianChartStyles } from '../CommonComponents/CartesianChart.types';
5
- import { ILegendsProps } from '../Legends/Legends.types';
6
- import { IHeatMapChartData } from '../../types/IDataPoint';
7
- /**
8
- * Heat Map Chart properties
9
- * {@docCategory HeatMapChart}
10
- */
11
- export interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {
12
- /**
13
- * chart title for the chart
14
- */
15
- chartTitle?: string;
16
- /**
17
- * data to provide for Heat Map
18
- */
19
- data: IHeatMapChartData[];
20
- /**
21
- * The domain value for the color scale,
22
- *
23
- */
24
- domainValuesForColorScale: number[];
25
- /**
26
- * The range values for the color scale,
27
- * fill the array with colors in hex format
28
- * note:- it should contain values exactly as many as values in the array
29
- * `domainValuesForColorScale`
30
- */
31
- rangeValuesForColorScale: string[];
32
- /**
33
- * date formatter of x axis,
34
- * if the x-axis data point are of date type then user can use this
35
- * prop to format the date
36
- * refer to https://github.com/d3/d3-time-format for string values
37
- * @default '%b/%d'
38
- */
39
- xAxisDateFormatString?: string;
40
- /**
41
- * date formatter of y axis,
42
- * if the y-axis data point are or date type then user can use this
43
- * prop to format the date
44
- * refer to https://github.com/d3/d3-time-format for string values
45
- * @default '%b/%d'
46
- */
47
- yAxisDateFormatString?: string;
48
- /**
49
- * number formatter of x axis
50
- * if the x-axis data pints are of number type then user can
51
- * use this prop to format the number
52
- * refer to https://github.com/d3/d3-format for string values
53
- * @default '.2~s'
54
- */
55
- xAxisNumberFormatString?: string;
56
- /**
57
- * number formatter of y axis
58
- * if the y-axis data pints are of number type then user can
59
- * use this prop to format the number
60
- * refer to https://github.com/d3/d3-format for string values
61
- * @default '.2~s'
62
- */
63
- yAxisNumberFormatString?: string;
64
- /**
65
- * string formatter for x-axis.
66
- * This prop only applies if the x-axis is of string type
67
- *
68
- * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
69
- * order and then render in the x-axis. this behaviour would force the order of the data points.
70
- * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
71
- * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
72
- * name to that point by using this prop, hence giving the us the flexiblity of the order in which
73
- * label should render
74
- *
75
- * see the example file for the usage of the prop
76
- */
77
- xAxisStringFormatter?: (point: string) => string;
78
- /**
79
- * string formatter for y-axis.
80
- * This prop only applies if the y-axis is of string type
81
- *
82
- * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending
83
- * order and then render in the y-axis. this behaviour would force the order of the data points.
84
- * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.
85
- * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom
86
- * name to that point by using this prop, hence giving the us the flexiblity of the order in which
87
- * label should render
88
- *
89
- * see the exaple file for the usage of the prop
90
- */
91
- yAxisStringFormatter?: (point: string) => string;
92
- /**
93
- * custom legend properties
94
- */
95
- legendProps?: Partial<ILegendsProps>;
96
- /**
97
- * Call to provide customized styling that will layer on top of the variant rules.
98
- */
99
- styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;
100
- /**
101
- * The prop used to define the culture to localized the numbers
102
- */
103
- culture?: string;
104
- }
105
- /**
106
- * Heat Map Chart style properties
107
- * {@docCategory HeatMapChart}
108
- */
109
- export interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {
110
- }
111
- /**
112
- * Heat Map Chart styles
113
- * {@docCategory HeatMapChart}
114
- */
115
- export interface IHeatMapChartStyles {
116
- root?: IStyle;
117
- text?: IStyle;
118
- subComponentStyles: {
119
- cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;
120
- calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;
121
- };
122
- }
@@ -1,5 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- });
5
- //# sourceMappingURL=HeatMapChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeatMapChart.types.js","sourceRoot":"../src/","sources":["components/HeatMapChart/HeatMapChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICalloutContentStyleProps, ICalloutContentStyles } from '@fluentui/react/lib/Callout';\nimport { IStyle } from '@fluentui/react/lib/Styling';\nimport {\n ICartesianChartStyleProps,\n ICartesianChartProps,\n ICartesianChartStyles,\n} from '../CommonComponents/CartesianChart.types';\nimport { ILegendsProps } from '../Legends/Legends.types';\nimport { IHeatMapChartData } from '../../types/IDataPoint';\n\n/**\n * Heat Map Chart properties\n * {@docCategory HeatMapChart}\n */\nexport interface IHeatMapChartProps extends Pick<ICartesianChartProps, Exclude<keyof ICartesianChartProps, 'styles'>> {\n /**\n * chart title for the chart\n */\n chartTitle?: string;\n /**\n * data to provide for Heat Map\n */\n data: IHeatMapChartData[];\n /**\n * The domain value for the color scale,\n *\n */\n domainValuesForColorScale: number[];\n /**\n * The range values for the color scale,\n * fill the array with colors in hex format\n * note:- it should contain values exactly as many as values in the array\n * `domainValuesForColorScale`\n */\n rangeValuesForColorScale: string[];\n /**\n * date formatter of x axis,\n * if the x-axis data point are of date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n xAxisDateFormatString?: string;\n /**\n * date formatter of y axis,\n * if the y-axis data point are or date type then user can use this\n * prop to format the date\n * refer to https://github.com/d3/d3-time-format for string values\n * @default '%b/%d'\n */\n yAxisDateFormatString?: string;\n /**\n * number formatter of x axis\n * if the x-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n xAxisNumberFormatString?: string;\n /**\n * number formatter of y axis\n * if the y-axis data pints are of number type then user can\n * use this prop to format the number\n * refer to https://github.com/d3/d3-format for string values\n * @default '.2~s'\n */\n yAxisNumberFormatString?: string;\n /**\n * string formatter for x-axis.\n * This prop only applies if the x-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the x-axis. this behaviour would force the order of the data points.\n * to overcome , user can give x-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the example file for the usage of the prop\n */\n xAxisStringFormatter?: (point: string) => string;\n\n /**\n * string formatter for y-axis.\n * This prop only applies if the y-axis is of string type\n *\n * For the accessiblity reason we sort the x-axis data point given by the consumer in ascending\n * order and then render in the y-axis. this behaviour would force the order of the data points.\n * to overcome , user can give y-axis point names as p1 p2...etc and map those p1 and p2 to custom name.\n * behind the scene the charting will actually sort the p1 and p2 and then we can attach the custom\n * name to that point by using this prop, hence giving the us the flexiblity of the order in which\n * label should render\n *\n * see the exaple file for the usage of the prop\n */\n yAxisStringFormatter?: (point: string) => string;\n /**\n * custom legend properties\n */\n legendProps?: Partial<ILegendsProps>;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IHeatMapChartStyleProps, IHeatMapChartStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\n/**\n * Heat Map Chart style properties\n * {@docCategory HeatMapChart}\n */\nexport interface IHeatMapChartStyleProps extends ICartesianChartStyleProps {}\n\n/**\n * Heat Map Chart styles\n * {@docCategory HeatMapChart}\n */\nexport interface IHeatMapChartStyles {\n root?: IStyle;\n text?: IStyle;\n subComponentStyles: {\n cartesianStyles: IStyleFunctionOrObject<ICartesianChartStyleProps, ICartesianChartStyles>;\n calloutStyles: IStyleFunctionOrObject<ICalloutContentStyleProps, ICalloutContentStyles>;\n };\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from './HeatMapChart';
2
- export * from './HeatMapChart.types';
@@ -1,7 +0,0 @@
1
- define(["require", "exports", "tslib", "./HeatMapChart", "./HeatMapChart.types"], function (require, exports, tslib_1, HeatMapChart_1, HeatMapChart_types_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(HeatMapChart_1, exports);
5
- tslib_1.__exportStar(HeatMapChart_types_1, exports);
6
- });
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/HeatMapChart/index.ts"],"names":[],"mappings":";;;IAAA,8CAA+B;IAC/B,oDAAqC","sourcesContent":["export * from './HeatMapChart';\nexport * from './HeatMapChart.types';\n"]}
@@ -1,47 +0,0 @@
1
- import * as React from 'react';
2
- import { IAccessibilityProps, IHorizontalBarChartProps, IChartDataPoint } from './index';
3
- export interface IHorizontalBarChartState {
4
- isCalloutVisible: boolean;
5
- refSelected: SVGGElement | null | undefined;
6
- color: string;
7
- hoverValue: string | number | Date | null;
8
- lineColor: string;
9
- legend: string | null;
10
- xCalloutValue?: string;
11
- yCalloutValue?: string;
12
- barCalloutProps?: IChartDataPoint;
13
- callOutAccessibilityData?: IAccessibilityProps;
14
- barSpacingInPercent: number;
15
- }
16
- export declare class HorizontalBarChartBase extends React.Component<IHorizontalBarChartProps, IHorizontalBarChartState> {
17
- private _barHeight;
18
- private _classNames;
19
- private _uniqLineText;
20
- private _calloutId;
21
- private _refArray;
22
- private _calloutAnchorPoint;
23
- private _isRTL;
24
- private barChartSvgRef;
25
- private _emptyChartId;
26
- constructor(props: IHorizontalBarChartProps);
27
- componentDidMount(): void;
28
- render(): JSX.Element;
29
- private _refCallback;
30
- private _hoverOn;
31
- private _hoverOff;
32
- private _handleChartMouseLeave;
33
- private _adjustProps;
34
- private _getChartDataText;
35
- private _getDefaultTextData;
36
- private _createBenchmark;
37
- /**
38
- * This functions returns an array of <rect> elements, which form the bars
39
- * For each bar an x value, and a width needs to be specified
40
- * The computations are done based on percentages
41
- * Extra margin is also provided, in the x value to provide some spacing in between the bars
42
- */
43
- private _createBars;
44
- private _closeCallout;
45
- private _getAriaLabel;
46
- private _isChartEmpty;
47
- }
@@ -1,270 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "@fluentui/react/lib/Utilities", "./index", "@fluentui/react/lib/Callout", "../../utilities/locale-util", "../../utilities/index", "@fluentui/react-focus", "../../utilities/FocusableTooltipText"], function (require, exports, tslib_1, React, Utilities_1, index_1, Callout_1, locale_util_1, index_2, react_focus_1, FocusableTooltipText_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HorizontalBarChartBase = void 0;
5
- var getClassNames = (0, Utilities_1.classNamesFunction)();
6
- var HorizontalBarChartBase = /** @class */ (function (_super) {
7
- tslib_1.__extends(HorizontalBarChartBase, _super);
8
- function HorizontalBarChartBase(props) {
9
- var _this = _super.call(this, props) || this;
10
- _this._isRTL = (0, Utilities_1.getRTL)();
11
- _this._handleChartMouseLeave = function () {
12
- _this._calloutAnchorPoint = null;
13
- if (_this.state.isCalloutVisible) {
14
- _this.setState({
15
- isCalloutVisible: false,
16
- hoverValue: '',
17
- refSelected: null,
18
- lineColor: '',
19
- legend: '',
20
- });
21
- }
22
- };
23
- _this._adjustProps = function () {
24
- _this._barHeight = _this.props.barHeight || 12;
25
- _this._classNames = getClassNames(_this.props.styles, {
26
- theme: _this.props.theme,
27
- width: _this.props.width,
28
- className: _this.props.className,
29
- barHeight: _this._barHeight,
30
- color: _this.state.lineColor,
31
- variant: _this.props.variant,
32
- hideLabels: _this.props.hideLabels,
33
- });
34
- };
35
- _this._getChartDataText = function (data) {
36
- return _this.props.barChartCustomData ? (React.createElement("div", { role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
37
- };
38
- _this._closeCallout = function () {
39
- _this.setState({
40
- isCalloutVisible: false,
41
- });
42
- };
43
- _this._getAriaLabel = function (point) {
44
- var _a;
45
- var legend = point.xAxisCalloutData || point.legend;
46
- var benchMark = point.data;
47
- var yValue = point.yAxisCalloutData ||
48
- (point.horizontalBarChartdata ? "".concat(point.horizontalBarChartdata.x, "/").concat(point.horizontalBarChartdata.y) : 0);
49
- return (((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) ||
50
- (legend ? "".concat(legend, ", ") : '') + "".concat(yValue, ".") + (benchMark ? 'with benchmark at ' + "".concat(benchMark, ", ") : ''));
51
- };
52
- _this.state = {
53
- isCalloutVisible: false,
54
- hoverValue: '',
55
- lineColor: '',
56
- legend: '',
57
- refSelected: null,
58
- // eslint-disable-next-line react/no-unused-state
59
- color: '',
60
- xCalloutValue: '',
61
- yCalloutValue: '',
62
- barSpacingInPercent: 0,
63
- };
64
- _this._refArray = [];
65
- _this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);
66
- _this._hoverOff = _this._hoverOff.bind(_this);
67
- _this._calloutId = (0, Utilities_1.getId)('callout');
68
- _this._emptyChartId = (0, Utilities_1.getId)('_HBC_empty');
69
- _this.barChartSvgRef = React.createRef();
70
- return _this;
71
- }
72
- HorizontalBarChartBase.prototype.componentDidMount = function () {
73
- var _a;
74
- var svgWidth = ((_a = this.barChartSvgRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
75
- var MARGIN_WIDTH_IN_PX = 3;
76
- if (svgWidth) {
77
- var currentBarSpacing = (MARGIN_WIDTH_IN_PX / svgWidth) * 100;
78
- this.setState({ barSpacingInPercent: currentBarSpacing });
79
- }
80
- };
81
- HorizontalBarChartBase.prototype.render = function () {
82
- var _this = this;
83
- var _a = this.props, data = _a.data, theme = _a.theme;
84
- this._adjustProps();
85
- var palette = theme.palette;
86
- var datapoint = 0;
87
- return !this._isChartEmpty() ? (React.createElement("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
88
- data.map(function (points, index) {
89
- if (points.chartData && points.chartData[0] && points.chartData[0].horizontalBarChartdata.x) {
90
- datapoint = points.chartData[0].horizontalBarChartdata.x;
91
- }
92
- else {
93
- datapoint = 0;
94
- }
95
- points.chartData[1] = {
96
- legend: '',
97
- horizontalBarChartdata: {
98
- x: points.chartData[0].horizontalBarChartdata.y - datapoint,
99
- y: points.chartData[0].horizontalBarChartdata.y,
100
- },
101
- color: palette.neutralLight,
102
- };
103
- // Hide right side text of chart title for absolute-scale variant
104
- var chartDataText = _this.props.variant === index_1.HorizontalBarChartVariant.AbsoluteScale ? null : _this._getChartDataText(points);
105
- var bars = _this._createBars(points, palette);
106
- var keyVal = _this._uniqLineText + '_' + index;
107
- var classNames = getClassNames(_this.props.styles, {
108
- theme: _this.props.theme,
109
- width: _this.props.width,
110
- showTriangle: !!points.chartData[0].data,
111
- variant: _this.props.variant,
112
- });
113
- return (React.createElement("div", { key: index },
114
- React.createElement("div", { className: classNames.items },
115
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal },
116
- React.createElement("div", { className: _this._classNames.chartTitle },
117
- points.chartTitle && (React.createElement(FocusableTooltipText_1.FocusableTooltipText, { className: _this._classNames.chartTitleLeft, content: points.chartTitle, accessibilityData: points.chartTitleAccessibilityData })),
118
- chartDataText)),
119
- points.chartData[0].data && _this._createBenchmark(points),
120
- React.createElement(react_focus_1.FocusZone, { direction: react_focus_1.FocusZoneDirection.horizontal, className: _this._classNames.chartWrapper },
121
- React.createElement("svg", { ref: _this.barChartSvgRef, className: _this._classNames.chart, "aria-label": points.chartTitle },
122
- React.createElement("g", { id: keyVal, key: keyVal, ref: function (e) {
123
- _this._refCallback(e, points.chartData[0].legend);
124
- },
125
- // NOTE: points.chartData![0] contains current data value
126
- onClick: function () {
127
- var p = points.chartData[0];
128
- if (p && p.onClick) {
129
- p.onClick();
130
- }
131
- } }, bars))))));
132
- }),
133
- React.createElement(Callout_1.Callout, tslib_1.__assign({ target: this.state.refSelected, coverTarget: true, isBeakVisible: false, gapSpace: 30, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), directionalHint: Callout_1.DirectionalHint.topAutoEdge, id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }, this.props.calloutProps, (0, index_2.getAccessibleDataObject)(this.state.callOutAccessibilityData)),
134
- React.createElement(React.Fragment, null, this.props.onRenderCalloutPerHorizontalBar ? (this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)) : (React.createElement(index_2.ChartHoverCard, { Legend: this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue, color: this.state.lineColor, culture: this.props.culture })))))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
135
- };
136
- HorizontalBarChartBase.prototype._refCallback = function (element, legendTitle) {
137
- this._refArray.push({ index: legendTitle, refElement: element });
138
- };
139
- HorizontalBarChartBase.prototype._hoverOn = function (hoverValue, point) {
140
- if ((!this.state.isCalloutVisible || this.state.legend !== point.legend) && this._calloutAnchorPoint !== point) {
141
- var currentHoveredElement = (0, Utilities_1.find)(this._refArray, function (currentElement) { return currentElement.index === point.legend; });
142
- this._calloutAnchorPoint = point;
143
- this.setState({
144
- isCalloutVisible: true,
145
- hoverValue: hoverValue,
146
- lineColor: point.color,
147
- legend: point.legend,
148
- refSelected: currentHoveredElement.refElement,
149
- xCalloutValue: point.xAxisCalloutData,
150
- yCalloutValue: point.yAxisCalloutData,
151
- barCalloutProps: point,
152
- callOutAccessibilityData: point.callOutAccessibilityData,
153
- });
154
- }
155
- };
156
- HorizontalBarChartBase.prototype._hoverOff = function () {
157
- /**/
158
- };
159
- HorizontalBarChartBase.prototype._getDefaultTextData = function (data) {
160
- var culture = this.props.culture;
161
- var chartDataMode = this.props.chartDataMode || 'default';
162
- var chartData = data.chartData[0];
163
- var x = chartData.horizontalBarChartdata.x;
164
- var y = chartData.horizontalBarChartdata.y;
165
- var accessibilityData = (0, index_2.getAccessibleDataObject)(data.chartDataAccessibilityData, 'text', false);
166
- switch (chartDataMode) {
167
- case 'default':
168
- return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartTitleRight }, accessibilityData), (0, locale_util_1.convertToLocaleString)(x, culture)));
169
- case 'fraction':
170
- return (React.createElement("div", tslib_1.__assign({}, accessibilityData),
171
- React.createElement("span", { className: this._classNames.chartTitleRight }, (0, locale_util_1.convertToLocaleString)(x, culture)),
172
- React.createElement("span", { className: this._classNames.chartDataTextDenominator }, ' / ' + (0, locale_util_1.convertToLocaleString)(y, culture))));
173
- case 'percentage':
174
- var dataRatioPercentage = "".concat((0, locale_util_1.convertToLocaleString)(Math.round((x / y) * 100), culture), "%");
175
- return (React.createElement("div", tslib_1.__assign({ className: this._classNames.chartTitleRight }, accessibilityData), dataRatioPercentage));
176
- }
177
- };
178
- HorizontalBarChartBase.prototype._createBenchmark = function (data) {
179
- var totalData = data.chartData[0].horizontalBarChartdata.y;
180
- var benchmarkData = data.chartData[0].data;
181
- var benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);
182
- var benchmarkStyles = {
183
- left: 'calc(' + benchmarkRatio + '% - 4px)',
184
- };
185
- return (React.createElement("div", { className: this._classNames.benchmarkContainer },
186
- React.createElement("div", { className: this._classNames.triangle, style: benchmarkStyles })));
187
- };
188
- /**
189
- * This functions returns an array of <rect> elements, which form the bars
190
- * For each bar an x value, and a width needs to be specified
191
- * The computations are done based on percentages
192
- * Extra margin is also provided, in the x value to provide some spacing in between the bars
193
- */
194
- HorizontalBarChartBase.prototype._createBars = function (data, palette) {
195
- var _this = this;
196
- var _a;
197
- var noOfBars = ((_a = data.chartData) === null || _a === void 0 ? void 0 : _a.reduce(function (count, point) { return (count += (point.data || 0) > 0 ? 1 : 0); }, 0)) ||
198
- 1;
199
- var totalMarginPercent = this.state.barSpacingInPercent * (noOfBars - 1);
200
- var defaultPalette = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];
201
- // calculating starting point of each bar and it's range
202
- var startingPoint = [];
203
- var total = data.chartData.reduce(function (acc, point) {
204
- return acc + (point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0);
205
- }, 0);
206
- var prevPosition = 0;
207
- var value = 0;
208
- var sumOfPercent = 0;
209
- data.chartData.map(function (point, index) {
210
- var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
211
- value = (pointData / total) * 100;
212
- if (value < 0) {
213
- value = 0;
214
- }
215
- else if (value < 1 && value !== 0) {
216
- value = 1;
217
- }
218
- sumOfPercent += value;
219
- return sumOfPercent;
220
- });
221
- /**
222
- * The %age of the space occupied by the margin needs to subtracted
223
- * while computing the scaling ratio, since the margins are not being
224
- * scaled down, only the data is being scaled down from a higher percentage to lower percentage
225
- * Eg: 95% of the space is taken by the bars, 5% by the margins
226
- * Now if the sumOfPercent is 120% -> This needs to be scaled down to 95%, not 100%
227
- * since that's only space available to the bars
228
- */
229
- var scalingRatio = sumOfPercent !== 0 ? (sumOfPercent - totalMarginPercent) / 100 : 1;
230
- var bars = data.chartData.map(function (point, index) {
231
- var color = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];
232
- var pointData = point.horizontalBarChartdata.x ? point.horizontalBarChartdata.x : 0;
233
- if (index > 0) {
234
- prevPosition += value;
235
- }
236
- value = (pointData / total) * 100;
237
- if (value < 0) {
238
- value = 0;
239
- }
240
- else if (value < 1 && value !== 0) {
241
- value = 1 / scalingRatio;
242
- }
243
- else {
244
- value = value / scalingRatio;
245
- }
246
- startingPoint.push(prevPosition);
247
- var xValue = point.horizontalBarChartdata.x;
248
- var placeholderIndex = 1;
249
- // Render bar label instead of placeholder bar for absolute-scale variant
250
- if (index === placeholderIndex && _this.props.variant === index_1.HorizontalBarChartVariant.AbsoluteScale) {
251
- if (_this.props.hideLabels) {
252
- return React.createElement("text", { key: index });
253
- }
254
- var barValue = data.chartData[0].horizontalBarChartdata.x;
255
- return (React.createElement("text", { key: index, x: "".concat(_this._isRTL ? 100 - startingPoint[index] : startingPoint[index], "%"), y: _this._barHeight / 2, dominantBaseline: "central", transform: "translate(".concat(_this._isRTL ? -4 : 4, ")"), className: _this._classNames.barLabel, "aria-hidden": true }, (0, index_2.formatValueWithSIPrefix)(barValue)));
256
- }
257
- return (React.createElement("rect", { key: index, x: "".concat(_this._isRTL
258
- ? 100 - startingPoint[index] - value - index * _this.state.barSpacingInPercent
259
- : startingPoint[index] + index * _this.state.barSpacingInPercent, "%"), y: 0, "data-is-focusable": point.legend !== '' ? true : false, width: value + '%', height: _this._barHeight, fill: color, onMouseOver: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, onFocus: point.legend !== '' ? _this._hoverOn.bind(_this, xValue, point) : undefined, role: "img", "aria-label": _this._getAriaLabel(point), onBlur: _this._hoverOff, onMouseLeave: _this._hoverOff, className: _this._classNames.barWrapper }));
260
- });
261
- return bars;
262
- };
263
- HorizontalBarChartBase.prototype._isChartEmpty = function () {
264
- return !(this.props.data && this.props.data.length > 0);
265
- };
266
- return HorizontalBarChartBase;
267
- }(React.Component));
268
- exports.HorizontalBarChartBase = HorizontalBarChartBase;
269
- });
270
- //# sourceMappingURL=HorizontalBarChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalBarChart.base.js","sourceRoot":"../src/","sources":["components/HorizontalBarChart/HorizontalBarChart.base.tsx"],"names":[],"mappings":";;;;IAmBA,IAAM,aAAa,GAAG,IAAA,8BAAkB,GAA4D,CAAC;IAgBrG;QAA4C,kDAAmE;QAW7G,gCAAY,KAA+B;YAA3C,YACE,kBAAM,KAAK,CAAC,SAmBb;YAxBO,YAAM,GAAY,IAAA,kBAAM,GAAE,CAAC;YA+K3B,4BAAsB,GAAG;gBAC/B,KAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;gBAChC,IAAI,KAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;oBAC/B,KAAI,CAAC,QAAQ,CAAC;wBACZ,gBAAgB,EAAE,KAAK;wBACvB,UAAU,EAAE,EAAE;wBACd,WAAW,EAAE,IAAI;wBACjB,SAAS,EAAE,EAAE;wBACb,MAAM,EAAE,EAAE;qBACX,CAAC,CAAC;iBACJ;YACH,CAAC,CAAC;YAEM,kBAAY,GAAG;gBACrB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unction, find, getId, getRTL } from '@fluentui/react/lib/Utilities';\nimport { IProcessedStyleSet, IPalette } from '@fluentui/react/lib/Styling';\nimport {\n IAccessibilityProps,\n IChartProps,\n IHorizontalBarChartProps,\n IHorizontalBarChartStyleProps,\n IHorizontalBarChartStyles,\n IChartDataPoint,\n IRefArrayData,\n HorizontalBarChartVariant,\n} from './index';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { convertToLocaleString } from '../../utilities/locale-util';\nimport { ChartHoverCard, formatValueWithSIPrefix, getAccessibleDataObject } from '../../utilities/index';\nimport { FocusZone, FocusZoneDirection } from '@fluentui/react-focus';\nimport { FocusableTooltipText } from '../../utilities/FocusableTooltipText';\n\nconst getClassNames = classNamesFunction<IHorizontalBarChartStyleProps, IHorizontalBarChartStyles>();\n\nexport interface IHorizontalBarChartState {\n isCalloutVisible: boolean;\n refSelected: SVGGElement | null | undefined;\n color: string;\n hoverValue: string | number | Date | null;\n lineColor: string;\n legend: string | null;\n xCalloutValue?: string;\n yCalloutValue?: string;\n barCalloutProps?: IChartDataPoint;\n callOutAccessibilityData?: IAccessibilityProps;\n barSpacingInPercent: number;\n}\n\nexport class HorizontalBarChartBase extends React.Component<IHorizontalBarChartProps, IHorizontalBarChartState> {\n private _barHeight: number;\n private _classNames: IProcessedStyleSet<IHorizontalBarChartStyles>;\n private _uniqLineText: string;\n private _calloutId: string;\n private _refArray: IRefArrayData[];\n private _calloutAnchorPoint: IChartDataPoint | null;\n private _isRTL: boolean = getRTL();\n private barChartSvgRef: React.RefObject<SVGSVGElement>;\n private _emptyChartId: string;\n\n constructor(props: IHorizontalBarChartProps) {\n super(props);\n this.state = {\n isCalloutVisible: false,\n hoverValue: '',\n lineColor: '',\n legend: '',\n refSelected: null,\n // eslint-disable-next-line react/no-unused-state\n color: '',\n xCalloutValue: '',\n yCalloutValue: '',\n barSpacingInPercent: 0,\n };\n this._refArray = [];\n this._uniqLineText = '_HorizontalLine_' + Math.random().toString(36).substring(7);\n this._hoverOff = this._hoverOff.bind(this);\n this._calloutId = getId('callout');\n this._emptyChartId = getId('_HBC_empty');\n this.barChartSvgRef = React.createRef<SVGSVGElement>();\n }\n\n public componentDidMount(): void {\n const svgWidth = this.barChartSvgRef.current?.getBoundingClientRect().width || 0;\n const MARGIN_WIDTH_IN_PX = 3;\n if (svgWidth) {\n const currentBarSpacing = (MARGIN_WIDTH_IN_PX / svgWidth) * 100;\n this.setState({ barSpacingInPercent: currentBarSpacing });\n }\n }\n\n public render(): JSX.Element {\n const { data, theme } = this.props;\n this._adjustProps();\n const { palette } = theme!;\n let datapoint: number | undefined = 0;\n return !this._isChartEmpty() ? (\n <div className={this._classNames.root} onMouseLeave={this._handleChartMouseLeave}>\n {data!.map((points: IChartProps, index: number) => {\n if (points.chartData && points.chartData![0] && points.chartData![0].horizontalBarChartdata!.x) {\n datapoint = points.chartData![0].horizontalBarChartdata!.x;\n } else {\n datapoint = 0;\n }\n points.chartData![1] = {\n legend: '',\n horizontalBarChartdata: {\n x: points.chartData![0].horizontalBarChartdata!.y - datapoint!,\n y: points.chartData![0].horizontalBarChartdata!.y,\n },\n color: palette.neutralLight,\n };\n\n // Hide right side text of chart title for absolute-scale variant\n const chartDataText =\n this.props.variant === HorizontalBarChartVariant.AbsoluteScale ? null : this._getChartDataText(points!);\n const bars = this._createBars(points!, palette);\n const keyVal = this._uniqLineText + '_' + index;\n const classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.props.width,\n showTriangle: !!points!.chartData![0].data,\n variant: this.props.variant,\n });\n\n return (\n <div key={index}>\n <div className={classNames.items}>\n <FocusZone direction={FocusZoneDirection.horizontal}>\n <div className={this._classNames.chartTitle}>\n {points!.chartTitle && (\n <FocusableTooltipText\n className={this._classNames.chartTitleLeft}\n content={points!.chartTitle}\n accessibilityData={points!.chartTitleAccessibilityData}\n />\n )}\n {chartDataText}\n </div>\n </FocusZone>\n {points!.chartData![0].data && this._createBenchmark(points!)}\n <FocusZone direction={FocusZoneDirection.horizontal} className={this._classNames.chartWrapper}>\n <svg ref={this.barChartSvgRef} className={this._classNames.chart} aria-label={points!.chartTitle}>\n <g\n id={keyVal}\n key={keyVal}\n ref={(e: SVGGElement) => {\n this._refCallback(e, points!.chartData![0].legend);\n }}\n // NOTE: points.chartData![0] contains current data value\n onClick={() => {\n const p = points!.chartData![0];\n if (p && p.onClick) {\n p.onClick();\n }\n }}\n >\n {bars}\n </g>\n </svg>\n </FocusZone>\n </div>\n </div>\n );\n })}\n <Callout\n target={this.state.refSelected}\n coverTarget={true}\n isBeakVisible={false}\n gapSpace={30}\n hidden={!(!this.props.hideTooltip && this.state.isCalloutVisible)}\n directionalHint={DirectionalHint.topAutoEdge}\n id={this._calloutId}\n onDismiss={this._closeCallout}\n preventDismissOnLostFocus={true}\n {...this.props.calloutProps!}\n {...getAccessibleDataObject(this.state.callOutAccessibilityData)}\n >\n <>\n {this.props.onRenderCalloutPerHorizontalBar ? (\n this.props.onRenderCalloutPerHorizontalBar(this.state.barCalloutProps)\n ) : (\n <ChartHoverCard\n Legend={this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend!}\n YValue={this.state.yCalloutValue ? this.state.yCalloutValue : this.state.hoverValue!}\n color={this.state.lineColor}\n culture={this.props.culture}\n />\n )}\n </>\n </Callout>\n </div>\n ) : (\n <div\n id={this._emptyChartId}\n role={'alert'}\n style={{ opacity: '0' }}\n aria-label={'Graph has no data to display'}\n />\n );\n }\n\n private _refCallback(element: SVGGElement, legendTitle: string | undefined): void {\n this._refArray.push({ index: legendTitle, refElement: element });\n }\n\n private _hoverOn(hoverValue: string | number | Date | null, point: IChartDataPoint): void {\n if ((!this.state.isCalloutVisible || this.state.legend !== point.legend!) && this._calloutAnchorPoint !== point) {\n const currentHoveredElement = find(\n this._refArray,\n (currentElement: IRefArrayData) => currentElement.index === point.legend,\n );\n this._calloutAnchorPoint = point;\n this.setState({\n isCalloutVisible: true,\n hoverValue: hoverValue,\n lineColor: point.color!,\n legend: point.legend!,\n refSelected: currentHoveredElement!.refElement,\n xCalloutValue: point.xAxisCalloutData!,\n yCalloutValue: point.yAxisCalloutData!,\n barCalloutProps: point,\n callOutAccessibilityData: point.callOutAccessibilityData,\n });\n }\n }\n\n private _hoverOff(): void {\n /**/\n }\n\n private _handleChartMouseLeave = () => {\n this._calloutAnchorPoint = null;\n if (this.state.isCalloutVisible) {\n this.setState({\n isCalloutVisible: false,\n hoverValue: '',\n refSelected: null,\n lineColor: '',\n legend: '',\n });\n }\n };\n\n private _adjustProps = (): void => {\n this._barHeight = this.props.barHeight || 12;\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.props.width,\n className: this.props.className,\n barHeight: this._barHeight,\n color: this.state.lineColor,\n variant: this.props.variant,\n hideLabels: this.props.hideLabels,\n });\n };\n\n private _getChartDataText = (data: IChartProps) => {\n return this.props.barChartCustomData ? (\n <div role=\"text\">{this.props.barChartCustomData(data)}</div>\n ) : (\n this._getDefaultTextData(data)\n );\n };\n\n private _getDefaultTextData(data: IChartProps): JSX.Element {\n const { culture } = this.props;\n const chartDataMode = this.props.chartDataMode || 'default';\n const chartData: IChartDataPoint = data!.chartData![0];\n const x = chartData.horizontalBarChartdata!.x;\n const y = chartData.horizontalBarChartdata!.y;\n\n const accessibilityData = getAccessibleDataObject(data.chartDataAccessibilityData!, 'text', false);\n switch (chartDataMode) {\n case 'default':\n return (\n <div className={this._classNames.chartTitleRight} {...accessibilityData}>\n {convertToLocaleString(x, culture)}\n </div>\n );\n case 'fraction':\n return (\n <div {...accessibilityData}>\n <span className={this._classNames.chartTitleRight}>{convertToLocaleString(x, culture)}</span>\n <span className={this._classNames.chartDataTextDenominator}>\n {' / ' + convertToLocaleString(y, culture)}\n </span>\n </div>\n );\n case 'percentage':\n const dataRatioPercentage = `${convertToLocaleString(Math.round((x / y) * 100), culture)}%`;\n return (\n <div className={this._classNames.chartTitleRight} {...accessibilityData}>\n {dataRatioPercentage}\n </div>\n );\n }\n }\n\n private _createBenchmark(data: IChartProps): JSX.Element {\n const totalData = data.chartData![0].horizontalBarChartdata!.y;\n const benchmarkData = data.chartData![0].data;\n const benchmarkRatio = Math.round(((benchmarkData ? benchmarkData : 0) / totalData) * 100);\n\n const benchmarkStyles = {\n left: 'calc(' + benchmarkRatio + '% - 4px)',\n };\n\n return (\n <div className={this._classNames.benchmarkContainer}>\n <div className={this._classNames.triangle} style={benchmarkStyles} />\n </div>\n );\n }\n\n /**\n * This functions returns an array of <rect> elements, which form the bars\n * For each bar an x value, and a width needs to be specified\n * The computations are done based on percentages\n * Extra margin is also provided, in the x value to provide some spacing in between the bars\n */\n\n private _createBars(data: IChartProps, palette: IPalette): JSX.Element[] {\n const noOfBars =\n data.chartData?.reduce((count: number, point: IChartDataPoint) => (count += (point.data || 0) > 0 ? 1 : 0), 0) ||\n 1;\n const totalMarginPercent = this.state.barSpacingInPercent * (noOfBars - 1);\n const defaultPalette: string[] = [palette.blueLight, palette.blue, palette.blueMid, palette.red, palette.black];\n // calculating starting point of each bar and it's range\n const startingPoint: number[] = [];\n const total = data.chartData!.reduce(\n (acc: number, point: IChartDataPoint) =>\n acc + (point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0),\n 0,\n );\n let prevPosition = 0;\n let value = 0;\n\n let sumOfPercent = 0;\n data.chartData!.map((point: IChartDataPoint, index: number) => {\n const pointData = point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0;\n value = (pointData / total) * 100;\n if (value < 0) {\n value = 0;\n } else if (value < 1 && value !== 0) {\n value = 1;\n }\n sumOfPercent += value;\n\n return sumOfPercent;\n });\n\n /**\n * The %age of the space occupied by the margin needs to subtracted\n * while computing the scaling ratio, since the margins are not being\n * scaled down, only the data is being scaled down from a higher percentage to lower percentage\n * Eg: 95% of the space is taken by the bars, 5% by the margins\n * Now if the sumOfPercent is 120% -> This needs to be scaled down to 95%, not 100%\n * since that's only space available to the bars\n */\n const scalingRatio = sumOfPercent !== 0 ? (sumOfPercent - totalMarginPercent) / 100 : 1;\n\n const bars = data.chartData!.map((point: IChartDataPoint, index: number) => {\n const color: string = point.color ? point.color : defaultPalette[Math.floor(Math.random() * 4 + 1)];\n const pointData = point.horizontalBarChartdata!.x ? point.horizontalBarChartdata!.x : 0;\n if (index > 0) {\n prevPosition += value;\n }\n value = (pointData / total) * 100;\n if (value < 0) {\n value = 0;\n } else if (value < 1 && value !== 0) {\n value = 1 / scalingRatio;\n } else {\n value = value / scalingRatio;\n }\n startingPoint.push(prevPosition);\n\n const xValue = point.horizontalBarChartdata!.x;\n const placeholderIndex = 1;\n\n // Render bar label instead of placeholder bar for absolute-scale variant\n if (index === placeholderIndex && this.props.variant === HorizontalBarChartVariant.AbsoluteScale) {\n if (this.props.hideLabels) {\n return <text key={index} />;\n }\n\n const barValue = data.chartData![0].horizontalBarChartdata!.x;\n\n return (\n <text\n key={index}\n x={`${this._isRTL ? 100 - startingPoint[index] : startingPoint[index]}%`}\n y={this._barHeight / 2}\n dominantBaseline=\"central\"\n transform={`translate(${this._isRTL ? -4 : 4})`}\n className={this._classNames.barLabel}\n aria-hidden={true}\n >\n {formatValueWithSIPrefix(barValue)}\n </text>\n );\n }\n\n return (\n <rect\n key={index}\n x={`${\n this._isRTL\n ? 100 - startingPoint[index] - value - index * this.state.barSpacingInPercent\n : startingPoint[index] + index * this.state.barSpacingInPercent\n }%`}\n y={0}\n data-is-focusable={point.legend !== '' ? true : false}\n width={value + '%'}\n height={this._barHeight}\n fill={color}\n onMouseOver={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n onFocus={point.legend !== '' ? this._hoverOn.bind(this, xValue, point) : undefined}\n role=\"img\"\n aria-label={this._getAriaLabel(point)}\n onBlur={this._hoverOff}\n onMouseLeave={this._hoverOff}\n className={this._classNames.barWrapper}\n />\n );\n });\n return bars;\n }\n\n private _closeCallout = () => {\n this.setState({\n isCalloutVisible: false,\n });\n };\n\n private _getAriaLabel = (point: IChartDataPoint): string => {\n const legend = point.xAxisCalloutData || point.legend;\n const benchMark = point.data;\n const yValue =\n point.yAxisCalloutData ||\n (point.horizontalBarChartdata ? `${point.horizontalBarChartdata.x}/${point.horizontalBarChartdata.y}` : 0);\n return (\n point.callOutAccessibilityData?.ariaLabel ||\n (legend ? `${legend}, ` : '') + `${yValue}.` + (benchMark ? 'with benchmark at ' + `${benchMark}, ` : '')\n );\n };\n\n private _isChartEmpty(): boolean {\n return !(this.props.data && this.props.data.length > 0);\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { IHorizontalBarChartProps } from './HorizontalBarChart.types';
3
- /**
4
- * HorizontalBarchart component.
5
- * {@docCategory HorizontalBarChart}
6
- */
7
- export declare const HorizontalBarChart: React.FunctionComponent<IHorizontalBarChartProps>;
@@ -1,12 +0,0 @@
1
- define(["require", "exports", "@fluentui/react/lib/Utilities", "./HorizontalBarChart.base", "./HorizontalBarChart.styles"], function (require, exports, Utilities_1, HorizontalBarChart_base_1, HorizontalBarChart_styles_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HorizontalBarChart = void 0;
5
- // Create a HorizontalBarChart variant which uses these default styles and this styled subcomponent.
6
- /**
7
- * HorizontalBarchart component.
8
- * {@docCategory HorizontalBarChart}
9
- */
10
- exports.HorizontalBarChart = (0, Utilities_1.styled)(HorizontalBarChart_base_1.HorizontalBarChartBase, HorizontalBarChart_styles_1.getHorizontalBarChartStyles);
11
- });
12
- //# sourceMappingURL=HorizontalBarChart.js.map