@fluentui/react-charting 5.23.14 → 5.23.16

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/dist/react-charting.d.ts +4292 -0
  4. package/dist/react-charting.js +1 -0
  5. package/dist/react-charting.min.js +1 -0
  6. package/lib/AreaChart.d.ts +1 -0
  7. package/lib/AreaChart.js +2 -0
  8. package/lib/AreaChart.js.map +1 -0
  9. package/lib/CartesianChart.d.ts +1 -0
  10. package/lib/CartesianChart.js +2 -0
  11. package/lib/CartesianChart.js.map +1 -0
  12. package/lib/DonutChart.d.ts +1 -0
  13. package/lib/DonutChart.js +2 -0
  14. package/lib/DonutChart.js.map +1 -0
  15. package/lib/GaugeChart.d.ts +1 -0
  16. package/lib/GaugeChart.js +2 -0
  17. package/lib/GaugeChart.js.map +1 -0
  18. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  19. package/lib/GroupedVerticalBarChart.js +2 -0
  20. package/lib/GroupedVerticalBarChart.js.map +1 -0
  21. package/lib/HeatMapChart.d.ts +1 -0
  22. package/lib/HeatMapChart.js +2 -0
  23. package/lib/HeatMapChart.js.map +1 -0
  24. package/lib/HorizontalBarChart.d.ts +1 -0
  25. package/lib/HorizontalBarChart.js +2 -0
  26. package/lib/HorizontalBarChart.js.map +1 -0
  27. package/lib/HorizontalBarChartWithAxis.d.ts +1 -0
  28. package/lib/HorizontalBarChartWithAxis.js +2 -0
  29. package/lib/HorizontalBarChartWithAxis.js.map +1 -0
  30. package/lib/Legends.d.ts +1 -0
  31. package/lib/Legends.js +2 -0
  32. package/lib/Legends.js.map +1 -0
  33. package/lib/LineChart.d.ts +1 -0
  34. package/lib/LineChart.js +2 -0
  35. package/lib/LineChart.js.map +1 -0
  36. package/lib/PieChart.d.ts +1 -0
  37. package/lib/PieChart.js +2 -0
  38. package/lib/PieChart.js.map +1 -0
  39. package/lib/SankeyChart.d.ts +1 -0
  40. package/lib/SankeyChart.js +2 -0
  41. package/lib/SankeyChart.js.map +1 -0
  42. package/lib/Sparkline.d.ts +1 -0
  43. package/lib/Sparkline.js +2 -0
  44. package/lib/Sparkline.js.map +1 -0
  45. package/lib/StackedBarChart.d.ts +1 -0
  46. package/lib/StackedBarChart.js +2 -0
  47. package/lib/StackedBarChart.js.map +1 -0
  48. package/lib/Styling.d.ts +2 -0
  49. package/lib/Styling.js +8 -0
  50. package/lib/Styling.js.map +1 -0
  51. package/lib/TreeChart.d.ts +1 -0
  52. package/lib/TreeChart.js +2 -0
  53. package/lib/TreeChart.js.map +1 -0
  54. package/lib/Utilities.d.ts +2 -0
  55. package/lib/Utilities.js +20 -0
  56. package/lib/Utilities.js.map +1 -0
  57. package/lib/VerticalBarChart.d.ts +1 -0
  58. package/lib/VerticalBarChart.js +2 -0
  59. package/lib/VerticalBarChart.js.map +1 -0
  60. package/lib/VerticalStackedBarChart.d.ts +1 -0
  61. package/lib/VerticalStackedBarChart.js +2 -0
  62. package/lib/VerticalStackedBarChart.js.map +1 -0
  63. package/lib/components/AreaChart/AreaChart.base.d.ts +103 -0
  64. package/lib/components/AreaChart/AreaChart.base.js +654 -0
  65. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  66. package/lib/components/AreaChart/AreaChart.d.ts +7 -0
  67. package/lib/components/AreaChart/AreaChart.js +10 -0
  68. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  69. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  70. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  71. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  72. package/lib/components/AreaChart/AreaChart.types.d.ts +59 -0
  73. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  74. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  75. package/lib/components/AreaChart/index.d.ts +2 -0
  76. package/lib/components/AreaChart/index.js +3 -0
  77. package/lib/components/AreaChart/index.js.map +1 -0
  78. package/lib/components/CommonComponents/CartesianChart.base.d.ts +62 -0
  79. package/lib/components/CommonComponents/CartesianChart.base.js +597 -0
  80. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  81. package/lib/components/CommonComponents/CartesianChart.d.ts +7 -0
  82. package/lib/components/CommonComponents/CartesianChart.js +9 -0
  83. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  84. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  85. package/lib/components/CommonComponents/CartesianChart.styles.js +177 -0
  86. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  87. package/lib/components/CommonComponents/CartesianChart.types.d.ts +528 -0
  88. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  89. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  90. package/lib/components/CommonComponents/index.d.ts +2 -0
  91. package/lib/components/CommonComponents/index.js +3 -0
  92. package/lib/components/CommonComponents/index.js.map +1 -0
  93. package/lib/components/DonutChart/Arc/Arc.d.ts +21 -0
  94. package/lib/components/DonutChart/Arc/Arc.js +100 -0
  95. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  96. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  97. package/lib/components/DonutChart/Arc/Arc.styles.js +35 -0
  98. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  99. package/lib/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  100. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  101. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  102. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  103. package/lib/components/DonutChart/Arc/index.js +3 -0
  104. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  105. package/lib/components/DonutChart/DonutChart.base.d.ts +54 -0
  106. package/lib/components/DonutChart/DonutChart.base.js +254 -0
  107. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  108. package/lib/components/DonutChart/DonutChart.d.ts +7 -0
  109. package/lib/components/DonutChart/DonutChart.js +10 -0
  110. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  111. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  112. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  113. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  114. package/lib/components/DonutChart/DonutChart.types.d.ts +85 -0
  115. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  116. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  117. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  118. package/lib/components/DonutChart/Pie/Pie.js +75 -0
  119. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  120. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  121. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  122. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  123. package/lib/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  124. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  125. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  126. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  127. package/lib/components/DonutChart/Pie/index.js +3 -0
  128. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  129. package/lib/components/DonutChart/index.d.ts +3 -0
  130. package/lib/components/DonutChart/index.js +4 -0
  131. package/lib/components/DonutChart/index.js.map +1 -0
  132. package/lib/components/GaugeChart/GaugeChart.base.d.ts +75 -0
  133. package/lib/components/GaugeChart/GaugeChart.base.js +438 -0
  134. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -0
  135. package/lib/components/GaugeChart/GaugeChart.d.ts +7 -0
  136. package/lib/components/GaugeChart/GaugeChart.js +9 -0
  137. package/lib/components/GaugeChart/GaugeChart.js.map +1 -0
  138. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  139. package/lib/components/GaugeChart/GaugeChart.styles.js +126 -0
  140. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  141. package/lib/components/GaugeChart/GaugeChart.types.d.ts +268 -0
  142. package/lib/components/GaugeChart/GaugeChart.types.js +17 -0
  143. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -0
  144. package/lib/components/GaugeChart/index.d.ts +2 -0
  145. package/lib/components/GaugeChart/index.js +3 -0
  146. package/lib/components/GaugeChart/index.js.map +1 -0
  147. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +72 -0
  148. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +453 -0
  149. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  150. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  151. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -0
  152. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  153. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  154. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  155. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  156. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +121 -0
  157. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  158. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  159. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  160. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  161. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  162. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +152 -0
  163. package/lib/components/HeatMapChart/HeatMapChart.base.js +545 -0
  164. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  165. package/lib/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  166. package/lib/components/HeatMapChart/HeatMapChart.js +9 -0
  167. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  168. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  169. package/lib/components/HeatMapChart/HeatMapChart.styles.js +24 -0
  170. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  171. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +122 -0
  172. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  173. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  174. package/lib/components/HeatMapChart/index.d.ts +2 -0
  175. package/lib/components/HeatMapChart/index.js +3 -0
  176. package/lib/components/HeatMapChart/index.js.map +1 -0
  177. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  178. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +291 -0
  179. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  180. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  181. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +10 -0
  182. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  183. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  184. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +66 -0
  185. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  186. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  187. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +9 -0
  188. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  189. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  190. package/lib/components/HorizontalBarChart/index.js +4 -0
  191. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  192. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +61 -0
  193. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +550 -0
  194. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  195. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  196. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +10 -0
  197. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  198. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  199. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -0
  200. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  201. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  202. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +2 -0
  203. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  204. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  205. package/lib/components/HorizontalBarChartWithAxis/index.js +3 -0
  206. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  207. package/lib/components/Legends/Legends.base.d.ts +43 -0
  208. package/lib/components/Legends/Legends.base.js +310 -0
  209. package/lib/components/Legends/Legends.base.js.map +1 -0
  210. package/lib/components/Legends/Legends.d.ts +7 -0
  211. package/lib/components/Legends/Legends.js +9 -0
  212. package/lib/components/Legends/Legends.js.map +1 -0
  213. package/lib/components/Legends/Legends.styles.d.ts +2 -0
  214. package/lib/components/Legends/Legends.styles.js +107 -0
  215. package/lib/components/Legends/Legends.styles.js.map +1 -0
  216. package/lib/components/Legends/Legends.types.d.ts +210 -0
  217. package/lib/components/Legends/Legends.types.js +2 -0
  218. package/lib/components/Legends/Legends.types.js.map +1 -0
  219. package/lib/components/Legends/index.d.ts +3 -0
  220. package/lib/components/Legends/index.js +4 -0
  221. package/lib/components/Legends/index.js.map +1 -0
  222. package/lib/components/Legends/shape.d.ts +9 -0
  223. package/lib/components/Legends/shape.js +24 -0
  224. package/lib/components/Legends/shape.js.map +1 -0
  225. package/lib/components/LineChart/LineChart.base.d.ts +92 -0
  226. package/lib/components/LineChart/LineChart.base.js +858 -0
  227. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  228. package/lib/components/LineChart/LineChart.d.ts +7 -0
  229. package/lib/components/LineChart/LineChart.js +10 -0
  230. package/lib/components/LineChart/LineChart.js.map +1 -0
  231. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  232. package/lib/components/LineChart/LineChart.styles.js +7 -0
  233. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  234. package/lib/components/LineChart/LineChart.types.d.ts +98 -0
  235. package/lib/components/LineChart/LineChart.types.js +2 -0
  236. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  237. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  238. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +90 -0
  239. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  240. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  241. package/lib/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  242. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  243. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  244. package/lib/components/LineChart/eventAnnotation/Textbox.js +37 -0
  245. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  246. package/lib/components/LineChart/index.d.ts +3 -0
  247. package/lib/components/LineChart/index.js +4 -0
  248. package/lib/components/LineChart/index.js.map +1 -0
  249. package/lib/components/PieChart/Arc/Arc.d.ts +17 -0
  250. package/lib/components/PieChart/Arc/Arc.js +89 -0
  251. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  252. package/lib/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  253. package/lib/components/PieChart/Arc/Arc.styles.js +11 -0
  254. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  255. package/lib/components/PieChart/Arc/Arc.types.d.ts +73 -0
  256. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  257. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  258. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  259. package/lib/components/PieChart/Arc/index.js +3 -0
  260. package/lib/components/PieChart/Arc/index.js.map +1 -0
  261. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  262. package/lib/components/PieChart/Pie/Pie.js +45 -0
  263. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  264. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  265. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  266. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  267. package/lib/components/PieChart/Pie/Pie.types.d.ts +47 -0
  268. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  269. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  270. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  271. package/lib/components/PieChart/Pie/index.js +3 -0
  272. package/lib/components/PieChart/Pie/index.js.map +1 -0
  273. package/lib/components/PieChart/PieChart.base.d.ts +10 -0
  274. package/lib/components/PieChart/PieChart.base.js +45 -0
  275. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  276. package/lib/components/PieChart/PieChart.d.ts +7 -0
  277. package/lib/components/PieChart/PieChart.js +10 -0
  278. package/lib/components/PieChart/PieChart.js.map +1 -0
  279. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  280. package/lib/components/PieChart/PieChart.styles.js +29 -0
  281. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  282. package/lib/components/PieChart/PieChart.types.d.ts +75 -0
  283. package/lib/components/PieChart/PieChart.types.js +2 -0
  284. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  285. package/lib/components/PieChart/index.d.ts +2 -0
  286. package/lib/components/PieChart/index.js +3 -0
  287. package/lib/components/PieChart/index.js.map +1 -0
  288. package/lib/components/SankeyChart/SankeyChart.base.d.ts +90 -0
  289. package/lib/components/SankeyChart/SankeyChart.base.js +927 -0
  290. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  291. package/lib/components/SankeyChart/SankeyChart.d.ts +7 -0
  292. package/lib/components/SankeyChart/SankeyChart.js +10 -0
  293. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  294. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  295. package/lib/components/SankeyChart/SankeyChart.styles.js +61 -0
  296. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  297. package/lib/components/SankeyChart/SankeyChart.types.d.ts +146 -0
  298. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  299. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  300. package/lib/components/SankeyChart/index.d.ts +2 -0
  301. package/lib/components/SankeyChart/index.js +3 -0
  302. package/lib/components/SankeyChart/index.js.map +1 -0
  303. package/lib/components/Sparkline/Sparkline.base.d.ts +23 -0
  304. package/lib/components/Sparkline/Sparkline.base.js +86 -0
  305. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  306. package/lib/components/Sparkline/Sparkline.d.ts +7 -0
  307. package/lib/components/Sparkline/Sparkline.js +10 -0
  308. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  309. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  310. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  311. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  312. package/lib/components/Sparkline/Sparkline.types.d.ts +59 -0
  313. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  314. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  315. package/lib/components/Sparkline/index.d.ts +2 -0
  316. package/lib/components/Sparkline/index.js +3 -0
  317. package/lib/components/Sparkline/index.js.map +1 -0
  318. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  319. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +435 -0
  320. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  321. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  322. package/lib/components/StackedBarChart/MultiStackedBarChart.js +10 -0
  323. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  324. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  325. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +86 -0
  326. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  327. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  328. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +9 -0
  329. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  330. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  331. package/lib/components/StackedBarChart/StackedBarChart.base.js +364 -0
  332. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  333. package/lib/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  334. package/lib/components/StackedBarChart/StackedBarChart.js +10 -0
  335. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  336. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  337. package/lib/components/StackedBarChart/StackedBarChart.styles.js +103 -0
  338. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  339. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  340. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  341. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  342. package/lib/components/StackedBarChart/index.d.ts +5 -0
  343. package/lib/components/StackedBarChart/index.js +6 -0
  344. package/lib/components/StackedBarChart/index.js.map +1 -0
  345. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  346. package/lib/components/TreeChart/TreeChart.base.js +321 -0
  347. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  348. package/lib/components/TreeChart/TreeChart.d.ts +7 -0
  349. package/lib/components/TreeChart/TreeChart.js +9 -0
  350. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  351. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  352. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  353. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  354. package/lib/components/TreeChart/TreeChart.types.d.ts +216 -0
  355. package/lib/components/TreeChart/TreeChart.types.js +29 -0
  356. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  357. package/lib/components/TreeChart/index.d.ts +2 -0
  358. package/lib/components/TreeChart/index.js +3 -0
  359. package/lib/components/TreeChart/index.js.map +1 -0
  360. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +84 -0
  361. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +795 -0
  362. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  363. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  364. package/lib/components/VerticalBarChart/VerticalBarChart.js +10 -0
  365. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  366. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  367. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  368. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  369. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +155 -0
  370. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  371. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  372. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  373. package/lib/components/VerticalBarChart/index.js +3 -0
  374. package/lib/components/VerticalBarChart/index.js.map +1 -0
  375. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +92 -0
  376. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +775 -0
  377. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  378. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  379. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +10 -0
  380. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  381. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  382. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  383. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  384. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +182 -0
  385. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  386. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  387. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  388. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  389. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  390. package/lib/index.d.ts +40 -0
  391. package/lib/index.js +22 -0
  392. package/lib/index.js.map +1 -0
  393. package/lib/types/IDataPoint.d.ts +712 -0
  394. package/lib/types/IDataPoint.js +2 -0
  395. package/lib/types/IDataPoint.js.map +1 -0
  396. package/lib/types/IEventAnnotation.d.ts +6 -0
  397. package/lib/types/IEventAnnotation.js +2 -0
  398. package/lib/types/IEventAnnotation.js.map +1 -0
  399. package/lib/types/ILegendDataItem.d.ts +10 -0
  400. package/lib/types/ILegendDataItem.js +2 -0
  401. package/lib/types/ILegendDataItem.js.map +1 -0
  402. package/lib/types/index.d.ts +2 -0
  403. package/lib/types/index.js +3 -0
  404. package/lib/types/index.js.map +1 -0
  405. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  406. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  407. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  408. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  409. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  410. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  411. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  412. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +98 -0
  413. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  414. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  415. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  416. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  417. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  418. package/lib/utilities/ChartHoverCard/index.js +4 -0
  419. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  420. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  421. package/lib/utilities/FocusableTooltipText.js +54 -0
  422. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  423. package/lib/utilities/SVGTooltipText.d.ts +95 -0
  424. package/lib/utilities/SVGTooltipText.js +173 -0
  425. package/lib/utilities/SVGTooltipText.js.map +1 -0
  426. package/lib/utilities/colors.d.ts +51 -0
  427. package/lib/utilities/colors.js +132 -0
  428. package/lib/utilities/colors.js.map +1 -0
  429. package/lib/utilities/gradients.d.ts +30 -0
  430. package/lib/utilities/gradients.js +173 -0
  431. package/lib/utilities/gradients.js.map +1 -0
  432. package/lib/utilities/index.d.ts +5 -0
  433. package/lib/utilities/index.js +6 -0
  434. package/lib/utilities/index.js.map +1 -0
  435. package/lib/utilities/locale-util.d.ts +3 -0
  436. package/lib/utilities/locale-util.js +18 -0
  437. package/lib/utilities/locale-util.js.map +1 -0
  438. package/lib/utilities/test-data.d.ts +27 -0
  439. package/lib/utilities/test-data.js +210 -0
  440. package/lib/utilities/test-data.js.map +1 -0
  441. package/lib/utilities/utilities.d.ts +411 -0
  442. package/lib/utilities/utilities.js +1052 -0
  443. package/lib/utilities/utilities.js.map +1 -0
  444. package/lib/utilities/vbc-utils.d.ts +2 -0
  445. package/lib/utilities/vbc-utils.js +31 -0
  446. package/lib/utilities/vbc-utils.js.map +1 -0
  447. package/lib/version.d.ts +1 -0
  448. package/lib/version.js +5 -0
  449. package/lib/version.js.map +1 -0
  450. package/lib-amd/AreaChart.d.ts +1 -0
  451. package/lib-amd/AreaChart.js +6 -0
  452. package/lib-amd/AreaChart.js.map +1 -0
  453. package/lib-amd/CartesianChart.d.ts +1 -0
  454. package/lib-amd/CartesianChart.js +6 -0
  455. package/lib-amd/CartesianChart.js.map +1 -0
  456. package/lib-amd/DonutChart.d.ts +1 -0
  457. package/lib-amd/DonutChart.js +6 -0
  458. package/lib-amd/DonutChart.js.map +1 -0
  459. package/lib-amd/GaugeChart.d.ts +1 -0
  460. package/lib-amd/GaugeChart.js +6 -0
  461. package/lib-amd/GaugeChart.js.map +1 -0
  462. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  463. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  464. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  465. package/lib-amd/HeatMapChart.d.ts +1 -0
  466. package/lib-amd/HeatMapChart.js +6 -0
  467. package/lib-amd/HeatMapChart.js.map +1 -0
  468. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  469. package/lib-amd/HorizontalBarChart.js +6 -0
  470. package/lib-amd/HorizontalBarChart.js.map +1 -0
  471. package/lib-amd/HorizontalBarChartWithAxis.d.ts +1 -0
  472. package/lib-amd/HorizontalBarChartWithAxis.js +6 -0
  473. package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -0
  474. package/lib-amd/Legends.d.ts +1 -0
  475. package/lib-amd/Legends.js +6 -0
  476. package/lib-amd/Legends.js.map +1 -0
  477. package/lib-amd/LineChart.d.ts +1 -0
  478. package/lib-amd/LineChart.js +6 -0
  479. package/lib-amd/LineChart.js.map +1 -0
  480. package/lib-amd/PieChart.d.ts +1 -0
  481. package/lib-amd/PieChart.js +6 -0
  482. package/lib-amd/PieChart.js.map +1 -0
  483. package/lib-amd/SankeyChart.d.ts +1 -0
  484. package/lib-amd/SankeyChart.js +6 -0
  485. package/lib-amd/SankeyChart.js.map +1 -0
  486. package/lib-amd/Sparkline.d.ts +1 -0
  487. package/lib-amd/Sparkline.js +6 -0
  488. package/lib-amd/Sparkline.js.map +1 -0
  489. package/lib-amd/StackedBarChart.d.ts +1 -0
  490. package/lib-amd/StackedBarChart.js +6 -0
  491. package/lib-amd/StackedBarChart.js.map +1 -0
  492. package/lib-amd/Styling.d.ts +2 -0
  493. package/lib-amd/Styling.js +75 -0
  494. package/lib-amd/Styling.js.map +1 -0
  495. package/lib-amd/TreeChart.d.ts +1 -0
  496. package/lib-amd/TreeChart.js +6 -0
  497. package/lib-amd/TreeChart.js.map +1 -0
  498. package/lib-amd/Utilities.d.ts +2 -0
  499. package/lib-amd/Utilities.js +183 -0
  500. package/lib-amd/Utilities.js.map +1 -0
  501. package/lib-amd/VerticalBarChart.d.ts +1 -0
  502. package/lib-amd/VerticalBarChart.js +6 -0
  503. package/lib-amd/VerticalBarChart.js.map +1 -0
  504. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  505. package/lib-amd/VerticalStackedBarChart.js +6 -0
  506. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  507. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +103 -0
  508. package/lib-amd/components/AreaChart/AreaChart.base.js +647 -0
  509. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  510. package/lib-amd/components/AreaChart/AreaChart.d.ts +7 -0
  511. package/lib-amd/components/AreaChart/AreaChart.js +12 -0
  512. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  513. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  514. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  515. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  516. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +59 -0
  517. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  518. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  519. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  520. package/lib-amd/components/AreaChart/index.js +7 -0
  521. package/lib-amd/components/AreaChart/index.js.map +1 -0
  522. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +62 -0
  523. package/lib-amd/components/CommonComponents/CartesianChart.base.js +592 -0
  524. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  525. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +7 -0
  526. package/lib-amd/components/CommonComponents/CartesianChart.js +11 -0
  527. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  528. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  529. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +180 -0
  530. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  531. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +528 -0
  532. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  533. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  534. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  535. package/lib-amd/components/CommonComponents/index.js +7 -0
  536. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  537. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +21 -0
  538. package/lib-amd/components/DonutChart/Arc/Arc.js +98 -0
  539. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  540. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  541. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +40 -0
  542. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  543. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  544. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  545. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  546. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  547. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  548. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  549. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +54 -0
  550. package/lib-amd/components/DonutChart/DonutChart.base.js +250 -0
  551. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  552. package/lib-amd/components/DonutChart/DonutChart.d.ts +7 -0
  553. package/lib-amd/components/DonutChart/DonutChart.js +12 -0
  554. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  555. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  556. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  557. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  558. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +85 -0
  559. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  560. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  561. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  562. package/lib-amd/components/DonutChart/Pie/Pie.js +73 -0
  563. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  564. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  565. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  566. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  567. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  568. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  569. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  570. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  571. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  572. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  573. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  574. package/lib-amd/components/DonutChart/index.js +8 -0
  575. package/lib-amd/components/DonutChart/index.js.map +1 -0
  576. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +75 -0
  577. package/lib-amd/components/GaugeChart/GaugeChart.base.js +434 -0
  578. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -0
  579. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +7 -0
  580. package/lib-amd/components/GaugeChart/GaugeChart.js +11 -0
  581. package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -0
  582. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  583. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +130 -0
  584. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  585. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +268 -0
  586. package/lib-amd/components/GaugeChart/GaugeChart.types.js +22 -0
  587. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -0
  588. package/lib-amd/components/GaugeChart/index.d.ts +2 -0
  589. package/lib-amd/components/GaugeChart/index.js +7 -0
  590. package/lib-amd/components/GaugeChart/index.js.map +1 -0
  591. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +72 -0
  592. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +448 -0
  593. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  594. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  595. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +12 -0
  596. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  597. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  598. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  599. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  600. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +121 -0
  601. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  602. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  603. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  604. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  605. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  606. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +152 -0
  607. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +538 -0
  608. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  609. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  610. package/lib-amd/components/HeatMapChart/HeatMapChart.js +11 -0
  611. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  612. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  613. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +29 -0
  614. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  615. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +122 -0
  616. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  617. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  618. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  619. package/lib-amd/components/HeatMapChart/index.js +7 -0
  620. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  621. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  622. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +287 -0
  623. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  624. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  625. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +12 -0
  626. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  627. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  628. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  629. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  630. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  631. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +14 -0
  632. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  633. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  634. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  635. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  636. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +61 -0
  637. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +544 -0
  638. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  639. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  640. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +12 -0
  641. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  642. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  643. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +17 -0
  644. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  645. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  646. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +5 -0
  647. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  648. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  649. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +7 -0
  650. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  651. package/lib-amd/components/Legends/Legends.base.d.ts +43 -0
  652. package/lib-amd/components/Legends/Legends.base.js +307 -0
  653. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  654. package/lib-amd/components/Legends/Legends.d.ts +7 -0
  655. package/lib-amd/components/Legends/Legends.js +11 -0
  656. package/lib-amd/components/Legends/Legends.js.map +1 -0
  657. package/lib-amd/components/Legends/Legends.styles.d.ts +2 -0
  658. package/lib-amd/components/Legends/Legends.styles.js +111 -0
  659. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  660. package/lib-amd/components/Legends/Legends.types.d.ts +210 -0
  661. package/lib-amd/components/Legends/Legends.types.js +5 -0
  662. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  663. package/lib-amd/components/Legends/index.d.ts +3 -0
  664. package/lib-amd/components/Legends/index.js +8 -0
  665. package/lib-amd/components/Legends/index.js.map +1 -0
  666. package/lib-amd/components/Legends/shape.d.ts +9 -0
  667. package/lib-amd/components/Legends/shape.js +27 -0
  668. package/lib-amd/components/Legends/shape.js.map +1 -0
  669. package/lib-amd/components/LineChart/LineChart.base.d.ts +92 -0
  670. package/lib-amd/components/LineChart/LineChart.base.js +852 -0
  671. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  672. package/lib-amd/components/LineChart/LineChart.d.ts +7 -0
  673. package/lib-amd/components/LineChart/LineChart.js +12 -0
  674. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  675. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  676. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  677. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  678. package/lib-amd/components/LineChart/LineChart.types.d.ts +98 -0
  679. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  680. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  681. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  682. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +91 -0
  683. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  684. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  685. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +42 -0
  686. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  687. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  688. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  689. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  690. package/lib-amd/components/LineChart/index.d.ts +3 -0
  691. package/lib-amd/components/LineChart/index.js +8 -0
  692. package/lib-amd/components/LineChart/index.js.map +1 -0
  693. package/lib-amd/components/PieChart/Arc/Arc.d.ts +17 -0
  694. package/lib-amd/components/PieChart/Arc/Arc.js +86 -0
  695. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  696. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  697. package/lib-amd/components/PieChart/Arc/Arc.styles.js +16 -0
  698. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  699. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +73 -0
  700. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  701. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  702. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  703. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  704. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  705. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  706. package/lib-amd/components/PieChart/Pie/Pie.js +43 -0
  707. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  708. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  709. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  710. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  711. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +47 -0
  712. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  713. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  714. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  715. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  716. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  717. package/lib-amd/components/PieChart/PieChart.base.d.ts +10 -0
  718. package/lib-amd/components/PieChart/PieChart.base.js +46 -0
  719. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  720. package/lib-amd/components/PieChart/PieChart.d.ts +7 -0
  721. package/lib-amd/components/PieChart/PieChart.js +12 -0
  722. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  723. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  724. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  725. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  726. package/lib-amd/components/PieChart/PieChart.types.d.ts +75 -0
  727. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  728. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  729. package/lib-amd/components/PieChart/index.d.ts +2 -0
  730. package/lib-amd/components/PieChart/index.js +7 -0
  731. package/lib-amd/components/PieChart/index.js.map +1 -0
  732. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +90 -0
  733. package/lib-amd/components/SankeyChart/SankeyChart.base.js +925 -0
  734. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  735. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +7 -0
  736. package/lib-amd/components/SankeyChart/SankeyChart.js +12 -0
  737. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  738. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  739. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +65 -0
  740. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  741. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +146 -0
  742. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  743. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  744. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  745. package/lib-amd/components/SankeyChart/index.js +7 -0
  746. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  747. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +23 -0
  748. package/lib-amd/components/Sparkline/Sparkline.base.js +84 -0
  749. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  750. package/lib-amd/components/Sparkline/Sparkline.d.ts +7 -0
  751. package/lib-amd/components/Sparkline/Sparkline.js +12 -0
  752. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  753. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  754. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  755. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  756. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +59 -0
  757. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  758. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  759. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  760. package/lib-amd/components/Sparkline/index.js +7 -0
  761. package/lib-amd/components/Sparkline/index.js.map +1 -0
  762. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  763. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +430 -0
  764. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  765. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  766. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +12 -0
  767. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  768. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  769. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +89 -0
  770. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  771. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  772. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +14 -0
  773. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  774. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  775. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +360 -0
  776. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  777. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  778. package/lib-amd/components/StackedBarChart/StackedBarChart.js +12 -0
  779. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  780. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  781. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  782. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  783. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  784. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  785. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  786. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  787. package/lib-amd/components/StackedBarChart/index.js +10 -0
  788. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  789. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  790. package/lib-amd/components/TreeChart/TreeChart.base.js +319 -0
  791. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  792. package/lib-amd/components/TreeChart/TreeChart.d.ts +7 -0
  793. package/lib-amd/components/TreeChart/TreeChart.js +11 -0
  794. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  795. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  796. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  797. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  798. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +216 -0
  799. package/lib-amd/components/TreeChart/TreeChart.types.js +34 -0
  800. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  801. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  802. package/lib-amd/components/TreeChart/index.js +7 -0
  803. package/lib-amd/components/TreeChart/index.js.map +1 -0
  804. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +84 -0
  805. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +789 -0
  806. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  807. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  808. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +12 -0
  809. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  810. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  811. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  812. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  813. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +155 -0
  814. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  815. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  816. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  817. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  818. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  819. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +92 -0
  820. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +769 -0
  821. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  822. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  823. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +12 -0
  824. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  825. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  826. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  827. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  828. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +182 -0
  829. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  830. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  831. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  832. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  833. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  834. package/lib-amd/index.d.ts +40 -0
  835. package/lib-amd/index.js +40 -0
  836. package/lib-amd/index.js.map +1 -0
  837. package/lib-amd/types/IDataPoint.d.ts +712 -0
  838. package/lib-amd/types/IDataPoint.js +5 -0
  839. package/lib-amd/types/IDataPoint.js.map +1 -0
  840. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  841. package/lib-amd/types/IEventAnnotation.js +5 -0
  842. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  843. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  844. package/lib-amd/types/ILegendDataItem.js +5 -0
  845. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  846. package/lib-amd/types/index.d.ts +2 -0
  847. package/lib-amd/types/index.js +7 -0
  848. package/lib-amd/types/index.js.map +1 -0
  849. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  850. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  851. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  852. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  853. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  854. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  855. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  856. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +103 -0
  857. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  858. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  859. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  860. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  861. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  862. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  863. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  864. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  865. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  866. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  867. package/lib-amd/utilities/SVGTooltipText.d.ts +95 -0
  868. package/lib-amd/utilities/SVGTooltipText.js +174 -0
  869. package/lib-amd/utilities/SVGTooltipText.js.map +1 -0
  870. package/lib-amd/utilities/colors.d.ts +51 -0
  871. package/lib-amd/utilities/colors.js +139 -0
  872. package/lib-amd/utilities/colors.js.map +1 -0
  873. package/lib-amd/utilities/gradients.d.ts +30 -0
  874. package/lib-amd/utilities/gradients.js +180 -0
  875. package/lib-amd/utilities/gradients.js.map +1 -0
  876. package/lib-amd/utilities/index.d.ts +5 -0
  877. package/lib-amd/utilities/index.js +10 -0
  878. package/lib-amd/utilities/index.js.map +1 -0
  879. package/lib-amd/utilities/locale-util.d.ts +3 -0
  880. package/lib-amd/utilities/locale-util.js +24 -0
  881. package/lib-amd/utilities/locale-util.js.map +1 -0
  882. package/lib-amd/utilities/test-data.d.ts +27 -0
  883. package/lib-amd/utilities/test-data.js +214 -0
  884. package/lib-amd/utilities/test-data.js.map +1 -0
  885. package/lib-amd/utilities/utilities.d.ts +411 -0
  886. package/lib-amd/utilities/utilities.js +1085 -0
  887. package/lib-amd/utilities/utilities.js.map +1 -0
  888. package/lib-amd/utilities/vbc-utils.d.ts +2 -0
  889. package/lib-amd/utilities/vbc-utils.js +38 -0
  890. package/lib-amd/utilities/vbc-utils.js.map +1 -0
  891. package/lib-amd/version.d.ts +1 -0
  892. package/lib-amd/version.js +6 -0
  893. package/lib-amd/version.js.map +1 -0
  894. package/lib-commonjs/AreaChart.d.ts +1 -0
  895. package/lib-commonjs/AreaChart.js +5 -0
  896. package/lib-commonjs/AreaChart.js.map +1 -0
  897. package/lib-commonjs/CartesianChart.d.ts +1 -0
  898. package/lib-commonjs/CartesianChart.js +5 -0
  899. package/lib-commonjs/CartesianChart.js.map +1 -0
  900. package/lib-commonjs/DonutChart.d.ts +1 -0
  901. package/lib-commonjs/DonutChart.js +5 -0
  902. package/lib-commonjs/DonutChart.js.map +1 -0
  903. package/lib-commonjs/GaugeChart.d.ts +1 -0
  904. package/lib-commonjs/GaugeChart.js +5 -0
  905. package/lib-commonjs/GaugeChart.js.map +1 -0
  906. package/lib-commonjs/GroupedVerticalBarChart.d.ts +1 -0
  907. package/lib-commonjs/GroupedVerticalBarChart.js +5 -0
  908. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -0
  909. package/lib-commonjs/HeatMapChart.d.ts +1 -0
  910. package/lib-commonjs/HeatMapChart.js +5 -0
  911. package/lib-commonjs/HeatMapChart.js.map +1 -0
  912. package/lib-commonjs/HorizontalBarChart.d.ts +1 -0
  913. package/lib-commonjs/HorizontalBarChart.js +5 -0
  914. package/lib-commonjs/HorizontalBarChart.js.map +1 -0
  915. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +1 -0
  916. package/lib-commonjs/HorizontalBarChartWithAxis.js +5 -0
  917. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -0
  918. package/lib-commonjs/Legends.d.ts +1 -0
  919. package/lib-commonjs/Legends.js +5 -0
  920. package/lib-commonjs/Legends.js.map +1 -0
  921. package/lib-commonjs/LineChart.d.ts +1 -0
  922. package/lib-commonjs/LineChart.js +5 -0
  923. package/lib-commonjs/LineChart.js.map +1 -0
  924. package/lib-commonjs/PieChart.d.ts +1 -0
  925. package/lib-commonjs/PieChart.js +5 -0
  926. package/lib-commonjs/PieChart.js.map +1 -0
  927. package/lib-commonjs/SankeyChart.d.ts +1 -0
  928. package/lib-commonjs/SankeyChart.js +5 -0
  929. package/lib-commonjs/SankeyChart.js.map +1 -0
  930. package/lib-commonjs/Sparkline.d.ts +1 -0
  931. package/lib-commonjs/Sparkline.js +5 -0
  932. package/lib-commonjs/Sparkline.js.map +1 -0
  933. package/lib-commonjs/StackedBarChart.d.ts +1 -0
  934. package/lib-commonjs/StackedBarChart.js +5 -0
  935. package/lib-commonjs/StackedBarChart.js.map +1 -0
  936. package/lib-commonjs/Styling.d.ts +2 -0
  937. package/lib-commonjs/Styling.js +75 -0
  938. package/lib-commonjs/Styling.js.map +1 -0
  939. package/lib-commonjs/TreeChart.d.ts +1 -0
  940. package/lib-commonjs/TreeChart.js +5 -0
  941. package/lib-commonjs/TreeChart.js.map +1 -0
  942. package/lib-commonjs/Utilities.d.ts +2 -0
  943. package/lib-commonjs/Utilities.js +185 -0
  944. package/lib-commonjs/Utilities.js.map +1 -0
  945. package/lib-commonjs/VerticalBarChart.d.ts +1 -0
  946. package/lib-commonjs/VerticalBarChart.js +5 -0
  947. package/lib-commonjs/VerticalBarChart.js.map +1 -0
  948. package/lib-commonjs/VerticalStackedBarChart.d.ts +1 -0
  949. package/lib-commonjs/VerticalStackedBarChart.js +5 -0
  950. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -0
  951. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +103 -0
  952. package/lib-commonjs/components/AreaChart/AreaChart.base.js +657 -0
  953. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -0
  954. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +7 -0
  955. package/lib-commonjs/components/AreaChart/AreaChart.js +13 -0
  956. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -0
  957. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +2 -0
  958. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +11 -0
  959. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -0
  960. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +59 -0
  961. package/lib-commonjs/components/AreaChart/AreaChart.types.js +3 -0
  962. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -0
  963. package/lib-commonjs/components/AreaChart/index.d.ts +2 -0
  964. package/lib-commonjs/components/AreaChart/index.js +6 -0
  965. package/lib-commonjs/components/AreaChart/index.js.map +1 -0
  966. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +62 -0
  967. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +600 -0
  968. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -0
  969. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +7 -0
  970. package/lib-commonjs/components/CommonComponents/CartesianChart.js +12 -0
  971. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
  972. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  973. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +181 -0
  974. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  975. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +528 -0
  976. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +3 -0
  977. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
  978. package/lib-commonjs/components/CommonComponents/index.d.ts +2 -0
  979. package/lib-commonjs/components/CommonComponents/index.js +6 -0
  980. package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
  981. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +21 -0
  982. package/lib-commonjs/components/DonutChart/Arc/Arc.js +103 -0
  983. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
  984. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  985. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +39 -0
  986. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  987. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  988. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +3 -0
  989. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
  990. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +2 -0
  991. package/lib-commonjs/components/DonutChart/Arc/index.js +6 -0
  992. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
  993. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +54 -0
  994. package/lib-commonjs/components/DonutChart/DonutChart.base.js +257 -0
  995. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -0
  996. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +7 -0
  997. package/lib-commonjs/components/DonutChart/DonutChart.js +13 -0
  998. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
  999. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +2 -0
  1000. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +34 -0
  1001. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -0
  1002. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +85 -0
  1003. package/lib-commonjs/components/DonutChart/DonutChart.types.js +3 -0
  1004. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
  1005. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +15 -0
  1006. package/lib-commonjs/components/DonutChart/Pie/Pie.js +78 -0
  1007. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
  1008. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  1009. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +23 -0
  1010. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  1011. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  1012. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +3 -0
  1013. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
  1014. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +2 -0
  1015. package/lib-commonjs/components/DonutChart/Pie/index.js +6 -0
  1016. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
  1017. package/lib-commonjs/components/DonutChart/index.d.ts +3 -0
  1018. package/lib-commonjs/components/DonutChart/index.js +7 -0
  1019. package/lib-commonjs/components/DonutChart/index.js.map +1 -0
  1020. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +75 -0
  1021. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +444 -0
  1022. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -0
  1023. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +7 -0
  1024. package/lib-commonjs/components/GaugeChart/GaugeChart.js +12 -0
  1025. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -0
  1026. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  1027. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +130 -0
  1028. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  1029. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +268 -0
  1030. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +20 -0
  1031. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -0
  1032. package/lib-commonjs/components/GaugeChart/index.d.ts +2 -0
  1033. package/lib-commonjs/components/GaugeChart/index.js +6 -0
  1034. package/lib-commonjs/components/GaugeChart/index.js.map +1 -0
  1035. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +72 -0
  1036. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +456 -0
  1037. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  1038. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  1039. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +13 -0
  1040. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  1041. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  1042. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  1043. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  1044. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +121 -0
  1045. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +3 -0
  1046. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  1047. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +2 -0
  1048. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +6 -0
  1049. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -0
  1050. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +152 -0
  1051. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +548 -0
  1052. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  1053. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  1054. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +12 -0
  1055. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -0
  1056. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  1057. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +28 -0
  1058. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  1059. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +122 -0
  1060. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +3 -0
  1061. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  1062. package/lib-commonjs/components/HeatMapChart/index.d.ts +2 -0
  1063. package/lib-commonjs/components/HeatMapChart/index.js +6 -0
  1064. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -0
  1065. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  1066. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +294 -0
  1067. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  1068. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  1069. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +13 -0
  1070. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  1071. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  1072. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +70 -0
  1073. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  1074. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  1075. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +12 -0
  1076. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  1077. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +3 -0
  1078. package/lib-commonjs/components/HorizontalBarChart/index.js +7 -0
  1079. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
  1080. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +61 -0
  1081. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +553 -0
  1082. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  1083. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  1084. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +13 -0
  1085. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  1086. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  1087. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +16 -0
  1088. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  1089. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  1090. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +3 -0
  1091. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  1092. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  1093. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +6 -0
  1094. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  1095. package/lib-commonjs/components/Legends/Legends.base.d.ts +43 -0
  1096. package/lib-commonjs/components/Legends/Legends.base.js +313 -0
  1097. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -0
  1098. package/lib-commonjs/components/Legends/Legends.d.ts +7 -0
  1099. package/lib-commonjs/components/Legends/Legends.js +12 -0
  1100. package/lib-commonjs/components/Legends/Legends.js.map +1 -0
  1101. package/lib-commonjs/components/Legends/Legends.styles.d.ts +2 -0
  1102. package/lib-commonjs/components/Legends/Legends.styles.js +111 -0
  1103. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -0
  1104. package/lib-commonjs/components/Legends/Legends.types.d.ts +210 -0
  1105. package/lib-commonjs/components/Legends/Legends.types.js +3 -0
  1106. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
  1107. package/lib-commonjs/components/Legends/index.d.ts +3 -0
  1108. package/lib-commonjs/components/Legends/index.js +7 -0
  1109. package/lib-commonjs/components/Legends/index.js.map +1 -0
  1110. package/lib-commonjs/components/Legends/shape.d.ts +9 -0
  1111. package/lib-commonjs/components/Legends/shape.js +28 -0
  1112. package/lib-commonjs/components/Legends/shape.js.map +1 -0
  1113. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +92 -0
  1114. package/lib-commonjs/components/LineChart/LineChart.base.js +861 -0
  1115. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -0
  1116. package/lib-commonjs/components/LineChart/LineChart.d.ts +7 -0
  1117. package/lib-commonjs/components/LineChart/LineChart.js +13 -0
  1118. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
  1119. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +2 -0
  1120. package/lib-commonjs/components/LineChart/LineChart.styles.js +11 -0
  1121. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -0
  1122. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +98 -0
  1123. package/lib-commonjs/components/LineChart/LineChart.types.js +3 -0
  1124. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
  1125. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  1126. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +94 -0
  1127. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  1128. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  1129. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +44 -0
  1130. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  1131. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  1132. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +41 -0
  1133. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  1134. package/lib-commonjs/components/LineChart/index.d.ts +3 -0
  1135. package/lib-commonjs/components/LineChart/index.js +7 -0
  1136. package/lib-commonjs/components/LineChart/index.js.map +1 -0
  1137. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +17 -0
  1138. package/lib-commonjs/components/PieChart/Arc/Arc.js +92 -0
  1139. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -0
  1140. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  1141. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +15 -0
  1142. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -0
  1143. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +73 -0
  1144. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +3 -0
  1145. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -0
  1146. package/lib-commonjs/components/PieChart/Arc/index.d.ts +2 -0
  1147. package/lib-commonjs/components/PieChart/Arc/index.js +6 -0
  1148. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -0
  1149. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +10 -0
  1150. package/lib-commonjs/components/PieChart/Pie/Pie.js +48 -0
  1151. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -0
  1152. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  1153. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +10 -0
  1154. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -0
  1155. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +47 -0
  1156. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +3 -0
  1157. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -0
  1158. package/lib-commonjs/components/PieChart/Pie/index.d.ts +2 -0
  1159. package/lib-commonjs/components/PieChart/Pie/index.js +6 -0
  1160. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -0
  1161. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +10 -0
  1162. package/lib-commonjs/components/PieChart/PieChart.base.js +48 -0
  1163. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -0
  1164. package/lib-commonjs/components/PieChart/PieChart.d.ts +7 -0
  1165. package/lib-commonjs/components/PieChart/PieChart.js +13 -0
  1166. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -0
  1167. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +2 -0
  1168. package/lib-commonjs/components/PieChart/PieChart.styles.js +33 -0
  1169. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -0
  1170. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +75 -0
  1171. package/lib-commonjs/components/PieChart/PieChart.types.js +3 -0
  1172. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -0
  1173. package/lib-commonjs/components/PieChart/index.d.ts +2 -0
  1174. package/lib-commonjs/components/PieChart/index.js +6 -0
  1175. package/lib-commonjs/components/PieChart/index.js.map +1 -0
  1176. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +90 -0
  1177. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +933 -0
  1178. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -0
  1179. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +7 -0
  1180. package/lib-commonjs/components/SankeyChart/SankeyChart.js +13 -0
  1181. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
  1182. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  1183. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +65 -0
  1184. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  1185. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +146 -0
  1186. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +3 -0
  1187. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -0
  1188. package/lib-commonjs/components/SankeyChart/index.d.ts +2 -0
  1189. package/lib-commonjs/components/SankeyChart/index.js +6 -0
  1190. package/lib-commonjs/components/SankeyChart/index.js.map +1 -0
  1191. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +23 -0
  1192. package/lib-commonjs/components/Sparkline/Sparkline.base.js +89 -0
  1193. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -0
  1194. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +7 -0
  1195. package/lib-commonjs/components/Sparkline/Sparkline.js +13 -0
  1196. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
  1197. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +2 -0
  1198. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +14 -0
  1199. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -0
  1200. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +59 -0
  1201. package/lib-commonjs/components/Sparkline/Sparkline.types.js +3 -0
  1202. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
  1203. package/lib-commonjs/components/Sparkline/index.d.ts +2 -0
  1204. package/lib-commonjs/components/Sparkline/index.js +6 -0
  1205. package/lib-commonjs/components/Sparkline/index.js.map +1 -0
  1206. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  1207. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +438 -0
  1208. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  1209. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  1210. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +13 -0
  1211. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  1212. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  1213. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  1214. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  1215. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  1216. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +12 -0
  1217. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  1218. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  1219. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +367 -0
  1220. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  1221. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  1222. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +13 -0
  1223. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -0
  1224. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  1225. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  1226. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  1227. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  1228. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +3 -0
  1229. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  1230. package/lib-commonjs/components/StackedBarChart/index.d.ts +5 -0
  1231. package/lib-commonjs/components/StackedBarChart/index.js +9 -0
  1232. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -0
  1233. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +18 -0
  1234. package/lib-commonjs/components/TreeChart/TreeChart.base.js +324 -0
  1235. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -0
  1236. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +7 -0
  1237. package/lib-commonjs/components/TreeChart/TreeChart.js +12 -0
  1238. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -0
  1239. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +2 -0
  1240. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +33 -0
  1241. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -0
  1242. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +216 -0
  1243. package/lib-commonjs/components/TreeChart/TreeChart.types.js +32 -0
  1244. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -0
  1245. package/lib-commonjs/components/TreeChart/index.d.ts +2 -0
  1246. package/lib-commonjs/components/TreeChart/index.js +6 -0
  1247. package/lib-commonjs/components/TreeChart/index.js.map +1 -0
  1248. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +84 -0
  1249. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +798 -0
  1250. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  1251. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  1252. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +13 -0
  1253. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  1254. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  1255. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  1256. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  1257. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +155 -0
  1258. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +3 -0
  1259. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  1260. package/lib-commonjs/components/VerticalBarChart/index.d.ts +2 -0
  1261. package/lib-commonjs/components/VerticalBarChart/index.js +6 -0
  1262. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
  1263. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +92 -0
  1264. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +778 -0
  1265. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  1266. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  1267. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +13 -0
  1268. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  1269. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  1270. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  1271. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  1272. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +182 -0
  1273. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +3 -0
  1274. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  1275. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +2 -0
  1276. package/lib-commonjs/components/VerticalStackedBarChart/index.js +6 -0
  1277. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -0
  1278. package/lib-commonjs/index.d.ts +40 -0
  1279. package/lib-commonjs/index.js +59 -0
  1280. package/lib-commonjs/index.js.map +1 -0
  1281. package/lib-commonjs/types/IDataPoint.d.ts +712 -0
  1282. package/lib-commonjs/types/IDataPoint.js +3 -0
  1283. package/lib-commonjs/types/IDataPoint.js.map +1 -0
  1284. package/lib-commonjs/types/IEventAnnotation.d.ts +6 -0
  1285. package/lib-commonjs/types/IEventAnnotation.js +3 -0
  1286. package/lib-commonjs/types/IEventAnnotation.js.map +1 -0
  1287. package/lib-commonjs/types/ILegendDataItem.d.ts +10 -0
  1288. package/lib-commonjs/types/ILegendDataItem.js +3 -0
  1289. package/lib-commonjs/types/ILegendDataItem.js.map +1 -0
  1290. package/lib-commonjs/types/index.d.ts +2 -0
  1291. package/lib-commonjs/types/index.js +6 -0
  1292. package/lib-commonjs/types/index.js.map +1 -0
  1293. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  1294. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +41 -0
  1295. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  1296. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  1297. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +9 -0
  1298. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  1299. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  1300. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +102 -0
  1301. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  1302. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  1303. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +3 -0
  1304. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  1305. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +3 -0
  1306. package/lib-commonjs/utilities/ChartHoverCard/index.js +7 -0
  1307. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -0
  1308. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
  1309. package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
  1310. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
  1311. package/lib-commonjs/utilities/SVGTooltipText.d.ts +95 -0
  1312. package/lib-commonjs/utilities/SVGTooltipText.js +176 -0
  1313. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -0
  1314. package/lib-commonjs/utilities/colors.d.ts +51 -0
  1315. package/lib-commonjs/utilities/colors.js +137 -0
  1316. package/lib-commonjs/utilities/colors.js.map +1 -0
  1317. package/lib-commonjs/utilities/gradients.d.ts +30 -0
  1318. package/lib-commonjs/utilities/gradients.js +178 -0
  1319. package/lib-commonjs/utilities/gradients.js.map +1 -0
  1320. package/lib-commonjs/utilities/index.d.ts +5 -0
  1321. package/lib-commonjs/utilities/index.js +9 -0
  1322. package/lib-commonjs/utilities/index.js.map +1 -0
  1323. package/lib-commonjs/utilities/locale-util.d.ts +3 -0
  1324. package/lib-commonjs/utilities/locale-util.js +22 -0
  1325. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  1326. package/lib-commonjs/utilities/test-data.d.ts +27 -0
  1327. package/lib-commonjs/utilities/test-data.js +213 -0
  1328. package/lib-commonjs/utilities/test-data.js.map +1 -0
  1329. package/lib-commonjs/utilities/utilities.d.ts +411 -0
  1330. package/lib-commonjs/utilities/utilities.js +1092 -0
  1331. package/lib-commonjs/utilities/utilities.js.map +1 -0
  1332. package/lib-commonjs/utilities/vbc-utils.d.ts +2 -0
  1333. package/lib-commonjs/utilities/vbc-utils.js +36 -0
  1334. package/lib-commonjs/utilities/vbc-utils.js.map +1 -0
  1335. package/lib-commonjs/version.d.ts +1 -0
  1336. package/lib-commonjs/version.js +7 -0
  1337. package/lib-commonjs/version.js.map +1 -0
  1338. package/package.json +3 -3
@@ -0,0 +1,795 @@
1
+ import { __assign, __extends } from "tslib";
2
+ import * as React from 'react';
3
+ import { max as d3Max, min as d3Min } from 'd3-array';
4
+ import { line as d3Line } from 'd3-shape';
5
+ import { select as d3Select } from 'd3-selection';
6
+ import { scaleLinear as d3ScaleLinear, scaleBand as d3ScaleBand, scaleUtc as d3ScaleUtc, scaleTime as d3ScaleTime, } from 'd3-scale';
7
+ import { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities';
8
+ import { DirectionalHint } from '@fluentui/react/lib/Callout';
9
+ import { CartesianChart, ChartHoverCard, Legends, } from '../../index';
10
+ import { FocusZoneDirection } from '@fluentui/react-focus';
11
+ import { ChartTypes, getAccessibleDataObject, XAxisTypes, getTypeOfAxis, tooltipOfXAxislabels, formatValueWithSIPrefix, getBarWidth, getScalePadding, isScalePaddingDefined, calculateAppropriateBarWidth, findVerticalNumericMinMaxOfY, createNumericYAxis, domainRageOfVerticalNumeric, domainRangeOfDateForAreaLineVerticalBarChart, domainRangeOfXStringAxis, createStringYAxis, formatDate, getNextGradient, } from '../../utilities/index';
12
+ var CircleVisbility;
13
+ (function (CircleVisbility) {
14
+ CircleVisbility["show"] = "visibility";
15
+ CircleVisbility["hide"] = "hidden";
16
+ })(CircleVisbility || (CircleVisbility = {}));
17
+ var getClassNames = classNamesFunction();
18
+ var MIN_DOMAIN_MARGIN = 8;
19
+ var VerticalBarChartBase = /** @class */ (function (_super) {
20
+ __extends(VerticalBarChartBase, _super);
21
+ function VerticalBarChartBase(props) {
22
+ var _this = _super.call(this, props) || this;
23
+ _this._isRtl = getRTL();
24
+ _this._getDomainNRangeValues = function (points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues, shiftX) {
25
+ var domainNRangeValue;
26
+ if (xAxisType === XAxisTypes.NumericAxis) {
27
+ domainNRangeValue = domainRageOfVerticalNumeric(points, margins, width, isRTL, barWidth);
28
+ }
29
+ else if (xAxisType === XAxisTypes.DateAxis) {
30
+ domainNRangeValue = domainRangeOfDateForAreaLineVerticalBarChart(points, margins, width, isRTL, tickValues, chartType, barWidth);
31
+ }
32
+ else {
33
+ domainNRangeValue = domainRangeOfXStringAxis(margins, width, isRTL);
34
+ }
35
+ return domainNRangeValue;
36
+ };
37
+ _this._createLine = function (
38
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
+ xScale,
40
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
41
+ yScale, containerHeight, containerWidth,
42
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
43
+ yScaleSecondary) {
44
+ var _a;
45
+ if (containerHeight === void 0) { containerHeight = 0; }
46
+ if (containerWidth === void 0) { containerWidth = 0; }
47
+ var isStringAxis = _this._xAxisType === XAxisTypes.StringAxis;
48
+ var xBarScale = _this._getScales(containerHeight, containerWidth).xBarScale;
49
+ var colorScale = _this._createColors();
50
+ var theme = _this.props.theme;
51
+ var _b = _this.props, data = _b.data, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c, lineLegendText = _b.lineLegendText;
52
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
53
+ var lineData = [];
54
+ var line = [];
55
+ data &&
56
+ data.forEach(function (item, index) {
57
+ var _a;
58
+ if (item.lineData && item.lineData.y) {
59
+ lineData.push({
60
+ x: item.x,
61
+ y: item.lineData.y,
62
+ useSecondaryYScale: (_a = item.lineData.useSecondaryYScale) !== null && _a !== void 0 ? _a : false,
63
+ point: item,
64
+ index: index,
65
+ });
66
+ }
67
+ });
68
+ var linePath = d3Line()
69
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
70
+ .x(function (d) { return (isStringAxis ? xBarScale(d.x) + 0.5 * xBarScale.bandwidth() : xScale(d.x)); })
71
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
72
+ .y(function (d) { return (d.useSecondaryYScale && yScaleSecondary ? yScaleSecondary(d.y) : yScale(d.y)); });
73
+ var shouldHighlight = _this._legendHighlighted(lineLegendText) || _this._noLegendHighlighted() ? true : false;
74
+ var lineBorderWidth = ((_a = _this.props.lineOptions) === null || _a === void 0 ? void 0 : _a.lineBorderWidth)
75
+ ? Number.parseFloat(_this.props.lineOptions.lineBorderWidth.toString())
76
+ : 0;
77
+ if (lineBorderWidth > 0) {
78
+ line.push(React.createElement("path", { key: getId('_VBC_line_'), id: getId('_VBC_line_'), opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3 + lineBorderWidth * 2, stroke: theme.semanticColors.bodyBackground }));
79
+ }
80
+ line.push(React.createElement("path", { key: getId('_VBC_line_'), id: getId('_VBC_line_'), opacity: shouldHighlight ? 1 : 0.1, d: linePath(lineData), fill: "transparent", strokeLinecap: "square", strokeWidth: 3, stroke: lineLegendColor }));
81
+ var dots = lineData.map(function (item, index) {
82
+ var _a;
83
+ // Create an object to store line point ref so that the object can be passed by reference to the focus handler
84
+ var circleRef = { refElement: null };
85
+ return (React.createElement("circle", { key: index, id: getId('_VBC_point_'), cx: isStringAxis ? xBarScale(item.x) + 0.5 * xBarScale.bandwidth() : xScale(item.x), cy: item.useSecondaryYScale && yScaleSecondary ? yScaleSecondary(item.y) : yScale(item.y), onMouseOver: _this._legendHighlighted(lineLegendText)
86
+ ? _this._lineHover.bind(_this, item.point)
87
+ : _this._onBarHover.bind(_this, item.point, colorScale(item.y)), onMouseOut: _this._onBarLeave, r: _this._getCircleVisibilityAndRadius(item.x, lineLegendText).radius, stroke: lineLegendColor, fill: _this.props.theme.semanticColors.bodyBackground, strokeWidth: 3, visibility: _this._getCircleVisibilityAndRadius(item.x, lineLegendText).visibility, onClick: (_a = item.point.lineData) === null || _a === void 0 ? void 0 : _a.onClick, "data-is-focusable": _this._legendHighlighted(lineLegendText), ref: function (e) { return (circleRef.refElement = e); }, onFocus: _this._lineFocus.bind(_this, item.point, circleRef), onBlur: _this._handleChartMouseLeave }));
88
+ });
89
+ return (React.createElement(React.Fragment, null,
90
+ line,
91
+ dots));
92
+ };
93
+ _this._getCircleVisibilityAndRadius = function (xAxisPoint, legend) {
94
+ var _a = _this.state, selectedLegend = _a.selectedLegend, activeXdataPoint = _a.activeXdataPoint;
95
+ if (selectedLegend !== '') {
96
+ if (xAxisPoint === activeXdataPoint && selectedLegend === legend) {
97
+ return { visibility: CircleVisbility.show, radius: 8 };
98
+ }
99
+ else if (selectedLegend === legend) {
100
+ // Don't hide the circle to keep it focusable. For more information,
101
+ // see https://fuzzbomb.github.io/accessibility-demos/visually-hidden-focus-test.html
102
+ return { visibility: CircleVisbility.show, radius: 0.3 };
103
+ }
104
+ else {
105
+ return { visibility: CircleVisbility.hide, radius: 0 };
106
+ }
107
+ }
108
+ else {
109
+ return {
110
+ visibility: activeXdataPoint === xAxisPoint ? CircleVisbility.show : CircleVisbility.hide,
111
+ radius: 8,
112
+ };
113
+ }
114
+ };
115
+ _this._checkForLine = function () {
116
+ var data = _this.props.data;
117
+ return data.some(function (item) { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined; });
118
+ };
119
+ _this._getMargins = function (margins) {
120
+ _this.margins = margins;
121
+ };
122
+ _this._renderContentForBothLineAndBars = function (point) {
123
+ var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
124
+ var content = YValueHover.map(function (item, index) {
125
+ return (React.createElement(ChartHoverCard, __assign({ key: index, Legend: item.legend }, (index === 0 && { XValue: "".concat(hoverXValue || item.data) }), { color: item.color, YValue: item.data || item.y, culture: _this.props.culture })));
126
+ });
127
+ return React.createElement(React.Fragment, null, content);
128
+ };
129
+ _this._renderContentForOnlyBars = function (props) {
130
+ var _a = _this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
131
+ return (React.createElement(React.Fragment, null,
132
+ React.createElement(ChartHoverCard, { XValue: props.xAxisCalloutData || props.x, Legend: props.legend, YValue: props.yAxisCalloutData || props.y, color: !useSingleColor && props.color ? props.color : _this._createColors()(props.y), culture: _this.props.culture })));
133
+ };
134
+ _this._renderCallout = function (props) {
135
+ return props
136
+ ? _this._isHavingLine
137
+ ? _this._renderContentForBothLineAndBars(props)
138
+ : _this._renderContentForOnlyBars(props)
139
+ : null;
140
+ };
141
+ _this._getCustomizedCallout = function () {
142
+ return _this.props.onRenderCalloutPerDataPoint
143
+ ? _this.props.onRenderCalloutPerDataPoint(_this.state.dataPointCalloutProps, _this._renderCallout)
144
+ : null;
145
+ };
146
+ _this._getGraphData = function (
147
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
148
+ xScale, yScale, containerHeight, containerWidth, xElement) {
149
+ return (_this._bars =
150
+ _this._xAxisType === XAxisTypes.NumericAxis
151
+ ? _this._createNumericBars(containerHeight, containerWidth, xElement)
152
+ : _this._xAxisType === XAxisTypes.DateAxis
153
+ ? _this._createDateBars(containerHeight, containerWidth, xElement)
154
+ : _this._createStringBars(containerHeight, containerWidth, xElement));
155
+ };
156
+ _this._refCallback = function (element, legendTitle) {
157
+ _this._refArray.push({ index: legendTitle, refElement: element });
158
+ };
159
+ _this._getCalloutContentForLineAndBar = function (point) {
160
+ var _a, _b, _c, _d, _e;
161
+ var YValueHover = [];
162
+ var _f = _this.props, theme = _f.theme, _g = _f.useSingleColor, useSingleColor = _g === void 0 ? false : _g, enableGradient = _f.enableGradient;
163
+ var _h = _this.props, data = _h.data, lineLegendText = _h.lineLegendText, _j = _h.lineLegendColor, lineLegendColor = _j === void 0 ? theme.palette.yellow : _j;
164
+ var selectedPoint = data.filter(function (xDataPoint) { return xDataPoint.x === point.x; });
165
+ var pointIndex = data.indexOf(selectedPoint[0]);
166
+ var calloutColor = !useSingleColor
167
+ ? selectedPoint[0].color
168
+ ? selectedPoint[0].color
169
+ : _this._createColors()(selectedPoint[0].y)
170
+ : _this._createColors()(1);
171
+ // there might be no y value of the line for the hovered bar. so we need to check this condition
172
+ if (_this._isHavingLine && ((_a = selectedPoint[0].lineData) === null || _a === void 0 ? void 0 : _a.y) !== undefined) {
173
+ // callout data for the line
174
+ YValueHover.push({
175
+ legend: lineLegendText,
176
+ color: lineLegendColor,
177
+ y: (_b = selectedPoint[0].lineData) === null || _b === void 0 ? void 0 : _b.y,
178
+ data: (_c = selectedPoint[0].lineData) === null || _c === void 0 ? void 0 : _c.yAxisCalloutData,
179
+ yAxisCalloutData: (_d = selectedPoint[0].lineData) === null || _d === void 0 ? void 0 : _d.yAxisCalloutData,
180
+ });
181
+ }
182
+ // callout data for the bar
183
+ YValueHover.push({
184
+ legend: selectedPoint[0].legend,
185
+ y: selectedPoint[0].y,
186
+ color: enableGradient
187
+ ? useSingleColor
188
+ ? getNextGradient(0, 0)[0]
189
+ : ((_e = selectedPoint[0].gradient) === null || _e === void 0 ? void 0 : _e[0]) || getNextGradient(pointIndex, 0)[0]
190
+ : calloutColor,
191
+ data: selectedPoint[0].yAxisCalloutData,
192
+ yAxisCalloutData: selectedPoint[0].yAxisCalloutData,
193
+ });
194
+ var hoverXValue = point.x instanceof Date ? formatDate(point.x, _this.props.useUTC) : point.x.toString();
195
+ return {
196
+ YValueHover: YValueHover,
197
+ hoverXValue: point.xAxisCalloutData || hoverXValue,
198
+ };
199
+ };
200
+ _this._onBarLeave = function () {
201
+ /**/
202
+ };
203
+ _this._handleChartMouseLeave = function () {
204
+ _this._calloutAnchorPoint = null;
205
+ _this.setState({
206
+ isCalloutVisible: false,
207
+ activeXdataPoint: null,
208
+ YValueHover: [],
209
+ hoverXValue: '',
210
+ });
211
+ };
212
+ _this._onBarFocus = function (point, refArrayIndexNumber, color) {
213
+ var _a = _this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
214
+ _this._refArray.forEach(function (obj, index) {
215
+ if (obj.index === point.legend && refArrayIndexNumber === index) {
216
+ _this.setState({
217
+ refSelected: obj.refElement,
218
+ /** Show the callout if highlighted bar is focused and Hide it if unhighlighted bar is focused */
219
+ isCalloutVisible: _this.state.selectedLegend === '' || _this.state.selectedLegend === point.legend,
220
+ calloutLegend: point.legend,
221
+ dataForHoverCard: point.y,
222
+ color: point.color || color,
223
+ xCalloutValue: point.xAxisCalloutData ||
224
+ (point.x instanceof Date ? formatDate(point.x, _this.props.useUTC) : point.x.toString()),
225
+ yCalloutValue: point.yAxisCalloutData,
226
+ dataPointCalloutProps: point,
227
+ activeXdataPoint: point.x,
228
+ YValueHover: YValueHover,
229
+ hoverXValue: hoverXValue,
230
+ callOutAccessibilityData: point.callOutAccessibilityData,
231
+ });
232
+ }
233
+ });
234
+ };
235
+ _this._lineHover = function (point, mouseEvent) {
236
+ mouseEvent.persist();
237
+ _this._lineHoverFocus(point, mouseEvent);
238
+ };
239
+ _this._lineFocus = function (point, ref) {
240
+ if (ref.refElement) {
241
+ _this._lineHoverFocus(point, ref.refElement);
242
+ }
243
+ };
244
+ _this._lineHoverFocus = function (point, refSelected) {
245
+ var theme = _this.props.theme;
246
+ var _a = _this.props, _b = _a.lineLegendText, lineLegendText = _b === void 0 ? '' : _b, _c = _a.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
247
+ _this.setState({
248
+ refSelected: refSelected,
249
+ isCalloutVisible: true,
250
+ calloutLegend: lineLegendText,
251
+ dataForHoverCard: point.lineData.y,
252
+ color: lineLegendColor,
253
+ xCalloutValue: point.xAxisCalloutData ||
254
+ (point.x instanceof Date ? formatDate(point.x, _this.props.useUTC) : point.x.toString()),
255
+ yCalloutValue: point.lineData.yAxisCalloutData,
256
+ dataPointCalloutProps: point,
257
+ activeXdataPoint: point.x,
258
+ });
259
+ };
260
+ _this._getScales = function (containerHeight, containerWidth) {
261
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
262
+ var xBarScale;
263
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
264
+ var yBarScale = d3ScaleLinear()
265
+ .domain([0, _this._yMax])
266
+ .range([0, containerHeight - _this.margins.bottom - _this.margins.top]);
267
+ if (_this._xAxisType === XAxisTypes.NumericAxis) {
268
+ var xMax = d3Max(_this._points, function (point) { return point.x; });
269
+ var xMin = d3Min(_this._points, function (point) { return point.x; });
270
+ xBarScale = d3ScaleLinear()
271
+ .domain(_this._isRtl ? [xMax, xMin] : [xMin, xMax])
272
+ .nice()
273
+ .range([_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin]);
274
+ }
275
+ else if (_this._xAxisType === XAxisTypes.DateAxis) {
276
+ var sDate = d3Min(_this._points, function (point) { return point.x; });
277
+ var lDate = d3Max(_this._points, function (point) { return point.x; });
278
+ xBarScale = _this.props.useUTC ? d3ScaleUtc() : d3ScaleTime();
279
+ xBarScale
280
+ .domain([sDate, lDate])
281
+ .range(_this._isRtl
282
+ ? [containerWidth - _this.margins.right - _this._domainMargin, _this.margins.left + _this._domainMargin]
283
+ : [_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin]);
284
+ }
285
+ else {
286
+ xBarScale = d3ScaleBand()
287
+ .domain(_this._xAxisLabels)
288
+ .range(_this._isRtl
289
+ ? [containerWidth - _this.margins.right - _this._domainMargin, _this.margins.left + _this._domainMargin]
290
+ : [_this.margins.left + _this._domainMargin, containerWidth - _this.margins.right - _this._domainMargin])
291
+ .paddingInner(_this._xAxisInnerPadding)
292
+ .paddingOuter(_this._xAxisOuterPadding);
293
+ }
294
+ return { xBarScale: xBarScale, yBarScale: yBarScale };
295
+ };
296
+ _this._closeCallout = function () {
297
+ _this.setState({
298
+ isCalloutVisible: false,
299
+ });
300
+ };
301
+ _this._getLegendData = function (data, palette) {
302
+ var _a = _this.props, theme = _a.theme, useSingleColor = _a.useSingleColor;
303
+ var _b = _this.props, lineLegendText = _b.lineLegendText, _c = _b.lineLegendColor, lineLegendColor = _c === void 0 ? theme.palette.yellow : _c;
304
+ var actions = [];
305
+ data.forEach(function (point, _index) {
306
+ var _a, _b, _c;
307
+ var color = !useSingleColor ? point.color : _this._createColors()(1);
308
+ if (_this.props.enableGradient) {
309
+ var pointIndex = Math.max(((_a = _this.props.data) === null || _a === void 0 ? void 0 : _a.findIndex(function (item) { return item.legend === point.legend; })) || 0, 0);
310
+ color = ((_b = point.gradient) === null || _b === void 0 ? void 0 : _b[0]) || getNextGradient(pointIndex, 0, theme === null || theme === void 0 ? void 0 : theme.isInverted)[0];
311
+ if (useSingleColor) {
312
+ color = getNextGradient(0, 0, (_c = _this.props.theme) === null || _c === void 0 ? void 0 : _c.isInverted)[0];
313
+ }
314
+ }
315
+ // mapping data to the format Legends component needs
316
+ var legend = {
317
+ title: point.legend,
318
+ color: color,
319
+ action: function () {
320
+ _this._onLegendClick(point.legend);
321
+ },
322
+ hoverAction: function () {
323
+ _this._handleChartMouseLeave();
324
+ _this._onLegendHover(point.legend);
325
+ },
326
+ onMouseOutAction: function () {
327
+ _this._onLegendLeave();
328
+ },
329
+ };
330
+ actions.push(legend);
331
+ });
332
+ if (_this._isHavingLine && lineLegendText && lineLegendColor) {
333
+ var lineLegend = {
334
+ title: lineLegendText,
335
+ color: lineLegendColor,
336
+ action: function () {
337
+ _this._onLegendClick(lineLegendText);
338
+ },
339
+ hoverAction: function () {
340
+ _this._handleChartMouseLeave();
341
+ _this._onLegendHover(lineLegendText);
342
+ },
343
+ onMouseOutAction: function () {
344
+ _this._onLegendLeave();
345
+ },
346
+ isLineLegendInBarChart: true,
347
+ };
348
+ actions.unshift(lineLegend);
349
+ }
350
+ var legends = (React.createElement(Legends, __assign({ legends: actions, enabledWrapLines: _this.props.enabledLegendsWrapLines, overflowProps: _this.props.legendsOverflowProps, focusZonePropsInHoverCard: _this.props.focusZonePropsForLegendsInHoverCard, overflowText: _this.props.legendsOverflowText }, _this.props.legendProps)));
351
+ return legends;
352
+ };
353
+ _this._getAxisData = function (yAxisData) {
354
+ if (yAxisData && yAxisData.yAxisDomainValues.length) {
355
+ var domainValue = yAxisData.yAxisDomainValues;
356
+ _this._yMax = Math.max(domainValue[domainValue.length - 1], _this.props.yMaxValue || 0);
357
+ }
358
+ };
359
+ /**
360
+ * This function checks if the given legend is highlighted or not.
361
+ * A legend can be highlighted in 2 ways:
362
+ * 1. selection: if the user clicks on it
363
+ * 2. hovering: if there is no selected legend and the user hovers over it
364
+ */
365
+ _this._legendHighlighted = function (legendTitle) {
366
+ return (_this.state.selectedLegend === legendTitle ||
367
+ (_this.state.selectedLegend === '' && _this.state.activeLegend === legendTitle));
368
+ };
369
+ /**
370
+ * This function checks if none of the legends is selected or hovered.
371
+ */
372
+ _this._noLegendHighlighted = function () {
373
+ return _this.state.selectedLegend === '' && _this.state.activeLegend === '';
374
+ };
375
+ _this._getAriaLabel = function (point) {
376
+ var _a, _b, _c;
377
+ var xValue = point.xAxisCalloutData
378
+ ? point.xAxisCalloutData
379
+ : point.x instanceof Date
380
+ ? formatDate(point.x, _this.props.useUTC)
381
+ : point.x;
382
+ var legend = point.legend;
383
+ var yValue = point.yAxisCalloutData || point.y;
384
+ var lineLegend = _this.props.lineLegendText || 'Line';
385
+ var lineYValue = ((_a = point.lineData) === null || _a === void 0 ? void 0 : _a.yAxisCalloutData) || ((_b = point.lineData) === null || _b === void 0 ? void 0 : _b.y);
386
+ return (((_c = point.callOutAccessibilityData) === null || _c === void 0 ? void 0 : _c.ariaLabel) ||
387
+ "".concat(xValue, ". ") +
388
+ (legend ? "".concat(legend, ", ") : '') +
389
+ "".concat(yValue, ".") +
390
+ (typeof lineYValue !== 'undefined' ? " ".concat(lineLegend, ", ").concat(lineYValue, ".") : ''));
391
+ };
392
+ _this._getDomainMargins = function (containerWidth) {
393
+ var _a;
394
+ _this._domainMargin = MIN_DOMAIN_MARGIN;
395
+ /** Total width available to render the bars */
396
+ var totalWidth = containerWidth - (_this.margins.left + MIN_DOMAIN_MARGIN) - (_this.margins.right + MIN_DOMAIN_MARGIN);
397
+ if (_this._xAxisType === XAxisTypes.StringAxis) {
398
+ if (isScalePaddingDefined(_this.props.xAxisOuterPadding, _this.props.xAxisPadding)) {
399
+ // Setting the domain margin for string x-axis to 0 because the xAxisOuterPadding prop is now available
400
+ // to adjust the space before the first bar and after the last bar.
401
+ _this._domainMargin = 0;
402
+ }
403
+ else if (_this.props.barWidth !== 'auto') {
404
+ /** Rate at which the space between the bars changes wrt the bar width */
405
+ var barGapRate = _this._xAxisInnerPadding / (1 - _this._xAxisInnerPadding);
406
+ // Update the bar width so that when CartesianChart rerenders,
407
+ // the following calculations don't use the previous bar width.
408
+ _this._barWidth = getBarWidth(_this.props.barWidth, _this.props.maxBarWidth);
409
+ /** Total width required to render the bars. Directly proportional to bar width */
410
+ var reqWidth = (_this._xAxisLabels.length + (_this._xAxisLabels.length - 1) * barGapRate) * _this._barWidth;
411
+ if (totalWidth >= reqWidth) {
412
+ // Center align the chart by setting equal left and right margins for domain
413
+ _this._domainMargin = MIN_DOMAIN_MARGIN + (totalWidth - reqWidth) / 2;
414
+ }
415
+ }
416
+ }
417
+ else {
418
+ var data = ((_a = _this.props.data) === null || _a === void 0 ? void 0 : _a.map(function (point) { return point.x; })) || [];
419
+ _this._barWidth = getBarWidth(_this.props.barWidth, _this.props.maxBarWidth, calculateAppropriateBarWidth(data, totalWidth));
420
+ _this._domainMargin = MIN_DOMAIN_MARGIN + _this._barWidth / 2;
421
+ }
422
+ return __assign(__assign({}, _this.margins), { left: _this.margins.left + _this._domainMargin, right: _this.margins.right + _this._domainMargin });
423
+ };
424
+ _this._getChartTitle = function () {
425
+ var _a = _this.props, chartTitle = _a.chartTitle, data = _a.data;
426
+ return ((chartTitle ? "".concat(chartTitle, ". ") : '') +
427
+ "Vertical bar chart with ".concat((data === null || data === void 0 ? void 0 : data.length) || 0, " bars") +
428
+ (_this._isHavingLine ? ' and 1 line' : '') +
429
+ '. ');
430
+ };
431
+ _this.state = {
432
+ color: '',
433
+ dataForHoverCard: 0,
434
+ isCalloutVisible: false,
435
+ refSelected: null,
436
+ selectedLegend: '',
437
+ activeLegend: '',
438
+ xCalloutValue: '',
439
+ yCalloutValue: '',
440
+ activeXdataPoint: null,
441
+ YValueHover: [],
442
+ hoverXValue: '',
443
+ calloutLegend: '',
444
+ };
445
+ _this._isHavingLine = _this._checkForLine();
446
+ _this._calloutId = getId('callout');
447
+ _this._tooltipId = getId('VCTooltipID_');
448
+ _this._refArray = [];
449
+ _this._xAxisType =
450
+ _this.props.data && _this.props.data.length > 0
451
+ ? getTypeOfAxis(_this.props.data[0].x, true)
452
+ : XAxisTypes.StringAxis;
453
+ _this._emptyChartId = getId('_VBC_empty');
454
+ _this._domainMargin = MIN_DOMAIN_MARGIN;
455
+ return _this;
456
+ }
457
+ VerticalBarChartBase.prototype.render = function () {
458
+ var _this = this;
459
+ this._adjustProps();
460
+ this._xAxisLabels = this._points.map(function (point) { return point.x; });
461
+ this._yMax = Math.max(d3Max(this._points, function (point) { return point.y; }), this.props.yMaxValue || 0);
462
+ var legendBars = this._getLegendData(this._points, this.props.theme.palette);
463
+ this._classNames = getClassNames(this.props.styles, {
464
+ theme: this.props.theme,
465
+ legendColor: this.state.color,
466
+ });
467
+ var calloutProps = __assign(__assign(__assign(__assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: DirectionalHint.topAutoEdge, id: "toolTip".concat(this._calloutId), target: this.state.refSelected, isBeakVisible: false }, (this._isHavingLine && {
468
+ YValueHover: this.state.YValueHover,
469
+ hoverXValue: this.state.hoverXValue,
470
+ })), { gapSpace: 15, color: this.state.color, legend: this.state.calloutLegend, XValue: this.state.xCalloutValue, YValue: this.state.yCalloutValue ? this.state.yCalloutValue : this.state.dataForHoverCard, onDismiss: this._closeCallout, preventDismissOnLostFocus: true }), this.props.calloutProps), getAccessibleDataObject(this.state.callOutAccessibilityData));
471
+ var tickParams = {
472
+ tickValues: this.props.tickValues,
473
+ tickFormat: this.props.tickFormat,
474
+ };
475
+ return !this._isChartEmpty() ? (React.createElement(CartesianChart, __assign({}, this.props, { chartTitle: this._getChartTitle(), points: this._points, chartType: ChartTypes.VerticalBarChart, xAxisType: this._xAxisType, createYAxis: createNumericYAxis, calloutProps: calloutProps, tickParams: tickParams }, (this._isHavingLine && this._noLegendHighlighted() && { isCalloutForStack: true }), { legendBars: legendBars, datasetForXAxisDomain: this._xAxisLabels, barwidth: this._barWidth, focusZoneDirection: FocusZoneDirection.horizontal, customizedCallout: this._getCustomizedCallout(), createStringYAxis: createStringYAxis, getmargins: this._getMargins, getMinMaxOfYAxis: findVerticalNumericMinMaxOfY, getGraphData: this._getGraphData, getDomainNRangeValues: this._getDomainNRangeValues, getAxisData: this._getAxisData, onChartMouseLeave: this._handleChartMouseLeave, getDomainMargins: this._getDomainMargins }, (this._xAxisType === XAxisTypes.StringAxis && {
476
+ xAxisInnerPadding: this._xAxisInnerPadding,
477
+ xAxisOuterPadding: this._xAxisOuterPadding,
478
+ }), {
479
+ /* eslint-disable react/jsx-no-bind */
480
+ children: function (props) {
481
+ return (React.createElement(React.Fragment, null,
482
+ React.createElement("g", null, _this._bars),
483
+ _this._isHavingLine && (React.createElement("g", null, _this._createLine(props.xScale, props.yScale, props.containerHeight, props.containerWidth, props.yScaleSecondary)))));
484
+ } }))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
485
+ };
486
+ VerticalBarChartBase.prototype._adjustProps = function () {
487
+ this._points = this.props.data || [];
488
+ this._barWidth = getBarWidth(this.props.barWidth, this.props.maxBarWidth);
489
+ var palette = this.props.theme.palette;
490
+ this._colors = this.props.colors || [palette.blueLight, palette.blue, palette.blueMid, palette.blueDark];
491
+ this._isHavingLine = this._checkForLine();
492
+ this._xAxisInnerPadding = getScalePadding(this.props.xAxisInnerPadding, this.props.xAxisPadding, 2 / 3);
493
+ this._xAxisOuterPadding = getScalePadding(this.props.xAxisOuterPadding, this.props.xAxisPadding, 0);
494
+ };
495
+ VerticalBarChartBase.prototype._createColors = function () {
496
+ var _this = this;
497
+ var increment = this._colors.length <= 1 ? 1 : 1 / (this._colors.length - 1);
498
+ var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
499
+ if (useSingleColor) {
500
+ return function (_p) {
501
+ var _a = _this.props, theme = _a.theme, colors = _a.colors;
502
+ return colors && colors.length > 0 ? colors[0] : theme.palette.blueLight;
503
+ };
504
+ }
505
+ var domainValues = [];
506
+ for (var i = 0; i < this._colors.length; i++) {
507
+ domainValues.push(increment * i * this._yMax);
508
+ }
509
+ var colorScale = d3ScaleLinear().domain(domainValues).range(this._colors);
510
+ return colorScale;
511
+ };
512
+ VerticalBarChartBase.prototype._onBarHover = function (point, color, mouseEvent) {
513
+ mouseEvent.persist();
514
+ var _a = this._getCalloutContentForLineAndBar(point), YValueHover = _a.YValueHover, hoverXValue = _a.hoverXValue;
515
+ if (this._calloutAnchorPoint !== point) {
516
+ this._calloutAnchorPoint = point;
517
+ this.setState({
518
+ refSelected: mouseEvent,
519
+ /** Show the callout if highlighted bar is hovered and Hide it if unhighlighted bar is hovered */
520
+ isCalloutVisible: this.state.selectedLegend === '' || this.state.selectedLegend === point.legend,
521
+ dataForHoverCard: point.y,
522
+ calloutLegend: point.legend,
523
+ color: point.color || color,
524
+ // To display callout value, if no callout value given, taking given point.x value as a string.
525
+ xCalloutValue: point.xAxisCalloutData ||
526
+ (point.x instanceof Date ? formatDate(point.x, this.props.useUTC) : point.x.toString()),
527
+ yCalloutValue: point.yAxisCalloutData,
528
+ dataPointCalloutProps: point,
529
+ // Hovering over a bar should highlight corresponding line points only when no legend is selected
530
+ activeXdataPoint: this._noLegendHighlighted() ? point.x : null,
531
+ YValueHover: YValueHover,
532
+ hoverXValue: hoverXValue,
533
+ callOutAccessibilityData: point.callOutAccessibilityData,
534
+ });
535
+ }
536
+ };
537
+ VerticalBarChartBase.prototype._createNumericBars = function (containerHeight, containerWidth, xElement) {
538
+ var _this = this;
539
+ var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
540
+ var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
541
+ var colorScale = this._createColors();
542
+ var bars = this._points.map(function (point, index) {
543
+ var _a, _b, _c, _d, _e, _f;
544
+ var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
545
+ _this._classNames = getClassNames(_this.props.styles, {
546
+ theme: _this.props.theme,
547
+ legendColor: _this.state.color,
548
+ shouldHighlight: shouldHighlight,
549
+ });
550
+ var barHeight = Math.max(yBarScale(point.y), 0);
551
+ var adjustedBarHeight = 0;
552
+ if (barHeight <= 0) {
553
+ return React.createElement(React.Fragment, { key: point.x }, " ");
554
+ }
555
+ else if (barHeight <= Math.ceil(yBarScale(_this._yMax) / 100.0)) {
556
+ adjustedBarHeight = Math.ceil(yBarScale(_this._yMax) / 100.0);
557
+ }
558
+ else {
559
+ adjustedBarHeight = barHeight;
560
+ }
561
+ var xPoint = xBarScale(point.x) - _this._barWidth / 2;
562
+ var yPoint = containerHeight - _this.margins.bottom - adjustedBarHeight;
563
+ var startColor = point.color && !useSingleColor ? point.color : colorScale(point.y);
564
+ var endColor = startColor;
565
+ if (_this.props.enableGradient) {
566
+ startColor = ((_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];
567
+ endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || getNextGradient(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
568
+ if (useSingleColor) {
569
+ startColor = getNextGradient(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
570
+ endColor = getNextGradient(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
571
+ }
572
+ _this._points[index].color = startColor;
573
+ }
574
+ var gradientId = getId('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
575
+ return (React.createElement("g", { key: point.x },
576
+ _this.props.enableGradient && (React.createElement("defs", null,
577
+ React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
578
+ React.createElement("stop", { offset: "0", stopColor: startColor }),
579
+ React.createElement("stop", { offset: "100%", stopColor: endColor })))),
580
+ React.createElement("rect", { id: getId('_VBC_bar_'), x: xPoint, className: _this._classNames.opacityChangeOnHover, y: yPoint, width: _this._barWidth, "data-is-focusable": !_this.props.hideTooltip && shouldHighlight, height: adjustedBarHeight, ref: function (e) {
581
+ _this._refCallback(e, point.legend);
582
+ }, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), "aria-label": _this._getAriaLabel(point), role: "img", onMouseLeave: _this._onBarLeave, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), onBlur: _this._onBarLeave, fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
583
+ _this._renderBarLabel(xPoint, yPoint, point.y, point.legend)));
584
+ });
585
+ // Removing un wanted tooltip div from DOM, when prop not provided.
586
+ if (!this.props.showXAxisLablesTooltip) {
587
+ try {
588
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
589
+ // eslint-disable-next-line no-empty
590
+ }
591
+ catch (e) { }
592
+ }
593
+ // Used to display tooltip at x axis labels.
594
+ if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
595
+ var xAxisElement = d3Select(xElement).call(xBarScale);
596
+ try {
597
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
598
+ // eslint-disable-next-line no-empty
599
+ }
600
+ catch (e) { }
601
+ var tooltipProps = {
602
+ tooltipCls: this._classNames.tooltip,
603
+ id: this._tooltipId,
604
+ xAxis: xAxisElement,
605
+ };
606
+ xAxisElement && tooltipOfXAxislabels(tooltipProps);
607
+ }
608
+ return bars;
609
+ };
610
+ VerticalBarChartBase.prototype._createStringBars = function (containerHeight, containerWidth, xElement) {
611
+ var _this = this;
612
+ var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
613
+ var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
614
+ var colorScale = this._createColors();
615
+ var bars = this._points.map(function (point, index) {
616
+ var _a, _b, _c, _d, _e, _f;
617
+ var barHeight = Math.max(yBarScale(point.y), 0);
618
+ var adjustedBarHeight = 0;
619
+ if (barHeight <= 0) {
620
+ return React.createElement(React.Fragment, { key: point.x instanceof Date ? point.x.getTime() : point.x }, " ");
621
+ }
622
+ else if (barHeight <= Math.ceil(yBarScale(_this._yMax) / 100.0)) {
623
+ adjustedBarHeight = Math.ceil(yBarScale(_this._yMax) / 100.0);
624
+ }
625
+ else {
626
+ adjustedBarHeight = barHeight;
627
+ }
628
+ var xPoint = xBarScale(point.x);
629
+ var yPoint = containerHeight - _this.margins.bottom - adjustedBarHeight;
630
+ // Setting the bar width here is safe because there are no dependencies earlier in the code
631
+ // that rely on the width of bars in vertical bar charts with string x-axis.
632
+ _this._barWidth = getBarWidth(_this.props.barWidth, _this.props.maxBarWidth, xBarScale.bandwidth());
633
+ var startColor = point.color ? point.color : colorScale(point.y);
634
+ var endColor = startColor;
635
+ if (_this.props.enableGradient) {
636
+ startColor = ((_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];
637
+ endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || getNextGradient(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
638
+ if (useSingleColor) {
639
+ startColor = getNextGradient(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
640
+ endColor = getNextGradient(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
641
+ }
642
+ _this._points[index].color = startColor;
643
+ }
644
+ var gradientId = getId('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
645
+ return (React.createElement("g", { key: point.x instanceof Date ? point.x.getTime() : point.x, transform: "translate(".concat(0.5 * (xBarScale.bandwidth() - _this._barWidth), ", 0)") },
646
+ _this.props.enableGradient && (React.createElement("defs", null,
647
+ React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
648
+ React.createElement("stop", { offset: "0", stopColor: startColor }),
649
+ React.createElement("stop", { offset: "100%", stopColor: endColor })))),
650
+ React.createElement("rect", { id: getId('_VBC_bar_'), x: xPoint, y: yPoint, width: _this._barWidth, height: adjustedBarHeight, "aria-label": _this._getAriaLabel(point), role: "img", ref: function (e) {
651
+ _this._refCallback(e, point.legend);
652
+ }, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), onMouseLeave: _this._onBarLeave, onBlur: _this._onBarLeave, "data-is-focusable": !_this.props.hideTooltip, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
653
+ _this._renderBarLabel(xPoint, yPoint, point.y, point.legend)));
654
+ });
655
+ // Removing un wanted tooltip div from DOM, when prop not provided.
656
+ if (!this.props.showXAxisLablesTooltip) {
657
+ try {
658
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
659
+ // eslint-disable-next-line no-empty
660
+ }
661
+ catch (e) { }
662
+ }
663
+ // Used to display tooltip at x axis labels.
664
+ if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
665
+ var xAxisElement = d3Select(xElement).call(xBarScale);
666
+ try {
667
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
668
+ // eslint-disable-next-line no-empty
669
+ }
670
+ catch (e) { }
671
+ var tooltipProps = {
672
+ tooltipCls: this._classNames.tooltip,
673
+ id: this._tooltipId,
674
+ xAxis: xAxisElement,
675
+ showTooltip: this.props.showXAxisLablesTooltip,
676
+ };
677
+ xAxisElement && tooltipOfXAxislabels(tooltipProps);
678
+ }
679
+ return bars;
680
+ };
681
+ VerticalBarChartBase.prototype._createDateBars = function (containerHeight, containerWidth, xElement) {
682
+ var _this = this;
683
+ var _a = this.props.useSingleColor, useSingleColor = _a === void 0 ? false : _a;
684
+ var _b = this._getScales(containerHeight, containerWidth), xBarScale = _b.xBarScale, yBarScale = _b.yBarScale;
685
+ var colorScale = this._createColors();
686
+ var bars = this._points.map(function (point, index) {
687
+ var _a, _b, _c, _d, _e, _f;
688
+ var shouldHighlight = _this._legendHighlighted(point.legend) || _this._noLegendHighlighted() ? true : false;
689
+ _this._classNames = getClassNames(_this.props.styles, {
690
+ theme: _this.props.theme,
691
+ legendColor: _this.state.color,
692
+ shouldHighlight: shouldHighlight,
693
+ });
694
+ var barHeight = Math.max(yBarScale(point.y), 0);
695
+ var adjustedBarHeight = 0;
696
+ if (barHeight <= 0) {
697
+ return React.createElement(React.Fragment, { key: point.x instanceof Date ? point.x.getTime() : point.x }, " ");
698
+ }
699
+ else if (barHeight <= Math.ceil(yBarScale(_this._yMax) / 100.0)) {
700
+ adjustedBarHeight = Math.ceil(yBarScale(_this._yMax) / 100.0);
701
+ }
702
+ else {
703
+ adjustedBarHeight = barHeight;
704
+ }
705
+ var xPoint = xBarScale(point.x) - _this._barWidth / 2;
706
+ var yPoint = containerHeight - _this.margins.bottom - adjustedBarHeight;
707
+ var startColor = point.color && !useSingleColor ? point.color : colorScale(point.y);
708
+ var endColor = startColor;
709
+ if (_this.props.enableGradient) {
710
+ startColor = ((_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];
711
+ endColor = ((_c = point.gradient) === null || _c === void 0 ? void 0 : _c[1]) || getNextGradient(index, 0, (_d = _this.props.theme) === null || _d === void 0 ? void 0 : _d.isInverted)[1];
712
+ if (useSingleColor) {
713
+ startColor = getNextGradient(0, 0, (_e = _this.props.theme) === null || _e === void 0 ? void 0 : _e.isInverted)[0];
714
+ endColor = getNextGradient(0, 0, (_f = _this.props.theme) === null || _f === void 0 ? void 0 : _f.isInverted)[1];
715
+ }
716
+ _this._points[index].color = startColor;
717
+ }
718
+ var gradientId = getId('VBC_Gradient') + "_".concat(index, "_").concat(startColor);
719
+ return (React.createElement("g", { key: point.x instanceof Date ? point.x.getTime() : point.x },
720
+ _this.props.enableGradient && (React.createElement("defs", null,
721
+ React.createElement("linearGradient", { id: gradientId, x1: "0%", y1: "100%", x2: "0%", y2: "0%" },
722
+ React.createElement("stop", { offset: "0", stopColor: startColor }),
723
+ React.createElement("stop", { offset: "100%", stopColor: endColor })))),
724
+ React.createElement("rect", { id: getId('_VBC_bar_'), x: xPoint, className: _this._classNames.opacityChangeOnHover, y: yPoint, width: _this._barWidth, "data-is-focusable": !_this.props.hideTooltip && shouldHighlight, height: adjustedBarHeight, ref: function (e) {
725
+ _this._refCallback(e, point.legend);
726
+ }, onClick: point.onClick, onMouseOver: _this._onBarHover.bind(_this, point, startColor), "aria-label": _this._getAriaLabel(point), role: "img", onMouseLeave: _this._onBarLeave, onFocus: _this._onBarFocus.bind(_this, point, index, startColor), onBlur: _this._onBarLeave, fill: _this.props.enableGradient ? "url(#".concat(gradientId, ")") : startColor, rx: _this.props.roundCorners ? 3 : 0 }),
727
+ _this._renderBarLabel(xPoint, yPoint, point.y, point.legend)));
728
+ });
729
+ // Removing un wanted tooltip div from DOM, when prop not provided.
730
+ if (!this.props.showXAxisLablesTooltip) {
731
+ try {
732
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
733
+ // eslint-disable-next-line no-empty
734
+ }
735
+ catch (e) { }
736
+ }
737
+ // Used to display tooltip at x axis labels.
738
+ if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
739
+ var xAxisElement = d3Select(xElement).call(xBarScale);
740
+ try {
741
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
742
+ // eslint-disable-next-line no-empty
743
+ }
744
+ catch (e) { }
745
+ var tooltipProps = {
746
+ tooltipCls: this._classNames.tooltip,
747
+ id: this._tooltipId,
748
+ xAxis: xAxisElement,
749
+ };
750
+ xAxisElement && tooltipOfXAxislabels(tooltipProps);
751
+ }
752
+ return bars;
753
+ };
754
+ VerticalBarChartBase.prototype._onLegendClick = function (legendTitle) {
755
+ if (this.state.selectedLegend === legendTitle) {
756
+ this.setState({
757
+ selectedLegend: '',
758
+ });
759
+ }
760
+ else {
761
+ this.setState({
762
+ selectedLegend: legendTitle,
763
+ });
764
+ }
765
+ };
766
+ VerticalBarChartBase.prototype._onLegendHover = function (legendTitle) {
767
+ this.setState({
768
+ activeLegend: legendTitle,
769
+ });
770
+ };
771
+ VerticalBarChartBase.prototype._onLegendLeave = function () {
772
+ this.setState({
773
+ activeLegend: '',
774
+ });
775
+ };
776
+ VerticalBarChartBase.prototype._renderBarLabel = function (xPoint, yPoint, barValue, legend) {
777
+ if (this.props.hideLabels ||
778
+ this._barWidth < 16 ||
779
+ !(this._legendHighlighted(legend) || this._noLegendHighlighted())) {
780
+ return null;
781
+ }
782
+ return (React.createElement("text", { x: xPoint + this._barWidth / 2, y: yPoint - 6, textAnchor: "middle", className: this._classNames.barLabel, "aria-hidden": true }, formatValueWithSIPrefix(barValue)));
783
+ };
784
+ VerticalBarChartBase.prototype._isChartEmpty = function () {
785
+ return (this._points.length === 0 ||
786
+ (d3Max(this._points, function (point) { return point.y; }) <= 0 && !this._isHavingLine));
787
+ };
788
+ VerticalBarChartBase.defaultProps = {
789
+ maxBarWidth: 24,
790
+ useUTC: true,
791
+ };
792
+ return VerticalBarChartBase;
793
+ }(React.Component));
794
+ export { VerticalBarChartBase };
795
+ //# sourceMappingURL=VerticalBarChart.base.js.map