@fluentui/react-charting 5.23.12 → 5.23.14

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 (1338) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/package.json +3 -3
  4. package/dist/react-charting.d.ts +0 -4292
  5. package/dist/react-charting.js +0 -1
  6. package/dist/react-charting.min.js +0 -1
  7. package/lib/AreaChart.d.ts +0 -1
  8. package/lib/AreaChart.js +0 -2
  9. package/lib/AreaChart.js.map +0 -1
  10. package/lib/CartesianChart.d.ts +0 -1
  11. package/lib/CartesianChart.js +0 -2
  12. package/lib/CartesianChart.js.map +0 -1
  13. package/lib/DonutChart.d.ts +0 -1
  14. package/lib/DonutChart.js +0 -2
  15. package/lib/DonutChart.js.map +0 -1
  16. package/lib/GaugeChart.d.ts +0 -1
  17. package/lib/GaugeChart.js +0 -2
  18. package/lib/GaugeChart.js.map +0 -1
  19. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  20. package/lib/GroupedVerticalBarChart.js +0 -2
  21. package/lib/GroupedVerticalBarChart.js.map +0 -1
  22. package/lib/HeatMapChart.d.ts +0 -1
  23. package/lib/HeatMapChart.js +0 -2
  24. package/lib/HeatMapChart.js.map +0 -1
  25. package/lib/HorizontalBarChart.d.ts +0 -1
  26. package/lib/HorizontalBarChart.js +0 -2
  27. package/lib/HorizontalBarChart.js.map +0 -1
  28. package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
  29. package/lib/HorizontalBarChartWithAxis.js +0 -2
  30. package/lib/HorizontalBarChartWithAxis.js.map +0 -1
  31. package/lib/Legends.d.ts +0 -1
  32. package/lib/Legends.js +0 -2
  33. package/lib/Legends.js.map +0 -1
  34. package/lib/LineChart.d.ts +0 -1
  35. package/lib/LineChart.js +0 -2
  36. package/lib/LineChart.js.map +0 -1
  37. package/lib/PieChart.d.ts +0 -1
  38. package/lib/PieChart.js +0 -2
  39. package/lib/PieChart.js.map +0 -1
  40. package/lib/SankeyChart.d.ts +0 -1
  41. package/lib/SankeyChart.js +0 -2
  42. package/lib/SankeyChart.js.map +0 -1
  43. package/lib/Sparkline.d.ts +0 -1
  44. package/lib/Sparkline.js +0 -2
  45. package/lib/Sparkline.js.map +0 -1
  46. package/lib/StackedBarChart.d.ts +0 -1
  47. package/lib/StackedBarChart.js +0 -2
  48. package/lib/StackedBarChart.js.map +0 -1
  49. package/lib/Styling.d.ts +0 -2
  50. package/lib/Styling.js +0 -8
  51. package/lib/Styling.js.map +0 -1
  52. package/lib/TreeChart.d.ts +0 -1
  53. package/lib/TreeChart.js +0 -2
  54. package/lib/TreeChart.js.map +0 -1
  55. package/lib/Utilities.d.ts +0 -2
  56. package/lib/Utilities.js +0 -20
  57. package/lib/Utilities.js.map +0 -1
  58. package/lib/VerticalBarChart.d.ts +0 -1
  59. package/lib/VerticalBarChart.js +0 -2
  60. package/lib/VerticalBarChart.js.map +0 -1
  61. package/lib/VerticalStackedBarChart.d.ts +0 -1
  62. package/lib/VerticalStackedBarChart.js +0 -2
  63. package/lib/VerticalStackedBarChart.js.map +0 -1
  64. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -103
  65. package/lib/components/AreaChart/AreaChart.base.js +0 -659
  66. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  67. package/lib/components/AreaChart/AreaChart.d.ts +0 -7
  68. package/lib/components/AreaChart/AreaChart.js +0 -10
  69. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  71. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  72. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -59
  74. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  75. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  76. package/lib/components/AreaChart/index.d.ts +0 -2
  77. package/lib/components/AreaChart/index.js +0 -3
  78. package/lib/components/AreaChart/index.js.map +0 -1
  79. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  80. package/lib/components/CommonComponents/CartesianChart.base.js +0 -598
  81. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  82. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
  83. package/lib/components/CommonComponents/CartesianChart.js +0 -9
  84. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  86. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -177
  87. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  89. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  90. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  91. package/lib/components/CommonComponents/index.d.ts +0 -2
  92. package/lib/components/CommonComponents/index.js +0 -3
  93. package/lib/components/CommonComponents/index.js.map +0 -1
  94. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
  95. package/lib/components/DonutChart/Arc/Arc.js +0 -101
  96. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  97. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  98. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
  99. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  100. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  101. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  102. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  103. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  104. package/lib/components/DonutChart/Arc/index.js +0 -3
  105. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  106. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -54
  107. package/lib/components/DonutChart/DonutChart.base.js +0 -254
  108. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  109. package/lib/components/DonutChart/DonutChart.d.ts +0 -7
  110. package/lib/components/DonutChart/DonutChart.js +0 -10
  111. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  112. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  113. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  114. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  115. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -85
  116. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  117. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  118. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  119. package/lib/components/DonutChart/Pie/Pie.js +0 -75
  120. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  121. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  122. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  123. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  124. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  125. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  126. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  127. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  128. package/lib/components/DonutChart/Pie/index.js +0 -3
  129. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  130. package/lib/components/DonutChart/index.d.ts +0 -3
  131. package/lib/components/DonutChart/index.js +0 -4
  132. package/lib/components/DonutChart/index.js.map +0 -1
  133. package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  134. package/lib/components/GaugeChart/GaugeChart.base.js +0 -438
  135. package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
  136. package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
  137. package/lib/components/GaugeChart/GaugeChart.js +0 -9
  138. package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
  139. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  140. package/lib/components/GaugeChart/GaugeChart.styles.js +0 -126
  141. package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  142. package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  143. package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
  144. package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
  145. package/lib/components/GaugeChart/index.d.ts +0 -2
  146. package/lib/components/GaugeChart/index.js +0 -3
  147. package/lib/components/GaugeChart/index.js.map +0 -1
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -453
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  151. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  152. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
  153. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  154. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  155. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  156. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  157. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  158. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  159. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  160. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  161. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  162. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  163. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  164. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -545
  165. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  166. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  167. package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
  168. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  169. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  170. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
  171. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  172. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  173. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  174. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  175. package/lib/components/HeatMapChart/index.d.ts +0 -2
  176. package/lib/components/HeatMapChart/index.js +0 -3
  177. package/lib/components/HeatMapChart/index.js.map +0 -1
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -291
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  181. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  182. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
  183. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  184. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  185. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
  186. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  187. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  188. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
  189. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  190. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  191. package/lib/components/HorizontalBarChart/index.js +0 -4
  192. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  193. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  194. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -550
  195. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  196. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  197. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
  198. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  199. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  200. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
  201. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  202. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  203. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
  204. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  205. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  206. package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
  207. package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  208. package/lib/components/Legends/Legends.base.d.ts +0 -43
  209. package/lib/components/Legends/Legends.base.js +0 -311
  210. package/lib/components/Legends/Legends.base.js.map +0 -1
  211. package/lib/components/Legends/Legends.d.ts +0 -7
  212. package/lib/components/Legends/Legends.js +0 -9
  213. package/lib/components/Legends/Legends.js.map +0 -1
  214. package/lib/components/Legends/Legends.styles.d.ts +0 -2
  215. package/lib/components/Legends/Legends.styles.js +0 -107
  216. package/lib/components/Legends/Legends.styles.js.map +0 -1
  217. package/lib/components/Legends/Legends.types.d.ts +0 -210
  218. package/lib/components/Legends/Legends.types.js +0 -2
  219. package/lib/components/Legends/Legends.types.js.map +0 -1
  220. package/lib/components/Legends/index.d.ts +0 -3
  221. package/lib/components/Legends/index.js +0 -4
  222. package/lib/components/Legends/index.js.map +0 -1
  223. package/lib/components/Legends/shape.d.ts +0 -9
  224. package/lib/components/Legends/shape.js +0 -24
  225. package/lib/components/Legends/shape.js.map +0 -1
  226. package/lib/components/LineChart/LineChart.base.d.ts +0 -92
  227. package/lib/components/LineChart/LineChart.base.js +0 -867
  228. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  229. package/lib/components/LineChart/LineChart.d.ts +0 -7
  230. package/lib/components/LineChart/LineChart.js +0 -10
  231. package/lib/components/LineChart/LineChart.js.map +0 -1
  232. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  233. package/lib/components/LineChart/LineChart.styles.js +0 -7
  234. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  235. package/lib/components/LineChart/LineChart.types.d.ts +0 -98
  236. package/lib/components/LineChart/LineChart.types.js +0 -2
  237. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  238. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  239. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -96
  240. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  241. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  242. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  243. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  244. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  245. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
  246. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  247. package/lib/components/LineChart/index.d.ts +0 -3
  248. package/lib/components/LineChart/index.js +0 -4
  249. package/lib/components/LineChart/index.js.map +0 -1
  250. package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
  251. package/lib/components/PieChart/Arc/Arc.js +0 -88
  252. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  253. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  254. package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
  255. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  256. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
  257. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  258. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  259. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  260. package/lib/components/PieChart/Arc/index.js +0 -3
  261. package/lib/components/PieChart/Arc/index.js.map +0 -1
  262. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  263. package/lib/components/PieChart/Pie/Pie.js +0 -45
  264. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  265. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  266. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  267. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  268. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
  269. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  270. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  271. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  272. package/lib/components/PieChart/Pie/index.js +0 -3
  273. package/lib/components/PieChart/Pie/index.js.map +0 -1
  274. package/lib/components/PieChart/PieChart.base.d.ts +0 -10
  275. package/lib/components/PieChart/PieChart.base.js +0 -45
  276. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  277. package/lib/components/PieChart/PieChart.d.ts +0 -7
  278. package/lib/components/PieChart/PieChart.js +0 -10
  279. package/lib/components/PieChart/PieChart.js.map +0 -1
  280. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  281. package/lib/components/PieChart/PieChart.styles.js +0 -29
  282. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  283. package/lib/components/PieChart/PieChart.types.d.ts +0 -75
  284. package/lib/components/PieChart/PieChart.types.js +0 -2
  285. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  286. package/lib/components/PieChart/index.d.ts +0 -2
  287. package/lib/components/PieChart/index.js +0 -3
  288. package/lib/components/PieChart/index.js.map +0 -1
  289. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  290. package/lib/components/SankeyChart/SankeyChart.base.js +0 -932
  291. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  292. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
  293. package/lib/components/SankeyChart/SankeyChart.js +0 -10
  294. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  295. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  296. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -61
  297. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  298. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  299. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  300. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  301. package/lib/components/SankeyChart/index.d.ts +0 -2
  302. package/lib/components/SankeyChart/index.js +0 -3
  303. package/lib/components/SankeyChart/index.js.map +0 -1
  304. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
  305. package/lib/components/Sparkline/Sparkline.base.js +0 -86
  306. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  307. package/lib/components/Sparkline/Sparkline.d.ts +0 -7
  308. package/lib/components/Sparkline/Sparkline.js +0 -10
  309. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  310. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  311. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  312. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  313. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
  314. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  315. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  316. package/lib/components/Sparkline/index.d.ts +0 -2
  317. package/lib/components/Sparkline/index.js +0 -3
  318. package/lib/components/Sparkline/index.js.map +0 -1
  319. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  320. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -436
  321. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  322. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  323. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
  324. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  325. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  326. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
  327. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  328. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  329. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
  330. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  331. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  332. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -364
  333. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  334. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  335. package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
  336. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  337. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  338. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
  339. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  340. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  341. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  342. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  343. package/lib/components/StackedBarChart/index.d.ts +0 -5
  344. package/lib/components/StackedBarChart/index.js +0 -6
  345. package/lib/components/StackedBarChart/index.js.map +0 -1
  346. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  347. package/lib/components/TreeChart/TreeChart.base.js +0 -322
  348. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  349. package/lib/components/TreeChart/TreeChart.d.ts +0 -7
  350. package/lib/components/TreeChart/TreeChart.js +0 -9
  351. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  352. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  353. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  354. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  355. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
  356. package/lib/components/TreeChart/TreeChart.types.js +0 -29
  357. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  358. package/lib/components/TreeChart/index.d.ts +0 -2
  359. package/lib/components/TreeChart/index.js +0 -3
  360. package/lib/components/TreeChart/index.js.map +0 -1
  361. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  362. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -809
  363. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  364. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  365. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
  366. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  367. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  368. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  369. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  370. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  371. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  372. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  373. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  374. package/lib/components/VerticalBarChart/index.js +0 -3
  375. package/lib/components/VerticalBarChart/index.js.map +0 -1
  376. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  377. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -782
  378. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  379. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  380. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
  381. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  382. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  383. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  384. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  385. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  386. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  387. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  388. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  389. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  390. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  391. package/lib/index.d.ts +0 -40
  392. package/lib/index.js +0 -22
  393. package/lib/index.js.map +0 -1
  394. package/lib/types/IDataPoint.d.ts +0 -712
  395. package/lib/types/IDataPoint.js +0 -2
  396. package/lib/types/IDataPoint.js.map +0 -1
  397. package/lib/types/IEventAnnotation.d.ts +0 -6
  398. package/lib/types/IEventAnnotation.js +0 -2
  399. package/lib/types/IEventAnnotation.js.map +0 -1
  400. package/lib/types/ILegendDataItem.d.ts +0 -10
  401. package/lib/types/ILegendDataItem.js +0 -2
  402. package/lib/types/ILegendDataItem.js.map +0 -1
  403. package/lib/types/index.d.ts +0 -2
  404. package/lib/types/index.js +0 -3
  405. package/lib/types/index.js.map +0 -1
  406. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  407. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  408. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  409. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  410. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  411. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  412. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  413. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
  414. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  415. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  416. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  417. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  418. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  419. package/lib/utilities/ChartHoverCard/index.js +0 -4
  420. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  421. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  422. package/lib/utilities/FocusableTooltipText.js +0 -54
  423. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  424. package/lib/utilities/SVGTooltipText.d.ts +0 -95
  425. package/lib/utilities/SVGTooltipText.js +0 -174
  426. package/lib/utilities/SVGTooltipText.js.map +0 -1
  427. package/lib/utilities/colors.d.ts +0 -51
  428. package/lib/utilities/colors.js +0 -132
  429. package/lib/utilities/colors.js.map +0 -1
  430. package/lib/utilities/gradients.d.ts +0 -30
  431. package/lib/utilities/gradients.js +0 -173
  432. package/lib/utilities/gradients.js.map +0 -1
  433. package/lib/utilities/index.d.ts +0 -5
  434. package/lib/utilities/index.js +0 -6
  435. package/lib/utilities/index.js.map +0 -1
  436. package/lib/utilities/locale-util.d.ts +0 -3
  437. package/lib/utilities/locale-util.js +0 -18
  438. package/lib/utilities/locale-util.js.map +0 -1
  439. package/lib/utilities/test-data.d.ts +0 -27
  440. package/lib/utilities/test-data.js +0 -210
  441. package/lib/utilities/test-data.js.map +0 -1
  442. package/lib/utilities/utilities.d.ts +0 -411
  443. package/lib/utilities/utilities.js +0 -1052
  444. package/lib/utilities/utilities.js.map +0 -1
  445. package/lib/utilities/vbc-utils.d.ts +0 -2
  446. package/lib/utilities/vbc-utils.js +0 -31
  447. package/lib/utilities/vbc-utils.js.map +0 -1
  448. package/lib/version.d.ts +0 -1
  449. package/lib/version.js +0 -5
  450. package/lib/version.js.map +0 -1
  451. package/lib-amd/AreaChart.d.ts +0 -1
  452. package/lib-amd/AreaChart.js +0 -6
  453. package/lib-amd/AreaChart.js.map +0 -1
  454. package/lib-amd/CartesianChart.d.ts +0 -1
  455. package/lib-amd/CartesianChart.js +0 -6
  456. package/lib-amd/CartesianChart.js.map +0 -1
  457. package/lib-amd/DonutChart.d.ts +0 -1
  458. package/lib-amd/DonutChart.js +0 -6
  459. package/lib-amd/DonutChart.js.map +0 -1
  460. package/lib-amd/GaugeChart.d.ts +0 -1
  461. package/lib-amd/GaugeChart.js +0 -6
  462. package/lib-amd/GaugeChart.js.map +0 -1
  463. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  464. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  465. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  466. package/lib-amd/HeatMapChart.d.ts +0 -1
  467. package/lib-amd/HeatMapChart.js +0 -6
  468. package/lib-amd/HeatMapChart.js.map +0 -1
  469. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  470. package/lib-amd/HorizontalBarChart.js +0 -6
  471. package/lib-amd/HorizontalBarChart.js.map +0 -1
  472. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  473. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  474. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  475. package/lib-amd/Legends.d.ts +0 -1
  476. package/lib-amd/Legends.js +0 -6
  477. package/lib-amd/Legends.js.map +0 -1
  478. package/lib-amd/LineChart.d.ts +0 -1
  479. package/lib-amd/LineChart.js +0 -6
  480. package/lib-amd/LineChart.js.map +0 -1
  481. package/lib-amd/PieChart.d.ts +0 -1
  482. package/lib-amd/PieChart.js +0 -6
  483. package/lib-amd/PieChart.js.map +0 -1
  484. package/lib-amd/SankeyChart.d.ts +0 -1
  485. package/lib-amd/SankeyChart.js +0 -6
  486. package/lib-amd/SankeyChart.js.map +0 -1
  487. package/lib-amd/Sparkline.d.ts +0 -1
  488. package/lib-amd/Sparkline.js +0 -6
  489. package/lib-amd/Sparkline.js.map +0 -1
  490. package/lib-amd/StackedBarChart.d.ts +0 -1
  491. package/lib-amd/StackedBarChart.js +0 -6
  492. package/lib-amd/StackedBarChart.js.map +0 -1
  493. package/lib-amd/Styling.d.ts +0 -2
  494. package/lib-amd/Styling.js +0 -75
  495. package/lib-amd/Styling.js.map +0 -1
  496. package/lib-amd/TreeChart.d.ts +0 -1
  497. package/lib-amd/TreeChart.js +0 -6
  498. package/lib-amd/TreeChart.js.map +0 -1
  499. package/lib-amd/Utilities.d.ts +0 -2
  500. package/lib-amd/Utilities.js +0 -183
  501. package/lib-amd/Utilities.js.map +0 -1
  502. package/lib-amd/VerticalBarChart.d.ts +0 -1
  503. package/lib-amd/VerticalBarChart.js +0 -6
  504. package/lib-amd/VerticalBarChart.js.map +0 -1
  505. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  506. package/lib-amd/VerticalStackedBarChart.js +0 -6
  507. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  508. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -103
  509. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -652
  510. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  511. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  512. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  513. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  514. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  515. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  516. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  517. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -59
  518. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  519. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  520. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  521. package/lib-amd/components/AreaChart/index.js +0 -7
  522. package/lib-amd/components/AreaChart/index.js.map +0 -1
  523. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  524. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -593
  525. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  526. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  527. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  528. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  529. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  530. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -180
  531. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  532. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  533. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  534. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  535. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  536. package/lib-amd/components/CommonComponents/index.js +0 -7
  537. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  538. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
  539. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -99
  540. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  541. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  542. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
  543. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  544. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  545. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  546. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  547. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  548. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  549. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  550. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -54
  551. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -250
  552. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  553. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  554. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  555. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  556. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  557. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  558. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  559. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -85
  560. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  561. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  562. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  563. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
  564. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  565. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  566. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  567. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  568. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  569. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  570. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  571. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  572. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  573. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  574. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  575. package/lib-amd/components/DonutChart/index.js +0 -8
  576. package/lib-amd/components/DonutChart/index.js.map +0 -1
  577. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  578. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -434
  579. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  580. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  581. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  582. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  583. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  584. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -130
  585. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  586. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  587. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  588. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  589. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  590. package/lib-amd/components/GaugeChart/index.js +0 -7
  591. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  592. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  593. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -448
  594. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  595. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  596. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  597. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  598. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  599. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  600. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  601. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  602. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  603. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  604. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  605. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  606. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  607. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  608. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -538
  609. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  610. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  611. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  612. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  613. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  614. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
  615. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  616. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  617. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  618. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  619. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  620. package/lib-amd/components/HeatMapChart/index.js +0 -7
  621. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  622. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  623. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -287
  624. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  625. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  626. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  627. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  628. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  629. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  630. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  631. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  632. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  633. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  634. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  635. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  636. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  637. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  638. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -544
  639. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  640. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  641. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  642. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  643. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  644. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  645. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  646. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  647. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  648. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  649. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  650. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  651. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  652. package/lib-amd/components/Legends/Legends.base.d.ts +0 -43
  653. package/lib-amd/components/Legends/Legends.base.js +0 -308
  654. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  655. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  656. package/lib-amd/components/Legends/Legends.js +0 -11
  657. package/lib-amd/components/Legends/Legends.js.map +0 -1
  658. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
  659. package/lib-amd/components/Legends/Legends.styles.js +0 -111
  660. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  661. package/lib-amd/components/Legends/Legends.types.d.ts +0 -210
  662. package/lib-amd/components/Legends/Legends.types.js +0 -5
  663. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  664. package/lib-amd/components/Legends/index.d.ts +0 -3
  665. package/lib-amd/components/Legends/index.js +0 -8
  666. package/lib-amd/components/Legends/index.js.map +0 -1
  667. package/lib-amd/components/Legends/shape.d.ts +0 -9
  668. package/lib-amd/components/Legends/shape.js +0 -27
  669. package/lib-amd/components/Legends/shape.js.map +0 -1
  670. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -92
  671. package/lib-amd/components/LineChart/LineChart.base.js +0 -861
  672. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  673. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  674. package/lib-amd/components/LineChart/LineChart.js +0 -12
  675. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  676. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  677. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  678. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  679. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -98
  680. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  681. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  682. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  683. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -97
  684. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  685. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  686. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  687. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  688. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  689. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  690. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  691. package/lib-amd/components/LineChart/index.d.ts +0 -3
  692. package/lib-amd/components/LineChart/index.js +0 -8
  693. package/lib-amd/components/LineChart/index.js.map +0 -1
  694. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  695. package/lib-amd/components/PieChart/Arc/Arc.js +0 -85
  696. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  697. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  698. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  699. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  700. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  701. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  702. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  703. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  704. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  705. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  706. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  707. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  708. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  709. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  710. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  711. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  712. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  713. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  714. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  715. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  716. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  717. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  718. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  719. package/lib-amd/components/PieChart/PieChart.base.js +0 -46
  720. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  721. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  722. package/lib-amd/components/PieChart/PieChart.js +0 -12
  723. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  724. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  725. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  726. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  727. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  728. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  729. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  730. package/lib-amd/components/PieChart/index.d.ts +0 -2
  731. package/lib-amd/components/PieChart/index.js +0 -7
  732. package/lib-amd/components/PieChart/index.js.map +0 -1
  733. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  734. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -930
  735. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  736. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  737. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  738. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  739. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  740. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -65
  741. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  742. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  743. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  744. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  745. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  746. package/lib-amd/components/SankeyChart/index.js +0 -7
  747. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  748. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  749. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  750. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  751. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  752. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  753. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  754. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  755. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  756. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  757. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  758. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  759. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  760. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  761. package/lib-amd/components/Sparkline/index.js +0 -7
  762. package/lib-amd/components/Sparkline/index.js.map +0 -1
  763. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  764. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -431
  765. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  766. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  767. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  768. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  769. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  770. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  771. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  772. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  773. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  774. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  775. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  776. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -360
  777. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  778. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  779. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  780. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  781. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  782. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  783. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  784. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  785. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  786. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  787. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  788. package/lib-amd/components/StackedBarChart/index.js +0 -10
  789. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  790. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  791. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -320
  792. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  793. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  794. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  795. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  796. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  797. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  798. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  799. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  800. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  801. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  802. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  803. package/lib-amd/components/TreeChart/index.js +0 -7
  804. package/lib-amd/components/TreeChart/index.js.map +0 -1
  805. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  806. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -803
  807. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  808. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  809. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  810. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  811. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  812. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  813. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  814. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  815. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  816. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  817. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  818. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  819. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  820. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  821. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -776
  822. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  823. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  824. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  825. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  826. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  827. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  828. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  829. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  830. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  831. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  832. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  833. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  834. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  835. package/lib-amd/index.d.ts +0 -40
  836. package/lib-amd/index.js +0 -40
  837. package/lib-amd/index.js.map +0 -1
  838. package/lib-amd/types/IDataPoint.d.ts +0 -712
  839. package/lib-amd/types/IDataPoint.js +0 -5
  840. package/lib-amd/types/IDataPoint.js.map +0 -1
  841. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  842. package/lib-amd/types/IEventAnnotation.js +0 -5
  843. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  844. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  845. package/lib-amd/types/ILegendDataItem.js +0 -5
  846. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  847. package/lib-amd/types/index.d.ts +0 -2
  848. package/lib-amd/types/index.js +0 -7
  849. package/lib-amd/types/index.js.map +0 -1
  850. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  851. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  852. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  853. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  854. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  855. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  856. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  857. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  858. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  859. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  860. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  861. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  862. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  863. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  864. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  865. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  866. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  867. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  868. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -95
  869. package/lib-amd/utilities/SVGTooltipText.js +0 -175
  870. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  871. package/lib-amd/utilities/colors.d.ts +0 -51
  872. package/lib-amd/utilities/colors.js +0 -139
  873. package/lib-amd/utilities/colors.js.map +0 -1
  874. package/lib-amd/utilities/gradients.d.ts +0 -30
  875. package/lib-amd/utilities/gradients.js +0 -180
  876. package/lib-amd/utilities/gradients.js.map +0 -1
  877. package/lib-amd/utilities/index.d.ts +0 -5
  878. package/lib-amd/utilities/index.js +0 -10
  879. package/lib-amd/utilities/index.js.map +0 -1
  880. package/lib-amd/utilities/locale-util.d.ts +0 -3
  881. package/lib-amd/utilities/locale-util.js +0 -24
  882. package/lib-amd/utilities/locale-util.js.map +0 -1
  883. package/lib-amd/utilities/test-data.d.ts +0 -27
  884. package/lib-amd/utilities/test-data.js +0 -214
  885. package/lib-amd/utilities/test-data.js.map +0 -1
  886. package/lib-amd/utilities/utilities.d.ts +0 -411
  887. package/lib-amd/utilities/utilities.js +0 -1085
  888. package/lib-amd/utilities/utilities.js.map +0 -1
  889. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  890. package/lib-amd/utilities/vbc-utils.js +0 -38
  891. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  892. package/lib-amd/version.d.ts +0 -1
  893. package/lib-amd/version.js +0 -6
  894. package/lib-amd/version.js.map +0 -1
  895. package/lib-commonjs/AreaChart.d.ts +0 -1
  896. package/lib-commonjs/AreaChart.js +0 -5
  897. package/lib-commonjs/AreaChart.js.map +0 -1
  898. package/lib-commonjs/CartesianChart.d.ts +0 -1
  899. package/lib-commonjs/CartesianChart.js +0 -5
  900. package/lib-commonjs/CartesianChart.js.map +0 -1
  901. package/lib-commonjs/DonutChart.d.ts +0 -1
  902. package/lib-commonjs/DonutChart.js +0 -5
  903. package/lib-commonjs/DonutChart.js.map +0 -1
  904. package/lib-commonjs/GaugeChart.d.ts +0 -1
  905. package/lib-commonjs/GaugeChart.js +0 -5
  906. package/lib-commonjs/GaugeChart.js.map +0 -1
  907. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  908. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  909. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  910. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  911. package/lib-commonjs/HeatMapChart.js +0 -5
  912. package/lib-commonjs/HeatMapChart.js.map +0 -1
  913. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  914. package/lib-commonjs/HorizontalBarChart.js +0 -5
  915. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  916. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
  917. package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
  918. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
  919. package/lib-commonjs/Legends.d.ts +0 -1
  920. package/lib-commonjs/Legends.js +0 -5
  921. package/lib-commonjs/Legends.js.map +0 -1
  922. package/lib-commonjs/LineChart.d.ts +0 -1
  923. package/lib-commonjs/LineChart.js +0 -5
  924. package/lib-commonjs/LineChart.js.map +0 -1
  925. package/lib-commonjs/PieChart.d.ts +0 -1
  926. package/lib-commonjs/PieChart.js +0 -5
  927. package/lib-commonjs/PieChart.js.map +0 -1
  928. package/lib-commonjs/SankeyChart.d.ts +0 -1
  929. package/lib-commonjs/SankeyChart.js +0 -5
  930. package/lib-commonjs/SankeyChart.js.map +0 -1
  931. package/lib-commonjs/Sparkline.d.ts +0 -1
  932. package/lib-commonjs/Sparkline.js +0 -5
  933. package/lib-commonjs/Sparkline.js.map +0 -1
  934. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  935. package/lib-commonjs/StackedBarChart.js +0 -5
  936. package/lib-commonjs/StackedBarChart.js.map +0 -1
  937. package/lib-commonjs/Styling.d.ts +0 -2
  938. package/lib-commonjs/Styling.js +0 -75
  939. package/lib-commonjs/Styling.js.map +0 -1
  940. package/lib-commonjs/TreeChart.d.ts +0 -1
  941. package/lib-commonjs/TreeChart.js +0 -5
  942. package/lib-commonjs/TreeChart.js.map +0 -1
  943. package/lib-commonjs/Utilities.d.ts +0 -2
  944. package/lib-commonjs/Utilities.js +0 -185
  945. package/lib-commonjs/Utilities.js.map +0 -1
  946. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  947. package/lib-commonjs/VerticalBarChart.js +0 -5
  948. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  949. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  950. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  951. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  952. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -103
  953. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -662
  954. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  955. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
  956. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
  957. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  958. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  959. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  960. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  961. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -59
  962. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  963. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  964. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  965. package/lib-commonjs/components/AreaChart/index.js +0 -6
  966. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  967. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -62
  968. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -601
  969. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  970. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
  971. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
  972. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  973. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  974. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -181
  975. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  976. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -528
  977. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  978. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  979. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  980. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  981. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  982. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -21
  983. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -104
  984. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  985. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  986. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
  987. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  988. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  989. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  990. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  991. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  992. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  993. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  994. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -54
  995. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -257
  996. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  997. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
  998. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
  999. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  1000. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  1001. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
  1002. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  1003. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -85
  1004. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  1005. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  1006. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
  1007. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
  1008. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  1009. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  1010. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
  1011. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  1012. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  1013. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  1014. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  1015. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  1016. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  1017. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  1018. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  1019. package/lib-commonjs/components/DonutChart/index.js +0 -7
  1020. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  1021. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -75
  1022. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -444
  1023. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
  1024. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
  1025. package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
  1026. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
  1027. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  1028. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -130
  1029. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  1030. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -268
  1031. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
  1032. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
  1033. package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
  1034. package/lib-commonjs/components/GaugeChart/index.js +0 -6
  1035. package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
  1036. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -72
  1037. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -456
  1038. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  1039. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  1040. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
  1041. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  1042. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  1043. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  1044. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  1045. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -121
  1046. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  1047. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  1048. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  1049. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  1050. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  1051. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -152
  1052. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -548
  1053. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  1054. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  1055. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
  1056. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  1057. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  1058. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  1059. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  1060. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -122
  1061. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  1062. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  1063. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  1064. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  1065. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  1066. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  1067. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -294
  1068. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  1069. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  1070. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
  1071. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  1072. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  1073. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
  1074. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  1075. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  1076. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
  1077. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  1078. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  1079. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  1080. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  1081. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -61
  1082. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -553
  1083. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  1084. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  1085. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
  1086. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  1087. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  1088. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
  1089. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  1090. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  1091. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
  1092. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  1093. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  1094. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
  1095. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  1096. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -43
  1097. package/lib-commonjs/components/Legends/Legends.base.js +0 -314
  1098. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  1099. package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
  1100. package/lib-commonjs/components/Legends/Legends.js +0 -12
  1101. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  1102. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -2
  1103. package/lib-commonjs/components/Legends/Legends.styles.js +0 -111
  1104. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  1105. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -210
  1106. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  1107. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  1108. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  1109. package/lib-commonjs/components/Legends/index.js +0 -7
  1110. package/lib-commonjs/components/Legends/index.js.map +0 -1
  1111. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  1112. package/lib-commonjs/components/Legends/shape.js +0 -28
  1113. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  1114. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -92
  1115. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -870
  1116. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  1117. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
  1118. package/lib-commonjs/components/LineChart/LineChart.js +0 -13
  1119. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  1120. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  1121. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  1122. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  1123. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -98
  1124. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  1125. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  1126. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  1127. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -100
  1128. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  1129. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  1130. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
  1131. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  1132. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  1133. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -41
  1134. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  1135. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  1136. package/lib-commonjs/components/LineChart/index.js +0 -7
  1137. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  1138. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
  1139. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -91
  1140. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  1141. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  1142. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
  1143. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  1144. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
  1145. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  1146. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  1147. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1148. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1149. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1150. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1151. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
  1152. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1153. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1154. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1155. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1156. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
  1157. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1158. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1159. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1160. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1161. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1162. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
  1163. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -48
  1164. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1165. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
  1166. package/lib-commonjs/components/PieChart/PieChart.js +0 -13
  1167. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1168. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1169. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1170. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1171. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
  1172. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1173. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1174. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1175. package/lib-commonjs/components/PieChart/index.js +0 -6
  1176. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1177. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -90
  1178. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -938
  1179. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1180. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
  1181. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
  1182. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1183. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1184. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -65
  1185. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1186. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -146
  1187. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1188. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1189. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1190. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1191. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1192. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
  1193. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
  1194. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1195. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
  1196. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
  1197. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1198. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1199. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1200. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1201. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
  1202. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1203. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1204. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1205. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1206. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1207. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  1208. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -439
  1209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  1211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
  1212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  1215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  1217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
  1218. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  1220. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -367
  1221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  1223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
  1224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1226. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  1227. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1228. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  1229. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1230. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1231. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1232. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1233. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1234. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1235. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -325
  1236. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1237. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
  1238. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
  1239. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1240. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1241. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
  1242. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1243. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
  1244. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
  1245. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1246. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1247. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1248. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1249. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -84
  1250. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -812
  1251. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1252. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  1253. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
  1254. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1255. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1256. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  1257. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1258. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -155
  1259. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1260. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1261. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1262. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1263. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -92
  1265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -785
  1266. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1267. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  1268. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
  1269. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1270. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1271. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  1272. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1273. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -182
  1274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1275. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1276. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1277. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1278. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1279. package/lib-commonjs/index.d.ts +0 -40
  1280. package/lib-commonjs/index.js +0 -59
  1281. package/lib-commonjs/index.js.map +0 -1
  1282. package/lib-commonjs/types/IDataPoint.d.ts +0 -712
  1283. package/lib-commonjs/types/IDataPoint.js +0 -3
  1284. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1285. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1286. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1287. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1288. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1289. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1290. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1291. package/lib-commonjs/types/index.d.ts +0 -2
  1292. package/lib-commonjs/types/index.js +0 -6
  1293. package/lib-commonjs/types/index.js.map +0 -1
  1294. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1295. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1296. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1297. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1298. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1299. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1300. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1301. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
  1302. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1303. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1304. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1305. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1306. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1307. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1308. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1309. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
  1310. package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
  1311. package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
  1312. package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -95
  1313. package/lib-commonjs/utilities/SVGTooltipText.js +0 -177
  1314. package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
  1315. package/lib-commonjs/utilities/colors.d.ts +0 -51
  1316. package/lib-commonjs/utilities/colors.js +0 -137
  1317. package/lib-commonjs/utilities/colors.js.map +0 -1
  1318. package/lib-commonjs/utilities/gradients.d.ts +0 -30
  1319. package/lib-commonjs/utilities/gradients.js +0 -178
  1320. package/lib-commonjs/utilities/gradients.js.map +0 -1
  1321. package/lib-commonjs/utilities/index.d.ts +0 -5
  1322. package/lib-commonjs/utilities/index.js +0 -9
  1323. package/lib-commonjs/utilities/index.js.map +0 -1
  1324. package/lib-commonjs/utilities/locale-util.d.ts +0 -3
  1325. package/lib-commonjs/utilities/locale-util.js +0 -22
  1326. package/lib-commonjs/utilities/locale-util.js.map +0 -1
  1327. package/lib-commonjs/utilities/test-data.d.ts +0 -27
  1328. package/lib-commonjs/utilities/test-data.js +0 -213
  1329. package/lib-commonjs/utilities/test-data.js.map +0 -1
  1330. package/lib-commonjs/utilities/utilities.d.ts +0 -411
  1331. package/lib-commonjs/utilities/utilities.js +0 -1092
  1332. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1333. package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
  1334. package/lib-commonjs/utilities/vbc-utils.js +0 -36
  1335. package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
  1336. package/lib-commonjs/version.d.ts +0 -1
  1337. package/lib-commonjs/version.js +0 -7
  1338. package/lib-commonjs/version.js.map +0 -1
@@ -1,254 +0,0 @@
1
- import { __assign, __extends } from "tslib";
2
- import * as React from 'react';
3
- import { classNamesFunction, getId } from '@fluentui/react/lib/Utilities';
4
- import { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';
5
- import { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '@fluentui/react-focus';
6
- import { ChartHoverCard, Legends } from '../../index';
7
- import { Pie } from './Pie/index';
8
- import { getAccessibleDataObject, getColorFromToken, getNextColor, getNextGradient } from '../../utilities/index';
9
- import { convertToLocaleString } from '../../utilities/locale-util';
10
- var getClassNames = classNamesFunction();
11
- var LEGEND_CONTAINER_HEIGHT = 40;
12
- export var DonutChartBase = /** @class */ (function (_super) {
13
- __extends(DonutChartBase, _super);
14
- function DonutChartBase(props) {
15
- var _this = _super.call(this, props) || this;
16
- _this._closeCallout = function () {
17
- _this.setState({
18
- showHover: false,
19
- });
20
- };
21
- _this._focusCallback = function (data, id, element) {
22
- _this._currentHoverElement = element;
23
- _this.setState({
24
- /** Show the callout if highlighted arc is focused and Hide it if unhighlighted arc is focused */
25
- showHover: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
26
- value: data.data.toString(),
27
- legend: data.legend,
28
- color: data.color,
29
- xCalloutValue: data.xAxisCalloutData,
30
- yCalloutValue: data.yAxisCalloutData,
31
- focusedArcId: id,
32
- dataPointCalloutProps: data,
33
- callOutAccessibilityData: data.callOutAccessibilityData,
34
- });
35
- };
36
- _this._hoverCallback = function (data, e) {
37
- var _a, _b, _c, _d;
38
- if (_this._calloutAnchorPoint !== data) {
39
- _this._calloutAnchorPoint = data;
40
- _this._currentHoverElement = e;
41
- var color = data.color;
42
- if (_this.props.enableGradient) {
43
- var pointIndex = Math.max(((_b = (_a = _this.props.data) === null || _a === void 0 ? void 0 : _a.chartData) === null || _b === void 0 ? void 0 : _b.findIndex(function (item) { return item.legend === data.legend; })) || 0, 0);
44
- color = ((_c = data.gradient) === null || _c === void 0 ? void 0 : _c[0]) || getNextGradient(pointIndex, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[0];
45
- }
46
- _this.setState({
47
- /** Show the callout if highlighted arc is hovered and Hide it if unhighlighted arc is hovered */
48
- showHover: _this.state.selectedLegend === '' || _this.state.selectedLegend === data.legend,
49
- value: data.data.toString(),
50
- legend: data.legend,
51
- color: color,
52
- xCalloutValue: data.xAxisCalloutData,
53
- yCalloutValue: data.yAxisCalloutData,
54
- dataPointCalloutProps: data,
55
- callOutAccessibilityData: data.callOutAccessibilityData,
56
- });
57
- }
58
- };
59
- _this._onBlur = function () {
60
- _this.setState({ focusedArcId: '' });
61
- };
62
- _this._handleChartMouseLeave = function () {
63
- _this._calloutAnchorPoint = null;
64
- _this.setState({ showHover: false });
65
- };
66
- _this._addDefaultColors = function (donutChartDataPoint) {
67
- return donutChartDataPoint
68
- ? donutChartDataPoint.map(function (item, index) {
69
- var _a, _b;
70
- var color;
71
- // isInverted property is applicable to v8 themes only
72
- if (typeof item.color === 'undefined') {
73
- color = getNextColor(index, 0, (_a = _this.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
74
- }
75
- else {
76
- color = getColorFromToken(item.color, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
77
- }
78
- return __assign(__assign({}, item), { color: color });
79
- })
80
- : [];
81
- };
82
- _this.state = {
83
- showHover: false,
84
- value: '',
85
- legend: '',
86
- _width: _this.props.width || 200,
87
- _height: _this.props.height || 200,
88
- activeLegend: '',
89
- color: '',
90
- xCalloutValue: '',
91
- yCalloutValue: '',
92
- selectedLegend: '',
93
- focusedArcId: '',
94
- };
95
- _this._hoverCallback = _this._hoverCallback.bind(_this);
96
- _this._focusCallback = _this._focusCallback.bind(_this);
97
- _this._hoverLeave = _this._hoverLeave.bind(_this);
98
- _this._calloutId = getId('callout');
99
- _this._uniqText = getId('_Pie_');
100
- _this._emptyChartId = getId('_DonutChart_empty');
101
- return _this;
102
- }
103
- DonutChartBase.getDerivedStateFromProps = function (nextProps, prevState) {
104
- var widthState;
105
- if (nextProps.width && nextProps.width !== prevState._width) {
106
- widthState = { _width: nextProps.width };
107
- }
108
- var heightState;
109
- if (nextProps.height && nextProps.height !== prevState._height) {
110
- heightState = { _height: nextProps.height - LEGEND_CONTAINER_HEIGHT };
111
- }
112
- return __assign(__assign({}, widthState), heightState);
113
- };
114
- DonutChartBase.prototype.componentDidMount = function () {
115
- if (this._rootElem) {
116
- this.setState({
117
- _width: this._rootElem.offsetWidth,
118
- _height: this._rootElem.offsetHeight - LEGEND_CONTAINER_HEIGHT,
119
- });
120
- }
121
- };
122
- DonutChartBase.prototype.render = function () {
123
- var _a, _b;
124
- var _this = this;
125
- var data = (_a = this.props, _a.data), hideLegend = (_b = _a.hideLegend, _b === void 0 ? false : _b);
126
- var points = this._addDefaultColors(data === null || data === void 0 ? void 0 : data.chartData);
127
- this._classNames = getClassNames(this.props.styles, {
128
- theme: this.props.theme,
129
- width: this.state._width,
130
- height: this.state._height,
131
- color: this.state.color,
132
- className: this.props.className,
133
- });
134
- var legendBars = this._createLegends(points);
135
- var donutMarginHorizontal = this.props.hideLabels ? 0 : 80;
136
- var donutMarginVertical = this.props.hideLabels ? 0 : 40;
137
- var outerRadius = Math.min(this.state._width - donutMarginHorizontal, this.state._height - donutMarginVertical) / 2;
138
- var chartData = this._elevateToMinimums(points.filter(function (d) { return d.data >= 0; }));
139
- var valueInsideDonut = this._valueInsideDonut(this.props.valueInsideDonut, chartData);
140
- return !this._isChartEmpty() ? (React.createElement("div", { className: this._classNames.root, ref: function (rootElem) { return (_this._rootElem = rootElem); }, onMouseLeave: this._handleChartMouseLeave },
141
- React.createElement(FocusZone, { direction: FocusZoneDirection.horizontal, handleTabKey: FocusZoneTabbableElements.all },
142
- React.createElement("div", null,
143
- React.createElement("svg", { className: this._classNames.chart, "aria-label": data === null || data === void 0 ? void 0 : data.chartTitle, ref: function (node) { return _this._setViewBox(node); } },
144
- React.createElement(Pie, { width: this.state._width, height: this.state._height, outerRadius: outerRadius, innerRadius: this.props.innerRadius, data: chartData, enableGradient: this.props.enableGradient, roundCorners: this.props.roundCorners, onFocusCallback: this._focusCallback, hoverOnCallback: this._hoverCallback, hoverLeaveCallback: this._hoverLeave, uniqText: this._uniqText, onBlurCallback: this._onBlur, activeArc: this._getHighlightedLegend(), focusedArcId: this.state.focusedArcId || '', href: this.props.href, calloutId: this._calloutId, valueInsideDonut: this._toLocaleString(valueInsideDonut), theme: this.props.theme, showLabelsInPercent: this.props.showLabelsInPercent, hideLabels: this.props.hideLabels })))),
145
- React.createElement(Callout, __assign({ target: this._currentHoverElement, alignTargetEdge: true, isBeakVisible: false, directionalHint: DirectionalHint.topAutoEdge, gapSpace: 15, hidden: !(!this.props.hideTooltip && this.state.showHover), id: this._calloutId, onDismiss: this._closeCallout, preventDismissOnLostFocus: true,
146
- /** Keep the callout updated with details of focused/hovered arc */
147
- shouldUpdateWhenHidden: true }, this.props.calloutProps, getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)), this.props.onRenderCalloutPerDataPoint ? (this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps)) : (React.createElement(ChartHoverCard, { Legend: this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.value, color: this.state.color, culture: this.props.culture }))),
148
- !hideLegend && React.createElement("div", { className: this._classNames.legendContainer }, legendBars))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
149
- };
150
- DonutChartBase.prototype._elevateToMinimums = function (data) {
151
- var sumOfData = 0;
152
- var minPercent = 0.01;
153
- var elevatedData = [];
154
- data.forEach(function (item) {
155
- sumOfData += item.data;
156
- });
157
- data.forEach(function (item) {
158
- elevatedData.push(minPercent * sumOfData > item.data && item.data > 0
159
- ? __assign(__assign({}, item), { data: minPercent * sumOfData, yAxisCalloutData: item.yAxisCalloutData === undefined ? item.data.toLocaleString() : item.yAxisCalloutData }) : item);
160
- });
161
- return elevatedData;
162
- };
163
- DonutChartBase.prototype._setViewBox = function (node) {
164
- var _a, _b;
165
- if (node === null) {
166
- return;
167
- }
168
- var widthVal = node.parentElement ? node.parentElement.clientWidth : this.state._width;
169
- var heightVal = node.parentElement && ((_a = node.parentElement) === null || _a === void 0 ? void 0 : _a.offsetHeight) > this.state._height
170
- ? (_b = node.parentElement) === null || _b === void 0 ? void 0 : _b.offsetHeight
171
- : this.state._height;
172
- var viewbox = "0 0 ".concat(widthVal, " ").concat(heightVal);
173
- node.setAttribute('viewBox', viewbox);
174
- };
175
- DonutChartBase.prototype._createLegends = function (chartData) {
176
- var _this = this;
177
- var legendDataItems = chartData.map(function (point, index) {
178
- var _a, _b;
179
- var color = _this.props.enableGradient
180
- ? ((_a = point.gradient) === null || _a === void 0 ? void 0 : _a[0]) || getNextGradient(index, 0, (_b = _this.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted)[0]
181
- : point.color;
182
- // mapping data to the format Legends component needs
183
- var legend = {
184
- title: point.legend,
185
- color: color,
186
- action: function () {
187
- if (_this.state.selectedLegend === point.legend) {
188
- _this.setState({ selectedLegend: '' });
189
- }
190
- else {
191
- _this.setState({ selectedLegend: point.legend });
192
- }
193
- },
194
- hoverAction: function () {
195
- _this._handleChartMouseLeave();
196
- _this.setState({ activeLegend: point.legend });
197
- },
198
- onMouseOutAction: function () {
199
- _this.setState({ activeLegend: '' });
200
- },
201
- };
202
- return legend;
203
- });
204
- var legends = (React.createElement(Legends, __assign({ legends: legendDataItems, centerLegends: true, overflowProps: this.props.legendsOverflowProps, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, this.props.legendProps)));
205
- return legends;
206
- };
207
- DonutChartBase.prototype._hoverLeave = function () {
208
- /**/
209
- };
210
- DonutChartBase.prototype._valueInsideDonut = function (valueInsideDonut, data) {
211
- var _this = this;
212
- var highlightedLegend = this._getHighlightedLegend();
213
- if (valueInsideDonut !== undefined && (highlightedLegend !== '' || this.state.showHover)) {
214
- var legendValue_1 = valueInsideDonut;
215
- data.map(function (point, index) {
216
- if (point.legend === highlightedLegend || (_this.state.showHover && point.legend === _this.state.legend)) {
217
- legendValue_1 = point.yAxisCalloutData ? point.yAxisCalloutData : point.data;
218
- }
219
- return;
220
- });
221
- return legendValue_1;
222
- }
223
- else {
224
- return valueInsideDonut;
225
- }
226
- };
227
- DonutChartBase.prototype._toLocaleString = function (data) {
228
- var localeString = convertToLocaleString(data, this.props.culture);
229
- if (!localeString) {
230
- return data;
231
- }
232
- return localeString === null || localeString === void 0 ? void 0 : localeString.toString();
233
- };
234
- /**
235
- * This function returns
236
- * the selected legend if there is one
237
- * or the hovered legend if none of the legends is selected.
238
- * Note: This won't work in case of multiple legends selection.
239
- */
240
- DonutChartBase.prototype._getHighlightedLegend = function () {
241
- return this.state.selectedLegend || this.state.activeLegend;
242
- };
243
- DonutChartBase.prototype._isChartEmpty = function () {
244
- return !(this.props.data &&
245
- this.props.data.chartData &&
246
- this.props.data.chartData.filter(function (d) { return d.data > 0; }).length > 0);
247
- };
248
- DonutChartBase.defaultProps = {
249
- innerRadius: 0,
250
- hideLabels: true,
251
- };
252
- return DonutChartBase;
253
- }(React.Component));
254
- //# sourceMappingURL=DonutChart.base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DonutChart.base.js","sourceRoot":"../src/","sources":["components/DonutChart/DonutChart.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAG1E,O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import { ScaleOrdinal } from 'd3-scale';\nimport { IProcessedStyleSet } from '@fluentui/react/lib/Styling';\nimport { Callout, DirectionalHint } from '@fluentui/react/lib/Callout';\nimport { FocusZone, FocusZoneDirection, FocusZoneTabbableElements } from '@fluentui/react-focus';\nimport { IAccessibilityProps, ChartHoverCard, ILegend, Legends } from '../../index';\nimport { Pie } from './Pie/index';\nimport { IChartDataPoint, IDonutChartProps, IDonutChartStyleProps, IDonutChartStyles } from './index';\nimport { getAccessibleDataObject, getColorFromToken, getNextColor, getNextGradient } from '../../utilities/index';\nimport { convertToLocaleString } from '../../utilities/locale-util';\n\nconst getClassNames = classNamesFunction<IDonutChartStyleProps, IDonutChartStyles>();\nconst LEGEND_CONTAINER_HEIGHT = 40;\n\nexport interface IDonutChartState {\n showHover?: boolean;\n value?: string | undefined;\n legend?: string | undefined;\n _width?: number | undefined;\n _height?: number | undefined;\n activeLegend?: string;\n color?: string | undefined;\n xCalloutValue?: string;\n yCalloutValue?: string;\n focusedArcId?: string;\n selectedLegend: string;\n dataPointCalloutProps?: IChartDataPoint;\n callOutAccessibilityData?: IAccessibilityProps;\n}\n\nexport class DonutChartBase extends React.Component<IDonutChartProps, IDonutChartState> {\n public static defaultProps: Partial<IDonutChartProps> = {\n innerRadius: 0,\n hideLabels: true,\n };\n public _colors: ScaleOrdinal<string, {}>;\n private _classNames: IProcessedStyleSet<IDonutChartStyles>;\n private _rootElem: HTMLElement | null;\n private _uniqText: string;\n /* eslint-disable @typescript-eslint/no-explicit-any */\n private _currentHoverElement: any;\n private _calloutId: string;\n private _calloutAnchorPoint: IChartDataPoint | null;\n private _emptyChartId: string | null;\n\n public static getDerivedStateFromProps(\n nextProps: Readonly<IDonutChartProps>,\n prevState: Readonly<IDonutChartState>,\n ): Partial<IDonutChartState> | null {\n let widthState: { _width: number } | undefined;\n if (nextProps.width && nextProps.width !== prevState._width) {\n widthState = { _width: nextProps.width };\n }\n\n let heightState: { _height: number } | undefined;\n if (nextProps.height && nextProps.height !== prevState._height) {\n heightState = { _height: nextProps.height - LEGEND_CONTAINER_HEIGHT };\n }\n\n return { ...widthState, ...heightState };\n }\n\n constructor(props: IDonutChartProps) {\n super(props);\n this.state = {\n showHover: false,\n value: '',\n legend: '',\n _width: this.props.width || 200,\n _height: this.props.height || 200,\n activeLegend: '',\n color: '',\n xCalloutValue: '',\n yCalloutValue: '',\n selectedLegend: '',\n focusedArcId: '',\n };\n this._hoverCallback = this._hoverCallback.bind(this);\n this._focusCallback = this._focusCallback.bind(this);\n this._hoverLeave = this._hoverLeave.bind(this);\n this._calloutId = getId('callout');\n this._uniqText = getId('_Pie_');\n this._emptyChartId = getId('_DonutChart_empty');\n }\n public componentDidMount(): void {\n if (this._rootElem) {\n this.setState({\n _width: this._rootElem.offsetWidth,\n _height: this._rootElem.offsetHeight - LEGEND_CONTAINER_HEIGHT,\n });\n }\n }\n\n public render(): JSX.Element {\n const { data, hideLegend = false } = this.props;\n const points = this._addDefaultColors(data?.chartData);\n\n this._classNames = getClassNames(this.props.styles!, {\n theme: this.props.theme!,\n width: this.state._width!,\n height: this.state._height!,\n color: this.state.color!,\n className: this.props.className!,\n });\n\n const legendBars = this._createLegends(points);\n const donutMarginHorizontal = this.props.hideLabels ? 0 : 80;\n const donutMarginVertical = this.props.hideLabels ? 0 : 40;\n const outerRadius =\n Math.min(this.state._width! - donutMarginHorizontal, this.state._height! - donutMarginVertical) / 2;\n const chartData = this._elevateToMinimums(points.filter((d: IChartDataPoint) => d.data! >= 0));\n const valueInsideDonut = this._valueInsideDonut(this.props.valueInsideDonut!, chartData!);\n\n return !this._isChartEmpty() ? (\n <div\n className={this._classNames.root}\n ref={(rootElem: HTMLElement | null) => (this._rootElem = rootElem)}\n onMouseLeave={this._handleChartMouseLeave}\n >\n <FocusZone direction={FocusZoneDirection.horizontal} handleTabKey={FocusZoneTabbableElements.all}>\n <div>\n <svg\n className={this._classNames.chart}\n aria-label={data?.chartTitle}\n ref={(node: SVGElement | null) => this._setViewBox(node)}\n >\n <Pie\n width={this.state._width!}\n height={this.state._height!}\n outerRadius={outerRadius}\n innerRadius={this.props.innerRadius!}\n data={chartData!}\n enableGradient={this.props.enableGradient}\n roundCorners={this.props.roundCorners}\n onFocusCallback={this._focusCallback}\n hoverOnCallback={this._hoverCallback}\n hoverLeaveCallback={this._hoverLeave}\n uniqText={this._uniqText}\n onBlurCallback={this._onBlur}\n activeArc={this._getHighlightedLegend()}\n focusedArcId={this.state.focusedArcId || ''}\n href={this.props.href!}\n calloutId={this._calloutId}\n valueInsideDonut={this._toLocaleString(valueInsideDonut)}\n theme={this.props.theme!}\n showLabelsInPercent={this.props.showLabelsInPercent}\n hideLabels={this.props.hideLabels}\n />\n </svg>\n </div>\n </FocusZone>\n <Callout\n target={this._currentHoverElement}\n alignTargetEdge={true}\n isBeakVisible={false}\n directionalHint={DirectionalHint.topAutoEdge}\n gapSpace={15}\n hidden={!(!this.props.hideTooltip && this.state.showHover)}\n id={this._calloutId}\n onDismiss={this._closeCallout}\n preventDismissOnLostFocus={true}\n /** Keep the callout updated with details of focused/hovered arc */\n shouldUpdateWhenHidden={true}\n {...this.props.calloutProps!}\n {...getAccessibleDataObject(this.state.callOutAccessibilityData, 'text', false)}\n >\n {this.props.onRenderCalloutPerDataPoint ? (\n this.props.onRenderCalloutPerDataPoint(this.state.dataPointCalloutProps!)\n ) : (\n <ChartHoverCard\n Legend={this.state.xCalloutValue ? this.state.xCalloutValue : this.state.legend}\n YValue={this.state.yCalloutValue ? this.state.yCalloutValue : this.state.value}\n color={this.state.color}\n culture={this.props.culture}\n />\n )}\n </Callout>\n {!hideLegend && <div className={this._classNames.legendContainer}>{legendBars}</div>}\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 _closeCallout = () => {\n this.setState({\n showHover: false,\n });\n };\n\n private _elevateToMinimums(data: IChartDataPoint[]) {\n let sumOfData = 0;\n const minPercent = 0.01;\n const elevatedData: IChartDataPoint[] = [];\n data.forEach(item => {\n sumOfData += item.data!;\n });\n data.forEach(item => {\n elevatedData.push(\n minPercent * sumOfData > item.data! && item.data! > 0\n ? {\n ...item,\n data: minPercent * sumOfData,\n yAxisCalloutData:\n item.yAxisCalloutData === undefined ? item.data!.toLocaleString() : item.yAxisCalloutData,\n }\n : item,\n );\n });\n return elevatedData;\n }\n private _setViewBox(node: SVGElement | null): void {\n if (node === null) {\n return;\n }\n\n const widthVal = node.parentElement ? node.parentElement.clientWidth : this.state._width;\n\n const heightVal =\n node.parentElement && node.parentElement?.offsetHeight > this.state._height!\n ? node.parentElement?.offsetHeight\n : this.state._height;\n const viewbox = `0 0 ${widthVal!} ${heightVal!}`;\n node.setAttribute('viewBox', viewbox);\n }\n\n private _createLegends(chartData: IChartDataPoint[]): JSX.Element {\n const legendDataItems = chartData.map((point: IChartDataPoint, index: number) => {\n const color: string = this.props.enableGradient\n ? point.gradient?.[0] || getNextGradient(index, 0, this.props.theme?.isInverted)[0]\n : point.color!;\n\n // mapping data to the format Legends component needs\n const legend: ILegend = {\n title: point.legend!,\n color,\n action: () => {\n if (this.state.selectedLegend === point.legend) {\n this.setState({ selectedLegend: '' });\n } else {\n this.setState({ selectedLegend: point.legend! });\n }\n },\n hoverAction: () => {\n this._handleChartMouseLeave();\n this.setState({ activeLegend: point.legend! });\n },\n onMouseOutAction: () => {\n this.setState({ activeLegend: '' });\n },\n };\n return legend;\n });\n const legends = (\n <Legends\n legends={legendDataItems}\n centerLegends\n overflowProps={this.props.legendsOverflowProps}\n focusZonePropsInHoverCard={this.props.focusZonePropsForLegendsInHoverCard}\n overflowText={this.props.legendsOverflowText}\n {...this.props.legendProps}\n />\n );\n return legends;\n }\n\n private _focusCallback = (data: IChartDataPoint, id: string, element: SVGPathElement): void => {\n this._currentHoverElement = element;\n this.setState({\n /** Show the callout if highlighted arc is focused and Hide it if unhighlighted arc is focused */\n showHover: this.state.selectedLegend === '' || this.state.selectedLegend === data.legend,\n value: data.data!.toString(),\n legend: data.legend,\n color: data.color!,\n xCalloutValue: data.xAxisCalloutData!,\n yCalloutValue: data.yAxisCalloutData!,\n focusedArcId: id,\n dataPointCalloutProps: data,\n callOutAccessibilityData: data.callOutAccessibilityData!,\n });\n };\n\n private _hoverCallback = (data: IChartDataPoint, e: React.MouseEvent<SVGPathElement>): void => {\n if (this._calloutAnchorPoint !== data) {\n this._calloutAnchorPoint = data;\n this._currentHoverElement = e;\n let color: string = data.color!;\n\n if (this.props.enableGradient) {\n const pointIndex = Math.max(this.props.data?.chartData?.findIndex(item => item.legend === data.legend) || 0, 0);\n color = data.gradient?.[0] || getNextGradient(pointIndex, 0, this.props.theme?.isInverted)[0];\n }\n\n this.setState({\n /** Show the callout if highlighted arc is hovered and Hide it if unhighlighted arc is hovered */\n showHover: this.state.selectedLegend === '' || this.state.selectedLegend === data.legend,\n value: data.data!.toString(),\n legend: data.legend,\n color,\n xCalloutValue: data.xAxisCalloutData!,\n yCalloutValue: data.yAxisCalloutData!,\n dataPointCalloutProps: data,\n callOutAccessibilityData: data.callOutAccessibilityData!,\n });\n }\n };\n private _onBlur = (): void => {\n this.setState({ focusedArcId: '' });\n };\n\n private _hoverLeave(): void {\n /**/\n }\n\n private _handleChartMouseLeave = () => {\n this._calloutAnchorPoint = null;\n this.setState({ showHover: false });\n };\n\n private _valueInsideDonut(valueInsideDonut: string | number | undefined, data: IChartDataPoint[]) {\n const highlightedLegend = this._getHighlightedLegend();\n if (valueInsideDonut !== undefined && (highlightedLegend !== '' || this.state.showHover)) {\n let legendValue = valueInsideDonut;\n data!.map((point: IChartDataPoint, index: number) => {\n if (point.legend === highlightedLegend || (this.state.showHover && point.legend === this.state.legend)) {\n legendValue = point.yAxisCalloutData ? point.yAxisCalloutData : point.data!;\n }\n return;\n });\n return legendValue;\n } else {\n return valueInsideDonut;\n }\n }\n\n private _toLocaleString(data: string | number | undefined) {\n const localeString = convertToLocaleString(data, this.props.culture);\n if (!localeString) {\n return data;\n }\n return localeString?.toString();\n }\n\n /**\n * This function returns\n * the selected legend if there is one\n * or the hovered legend if none of the legends is selected.\n * Note: This won't work in case of multiple legends selection.\n */\n private _getHighlightedLegend() {\n return this.state.selectedLegend || this.state.activeLegend;\n }\n\n private _isChartEmpty(): boolean {\n return !(\n this.props.data &&\n this.props.data.chartData &&\n this.props.data.chartData!.filter((d: IChartDataPoint) => d.data! > 0).length > 0\n );\n }\n\n private _addDefaultColors = (donutChartDataPoint?: IChartDataPoint[]): IChartDataPoint[] => {\n return donutChartDataPoint\n ? donutChartDataPoint.map((item, index) => {\n let color: string;\n // isInverted property is applicable to v8 themes only\n if (typeof item.color === 'undefined') {\n color = getNextColor(index, 0, this.props.theme?.isInverted);\n } else {\n color = getColorFromToken(item.color, this.props.theme?.isInverted);\n }\n\n return { ...item, color };\n })\n : [];\n };\n}\n"]}
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import { IDonutChartProps } from './DonutChart.types';
3
- /**
4
- * Donutchart component.
5
- * {@docCategory DonutChart}
6
- */
7
- export declare const DonutChart: React.FunctionComponent<IDonutChartProps>;
@@ -1,10 +0,0 @@
1
- import { styled } from '../../Utilities';
2
- import { DonutChartBase } from './DonutChart.base';
3
- import { getStyles } from './DonutChart.styles';
4
- // Create a DonutChart variant which uses these default styles and this styled subcomponent.
5
- /**
6
- * Donutchart component.
7
- * {@docCategory DonutChart}
8
- */
9
- export var DonutChart = styled(DonutChartBase, getStyles);
10
- //# sourceMappingURL=DonutChart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DonutChart.js","sourceRoot":"../src/","sources":["components/DonutChart/DonutChart.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,4FAA4F;AAC5F;;;GAGG;AACH,MAAM,CAAC,IAAM,UAAU,GAA8C,MAAM,CAIzE,cAAc,EAAE,SAAS,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { styled } from '../../Utilities';\nimport { IDonutChartProps, IDonutChartStyleProps, IDonutChartStyles } from './DonutChart.types';\nimport { DonutChartBase } from './DonutChart.base';\nimport { getStyles } from './DonutChart.styles';\n\n// Create a DonutChart variant which uses these default styles and this styled subcomponent.\n/**\n * Donutchart component.\n * {@docCategory DonutChart}\n */\nexport const DonutChart: React.FunctionComponent<IDonutChartProps> = styled<\n IDonutChartProps,\n IDonutChartStyleProps,\n IDonutChartStyles\n>(DonutChartBase, getStyles);\n"]}
@@ -1,2 +0,0 @@
1
- import { IDonutChartStyleProps, IDonutChartStyles } from './DonutChart.types';
2
- export declare const getStyles: (props: IDonutChartStyleProps) => IDonutChartStyles;
@@ -1,30 +0,0 @@
1
- export var getStyles = function (props) {
2
- var className = props.className, width = props.width, height = props.height, theme = props.theme;
3
- return {
4
- root: [
5
- theme.fonts.medium,
6
- 'ms-DonutChart',
7
- {
8
- alignItems: 'center',
9
- display: 'flex',
10
- flexDirection: 'column',
11
- width: '100%',
12
- height: '100%',
13
- },
14
- className,
15
- ],
16
- chart: {
17
- width: width,
18
- height: height,
19
- boxSizing: 'content-box',
20
- overflow: 'visible',
21
- alignmentAdjust: 'center',
22
- display: 'block',
23
- },
24
- legendContainer: {
25
- paddingTop: '16px',
26
- width: "".concat(width, "px"),
27
- },
28
- };
29
- };
30
- //# sourceMappingURL=DonutChart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DonutChart.styles.js","sourceRoot":"../src/","sources":["components/DonutChart/DonutChart.styles.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAA4B;IAC5C,IAAA,SAAS,GAA2B,KAAK,UAAhC,EAAE,KAAK,GAAoB,KAAK,MAAzB,EAAE,MAAM,GAAY,KAAK,OAAjB,EAAE,KAAK,GAAK,KAAK,MAAV,CAAW;IAClD,OAAO;QACL,IAAI,EAAE;YACJ,KAAK,CAAC,KAAK,CAAC,MAAM;YAClB,eAAe;YACf;gBACE,UAAU,EAAE,QAAQ;gBACpB,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;aACf;YACD,SAAS;SACV;QACD,KAAK,EAAE;YACL,KAAK,OAAA;YACL,MAAM,QAAA;YACN,SAAS,EAAE,aAAa;YACxB,QAAQ,EAAE,SAAS;YACnB,eAAe,EAAE,QAAQ;YACzB,OAAO,EAAE,OAAO;SACjB;QACD,eAAe,EAAE;YACf,UAAU,EAAE,MAAM;YAClB,KAAK,EAAE,UAAG,KAAK,OAAI;SACpB;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { IDonutChartStyleProps, IDonutChartStyles } from './DonutChart.types';\n\nexport const getStyles = (props: IDonutChartStyleProps): IDonutChartStyles => {\n const { className, width, height, theme } = props;\n return {\n root: [\n theme.fonts.medium,\n 'ms-DonutChart',\n {\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n height: '100%',\n },\n className,\n ],\n chart: {\n width,\n height,\n boxSizing: 'content-box',\n overflow: 'visible',\n alignmentAdjust: 'center',\n display: 'block',\n },\n legendContainer: {\n paddingTop: '16px',\n width: `${width}px`,\n },\n };\n};\n"]}
@@ -1,85 +0,0 @@
1
- import { IStyle } from '@fluentui/react/lib/Styling';
2
- import { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';
3
- import { ICartesianChartProps, ICartesianChartStyleProps } from '../CommonComponents/index';
4
- import { ICalloutProps } from '@fluentui/react/lib/Callout';
5
- import { IChartProps, IChartDataPoint } from './index';
6
- export interface IDonutChart {
7
- }
8
- /**
9
- * Donut Chart properties.
10
- * {@docCategory DonutChart}
11
- */
12
- export interface IDonutChartProps extends ICartesianChartProps {
13
- /**
14
- * Data to render in the chart.
15
- */
16
- data?: IChartProps;
17
- /**
18
- * inner radius for donut size
19
- */
20
- innerRadius?: number;
21
- /**
22
- * Call to provide customized styling that will layer on top of the variant rules.
23
- */
24
- styles?: IStyleFunctionOrObject<IDonutChartStyleProps, IDonutChartStyles>;
25
- /**
26
- * props for inside donut value
27
- */
28
- valueInsideDonut?: string | number;
29
- /**
30
- * Define a custom callout renderer for a data point
31
- */
32
- onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;
33
- /**
34
- * props for the callout in the chart
35
- */
36
- calloutProps?: Partial<ICalloutProps>;
37
- /**
38
- * The prop used to define the culture to localized the numbers
39
- */
40
- culture?: string;
41
- /**
42
- * Prop to show the arc labels in percentage format
43
- * @default false
44
- */
45
- showLabelsInPercent?: boolean;
46
- /**
47
- * Prop to hide the arc labels
48
- * @default true
49
- */
50
- hideLabels?: boolean;
51
- /**
52
- * Prop to enable the gradient in the chart
53
- * @default false
54
- */
55
- enableGradient?: boolean;
56
- /**
57
- * Prop to enable the round corners in the chart
58
- * @default false
59
- */
60
- roundCorners?: boolean;
61
- }
62
- /**
63
- * Donut Chart style properties
64
- * {@docCategory DonutChart}
65
- */
66
- export interface IDonutChartStyleProps extends ICartesianChartStyleProps {
67
- }
68
- /**
69
- * Donut Chart styles
70
- * {@docCategory DonutChart}
71
- */
72
- export interface IDonutChartStyles {
73
- /**
74
- * Style for the root element.
75
- */
76
- root?: IStyle;
77
- /**
78
- * Style for the chart.
79
- */
80
- chart?: IStyle;
81
- /**
82
- * Style for the legend container.
83
- */
84
- legendContainer: IStyle;
85
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=DonutChart.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DonutChart.types.js","sourceRoot":"../src/","sources":["components/DonutChart/DonutChart.types.ts"],"names":[],"mappings":"","sourcesContent":["import { IStyle } from '@fluentui/react/lib/Styling';\nimport { IRenderFunction, IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities';\nimport { ICartesianChartProps, ICartesianChartStyleProps } from '../CommonComponents/index';\nimport { ICalloutProps } from '@fluentui/react/lib/Callout';\nimport { IChartProps, IChartDataPoint } from './index';\n\nexport interface IDonutChart {}\n\n/**\n * Donut Chart properties.\n * {@docCategory DonutChart}\n */\nexport interface IDonutChartProps extends ICartesianChartProps {\n /**\n * Data to render in the chart.\n */\n data?: IChartProps;\n\n /**\n * inner radius for donut size\n */\n innerRadius?: number;\n\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IDonutChartStyleProps, IDonutChartStyles>;\n\n /**\n * props for inside donut value\n */\n valueInsideDonut?: string | number;\n\n /**\n * Define a custom callout renderer for a data point\n */\n onRenderCalloutPerDataPoint?: IRenderFunction<IChartDataPoint>;\n\n /**\n * props for the callout in the chart\n */\n calloutProps?: Partial<ICalloutProps>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n\n /**\n * Prop to show the arc labels in percentage format\n * @default false\n */\n showLabelsInPercent?: boolean;\n\n /**\n * Prop to hide the arc labels\n * @default true\n */\n hideLabels?: boolean;\n\n /**\n * Prop to enable the gradient in the chart\n * @default false\n */\n enableGradient?: boolean;\n\n /**\n * Prop to enable the round corners in the chart\n * @default false\n */\n roundCorners?: boolean;\n}\n\n/**\n * Donut Chart style properties\n * {@docCategory DonutChart}\n */\nexport interface IDonutChartStyleProps extends ICartesianChartStyleProps {}\n\n/**\n * Donut Chart styles\n * {@docCategory DonutChart}\n */\nexport interface IDonutChartStyles {\n /**\n * Style for the root element.\n */\n root?: IStyle;\n\n /**\n * Style for the chart.\n */\n chart?: IStyle;\n /**\n * Style for the legend container.\n */\n legendContainer: IStyle;\n}\n"]}
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import { IPieProps } from './index';
3
- import { IArcData } from '../Arc/index';
4
- export declare class Pie extends React.Component<IPieProps, {}> {
5
- static defaultProps: Partial<IPieProps>;
6
- private _pieForFocusRing;
7
- private _totalValue;
8
- constructor(props: IPieProps);
9
- arcGenerator: (d: IArcData, i: number, focusData: IArcData, href?: string) => JSX.Element;
10
- render(): JSX.Element;
11
- componentDidUpdate(): void;
12
- private _focusCallback;
13
- private _hoverCallback;
14
- private _computeTotalValue;
15
- }
@@ -1,75 +0,0 @@
1
- import { __extends } from "tslib";
2
- import * as React from 'react';
3
- import { pie as d3Pie } from 'd3-shape';
4
- import { Arc } from '../Arc/index';
5
- import { classNamesFunction } from '@fluentui/react/lib/Utilities';
6
- import { getStyles } from './Pie.styles';
7
- import { getNextGradient, wrapTextInsideDonut } from '../../../utilities/index';
8
- var getClassNames = classNamesFunction();
9
- var TEXT_PADDING = 5;
10
- export var Pie = /** @class */ (function (_super) {
11
- __extends(Pie, _super);
12
- function Pie(props) {
13
- var _this = _super.call(this, props) || this;
14
- _this.arcGenerator = function (d, i, focusData, href) {
15
- var _a, _b, _c, _d;
16
- var color = d && d.data && d.data.color;
17
- var nextColor = color;
18
- if (_this.props.enableGradient) {
19
- color = (_b = (_a = _this.props.data[i].gradient) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : getNextGradient(i, 0, _this.props.theme.isInverted)[0];
20
- nextColor = (_d = (_c = _this.props.data[i].gradient) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : getNextGradient(i, 0, _this.props.theme.isInverted)[1];
21
- }
22
- return (React.createElement(Arc, { key: i, data: d, focusData: focusData, innerRadius: _this.props.innerRadius, outerRadius: _this.props.outerRadius, color: color, nextColor: nextColor, enableGradient: _this.props.enableGradient, roundCorners: _this.props.roundCorners, onFocusCallback: _this._focusCallback, hoverOnCallback: _this._hoverCallback, onBlurCallback: _this.props.onBlurCallback, hoverLeaveCallback: _this.props.hoverLeaveCallback, uniqText: _this.props.uniqText, activeArc: _this.props.activeArc, href: href, calloutId: _this.props.calloutId, valueInsideDonut: _this.props.valueInsideDonut, theme: _this.props.theme, focusedArcId: _this.props.focusedArcId, showLabelsInPercent: _this.props.showLabelsInPercent, totalValue: _this._totalValue, hideLabels: _this.props.hideLabels }));
23
- };
24
- _this._focusCallback = function (data, id, e) {
25
- _this.props.onFocusCallback(data, id, e);
26
- };
27
- _this._computeTotalValue = function () {
28
- var totalValue = 0;
29
- _this.props.data.forEach(function (arc) {
30
- totalValue += arc.data;
31
- });
32
- return totalValue;
33
- };
34
- _this._hoverCallback = _this._hoverCallback.bind(_this);
35
- _this._pieForFocusRing = d3Pie()
36
- .sort(null)
37
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
38
- .value(function (d) { return d.data; })
39
- .padAngle(0);
40
- return _this;
41
- }
42
- Pie.prototype.render = function () {
43
- var _a;
44
- var _this = this;
45
- var pie = (_a = this.props, _a.pie), data = _a.data;
46
- var focusData = this._pieForFocusRing(data);
47
- var piechart = pie(data);
48
- var translate = "translate(".concat(this.props.width / 2, ", ").concat(this.props.height / 2, ")");
49
- var classNames = getClassNames(getStyles, {
50
- theme: this.props.theme,
51
- });
52
- this._totalValue = this._computeTotalValue();
53
- return (React.createElement("g", { transform: translate },
54
- piechart.map(function (d, i) { return _this.arcGenerator(d, i, focusData[i], _this.props.href); }),
55
- this.props.valueInsideDonut && (React.createElement("text", { y: 5, textAnchor: "middle", dominantBaseline: "middle", className: classNames.insideDonutString }, this.props.valueInsideDonut))));
56
- };
57
- Pie.prototype.componentDidUpdate = function () {
58
- var classNames = getClassNames(getStyles, {
59
- theme: this.props.theme,
60
- });
61
- wrapTextInsideDonut(classNames.insideDonutString, this.props.innerRadius * 2 - TEXT_PADDING);
62
- };
63
- Pie.prototype._hoverCallback = function (data, e) {
64
- this.props.hoverOnCallback(data, e);
65
- };
66
- Pie.defaultProps = {
67
- pie: d3Pie()
68
- .sort(null)
69
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
70
- .value(function (d) { return d.data; })
71
- .padAngle(0.02),
72
- };
73
- return Pie;
74
- }(React.Component));
75
- //# sourceMappingURL=Pie.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pie.js","sourceRoot":"../src/","sources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I,CAAC,KAAK,CAAC,IAAI,CAAC,EAAtD,CAAsD,CAAC;YAChG,IAAI,CAAC,KAAK,CAAC,gBAAgB,IAAI,CAC9B,8BAAM,CAAC,EAAE,CAAC,EAAE,UAAU,EAAC,QAAQ,EAAC,gBAAgB,EAAC,QAAQ,EAAC,SAAS,EAAE,UAAU,CAAC,iBAAiB,IAC9F,IAAI,CAAC,KAAK,CAAC,gBAAgB,CACvB,CACR,CACC,CACL,CAAC;IACJ,CAAC;IAEM,gCAAkB,GAAzB;QACE,IAAM,UAAU,GAAG,aAAa,CAAC,SAAS,EAAE;YAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAM;SACzB,CAAC,CAAC;QAEH,mBAAmB,CAAC,UAAU,CAAC,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,WAAY,GAAG,CAAC,GAAG,YAAY,CAAC,CAAC;IAChG,CAAC;IAMO,4BAAc,GAAtB,UAAuB,IAAqB,EAAE,CAAmC;QAC/E,IAAI,CAAC,KAAK,CAAC,eAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACvC,CAAC;IAjGa,gBAAY,GAAuB;QAC/C,GAAG,EAAE,KAAK,EAAE;aACT,IAAI,CAAC,IAAI,CAAC;YACX,8DAA8D;aAC7D,KAAK,CAAC,UAAC,CAAM,IAAK,OAAA,CAAC,CAAC,IAAI,EAAN,CAAM,CAAC;aACzB,QAAQ,CAAC,IAAI,CAAC;KAClB,AANyB,CAMxB;IAoGJ,UAAC;CAAA,AA3GD,CAAyB,KAAK,CAAC,SAAS,GA2GvC","sourcesContent":["import * as React from 'react';\nimport { pie as d3Pie } from 'd3-shape';\nimport { IPieProps, IPieStyleProps, IPieStyles } from './index';\nimport { Arc, IArcData } from '../Arc/index';\nimport { IChartDataPoint } from '../index';\nimport { classNamesFunction } from '@fluentui/react/lib/Utilities';\nimport { getStyles } from './Pie.styles';\nimport { getNextGradient, wrapTextInsideDonut } from '../../../utilities/index';\n\nconst getClassNames = classNamesFunction<IPieStyleProps, IPieStyles>();\nconst TEXT_PADDING: number = 5;\n\nexport class Pie extends React.Component<IPieProps, {}> {\n public static defaultProps: Partial<IPieProps> = {\n pie: d3Pie()\n .sort(null)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .value((d: any) => d.data)\n .padAngle(0.02),\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private _pieForFocusRing: any;\n private _totalValue: number;\n\n constructor(props: IPieProps) {\n super(props);\n this._hoverCallback = this._hoverCallback.bind(this);\n this._pieForFocusRing = d3Pie()\n .sort(null)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .value((d: any) => d.data)\n .padAngle(0);\n }\n\n public arcGenerator = (d: IArcData, i: number, focusData: IArcData, href?: string): JSX.Element => {\n let color = d && d.data && d.data.color;\n let nextColor = color;\n\n if (this.props.enableGradient) {\n color = this.props.data[i].gradient?.[0] ?? getNextGradient(i, 0, this.props.theme!.isInverted)[0];\n nextColor = this.props.data[i].gradient?.[1] ?? getNextGradient(i, 0, this.props.theme!.isInverted)[1];\n }\n\n return (\n <Arc\n key={i}\n data={d}\n focusData={focusData}\n innerRadius={this.props.innerRadius}\n outerRadius={this.props.outerRadius}\n color={color!}\n nextColor={nextColor}\n enableGradient={this.props.enableGradient}\n roundCorners={this.props.roundCorners}\n onFocusCallback={this._focusCallback}\n hoverOnCallback={this._hoverCallback}\n onBlurCallback={this.props.onBlurCallback}\n hoverLeaveCallback={this.props.hoverLeaveCallback}\n uniqText={this.props.uniqText}\n activeArc={this.props.activeArc}\n href={href}\n calloutId={this.props.calloutId}\n valueInsideDonut={this.props.valueInsideDonut}\n theme={this.props.theme!}\n focusedArcId={this.props.focusedArcId}\n showLabelsInPercent={this.props.showLabelsInPercent}\n totalValue={this._totalValue}\n hideLabels={this.props.hideLabels}\n />\n );\n };\n\n public render(): JSX.Element {\n const { pie, data } = this.props;\n const focusData = this._pieForFocusRing(data);\n const piechart = pie(data);\n const translate = `translate(${this.props.width / 2}, ${this.props.height / 2})`;\n const classNames = getClassNames(getStyles, {\n theme: this.props.theme!,\n });\n\n this._totalValue = this._computeTotalValue();\n\n return (\n <g transform={translate}>\n {piechart.map((d: IArcData, i: number) => this.arcGenerator(d, i, focusData[i], this.props.href))}\n {this.props.valueInsideDonut && (\n <text y={5} textAnchor=\"middle\" dominantBaseline=\"middle\" className={classNames.insideDonutString}>\n {this.props.valueInsideDonut}\n </text>\n )}\n </g>\n );\n }\n\n public componentDidUpdate(): void {\n const classNames = getClassNames(getStyles, {\n theme: this.props.theme!,\n });\n\n wrapTextInsideDonut(classNames.insideDonutString, this.props.innerRadius! * 2 - TEXT_PADDING);\n }\n\n private _focusCallback = (data: IChartDataPoint, id: string, e: SVGPathElement): void => {\n this.props.onFocusCallback!(data, id, e);\n };\n\n private _hoverCallback(data: IChartDataPoint, e: React.MouseEvent<SVGPathElement>): void {\n this.props.hoverOnCallback!(data, e);\n }\n\n private _computeTotalValue = () => {\n let totalValue = 0;\n this.props.data.forEach((arc: IChartDataPoint) => {\n totalValue += arc.data!;\n });\n return totalValue;\n };\n}\n"]}
@@ -1,2 +0,0 @@
1
- import { IPieStyleProps, IPieStyles } from './Pie.types';
2
- export declare const getStyles: (props: IPieStyleProps) => IPieStyles;
@@ -1,19 +0,0 @@
1
- import { FontSizes, FontWeights, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';
2
- export var getStyles = function (props) {
3
- var _a;
4
- var theme = props.theme;
5
- return {
6
- root: {},
7
- insideDonutString: {
8
- fontSize: FontSizes.xLargePlus,
9
- fontWeight: FontWeights.semibold,
10
- fill: theme.semanticColors.bodyText,
11
- selectors: (_a = {},
12
- _a[HighContrastSelectorBlack] = {
13
- fill: 'rgb(179, 179, 179)',
14
- },
15
- _a),
16
- },
17
- };
18
- };
19
- //# sourceMappingURL=Pie.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pie.styles.js","sourceRoot":"../src/","sources":["components/DonutChart/Pie/Pie.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAEhG,MAAM,CAAC,IAAM,SAAS,GAAG,UAAC,KAAqB;;IACrC,IAAA,KAAK,GAAK,KAAK,MAAV,CAAW;IACxB,OAAO;QACL,IAAI,EAAE,EAAE;QACR,iBAAiB,EAAE;YACjB,QAAQ,EAAE,SAAS,CAAC,UAAU;YAC9B,UAAU,EAAE,WAAW,CAAC,QAAQ;YAChC,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;YACnC,SAAS;gBACP,GAAC,yBAAyB,IAAG;oBAC3B,IAAI,EAAE,oBAAoB;iBAC3B;mBACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { IPieStyleProps, IPieStyles } from './Pie.types';\nimport { FontSizes, FontWeights, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';\n\nexport const getStyles = (props: IPieStyleProps): IPieStyles => {\n const { theme } = props;\n return {\n root: {},\n insideDonutString: {\n fontSize: FontSizes.xLargePlus,\n fontWeight: FontWeights.semibold,\n fill: theme.semanticColors.bodyText,\n selectors: {\n [HighContrastSelectorBlack]: {\n fill: 'rgb(179, 179, 179)',\n },\n },\n },\n };\n};\n"]}