@fluentui/react-charting 5.23.61 → 5.23.62

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 (1437) hide show
  1. package/CHANGELOG.json +22 -1
  2. package/CHANGELOG.md +12 -2
  3. package/package.json +2 -1
  4. package/dist/react-charting.d.ts +0 -4557
  5. package/dist/react-charting.js +0 -1
  6. package/dist/react-charting.min.js +0 -1
  7. package/lib/AreaChart.d.ts +0 -1
  8. package/lib/AreaChart.js +0 -2
  9. package/lib/AreaChart.js.map +0 -1
  10. package/lib/CartesianChart.d.ts +0 -1
  11. package/lib/CartesianChart.js +0 -2
  12. package/lib/CartesianChart.js.map +0 -1
  13. package/lib/DeclarativeChart.d.ts +0 -1
  14. package/lib/DeclarativeChart.js +0 -2
  15. package/lib/DeclarativeChart.js.map +0 -1
  16. package/lib/DonutChart.d.ts +0 -1
  17. package/lib/DonutChart.js +0 -2
  18. package/lib/DonutChart.js.map +0 -1
  19. package/lib/GaugeChart.d.ts +0 -1
  20. package/lib/GaugeChart.js +0 -2
  21. package/lib/GaugeChart.js.map +0 -1
  22. package/lib/GroupedVerticalBarChart.d.ts +0 -1
  23. package/lib/GroupedVerticalBarChart.js +0 -2
  24. package/lib/GroupedVerticalBarChart.js.map +0 -1
  25. package/lib/HeatMapChart.d.ts +0 -1
  26. package/lib/HeatMapChart.js +0 -2
  27. package/lib/HeatMapChart.js.map +0 -1
  28. package/lib/HorizontalBarChart.d.ts +0 -1
  29. package/lib/HorizontalBarChart.js +0 -2
  30. package/lib/HorizontalBarChart.js.map +0 -1
  31. package/lib/HorizontalBarChartWithAxis.d.ts +0 -1
  32. package/lib/HorizontalBarChartWithAxis.js +0 -2
  33. package/lib/HorizontalBarChartWithAxis.js.map +0 -1
  34. package/lib/Legends.d.ts +0 -1
  35. package/lib/Legends.js +0 -2
  36. package/lib/Legends.js.map +0 -1
  37. package/lib/LineChart.d.ts +0 -1
  38. package/lib/LineChart.js +0 -2
  39. package/lib/LineChart.js.map +0 -1
  40. package/lib/PieChart.d.ts +0 -1
  41. package/lib/PieChart.js +0 -2
  42. package/lib/PieChart.js.map +0 -1
  43. package/lib/ResponsiveContainer.d.ts +0 -1
  44. package/lib/ResponsiveContainer.js +0 -2
  45. package/lib/ResponsiveContainer.js.map +0 -1
  46. package/lib/SankeyChart.d.ts +0 -1
  47. package/lib/SankeyChart.js +0 -2
  48. package/lib/SankeyChart.js.map +0 -1
  49. package/lib/Sparkline.d.ts +0 -1
  50. package/lib/Sparkline.js +0 -2
  51. package/lib/Sparkline.js.map +0 -1
  52. package/lib/StackedBarChart.d.ts +0 -1
  53. package/lib/StackedBarChart.js +0 -2
  54. package/lib/StackedBarChart.js.map +0 -1
  55. package/lib/Styling.d.ts +0 -2
  56. package/lib/Styling.js +0 -8
  57. package/lib/Styling.js.map +0 -1
  58. package/lib/TreeChart.d.ts +0 -1
  59. package/lib/TreeChart.js +0 -2
  60. package/lib/TreeChart.js.map +0 -1
  61. package/lib/Utilities.d.ts +0 -2
  62. package/lib/Utilities.js +0 -2
  63. package/lib/Utilities.js.map +0 -1
  64. package/lib/VerticalBarChart.d.ts +0 -1
  65. package/lib/VerticalBarChart.js +0 -2
  66. package/lib/VerticalBarChart.js.map +0 -1
  67. package/lib/VerticalStackedBarChart.d.ts +0 -1
  68. package/lib/VerticalStackedBarChart.js +0 -2
  69. package/lib/VerticalStackedBarChart.js.map +0 -1
  70. package/lib/components/AreaChart/AreaChart.base.d.ts +0 -111
  71. package/lib/components/AreaChart/AreaChart.base.js +0 -722
  72. package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
  73. package/lib/components/AreaChart/AreaChart.d.ts +0 -7
  74. package/lib/components/AreaChart/AreaChart.js +0 -10
  75. package/lib/components/AreaChart/AreaChart.js.map +0 -1
  76. package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
  77. package/lib/components/AreaChart/AreaChart.styles.js +0 -7
  78. package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
  79. package/lib/components/AreaChart/AreaChart.types.d.ts +0 -64
  80. package/lib/components/AreaChart/AreaChart.types.js +0 -2
  81. package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
  82. package/lib/components/AreaChart/index.d.ts +0 -2
  83. package/lib/components/AreaChart/index.js +0 -3
  84. package/lib/components/AreaChart/index.js.map +0 -1
  85. package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -65
  86. package/lib/components/CommonComponents/CartesianChart.base.js +0 -609
  87. package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
  88. package/lib/components/CommonComponents/CartesianChart.d.ts +0 -7
  89. package/lib/components/CommonComponents/CartesianChart.js +0 -9
  90. package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
  91. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  92. package/lib/components/CommonComponents/CartesianChart.styles.js +0 -175
  93. package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  94. package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -556
  95. package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
  96. package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
  97. package/lib/components/CommonComponents/index.d.ts +0 -2
  98. package/lib/components/CommonComponents/index.js +0 -3
  99. package/lib/components/CommonComponents/index.js.map +0 -1
  100. package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
  101. package/lib/components/DeclarativeChart/DeclarativeChart.js +0 -180
  102. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
  103. package/lib/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
  104. package/lib/components/DeclarativeChart/PlotlySchema.js +0 -4
  105. package/lib/components/DeclarativeChart/PlotlySchema.js.map +0 -1
  106. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
  107. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -739
  108. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
  109. package/lib/components/DeclarativeChart/index.d.ts +0 -1
  110. package/lib/components/DeclarativeChart/index.js +0 -2
  111. package/lib/components/DeclarativeChart/index.js.map +0 -1
  112. package/lib/components/DonutChart/Arc/Arc.d.ts +0 -22
  113. package/lib/components/DonutChart/Arc/Arc.js +0 -107
  114. package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
  115. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  116. package/lib/components/DonutChart/Arc/Arc.styles.js +0 -35
  117. package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  118. package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  119. package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
  120. package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
  121. package/lib/components/DonutChart/Arc/index.d.ts +0 -2
  122. package/lib/components/DonutChart/Arc/index.js +0 -3
  123. package/lib/components/DonutChart/Arc/index.js.map +0 -1
  124. package/lib/components/DonutChart/DonutChart.base.d.ts +0 -61
  125. package/lib/components/DonutChart/DonutChart.base.js +0 -301
  126. package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
  127. package/lib/components/DonutChart/DonutChart.d.ts +0 -7
  128. package/lib/components/DonutChart/DonutChart.js +0 -10
  129. package/lib/components/DonutChart/DonutChart.js.map +0 -1
  130. package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
  131. package/lib/components/DonutChart/DonutChart.styles.js +0 -30
  132. package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
  133. package/lib/components/DonutChart/DonutChart.types.d.ts +0 -90
  134. package/lib/components/DonutChart/DonutChart.types.js +0 -2
  135. package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
  136. package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
  137. package/lib/components/DonutChart/Pie/Pie.js +0 -75
  138. package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
  139. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  140. package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
  141. package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  142. package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  143. package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
  144. package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
  145. package/lib/components/DonutChart/Pie/index.d.ts +0 -2
  146. package/lib/components/DonutChart/Pie/index.js +0 -3
  147. package/lib/components/DonutChart/Pie/index.js.map +0 -1
  148. package/lib/components/DonutChart/index.d.ts +0 -3
  149. package/lib/components/DonutChart/index.js +0 -4
  150. package/lib/components/DonutChart/index.js.map +0 -1
  151. package/lib/components/GaugeChart/GaugeChart.base.d.ts +0 -82
  152. package/lib/components/GaugeChart/GaugeChart.base.js +0 -472
  153. package/lib/components/GaugeChart/GaugeChart.base.js.map +0 -1
  154. package/lib/components/GaugeChart/GaugeChart.d.ts +0 -7
  155. package/lib/components/GaugeChart/GaugeChart.js +0 -9
  156. package/lib/components/GaugeChart/GaugeChart.js.map +0 -1
  157. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  158. package/lib/components/GaugeChart/GaugeChart.styles.js +0 -129
  159. package/lib/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  160. package/lib/components/GaugeChart/GaugeChart.types.d.ts +0 -273
  161. package/lib/components/GaugeChart/GaugeChart.types.js +0 -17
  162. package/lib/components/GaugeChart/GaugeChart.types.js.map +0 -1
  163. package/lib/components/GaugeChart/index.d.ts +0 -2
  164. package/lib/components/GaugeChart/index.js +0 -3
  165. package/lib/components/GaugeChart/index.js.map +0 -1
  166. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
  167. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -495
  168. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  169. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  170. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -10
  171. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  172. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  173. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
  174. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  175. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
  176. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
  177. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  178. package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
  179. package/lib/components/GroupedVerticalBarChart/index.js +0 -3
  180. package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
  181. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
  182. package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -597
  183. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  184. package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  185. package/lib/components/HeatMapChart/HeatMapChart.js +0 -9
  186. package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
  187. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  188. package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -23
  189. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  190. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
  191. package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
  192. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  193. package/lib/components/HeatMapChart/index.d.ts +0 -2
  194. package/lib/components/HeatMapChart/index.js +0 -3
  195. package/lib/components/HeatMapChart/index.js.map +0 -1
  196. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  197. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -293
  198. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  199. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  200. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -10
  201. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  202. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  203. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -66
  204. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  205. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  206. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -9
  207. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  208. package/lib/components/HorizontalBarChart/index.d.ts +0 -3
  209. package/lib/components/HorizontalBarChart/index.js +0 -4
  210. package/lib/components/HorizontalBarChart/index.js.map +0 -1
  211. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
  212. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -601
  213. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  214. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  215. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -10
  216. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  217. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  218. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -12
  219. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  220. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  221. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -2
  222. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  223. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  224. package/lib/components/HorizontalBarChartWithAxis/index.js +0 -3
  225. package/lib/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  226. package/lib/components/Legends/Legends.base.d.ts +0 -50
  227. package/lib/components/Legends/Legends.base.js +0 -329
  228. package/lib/components/Legends/Legends.base.js.map +0 -1
  229. package/lib/components/Legends/Legends.d.ts +0 -7
  230. package/lib/components/Legends/Legends.js +0 -9
  231. package/lib/components/Legends/Legends.js.map +0 -1
  232. package/lib/components/Legends/Legends.styles.d.ts +0 -10
  233. package/lib/components/Legends/Legends.styles.js +0 -120
  234. package/lib/components/Legends/Legends.styles.js.map +0 -1
  235. package/lib/components/Legends/Legends.types.d.ts +0 -259
  236. package/lib/components/Legends/Legends.types.js +0 -2
  237. package/lib/components/Legends/Legends.types.js.map +0 -1
  238. package/lib/components/Legends/index.d.ts +0 -3
  239. package/lib/components/Legends/index.js +0 -4
  240. package/lib/components/Legends/index.js.map +0 -1
  241. package/lib/components/Legends/shape.d.ts +0 -9
  242. package/lib/components/Legends/shape.js +0 -24
  243. package/lib/components/Legends/shape.js.map +0 -1
  244. package/lib/components/LineChart/LineChart.base.d.ts +0 -105
  245. package/lib/components/LineChart/LineChart.base.js +0 -966
  246. package/lib/components/LineChart/LineChart.base.js.map +0 -1
  247. package/lib/components/LineChart/LineChart.d.ts +0 -7
  248. package/lib/components/LineChart/LineChart.js +0 -10
  249. package/lib/components/LineChart/LineChart.js.map +0 -1
  250. package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
  251. package/lib/components/LineChart/LineChart.styles.js +0 -7
  252. package/lib/components/LineChart/LineChart.styles.js.map +0 -1
  253. package/lib/components/LineChart/LineChart.types.d.ts +0 -103
  254. package/lib/components/LineChart/LineChart.types.js +0 -2
  255. package/lib/components/LineChart/LineChart.types.js.map +0 -1
  256. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  257. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -90
  258. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  259. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  260. package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -40
  261. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  262. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  263. package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -38
  264. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  265. package/lib/components/LineChart/index.d.ts +0 -3
  266. package/lib/components/LineChart/index.js +0 -4
  267. package/lib/components/LineChart/index.js.map +0 -1
  268. package/lib/components/PieChart/Arc/Arc.d.ts +0 -17
  269. package/lib/components/PieChart/Arc/Arc.js +0 -89
  270. package/lib/components/PieChart/Arc/Arc.js.map +0 -1
  271. package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  272. package/lib/components/PieChart/Arc/Arc.styles.js +0 -11
  273. package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
  274. package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -73
  275. package/lib/components/PieChart/Arc/Arc.types.js +0 -2
  276. package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
  277. package/lib/components/PieChart/Arc/index.d.ts +0 -2
  278. package/lib/components/PieChart/Arc/index.js +0 -3
  279. package/lib/components/PieChart/Arc/index.js.map +0 -1
  280. package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
  281. package/lib/components/PieChart/Pie/Pie.js +0 -45
  282. package/lib/components/PieChart/Pie/Pie.js.map +0 -1
  283. package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  284. package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
  285. package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
  286. package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -47
  287. package/lib/components/PieChart/Pie/Pie.types.js +0 -2
  288. package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
  289. package/lib/components/PieChart/Pie/index.d.ts +0 -2
  290. package/lib/components/PieChart/Pie/index.js +0 -3
  291. package/lib/components/PieChart/Pie/index.js.map +0 -1
  292. package/lib/components/PieChart/PieChart.base.d.ts +0 -10
  293. package/lib/components/PieChart/PieChart.base.js +0 -46
  294. package/lib/components/PieChart/PieChart.base.js.map +0 -1
  295. package/lib/components/PieChart/PieChart.d.ts +0 -7
  296. package/lib/components/PieChart/PieChart.js +0 -10
  297. package/lib/components/PieChart/PieChart.js.map +0 -1
  298. package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
  299. package/lib/components/PieChart/PieChart.styles.js +0 -29
  300. package/lib/components/PieChart/PieChart.styles.js.map +0 -1
  301. package/lib/components/PieChart/PieChart.types.d.ts +0 -75
  302. package/lib/components/PieChart/PieChart.types.js +0 -2
  303. package/lib/components/PieChart/PieChart.types.js.map +0 -1
  304. package/lib/components/PieChart/index.d.ts +0 -2
  305. package/lib/components/PieChart/index.js +0 -3
  306. package/lib/components/PieChart/index.js.map +0 -1
  307. package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
  308. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +0 -83
  309. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
  310. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
  311. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -2
  312. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
  313. package/lib/components/ResponsiveContainer/index.d.ts +0 -3
  314. package/lib/components/ResponsiveContainer/index.js +0 -4
  315. package/lib/components/ResponsiveContainer/index.js.map +0 -1
  316. package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
  317. package/lib/components/ResponsiveContainer/withResponsiveContainer.js +0 -17
  318. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
  319. package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -91
  320. package/lib/components/SankeyChart/SankeyChart.base.js +0 -919
  321. package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
  322. package/lib/components/SankeyChart/SankeyChart.d.ts +0 -7
  323. package/lib/components/SankeyChart/SankeyChart.js +0 -10
  324. package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
  325. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  326. package/lib/components/SankeyChart/SankeyChart.styles.js +0 -59
  327. package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  328. package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -157
  329. package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
  330. package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
  331. package/lib/components/SankeyChart/index.d.ts +0 -2
  332. package/lib/components/SankeyChart/index.js +0 -3
  333. package/lib/components/SankeyChart/index.js.map +0 -1
  334. package/lib/components/Sparkline/Sparkline.base.d.ts +0 -23
  335. package/lib/components/Sparkline/Sparkline.base.js +0 -86
  336. package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
  337. package/lib/components/Sparkline/Sparkline.d.ts +0 -7
  338. package/lib/components/Sparkline/Sparkline.js +0 -10
  339. package/lib/components/Sparkline/Sparkline.js.map +0 -1
  340. package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
  341. package/lib/components/Sparkline/Sparkline.styles.js +0 -10
  342. package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
  343. package/lib/components/Sparkline/Sparkline.types.d.ts +0 -59
  344. package/lib/components/Sparkline/Sparkline.types.js +0 -2
  345. package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
  346. package/lib/components/Sparkline/index.d.ts +0 -2
  347. package/lib/components/Sparkline/index.js +0 -3
  348. package/lib/components/Sparkline/index.js.map +0 -1
  349. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  350. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -437
  351. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  352. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  353. package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -10
  354. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  355. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  356. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -86
  357. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  358. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  359. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -9
  360. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  361. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  362. package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -366
  363. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  364. package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  365. package/lib/components/StackedBarChart/StackedBarChart.js +0 -10
  366. package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
  367. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  368. package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -103
  369. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  370. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  371. package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
  372. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  373. package/lib/components/StackedBarChart/index.d.ts +0 -5
  374. package/lib/components/StackedBarChart/index.js +0 -6
  375. package/lib/components/StackedBarChart/index.js.map +0 -1
  376. package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
  377. package/lib/components/TreeChart/TreeChart.base.js +0 -321
  378. package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
  379. package/lib/components/TreeChart/TreeChart.d.ts +0 -7
  380. package/lib/components/TreeChart/TreeChart.js +0 -9
  381. package/lib/components/TreeChart/TreeChart.js.map +0 -1
  382. package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
  383. package/lib/components/TreeChart/TreeChart.styles.js +0 -29
  384. package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
  385. package/lib/components/TreeChart/TreeChart.types.d.ts +0 -216
  386. package/lib/components/TreeChart/TreeChart.types.js +0 -29
  387. package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
  388. package/lib/components/TreeChart/index.d.ts +0 -2
  389. package/lib/components/TreeChart/index.js +0 -3
  390. package/lib/components/TreeChart/index.js.map +0 -1
  391. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
  392. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -880
  393. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  394. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  395. package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -10
  396. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  397. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  398. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
  399. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  400. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
  401. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
  402. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  403. package/lib/components/VerticalBarChart/index.d.ts +0 -2
  404. package/lib/components/VerticalBarChart/index.js +0 -3
  405. package/lib/components/VerticalBarChart/index.js.map +0 -1
  406. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
  407. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -816
  408. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  409. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  410. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -10
  411. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  412. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  413. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
  414. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  415. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
  416. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
  417. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  418. package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
  419. package/lib/components/VerticalStackedBarChart/index.js +0 -3
  420. package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
  421. package/lib/index.d.ts +0 -44
  422. package/lib/index.js +0 -24
  423. package/lib/index.js.map +0 -1
  424. package/lib/types/IDataPoint.d.ts +0 -736
  425. package/lib/types/IDataPoint.js +0 -2
  426. package/lib/types/IDataPoint.js.map +0 -1
  427. package/lib/types/IEventAnnotation.d.ts +0 -6
  428. package/lib/types/IEventAnnotation.js +0 -2
  429. package/lib/types/IEventAnnotation.js.map +0 -1
  430. package/lib/types/ILegendDataItem.d.ts +0 -10
  431. package/lib/types/ILegendDataItem.js +0 -2
  432. package/lib/types/ILegendDataItem.js.map +0 -1
  433. package/lib/types/index.d.ts +0 -2
  434. package/lib/types/index.js +0 -3
  435. package/lib/types/index.js.map +0 -1
  436. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  437. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
  438. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  439. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  440. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
  441. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  442. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  443. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -98
  444. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  445. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  446. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
  447. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  448. package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
  449. package/lib/utilities/ChartHoverCard/index.js +0 -4
  450. package/lib/utilities/ChartHoverCard/index.js.map +0 -1
  451. package/lib/utilities/FocusableTooltipText.d.ts +0 -27
  452. package/lib/utilities/FocusableTooltipText.js +0 -54
  453. package/lib/utilities/FocusableTooltipText.js.map +0 -1
  454. package/lib/utilities/SVGTooltipText.d.ts +0 -110
  455. package/lib/utilities/SVGTooltipText.js +0 -192
  456. package/lib/utilities/SVGTooltipText.js.map +0 -1
  457. package/lib/utilities/colors.d.ts +0 -52
  458. package/lib/utilities/colors.js +0 -154
  459. package/lib/utilities/colors.js.map +0 -1
  460. package/lib/utilities/gradients.d.ts +0 -30
  461. package/lib/utilities/gradients.js +0 -173
  462. package/lib/utilities/gradients.js.map +0 -1
  463. package/lib/utilities/image-export-utils.d.ts +0 -13
  464. package/lib/utilities/image-export-utils.js +0 -238
  465. package/lib/utilities/image-export-utils.js.map +0 -1
  466. package/lib/utilities/index.d.ts +0 -5
  467. package/lib/utilities/index.js +0 -6
  468. package/lib/utilities/index.js.map +0 -1
  469. package/lib/utilities/locale-util.d.ts +0 -3
  470. package/lib/utilities/locale-util.js +0 -18
  471. package/lib/utilities/locale-util.js.map +0 -1
  472. package/lib/utilities/test-data.d.ts +0 -43
  473. package/lib/utilities/test-data.js +0 -262
  474. package/lib/utilities/test-data.js.map +0 -1
  475. package/lib/utilities/utilities.d.ts +0 -418
  476. package/lib/utilities/utilities.js +0 -1224
  477. package/lib/utilities/utilities.js.map +0 -1
  478. package/lib/utilities/vbc-utils.d.ts +0 -2
  479. package/lib/utilities/vbc-utils.js +0 -31
  480. package/lib/utilities/vbc-utils.js.map +0 -1
  481. package/lib/version.d.ts +0 -1
  482. package/lib/version.js +0 -5
  483. package/lib/version.js.map +0 -1
  484. package/lib-amd/AreaChart.d.ts +0 -1
  485. package/lib-amd/AreaChart.js +0 -6
  486. package/lib-amd/AreaChart.js.map +0 -1
  487. package/lib-amd/CartesianChart.d.ts +0 -1
  488. package/lib-amd/CartesianChart.js +0 -6
  489. package/lib-amd/CartesianChart.js.map +0 -1
  490. package/lib-amd/DeclarativeChart.d.ts +0 -1
  491. package/lib-amd/DeclarativeChart.js +0 -6
  492. package/lib-amd/DeclarativeChart.js.map +0 -1
  493. package/lib-amd/DonutChart.d.ts +0 -1
  494. package/lib-amd/DonutChart.js +0 -6
  495. package/lib-amd/DonutChart.js.map +0 -1
  496. package/lib-amd/GaugeChart.d.ts +0 -1
  497. package/lib-amd/GaugeChart.js +0 -6
  498. package/lib-amd/GaugeChart.js.map +0 -1
  499. package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
  500. package/lib-amd/GroupedVerticalBarChart.js +0 -6
  501. package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
  502. package/lib-amd/HeatMapChart.d.ts +0 -1
  503. package/lib-amd/HeatMapChart.js +0 -6
  504. package/lib-amd/HeatMapChart.js.map +0 -1
  505. package/lib-amd/HorizontalBarChart.d.ts +0 -1
  506. package/lib-amd/HorizontalBarChart.js +0 -6
  507. package/lib-amd/HorizontalBarChart.js.map +0 -1
  508. package/lib-amd/HorizontalBarChartWithAxis.d.ts +0 -1
  509. package/lib-amd/HorizontalBarChartWithAxis.js +0 -6
  510. package/lib-amd/HorizontalBarChartWithAxis.js.map +0 -1
  511. package/lib-amd/Legends.d.ts +0 -1
  512. package/lib-amd/Legends.js +0 -6
  513. package/lib-amd/Legends.js.map +0 -1
  514. package/lib-amd/LineChart.d.ts +0 -1
  515. package/lib-amd/LineChart.js +0 -6
  516. package/lib-amd/LineChart.js.map +0 -1
  517. package/lib-amd/PieChart.d.ts +0 -1
  518. package/lib-amd/PieChart.js +0 -6
  519. package/lib-amd/PieChart.js.map +0 -1
  520. package/lib-amd/ResponsiveContainer.d.ts +0 -1
  521. package/lib-amd/ResponsiveContainer.js +0 -6
  522. package/lib-amd/ResponsiveContainer.js.map +0 -1
  523. package/lib-amd/SankeyChart.d.ts +0 -1
  524. package/lib-amd/SankeyChart.js +0 -6
  525. package/lib-amd/SankeyChart.js.map +0 -1
  526. package/lib-amd/Sparkline.d.ts +0 -1
  527. package/lib-amd/Sparkline.js +0 -6
  528. package/lib-amd/Sparkline.js.map +0 -1
  529. package/lib-amd/StackedBarChart.d.ts +0 -1
  530. package/lib-amd/StackedBarChart.js +0 -6
  531. package/lib-amd/StackedBarChart.js.map +0 -1
  532. package/lib-amd/Styling.d.ts +0 -2
  533. package/lib-amd/Styling.js +0 -75
  534. package/lib-amd/Styling.js.map +0 -1
  535. package/lib-amd/TreeChart.d.ts +0 -1
  536. package/lib-amd/TreeChart.js +0 -6
  537. package/lib-amd/TreeChart.js.map +0 -1
  538. package/lib-amd/Utilities.d.ts +0 -2
  539. package/lib-amd/Utilities.js +0 -174
  540. package/lib-amd/Utilities.js.map +0 -1
  541. package/lib-amd/VerticalBarChart.d.ts +0 -1
  542. package/lib-amd/VerticalBarChart.js +0 -6
  543. package/lib-amd/VerticalBarChart.js.map +0 -1
  544. package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
  545. package/lib-amd/VerticalStackedBarChart.js +0 -6
  546. package/lib-amd/VerticalStackedBarChart.js.map +0 -1
  547. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -111
  548. package/lib-amd/components/AreaChart/AreaChart.base.js +0 -714
  549. package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
  550. package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -7
  551. package/lib-amd/components/AreaChart/AreaChart.js +0 -12
  552. package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
  553. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
  554. package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
  555. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
  556. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -64
  557. package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
  558. package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
  559. package/lib-amd/components/AreaChart/index.d.ts +0 -2
  560. package/lib-amd/components/AreaChart/index.js +0 -7
  561. package/lib-amd/components/AreaChart/index.js.map +0 -1
  562. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -65
  563. package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -605
  564. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
  565. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -7
  566. package/lib-amd/components/CommonComponents/CartesianChart.js +0 -11
  567. package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
  568. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  569. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -178
  570. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  571. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -556
  572. package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
  573. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
  574. package/lib-amd/components/CommonComponents/index.d.ts +0 -2
  575. package/lib-amd/components/CommonComponents/index.js +0 -7
  576. package/lib-amd/components/CommonComponents/index.js.map +0 -1
  577. package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
  578. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +0 -169
  579. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
  580. package/lib-amd/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
  581. package/lib-amd/components/DeclarativeChart/PlotlySchema.js +0 -7
  582. package/lib-amd/components/DeclarativeChart/PlotlySchema.js.map +0 -1
  583. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
  584. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -754
  585. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
  586. package/lib-amd/components/DeclarativeChart/index.d.ts +0 -1
  587. package/lib-amd/components/DeclarativeChart/index.js +0 -6
  588. package/lib-amd/components/DeclarativeChart/index.js.map +0 -1
  589. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -22
  590. package/lib-amd/components/DonutChart/Arc/Arc.js +0 -105
  591. package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
  592. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  593. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -40
  594. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  595. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  596. package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
  597. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
  598. package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
  599. package/lib-amd/components/DonutChart/Arc/index.js +0 -7
  600. package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
  601. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -61
  602. package/lib-amd/components/DonutChart/DonutChart.base.js +0 -296
  603. package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
  604. package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -7
  605. package/lib-amd/components/DonutChart/DonutChart.js +0 -12
  606. package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
  607. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
  608. package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
  609. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
  610. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -90
  611. package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
  612. package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
  613. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
  614. package/lib-amd/components/DonutChart/Pie/Pie.js +0 -73
  615. package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
  616. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  617. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
  618. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  619. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  620. package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
  621. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
  622. package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
  623. package/lib-amd/components/DonutChart/Pie/index.js +0 -7
  624. package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
  625. package/lib-amd/components/DonutChart/index.d.ts +0 -3
  626. package/lib-amd/components/DonutChart/index.js +0 -8
  627. package/lib-amd/components/DonutChart/index.js.map +0 -1
  628. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +0 -82
  629. package/lib-amd/components/GaugeChart/GaugeChart.base.js +0 -467
  630. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +0 -1
  631. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +0 -7
  632. package/lib-amd/components/GaugeChart/GaugeChart.js +0 -11
  633. package/lib-amd/components/GaugeChart/GaugeChart.js.map +0 -1
  634. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  635. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +0 -133
  636. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  637. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +0 -273
  638. package/lib-amd/components/GaugeChart/GaugeChart.types.js +0 -22
  639. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +0 -1
  640. package/lib-amd/components/GaugeChart/index.d.ts +0 -2
  641. package/lib-amd/components/GaugeChart/index.js +0 -7
  642. package/lib-amd/components/GaugeChart/index.js.map +0 -1
  643. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
  644. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -489
  645. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  646. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  647. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -12
  648. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  649. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  650. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  651. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  652. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
  653. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
  654. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  655. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
  656. package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
  657. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
  658. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
  659. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -588
  660. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  661. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  662. package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -11
  663. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
  664. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  665. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -28
  666. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  667. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
  668. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
  669. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  670. package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
  671. package/lib-amd/components/HeatMapChart/index.js +0 -7
  672. package/lib-amd/components/HeatMapChart/index.js.map +0 -1
  673. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  674. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -289
  675. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  676. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  677. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -12
  678. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  679. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  680. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
  681. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  682. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  683. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -14
  684. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  685. package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
  686. package/lib-amd/components/HorizontalBarChart/index.js +0 -8
  687. package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
  688. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
  689. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -594
  690. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  691. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  692. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -12
  693. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  694. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  695. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -17
  696. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  697. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  698. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -5
  699. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  700. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  701. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +0 -7
  702. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  703. package/lib-amd/components/Legends/Legends.base.d.ts +0 -50
  704. package/lib-amd/components/Legends/Legends.base.js +0 -325
  705. package/lib-amd/components/Legends/Legends.base.js.map +0 -1
  706. package/lib-amd/components/Legends/Legends.d.ts +0 -7
  707. package/lib-amd/components/Legends/Legends.js +0 -11
  708. package/lib-amd/components/Legends/Legends.js.map +0 -1
  709. package/lib-amd/components/Legends/Legends.styles.d.ts +0 -10
  710. package/lib-amd/components/Legends/Legends.styles.js +0 -124
  711. package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
  712. package/lib-amd/components/Legends/Legends.types.d.ts +0 -259
  713. package/lib-amd/components/Legends/Legends.types.js +0 -5
  714. package/lib-amd/components/Legends/Legends.types.js.map +0 -1
  715. package/lib-amd/components/Legends/index.d.ts +0 -3
  716. package/lib-amd/components/Legends/index.js +0 -8
  717. package/lib-amd/components/Legends/index.js.map +0 -1
  718. package/lib-amd/components/Legends/shape.d.ts +0 -9
  719. package/lib-amd/components/Legends/shape.js +0 -27
  720. package/lib-amd/components/Legends/shape.js.map +0 -1
  721. package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -105
  722. package/lib-amd/components/LineChart/LineChart.base.js +0 -958
  723. package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
  724. package/lib-amd/components/LineChart/LineChart.d.ts +0 -7
  725. package/lib-amd/components/LineChart/LineChart.js +0 -12
  726. package/lib-amd/components/LineChart/LineChart.js.map +0 -1
  727. package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
  728. package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
  729. package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
  730. package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -103
  731. package/lib-amd/components/LineChart/LineChart.types.js +0 -5
  732. package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
  733. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  734. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -91
  735. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  736. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  737. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -42
  738. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  739. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  740. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
  741. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  742. package/lib-amd/components/LineChart/index.d.ts +0 -3
  743. package/lib-amd/components/LineChart/index.js +0 -8
  744. package/lib-amd/components/LineChart/index.js.map +0 -1
  745. package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -17
  746. package/lib-amd/components/PieChart/Arc/Arc.js +0 -86
  747. package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
  748. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  749. package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -16
  750. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
  751. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -73
  752. package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
  753. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
  754. package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
  755. package/lib-amd/components/PieChart/Arc/index.js +0 -7
  756. package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
  757. package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
  758. package/lib-amd/components/PieChart/Pie/Pie.js +0 -43
  759. package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
  760. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  761. package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
  762. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
  763. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -47
  764. package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
  765. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
  766. package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
  767. package/lib-amd/components/PieChart/Pie/index.js +0 -7
  768. package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
  769. package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -10
  770. package/lib-amd/components/PieChart/PieChart.base.js +0 -47
  771. package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
  772. package/lib-amd/components/PieChart/PieChart.d.ts +0 -7
  773. package/lib-amd/components/PieChart/PieChart.js +0 -12
  774. package/lib-amd/components/PieChart/PieChart.js.map +0 -1
  775. package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
  776. package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
  777. package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
  778. package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -75
  779. package/lib-amd/components/PieChart/PieChart.types.js +0 -5
  780. package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
  781. package/lib-amd/components/PieChart/index.d.ts +0 -2
  782. package/lib-amd/components/PieChart/index.js +0 -7
  783. package/lib-amd/components/PieChart/index.js.map +0 -1
  784. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
  785. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +0 -86
  786. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
  787. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
  788. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -5
  789. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
  790. package/lib-amd/components/ResponsiveContainer/index.d.ts +0 -3
  791. package/lib-amd/components/ResponsiveContainer/index.js +0 -8
  792. package/lib-amd/components/ResponsiveContainer/index.js.map +0 -1
  793. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
  794. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +0 -19
  795. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
  796. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -91
  797. package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -916
  798. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
  799. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -7
  800. package/lib-amd/components/SankeyChart/SankeyChart.js +0 -12
  801. package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
  802. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  803. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -63
  804. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  805. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -157
  806. package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
  807. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
  808. package/lib-amd/components/SankeyChart/index.d.ts +0 -2
  809. package/lib-amd/components/SankeyChart/index.js +0 -7
  810. package/lib-amd/components/SankeyChart/index.js.map +0 -1
  811. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -23
  812. package/lib-amd/components/Sparkline/Sparkline.base.js +0 -84
  813. package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
  814. package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -7
  815. package/lib-amd/components/Sparkline/Sparkline.js +0 -12
  816. package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
  817. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
  818. package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
  819. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
  820. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -59
  821. package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
  822. package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
  823. package/lib-amd/components/Sparkline/index.d.ts +0 -2
  824. package/lib-amd/components/Sparkline/index.js +0 -7
  825. package/lib-amd/components/Sparkline/index.js.map +0 -1
  826. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  827. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -432
  828. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  829. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  830. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -12
  831. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  832. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  833. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -89
  834. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  835. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  836. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -14
  837. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  838. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  839. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -362
  840. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  841. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  842. package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -12
  843. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
  844. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  845. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  846. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  847. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  848. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
  849. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  850. package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
  851. package/lib-amd/components/StackedBarChart/index.js +0 -10
  852. package/lib-amd/components/StackedBarChart/index.js.map +0 -1
  853. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
  854. package/lib-amd/components/TreeChart/TreeChart.base.js +0 -319
  855. package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
  856. package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -7
  857. package/lib-amd/components/TreeChart/TreeChart.js +0 -11
  858. package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
  859. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
  860. package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
  861. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
  862. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -216
  863. package/lib-amd/components/TreeChart/TreeChart.types.js +0 -34
  864. package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
  865. package/lib-amd/components/TreeChart/index.d.ts +0 -2
  866. package/lib-amd/components/TreeChart/index.js +0 -7
  867. package/lib-amd/components/TreeChart/index.js.map +0 -1
  868. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
  869. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -873
  870. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  871. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  872. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -12
  873. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  874. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  875. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  876. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  877. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
  878. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
  879. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  880. package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
  881. package/lib-amd/components/VerticalBarChart/index.js +0 -7
  882. package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
  883. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
  884. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -809
  885. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  886. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  887. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -12
  888. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  889. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  890. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  891. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  892. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
  893. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
  894. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  895. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
  896. package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
  897. package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
  898. package/lib-amd/index.d.ts +0 -44
  899. package/lib-amd/index.js +0 -43
  900. package/lib-amd/index.js.map +0 -1
  901. package/lib-amd/types/IDataPoint.d.ts +0 -736
  902. package/lib-amd/types/IDataPoint.js +0 -5
  903. package/lib-amd/types/IDataPoint.js.map +0 -1
  904. package/lib-amd/types/IEventAnnotation.d.ts +0 -6
  905. package/lib-amd/types/IEventAnnotation.js +0 -5
  906. package/lib-amd/types/IEventAnnotation.js.map +0 -1
  907. package/lib-amd/types/ILegendDataItem.d.ts +0 -10
  908. package/lib-amd/types/ILegendDataItem.js +0 -5
  909. package/lib-amd/types/ILegendDataItem.js.map +0 -1
  910. package/lib-amd/types/index.d.ts +0 -2
  911. package/lib-amd/types/index.js +0 -7
  912. package/lib-amd/types/index.js.map +0 -1
  913. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  914. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
  915. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  916. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  917. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
  918. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  919. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  920. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -103
  921. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  922. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  923. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
  924. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  925. package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
  926. package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
  927. package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
  928. package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
  929. package/lib-amd/utilities/FocusableTooltipText.js +0 -54
  930. package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
  931. package/lib-amd/utilities/SVGTooltipText.d.ts +0 -110
  932. package/lib-amd/utilities/SVGTooltipText.js +0 -192
  933. package/lib-amd/utilities/SVGTooltipText.js.map +0 -1
  934. package/lib-amd/utilities/colors.d.ts +0 -52
  935. package/lib-amd/utilities/colors.js +0 -161
  936. package/lib-amd/utilities/colors.js.map +0 -1
  937. package/lib-amd/utilities/gradients.d.ts +0 -30
  938. package/lib-amd/utilities/gradients.js +0 -180
  939. package/lib-amd/utilities/gradients.js.map +0 -1
  940. package/lib-amd/utilities/image-export-utils.d.ts +0 -13
  941. package/lib-amd/utilities/image-export-utils.js +0 -241
  942. package/lib-amd/utilities/image-export-utils.js.map +0 -1
  943. package/lib-amd/utilities/index.d.ts +0 -5
  944. package/lib-amd/utilities/index.js +0 -10
  945. package/lib-amd/utilities/index.js.map +0 -1
  946. package/lib-amd/utilities/locale-util.d.ts +0 -3
  947. package/lib-amd/utilities/locale-util.js +0 -24
  948. package/lib-amd/utilities/locale-util.js.map +0 -1
  949. package/lib-amd/utilities/test-data.d.ts +0 -43
  950. package/lib-amd/utilities/test-data.js +0 -266
  951. package/lib-amd/utilities/test-data.js.map +0 -1
  952. package/lib-amd/utilities/utilities.d.ts +0 -418
  953. package/lib-amd/utilities/utilities.js +0 -1261
  954. package/lib-amd/utilities/utilities.js.map +0 -1
  955. package/lib-amd/utilities/vbc-utils.d.ts +0 -2
  956. package/lib-amd/utilities/vbc-utils.js +0 -38
  957. package/lib-amd/utilities/vbc-utils.js.map +0 -1
  958. package/lib-amd/version.d.ts +0 -1
  959. package/lib-amd/version.js +0 -6
  960. package/lib-amd/version.js.map +0 -1
  961. package/lib-commonjs/AreaChart.d.ts +0 -1
  962. package/lib-commonjs/AreaChart.js +0 -5
  963. package/lib-commonjs/AreaChart.js.map +0 -1
  964. package/lib-commonjs/CartesianChart.d.ts +0 -1
  965. package/lib-commonjs/CartesianChart.js +0 -5
  966. package/lib-commonjs/CartesianChart.js.map +0 -1
  967. package/lib-commonjs/DeclarativeChart.d.ts +0 -1
  968. package/lib-commonjs/DeclarativeChart.js +0 -5
  969. package/lib-commonjs/DeclarativeChart.js.map +0 -1
  970. package/lib-commonjs/DonutChart.d.ts +0 -1
  971. package/lib-commonjs/DonutChart.js +0 -5
  972. package/lib-commonjs/DonutChart.js.map +0 -1
  973. package/lib-commonjs/GaugeChart.d.ts +0 -1
  974. package/lib-commonjs/GaugeChart.js +0 -5
  975. package/lib-commonjs/GaugeChart.js.map +0 -1
  976. package/lib-commonjs/GroupedVerticalBarChart.d.ts +0 -1
  977. package/lib-commonjs/GroupedVerticalBarChart.js +0 -5
  978. package/lib-commonjs/GroupedVerticalBarChart.js.map +0 -1
  979. package/lib-commonjs/HeatMapChart.d.ts +0 -1
  980. package/lib-commonjs/HeatMapChart.js +0 -5
  981. package/lib-commonjs/HeatMapChart.js.map +0 -1
  982. package/lib-commonjs/HorizontalBarChart.d.ts +0 -1
  983. package/lib-commonjs/HorizontalBarChart.js +0 -5
  984. package/lib-commonjs/HorizontalBarChart.js.map +0 -1
  985. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +0 -1
  986. package/lib-commonjs/HorizontalBarChartWithAxis.js +0 -5
  987. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +0 -1
  988. package/lib-commonjs/Legends.d.ts +0 -1
  989. package/lib-commonjs/Legends.js +0 -5
  990. package/lib-commonjs/Legends.js.map +0 -1
  991. package/lib-commonjs/LineChart.d.ts +0 -1
  992. package/lib-commonjs/LineChart.js +0 -5
  993. package/lib-commonjs/LineChart.js.map +0 -1
  994. package/lib-commonjs/PieChart.d.ts +0 -1
  995. package/lib-commonjs/PieChart.js +0 -5
  996. package/lib-commonjs/PieChart.js.map +0 -1
  997. package/lib-commonjs/ResponsiveContainer.d.ts +0 -1
  998. package/lib-commonjs/ResponsiveContainer.js +0 -5
  999. package/lib-commonjs/ResponsiveContainer.js.map +0 -1
  1000. package/lib-commonjs/SankeyChart.d.ts +0 -1
  1001. package/lib-commonjs/SankeyChart.js +0 -5
  1002. package/lib-commonjs/SankeyChart.js.map +0 -1
  1003. package/lib-commonjs/Sparkline.d.ts +0 -1
  1004. package/lib-commonjs/Sparkline.js +0 -5
  1005. package/lib-commonjs/Sparkline.js.map +0 -1
  1006. package/lib-commonjs/StackedBarChart.d.ts +0 -1
  1007. package/lib-commonjs/StackedBarChart.js +0 -5
  1008. package/lib-commonjs/StackedBarChart.js.map +0 -1
  1009. package/lib-commonjs/Styling.d.ts +0 -2
  1010. package/lib-commonjs/Styling.js +0 -75
  1011. package/lib-commonjs/Styling.js.map +0 -1
  1012. package/lib-commonjs/TreeChart.d.ts +0 -1
  1013. package/lib-commonjs/TreeChart.js +0 -5
  1014. package/lib-commonjs/TreeChart.js.map +0 -1
  1015. package/lib-commonjs/Utilities.d.ts +0 -2
  1016. package/lib-commonjs/Utilities.js +0 -176
  1017. package/lib-commonjs/Utilities.js.map +0 -1
  1018. package/lib-commonjs/VerticalBarChart.d.ts +0 -1
  1019. package/lib-commonjs/VerticalBarChart.js +0 -5
  1020. package/lib-commonjs/VerticalBarChart.js.map +0 -1
  1021. package/lib-commonjs/VerticalStackedBarChart.d.ts +0 -1
  1022. package/lib-commonjs/VerticalStackedBarChart.js +0 -5
  1023. package/lib-commonjs/VerticalStackedBarChart.js.map +0 -1
  1024. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +0 -111
  1025. package/lib-commonjs/components/AreaChart/AreaChart.base.js +0 -725
  1026. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +0 -1
  1027. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +0 -7
  1028. package/lib-commonjs/components/AreaChart/AreaChart.js +0 -13
  1029. package/lib-commonjs/components/AreaChart/AreaChart.js.map +0 -1
  1030. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +0 -2
  1031. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +0 -11
  1032. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +0 -1
  1033. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +0 -64
  1034. package/lib-commonjs/components/AreaChart/AreaChart.types.js +0 -3
  1035. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +0 -1
  1036. package/lib-commonjs/components/AreaChart/index.d.ts +0 -2
  1037. package/lib-commonjs/components/AreaChart/index.js +0 -6
  1038. package/lib-commonjs/components/AreaChart/index.js.map +0 -1
  1039. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +0 -65
  1040. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +0 -612
  1041. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +0 -1
  1042. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +0 -7
  1043. package/lib-commonjs/components/CommonComponents/CartesianChart.js +0 -12
  1044. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +0 -1
  1045. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
  1046. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +0 -179
  1047. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +0 -1
  1048. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +0 -556
  1049. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +0 -3
  1050. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +0 -1
  1051. package/lib-commonjs/components/CommonComponents/index.d.ts +0 -2
  1052. package/lib-commonjs/components/CommonComponents/index.js +0 -6
  1053. package/lib-commonjs/components/CommonComponents/index.js.map +0 -1
  1054. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +0 -43
  1055. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +0 -183
  1056. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +0 -1
  1057. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.d.ts +0 -1517
  1058. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js +0 -5
  1059. package/lib-commonjs/components/DeclarativeChart/PlotlySchema.js.map +0 -1
  1060. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +0 -36
  1061. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +0 -760
  1062. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +0 -1
  1063. package/lib-commonjs/components/DeclarativeChart/index.d.ts +0 -1
  1064. package/lib-commonjs/components/DeclarativeChart/index.js +0 -5
  1065. package/lib-commonjs/components/DeclarativeChart/index.js.map +0 -1
  1066. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +0 -22
  1067. package/lib-commonjs/components/DonutChart/Arc/Arc.js +0 -110
  1068. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +0 -1
  1069. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
  1070. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +0 -39
  1071. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +0 -1
  1072. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +0 -165
  1073. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +0 -3
  1074. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +0 -1
  1075. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +0 -2
  1076. package/lib-commonjs/components/DonutChart/Arc/index.js +0 -6
  1077. package/lib-commonjs/components/DonutChart/Arc/index.js.map +0 -1
  1078. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +0 -61
  1079. package/lib-commonjs/components/DonutChart/DonutChart.base.js +0 -304
  1080. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +0 -1
  1081. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +0 -7
  1082. package/lib-commonjs/components/DonutChart/DonutChart.js +0 -13
  1083. package/lib-commonjs/components/DonutChart/DonutChart.js.map +0 -1
  1084. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +0 -2
  1085. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +0 -34
  1086. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +0 -1
  1087. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +0 -90
  1088. package/lib-commonjs/components/DonutChart/DonutChart.types.js +0 -3
  1089. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +0 -1
  1090. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +0 -15
  1091. package/lib-commonjs/components/DonutChart/Pie/Pie.js +0 -78
  1092. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +0 -1
  1093. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
  1094. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +0 -23
  1095. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +0 -1
  1096. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +0 -106
  1097. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +0 -3
  1098. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +0 -1
  1099. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +0 -2
  1100. package/lib-commonjs/components/DonutChart/Pie/index.js +0 -6
  1101. package/lib-commonjs/components/DonutChart/Pie/index.js.map +0 -1
  1102. package/lib-commonjs/components/DonutChart/index.d.ts +0 -3
  1103. package/lib-commonjs/components/DonutChart/index.js +0 -7
  1104. package/lib-commonjs/components/DonutChart/index.js.map +0 -1
  1105. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +0 -82
  1106. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +0 -478
  1107. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +0 -1
  1108. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +0 -7
  1109. package/lib-commonjs/components/GaugeChart/GaugeChart.js +0 -12
  1110. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +0 -1
  1111. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +0 -2
  1112. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +0 -133
  1113. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +0 -1
  1114. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +0 -273
  1115. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +0 -20
  1116. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +0 -1
  1117. package/lib-commonjs/components/GaugeChart/index.d.ts +0 -2
  1118. package/lib-commonjs/components/GaugeChart/index.js +0 -6
  1119. package/lib-commonjs/components/GaugeChart/index.js.map +0 -1
  1120. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -80
  1121. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -498
  1122. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
  1123. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -7
  1124. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -13
  1125. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
  1126. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
  1127. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
  1128. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
  1129. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -126
  1130. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -3
  1131. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
  1132. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +0 -2
  1133. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +0 -6
  1134. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +0 -1
  1135. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +0 -160
  1136. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +0 -600
  1137. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
  1138. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +0 -7
  1139. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +0 -12
  1140. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +0 -1
  1141. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
  1142. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +0 -27
  1143. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
  1144. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +0 -130
  1145. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +0 -3
  1146. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
  1147. package/lib-commonjs/components/HeatMapChart/index.d.ts +0 -2
  1148. package/lib-commonjs/components/HeatMapChart/index.js +0 -6
  1149. package/lib-commonjs/components/HeatMapChart/index.js.map +0 -1
  1150. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -47
  1151. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -296
  1152. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
  1153. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -7
  1154. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +0 -13
  1155. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
  1156. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
  1157. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -70
  1158. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
  1159. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -198
  1160. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -12
  1161. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
  1162. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +0 -3
  1163. package/lib-commonjs/components/HorizontalBarChart/index.js +0 -7
  1164. package/lib-commonjs/components/HorizontalBarChart/index.js.map +0 -1
  1165. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +0 -76
  1166. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +0 -604
  1167. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +0 -1
  1168. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +0 -7
  1169. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +0 -13
  1170. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +0 -1
  1171. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +0 -2
  1172. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +0 -16
  1173. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +0 -1
  1174. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +0 -122
  1175. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +0 -3
  1176. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +0 -1
  1177. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +0 -2
  1178. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +0 -6
  1179. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +0 -1
  1180. package/lib-commonjs/components/Legends/Legends.base.d.ts +0 -50
  1181. package/lib-commonjs/components/Legends/Legends.base.js +0 -332
  1182. package/lib-commonjs/components/Legends/Legends.base.js.map +0 -1
  1183. package/lib-commonjs/components/Legends/Legends.d.ts +0 -7
  1184. package/lib-commonjs/components/Legends/Legends.js +0 -12
  1185. package/lib-commonjs/components/Legends/Legends.js.map +0 -1
  1186. package/lib-commonjs/components/Legends/Legends.styles.d.ts +0 -10
  1187. package/lib-commonjs/components/Legends/Legends.styles.js +0 -124
  1188. package/lib-commonjs/components/Legends/Legends.styles.js.map +0 -1
  1189. package/lib-commonjs/components/Legends/Legends.types.d.ts +0 -259
  1190. package/lib-commonjs/components/Legends/Legends.types.js +0 -3
  1191. package/lib-commonjs/components/Legends/Legends.types.js.map +0 -1
  1192. package/lib-commonjs/components/Legends/index.d.ts +0 -3
  1193. package/lib-commonjs/components/Legends/index.js +0 -7
  1194. package/lib-commonjs/components/Legends/index.js.map +0 -1
  1195. package/lib-commonjs/components/Legends/shape.d.ts +0 -9
  1196. package/lib-commonjs/components/Legends/shape.js +0 -28
  1197. package/lib-commonjs/components/Legends/shape.js.map +0 -1
  1198. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +0 -105
  1199. package/lib-commonjs/components/LineChart/LineChart.base.js +0 -969
  1200. package/lib-commonjs/components/LineChart/LineChart.base.js.map +0 -1
  1201. package/lib-commonjs/components/LineChart/LineChart.d.ts +0 -7
  1202. package/lib-commonjs/components/LineChart/LineChart.js +0 -13
  1203. package/lib-commonjs/components/LineChart/LineChart.js.map +0 -1
  1204. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +0 -2
  1205. package/lib-commonjs/components/LineChart/LineChart.styles.js +0 -11
  1206. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +0 -1
  1207. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +0 -103
  1208. package/lib-commonjs/components/LineChart/LineChart.types.js +0 -3
  1209. package/lib-commonjs/components/LineChart/LineChart.types.js.map +0 -1
  1210. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -12
  1211. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +0 -94
  1212. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
  1213. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -24
  1214. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +0 -44
  1215. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
  1216. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
  1217. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +0 -42
  1218. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
  1219. package/lib-commonjs/components/LineChart/index.d.ts +0 -3
  1220. package/lib-commonjs/components/LineChart/index.js +0 -7
  1221. package/lib-commonjs/components/LineChart/index.js.map +0 -1
  1222. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +0 -17
  1223. package/lib-commonjs/components/PieChart/Arc/Arc.js +0 -92
  1224. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +0 -1
  1225. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +0 -3
  1226. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +0 -15
  1227. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +0 -1
  1228. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +0 -73
  1229. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +0 -3
  1230. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +0 -1
  1231. package/lib-commonjs/components/PieChart/Arc/index.d.ts +0 -2
  1232. package/lib-commonjs/components/PieChart/Arc/index.js +0 -6
  1233. package/lib-commonjs/components/PieChart/Arc/index.js.map +0 -1
  1234. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +0 -10
  1235. package/lib-commonjs/components/PieChart/Pie/Pie.js +0 -48
  1236. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +0 -1
  1237. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +0 -2
  1238. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +0 -10
  1239. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +0 -1
  1240. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +0 -47
  1241. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +0 -3
  1242. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +0 -1
  1243. package/lib-commonjs/components/PieChart/Pie/index.d.ts +0 -2
  1244. package/lib-commonjs/components/PieChart/Pie/index.js +0 -6
  1245. package/lib-commonjs/components/PieChart/Pie/index.js.map +0 -1
  1246. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +0 -10
  1247. package/lib-commonjs/components/PieChart/PieChart.base.js +0 -49
  1248. package/lib-commonjs/components/PieChart/PieChart.base.js.map +0 -1
  1249. package/lib-commonjs/components/PieChart/PieChart.d.ts +0 -7
  1250. package/lib-commonjs/components/PieChart/PieChart.js +0 -13
  1251. package/lib-commonjs/components/PieChart/PieChart.js.map +0 -1
  1252. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +0 -2
  1253. package/lib-commonjs/components/PieChart/PieChart.styles.js +0 -33
  1254. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +0 -1
  1255. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +0 -75
  1256. package/lib-commonjs/components/PieChart/PieChart.types.js +0 -3
  1257. package/lib-commonjs/components/PieChart/PieChart.types.js.map +0 -1
  1258. package/lib-commonjs/components/PieChart/index.d.ts +0 -2
  1259. package/lib-commonjs/components/PieChart/index.js +0 -6
  1260. package/lib-commonjs/components/PieChart/index.js.map +0 -1
  1261. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +0 -7
  1262. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +0 -87
  1263. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +0 -1
  1264. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +0 -52
  1265. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +0 -3
  1266. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +0 -1
  1267. package/lib-commonjs/components/ResponsiveContainer/index.d.ts +0 -3
  1268. package/lib-commonjs/components/ResponsiveContainer/index.js +0 -7
  1269. package/lib-commonjs/components/ResponsiveContainer/index.js.map +0 -1
  1270. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +0 -7
  1271. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +0 -21
  1272. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +0 -1
  1273. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +0 -91
  1274. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +0 -925
  1275. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +0 -1
  1276. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +0 -7
  1277. package/lib-commonjs/components/SankeyChart/SankeyChart.js +0 -13
  1278. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +0 -1
  1279. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
  1280. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +0 -63
  1281. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +0 -1
  1282. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +0 -157
  1283. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +0 -3
  1284. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +0 -1
  1285. package/lib-commonjs/components/SankeyChart/index.d.ts +0 -2
  1286. package/lib-commonjs/components/SankeyChart/index.js +0 -6
  1287. package/lib-commonjs/components/SankeyChart/index.js.map +0 -1
  1288. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +0 -23
  1289. package/lib-commonjs/components/Sparkline/Sparkline.base.js +0 -89
  1290. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +0 -1
  1291. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +0 -7
  1292. package/lib-commonjs/components/Sparkline/Sparkline.js +0 -13
  1293. package/lib-commonjs/components/Sparkline/Sparkline.js.map +0 -1
  1294. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +0 -2
  1295. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +0 -14
  1296. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +0 -1
  1297. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +0 -59
  1298. package/lib-commonjs/components/Sparkline/Sparkline.types.js +0 -3
  1299. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +0 -1
  1300. package/lib-commonjs/components/Sparkline/index.d.ts +0 -2
  1301. package/lib-commonjs/components/Sparkline/index.js +0 -6
  1302. package/lib-commonjs/components/Sparkline/index.js.map +0 -1
  1303. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -70
  1304. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +0 -440
  1305. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
  1306. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -7
  1307. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +0 -13
  1308. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
  1309. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
  1310. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
  1311. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
  1312. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -223
  1313. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +0 -12
  1314. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
  1315. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +0 -63
  1316. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +0 -369
  1317. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
  1318. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +0 -7
  1319. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +0 -13
  1320. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +0 -1
  1321. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
  1322. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +0 -107
  1323. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
  1324. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +0 -232
  1325. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +0 -3
  1326. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
  1327. package/lib-commonjs/components/StackedBarChart/index.d.ts +0 -5
  1328. package/lib-commonjs/components/StackedBarChart/index.js +0 -9
  1329. package/lib-commonjs/components/StackedBarChart/index.js.map +0 -1
  1330. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +0 -18
  1331. package/lib-commonjs/components/TreeChart/TreeChart.base.js +0 -324
  1332. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +0 -1
  1333. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +0 -7
  1334. package/lib-commonjs/components/TreeChart/TreeChart.js +0 -12
  1335. package/lib-commonjs/components/TreeChart/TreeChart.js.map +0 -1
  1336. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +0 -2
  1337. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +0 -33
  1338. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +0 -1
  1339. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +0 -216
  1340. package/lib-commonjs/components/TreeChart/TreeChart.types.js +0 -32
  1341. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +0 -1
  1342. package/lib-commonjs/components/TreeChart/index.d.ts +0 -2
  1343. package/lib-commonjs/components/TreeChart/index.js +0 -6
  1344. package/lib-commonjs/components/TreeChart/index.js.map +0 -1
  1345. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -94
  1346. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +0 -883
  1347. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
  1348. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +0 -7
  1349. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +0 -13
  1350. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
  1351. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
  1352. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
  1353. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
  1354. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -160
  1355. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +0 -3
  1356. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
  1357. package/lib-commonjs/components/VerticalBarChart/index.d.ts +0 -2
  1358. package/lib-commonjs/components/VerticalBarChart/index.js +0 -6
  1359. package/lib-commonjs/components/VerticalBarChart/index.js.map +0 -1
  1360. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -99
  1361. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -819
  1362. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
  1363. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -7
  1364. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -13
  1365. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
  1366. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
  1367. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
  1368. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
  1369. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -187
  1370. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -3
  1371. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
  1372. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +0 -2
  1373. package/lib-commonjs/components/VerticalStackedBarChart/index.js +0 -6
  1374. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +0 -1
  1375. package/lib-commonjs/index.d.ts +0 -44
  1376. package/lib-commonjs/index.js +0 -64
  1377. package/lib-commonjs/index.js.map +0 -1
  1378. package/lib-commonjs/types/IDataPoint.d.ts +0 -736
  1379. package/lib-commonjs/types/IDataPoint.js +0 -3
  1380. package/lib-commonjs/types/IDataPoint.js.map +0 -1
  1381. package/lib-commonjs/types/IEventAnnotation.d.ts +0 -6
  1382. package/lib-commonjs/types/IEventAnnotation.js +0 -3
  1383. package/lib-commonjs/types/IEventAnnotation.js.map +0 -1
  1384. package/lib-commonjs/types/ILegendDataItem.d.ts +0 -10
  1385. package/lib-commonjs/types/ILegendDataItem.js +0 -3
  1386. package/lib-commonjs/types/ILegendDataItem.js.map +0 -1
  1387. package/lib-commonjs/types/index.d.ts +0 -2
  1388. package/lib-commonjs/types/index.js +0 -6
  1389. package/lib-commonjs/types/index.js.map +0 -1
  1390. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
  1391. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -41
  1392. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
  1393. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
  1394. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +0 -9
  1395. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
  1396. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
  1397. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -102
  1398. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
  1399. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
  1400. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -3
  1401. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
  1402. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +0 -3
  1403. package/lib-commonjs/utilities/ChartHoverCard/index.js +0 -7
  1404. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +0 -1
  1405. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +0 -27
  1406. package/lib-commonjs/utilities/FocusableTooltipText.js +0 -57
  1407. package/lib-commonjs/utilities/FocusableTooltipText.js.map +0 -1
  1408. package/lib-commonjs/utilities/SVGTooltipText.d.ts +0 -110
  1409. package/lib-commonjs/utilities/SVGTooltipText.js +0 -195
  1410. package/lib-commonjs/utilities/SVGTooltipText.js.map +0 -1
  1411. package/lib-commonjs/utilities/colors.d.ts +0 -52
  1412. package/lib-commonjs/utilities/colors.js +0 -160
  1413. package/lib-commonjs/utilities/colors.js.map +0 -1
  1414. package/lib-commonjs/utilities/gradients.d.ts +0 -30
  1415. package/lib-commonjs/utilities/gradients.js +0 -178
  1416. package/lib-commonjs/utilities/gradients.js.map +0 -1
  1417. package/lib-commonjs/utilities/image-export-utils.d.ts +0 -13
  1418. package/lib-commonjs/utilities/image-export-utils.js +0 -243
  1419. package/lib-commonjs/utilities/image-export-utils.js.map +0 -1
  1420. package/lib-commonjs/utilities/index.d.ts +0 -5
  1421. package/lib-commonjs/utilities/index.js +0 -9
  1422. package/lib-commonjs/utilities/index.js.map +0 -1
  1423. package/lib-commonjs/utilities/locale-util.d.ts +0 -3
  1424. package/lib-commonjs/utilities/locale-util.js +0 -22
  1425. package/lib-commonjs/utilities/locale-util.js.map +0 -1
  1426. package/lib-commonjs/utilities/test-data.d.ts +0 -43
  1427. package/lib-commonjs/utilities/test-data.js +0 -265
  1428. package/lib-commonjs/utilities/test-data.js.map +0 -1
  1429. package/lib-commonjs/utilities/utilities.d.ts +0 -418
  1430. package/lib-commonjs/utilities/utilities.js +0 -1269
  1431. package/lib-commonjs/utilities/utilities.js.map +0 -1
  1432. package/lib-commonjs/utilities/vbc-utils.d.ts +0 -2
  1433. package/lib-commonjs/utilities/vbc-utils.js +0 -36
  1434. package/lib-commonjs/utilities/vbc-utils.js.map +0 -1
  1435. package/lib-commonjs/version.d.ts +0 -1
  1436. package/lib-commonjs/version.js +0 -7
  1437. package/lib-commonjs/version.js.map +0 -1
@@ -1,1224 +0,0 @@
1
- var _a;
2
- import { __assign, __rest, __spreadArray } from "tslib";
3
- import { axisRight as d3AxisRight, axisBottom as d3AxisBottom, axisLeft as d3AxisLeft } from 'd3-axis';
4
- import { max as d3Max, min as d3Min, ticks as d3Ticks, nice as d3nice } from 'd3-array';
5
- import { scaleLinear as d3ScaleLinear, scaleBand as d3ScaleBand, scaleUtc as d3ScaleUtc, scaleTime as d3ScaleTime, } from 'd3-scale';
6
- import { select as d3Select, selectAll as d3SelectAll } from 'd3-selection';
7
- import { format as d3Format } from 'd3-format';
8
- import { timeFormat as d3TimeFormat, timeFormatLocale as d3TimeFormatLocale, utcFormat as d3UtcFormat, } from 'd3-time-format';
9
- import { timeSecond as d3TimeSecond, timeMinute as d3TimeMinute, timeHour as d3TimeHour, timeDay as d3TimeDay, timeMonth as d3TimeMonth, timeWeek as d3TimeWeek, timeYear as d3TimeYear, utcSecond as d3UtcSecond, utcMinute as d3UtcMinute, utcHour as d3UtcHour, utcDay as d3UtcDay, utcMonth as d3UtcMonth, utcWeek as d3UtcWeek, utcYear as d3UtcYear, } from 'd3-time';
10
- import { formatPrefix as d3FormatPrefix } from 'd3-format';
11
- import { getId } from '@fluentui/react';
12
- export var ChartTypes;
13
- (function (ChartTypes) {
14
- ChartTypes[ChartTypes["AreaChart"] = 0] = "AreaChart";
15
- ChartTypes[ChartTypes["LineChart"] = 1] = "LineChart";
16
- ChartTypes[ChartTypes["VerticalBarChart"] = 2] = "VerticalBarChart";
17
- ChartTypes[ChartTypes["VerticalStackedBarChart"] = 3] = "VerticalStackedBarChart";
18
- ChartTypes[ChartTypes["GroupedVerticalBarChart"] = 4] = "GroupedVerticalBarChart";
19
- ChartTypes[ChartTypes["HeatMapChart"] = 5] = "HeatMapChart";
20
- ChartTypes[ChartTypes["HorizontalBarChartWithAxis"] = 6] = "HorizontalBarChartWithAxis";
21
- })(ChartTypes || (ChartTypes = {}));
22
- export var XAxisTypes;
23
- (function (XAxisTypes) {
24
- XAxisTypes[XAxisTypes["NumericAxis"] = 0] = "NumericAxis";
25
- XAxisTypes[XAxisTypes["DateAxis"] = 1] = "DateAxis";
26
- XAxisTypes[XAxisTypes["StringAxis"] = 2] = "StringAxis";
27
- })(XAxisTypes || (XAxisTypes = {}));
28
- export var YAxisType;
29
- (function (YAxisType) {
30
- YAxisType[YAxisType["NumericAxis"] = 0] = "NumericAxis";
31
- YAxisType[YAxisType["DateAxis"] = 1] = "DateAxis";
32
- YAxisType[YAxisType["StringAxis"] = 2] = "StringAxis";
33
- })(YAxisType || (YAxisType = {}));
34
- /**
35
- * Create Numeric X axis
36
- * @export
37
- * @param {IXAxisParams} xAxisParams
38
- */
39
- export function createNumericXAxis(xAxisParams, tickParams, chartType, culture) {
40
- var _a;
41
- var domainNRangeValues = xAxisParams.domainNRangeValues, _b = xAxisParams.showRoundOffXTickValues, showRoundOffXTickValues = _b === void 0 ? false : _b, _c = xAxisParams.xAxistickSize, xAxistickSize = _c === void 0 ? 6 : _c, _d = xAxisParams.tickPadding, tickPadding = _d === void 0 ? 10 : _d, xAxisCount = xAxisParams.xAxisCount, xAxisElement = xAxisParams.xAxisElement, hideTickOverlap = xAxisParams.hideTickOverlap;
42
- var xAxisScale = d3ScaleLinear()
43
- .domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
44
- .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
45
- showRoundOffXTickValues && xAxisScale.nice();
46
- var tickCount = xAxisCount !== null && xAxisCount !== void 0 ? xAxisCount : 6;
47
- var tickFormat = function (domainValue, _index) {
48
- if (tickParams.tickFormat) {
49
- return d3Format(tickParams.tickFormat)(domainValue);
50
- }
51
- var xAxisValue = typeof domainValue === 'number' ? domainValue : domainValue.valueOf();
52
- return convertToLocaleString(xAxisValue, culture);
53
- };
54
- if (hideTickOverlap && typeof xAxisCount === 'undefined') {
55
- var longestLabelWidth = calculateLongestLabelWidth(xAxisScale.ticks().map(tickFormat), '[class^="xAxis-"] text') + 20;
56
- var _e = xAxisScale.range(), start = _e[0], end = _e[1];
57
- tickCount = Math.min(Math.max(1, Math.floor(Math.abs(end - start) / longestLabelWidth)), 10);
58
- }
59
- var xAxis = d3AxisBottom(xAxisScale)
60
- .tickSize(xAxistickSize)
61
- .tickPadding(tickPadding)
62
- .ticks(tickCount)
63
- .tickFormat(tickFormat);
64
- if (chartType === ChartTypes.HorizontalBarChartWithAxis) {
65
- xAxis.tickSizeInner(-(xAxisParams.containerHeight - xAxisParams.margins.top));
66
- }
67
- if (tickParams.tickValues) {
68
- xAxis.tickValues(tickParams.tickValues);
69
- }
70
- if (xAxisElement) {
71
- d3Select(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
72
- }
73
- var tickValues = ((_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : xAxisScale.ticks(tickCount)).map(xAxis.tickFormat());
74
- return { xScale: xAxisScale, tickValues: tickValues };
75
- }
76
- function multiFormat(date, locale, useUTC) {
77
- var timeFormat = locale ? (useUTC ? locale.utcFormat : locale.format) : useUTC ? d3UtcFormat : d3TimeFormat;
78
- var formatMillisecond = timeFormat('.%L');
79
- var formatSecond = timeFormat(':%S');
80
- var formatMinute = timeFormat('%I:%M');
81
- var formatHour = timeFormat('%I %p');
82
- var formatDay = timeFormat('%a %d');
83
- var formatWeek = timeFormat('%b %d');
84
- var formatMonth = timeFormat('%B');
85
- var formatYear = timeFormat('%Y');
86
- var timeSecond = useUTC ? d3UtcSecond : d3TimeSecond;
87
- var timeMinute = useUTC ? d3UtcMinute : d3TimeMinute;
88
- var timeHour = useUTC ? d3UtcHour : d3TimeHour;
89
- var timeDay = useUTC ? d3UtcDay : d3TimeDay;
90
- var timeMonth = useUTC ? d3UtcMonth : d3TimeMonth;
91
- var timeWeek = useUTC ? d3UtcWeek : d3TimeWeek;
92
- var timeYear = useUTC ? d3UtcYear : d3TimeYear;
93
- return (timeSecond(date) < date
94
- ? formatMillisecond
95
- : timeMinute(date) < date
96
- ? formatSecond
97
- : timeHour(date) < date
98
- ? formatMinute
99
- : timeDay(date) < date
100
- ? formatHour
101
- : timeMonth(date) < date
102
- ? timeWeek(date) < date
103
- ? formatDay
104
- : formatWeek
105
- : timeYear(date) < date
106
- ? formatMonth
107
- : formatYear)(date);
108
- }
109
- function isPowerOf10(num) {
110
- var roundedfinalYMax = handleFloatingPointPrecisionError(num);
111
- return Math.log10(roundedfinalYMax) % 1 === 0;
112
- }
113
- //for reference, go through this 'https://docs.python.org/release/2.5.1/tut/node16.html'
114
- function handleFloatingPointPrecisionError(num) {
115
- var rounded = Math.round(num);
116
- return Math.abs(num - rounded) < 1e-6 ? rounded : num;
117
- }
118
- /**
119
- * Creating Date x axis of the Chart
120
- * @export
121
- * @param {IXAxisParams} xAxisParams
122
- * @param {ITickParams} tickParams
123
- */
124
- export function createDateXAxis(xAxisParams, tickParams, culture, options, timeFormatLocale, customDateTimeFormatter, useUTC) {
125
- var _a;
126
- var domainNRangeValues = xAxisParams.domainNRangeValues, xAxisElement = xAxisParams.xAxisElement, _b = xAxisParams.tickPadding, tickPadding = _b === void 0 ? 6 : _b, _c = xAxisParams.xAxistickSize, xAxistickSize = _c === void 0 ? 6 : _c, xAxisCount = xAxisParams.xAxisCount, hideTickOverlap = xAxisParams.hideTickOverlap;
127
- var xAxisScale = useUTC ? d3ScaleUtc() : d3ScaleTime();
128
- xAxisScale
129
- .domain([domainNRangeValues.dStartValue, domainNRangeValues.dEndValue])
130
- .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue]);
131
- var tickCount = xAxisCount !== null && xAxisCount !== void 0 ? xAxisCount : 6;
132
- var tickFormat = function (domainValue, _index) {
133
- if (customDateTimeFormatter) {
134
- return customDateTimeFormatter(domainValue);
135
- }
136
- if (culture && options) {
137
- return domainValue.toLocaleString(culture, options);
138
- }
139
- if (timeFormatLocale) {
140
- var locale = d3TimeFormatLocale(timeFormatLocale);
141
- return multiFormat(domainValue, locale, useUTC);
142
- }
143
- if (culture === undefined && tickParams.tickFormat) {
144
- if (useUTC) {
145
- return d3UtcFormat(tickParams.tickFormat)(domainValue);
146
- }
147
- else {
148
- return d3TimeFormat(tickParams.tickFormat)(domainValue);
149
- }
150
- }
151
- return multiFormat(domainValue, undefined, useUTC);
152
- };
153
- if (hideTickOverlap && typeof xAxisCount === 'undefined') {
154
- var longestLabelWidth = calculateLongestLabelWidth(xAxisScale.ticks().map(tickFormat), '[class^="xAxis-"] text') + 40;
155
- var _d = xAxisScale.range(), start = _d[0], end = _d[1];
156
- tickCount = Math.min(Math.max(1, Math.floor(Math.abs(end - start) / longestLabelWidth)), 10);
157
- }
158
- var xAxis = d3AxisBottom(xAxisScale)
159
- .tickSize(xAxistickSize)
160
- .tickPadding(tickPadding)
161
- .ticks(tickCount)
162
- .tickFormat(tickFormat);
163
- tickParams.tickValues ? xAxis.tickValues(tickParams.tickValues) : '';
164
- if (xAxisElement) {
165
- d3Select(xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
166
- }
167
- var tickValues = ((_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : xAxisScale.ticks(tickCount)).map(xAxis.tickFormat());
168
- return { xScale: xAxisScale, tickValues: tickValues };
169
- }
170
- /**
171
- * Create String X axis
172
- * Currently using for only Vetical stacked bar chart and grouped vertical bar chart
173
- * @export
174
- * @param {IXAxisParams} xAxisParams
175
- * @param {ITickParams} tickParams
176
- * @param {string[]} dataset
177
- * @returns
178
- */
179
- export function createStringXAxis(xAxisParams, tickParams, dataset, culture) {
180
- var _a;
181
- var domainNRangeValues = xAxisParams.domainNRangeValues, _b = xAxisParams.xAxistickSize, xAxistickSize = _b === void 0 ? 6 : _b, _c = xAxisParams.tickPadding, tickPadding = _c === void 0 ? 10 : _c, _d = xAxisParams.xAxisPadding, xAxisPadding = _d === void 0 ? 0.1 : _d, xAxisInnerPadding = xAxisParams.xAxisInnerPadding, xAxisOuterPadding = xAxisParams.xAxisOuterPadding, containerWidth = xAxisParams.containerWidth, hideTickOverlap = xAxisParams.hideTickOverlap;
182
- var xAxisScale = d3ScaleBand()
183
- .domain(dataset)
184
- .range([domainNRangeValues.rStartValue, domainNRangeValues.rEndValue])
185
- .paddingInner(typeof xAxisInnerPadding !== 'undefined' ? xAxisInnerPadding : xAxisPadding)
186
- .paddingOuter(typeof xAxisOuterPadding !== 'undefined' ? xAxisOuterPadding : xAxisPadding);
187
- var tickValues = (_a = tickParams.tickValues) !== null && _a !== void 0 ? _a : dataset;
188
- if (hideTickOverlap) {
189
- var nonOverlappingTickValues = [];
190
- // Here, we need the width of each individual label to detect overlaps,
191
- // but calculateLongestLabelWidth returns the maximum pixel width from an array of labels.
192
- // So call this function separately for each label, instead of the entire array.
193
- var tickSizes = tickValues.map(function (value) { return calculateLongestLabelWidth([value], '[class^="xAxis-"] text'); });
194
- // for LTR
195
- var start = 0;
196
- var end = containerWidth;
197
- var sign = 1;
198
- var range = xAxisScale.range();
199
- if (range[1] - range[0] < 0) {
200
- // for RTL
201
- start = containerWidth;
202
- end = 0;
203
- sign = -1;
204
- }
205
- for (var i = tickValues.length - 1; i >= 0; i--) {
206
- var tickPosition = xAxisScale(tickValues[i]);
207
- if (sign * (tickPosition - (sign * tickSizes[i]) / 2 - start) >= 0 &&
208
- sign * (tickPosition + (sign * tickSizes[i]) / 2 - end) <= 0) {
209
- nonOverlappingTickValues.push(tickValues[i]);
210
- end = tickPosition - sign * (tickSizes[i] / 2 + 10);
211
- }
212
- }
213
- nonOverlappingTickValues = nonOverlappingTickValues.reverse();
214
- tickValues = nonOverlappingTickValues;
215
- }
216
- var xAxis = d3AxisBottom(xAxisScale).tickSize(xAxistickSize).tickPadding(tickPadding).tickValues(tickValues);
217
- if (xAxisParams.xAxisElement) {
218
- d3Select(xAxisParams.xAxisElement).call(xAxis).selectAll('text').attr('aria-hidden', 'true');
219
- }
220
- return { xScale: xAxisScale, tickValues: tickValues };
221
- }
222
- /**
223
- * This method is used to calculate the rounded tick values for the y-axis
224
- * @param {number} minVal
225
- * @param {number} maxVal
226
- * @param {number} splitInto
227
- * @returns {number[]}
228
- */
229
- function calculateRoundedTicks(minVal, maxVal, splitInto) {
230
- var finalYmin = minVal >= 0 && minVal === maxVal ? 0 : minVal;
231
- var finalYmax = minVal < 0 && minVal === maxVal ? 0 : maxVal;
232
- var ticksInterval = d3nice(finalYmin, finalYmax, splitInto);
233
- var ticks = d3Ticks(ticksInterval[0], ticksInterval[ticksInterval.length - 1], splitInto);
234
- if (ticks[ticks.length - 1] > finalYmax && isPowerOf10(finalYmax)) {
235
- ticks.pop();
236
- }
237
- return ticks;
238
- }
239
- /**
240
- * This method used for creating data points for the y axis.
241
- * @export
242
- * @param {number} maxVal
243
- * @param {number} minVal
244
- * @param {number} splitInto
245
- * @param {boolean} isIntegralDataset
246
- * @returns {number[]}
247
- */
248
- export function prepareDatapoints(maxVal, minVal, splitInto, isIntegralDataset, roundedTicks) {
249
- if (roundedTicks) {
250
- return calculateRoundedTicks(minVal, maxVal, splitInto);
251
- }
252
- var val = isIntegralDataset
253
- ? Math.ceil((maxVal - minVal) / splitInto)
254
- : (maxVal - minVal) / splitInto >= 1
255
- ? Math.ceil((maxVal - minVal) / splitInto)
256
- : (maxVal - minVal) / splitInto;
257
- /*
258
- For cases where we have negative and positive values
259
- The dataPointsArray is filled from 0 to minVal by val difference
260
- Then the array is reversed and values from 0(excluding 0) to maxVal are appended
261
- This ensures presence of 0 to act as an anchor reference.
262
- For simple cases where the scale may not encounter such a need for 0,
263
- We simply fill from minVal to maxVal
264
- */
265
- var dataPointsArray = [minVal < 0 && maxVal >= 0 ? 0 : minVal];
266
- /*For the case of all positive or all negative, we need to add another value
267
- in array for atleast one interval, but in case of mix of positive and negative,
268
- there will always be one more entry that will be added by the logic we have*/
269
- if (dataPointsArray[0] === minVal) {
270
- dataPointsArray.push(minVal + val);
271
- }
272
- if (minVal < 0 && maxVal >= 0) {
273
- while (dataPointsArray[dataPointsArray.length - 1] > minVal) {
274
- dataPointsArray.push(dataPointsArray[dataPointsArray.length - 1] - val);
275
- }
276
- dataPointsArray.reverse();
277
- }
278
- while (dataPointsArray[dataPointsArray.length - 1] < maxVal) {
279
- dataPointsArray.push(dataPointsArray[dataPointsArray.length - 1] + val);
280
- }
281
- return dataPointsArray;
282
- }
283
- export function createYAxisForHorizontalBarChartWithAxis(yAxisParams, isRtl) {
284
- var _a = yAxisParams.yMinMaxValues, yMinMaxValues = _a === void 0 ? { startValue: 0, endValue: 0 } : _a, _b = yAxisParams.yAxisElement, yAxisElement = _b === void 0 ? null : _b, _c = yAxisParams.yMaxValue, yMaxValue = _c === void 0 ? 0 : _c, _d = yAxisParams.yMinValue, yMinValue = _d === void 0 ? 0 : _d, containerHeight = yAxisParams.containerHeight, margins = yAxisParams.margins, _e = yAxisParams.tickPadding, tickPadding = _e === void 0 ? 12 : _e, _f = yAxisParams.maxOfYVal, maxOfYVal = _f === void 0 ? 0 : _f, yAxisTickFormat = yAxisParams.yAxisTickFormat, _g = yAxisParams.yAxisTickCount, yAxisTickCount = _g === void 0 ? 4 : _g;
285
- // maxOfYVal coming from only area chart and Grouped vertical bar chart(Calculation done at base file)
286
- var tempVal = maxOfYVal || yMinMaxValues.endValue;
287
- var finalYmax = tempVal > yMaxValue ? tempVal : yMaxValue;
288
- var finalYmin = yMinMaxValues.startValue < yMinValue ? 0 : yMinValue;
289
- var yAxisScale = d3ScaleLinear()
290
- .domain([finalYmin, finalYmax])
291
- .range([containerHeight - margins.bottom, margins.top]);
292
- var axis = isRtl ? d3AxisRight(yAxisScale) : d3AxisLeft(yAxisScale);
293
- var yAxis = axis.tickPadding(tickPadding).ticks(yAxisTickCount);
294
- yAxisTickFormat ? yAxis.tickFormat(yAxisTickFormat) : yAxis.tickFormat(d3Format('.2~s'));
295
- yAxisElement ? d3Select(yAxisElement).call(yAxis).selectAll('text').attr('aria-hidden', 'true') : '';
296
- return yAxisScale;
297
- }
298
- export function createNumericYAxis(yAxisParams, isRtl, axisData, isIntegralDataset, useSecondaryYScale, supportNegativeData, roundedTicks) {
299
- if (useSecondaryYScale === void 0) { useSecondaryYScale = false; }
300
- if (supportNegativeData === void 0) { supportNegativeData = false; }
301
- if (roundedTicks === void 0) { roundedTicks = false; }
302
- var _a = yAxisParams.yMinMaxValues, yMinMaxValues = _a === void 0 ? { startValue: 0, endValue: 0 } : _a, _b = yAxisParams.yAxisElement, yAxisElement = _b === void 0 ? null : _b, _c = yAxisParams.yMaxValue, yMaxValue = _c === void 0 ? 0 : _c, _d = yAxisParams.yMinValue, yMinValue = _d === void 0 ? 0 : _d, containerHeight = yAxisParams.containerHeight, containerWidth = yAxisParams.containerWidth, margins = yAxisParams.margins, _e = yAxisParams.tickPadding, tickPadding = _e === void 0 ? 12 : _e, _f = yAxisParams.maxOfYVal, maxOfYVal = _f === void 0 ? 0 : _f, yAxisTickFormat = yAxisParams.yAxisTickFormat, _g = yAxisParams.yAxisTickCount, yAxisTickCount = _g === void 0 ? 4 : _g, eventAnnotationProps = yAxisParams.eventAnnotationProps, eventLabelHeight = yAxisParams.eventLabelHeight;
303
- // maxOfYVal coming from only area chart and Grouped vertical bar chart(Calculation done at base file)
304
- var tempVal = maxOfYVal || yMinMaxValues.endValue;
305
- var finalYmax = tempVal > yMaxValue ? tempVal : yMaxValue;
306
- var finalYmin = supportNegativeData
307
- ? Math.min(yMinMaxValues.startValue, yMinValue || 0)
308
- : yMinMaxValues.startValue < yMinValue
309
- ? 0
310
- : yMinValue;
311
- var domainValues = prepareDatapoints(finalYmax, finalYmin, yAxisTickCount, isIntegralDataset, roundedTicks);
312
- var yAxisScale = d3ScaleLinear()
313
- .domain([supportNegativeData ? domainValues[0] : finalYmin, domainValues[domainValues.length - 1]])
314
- .range([containerHeight - margins.bottom, margins.top + (eventAnnotationProps ? eventLabelHeight : 0)]);
315
- var axis = (!isRtl && useSecondaryYScale) || (isRtl && !useSecondaryYScale) ? d3AxisRight(yAxisScale) : d3AxisLeft(yAxisScale);
316
- var yAxis = axis
317
- .tickPadding(tickPadding)
318
- .tickValues(domainValues)
319
- .tickSizeInner(-(containerWidth - margins.left - margins.right));
320
- yAxisTickFormat ? yAxis.tickFormat(yAxisTickFormat) : yAxis.tickFormat(d3Format('.2~s'));
321
- yAxisElement ? d3Select(yAxisElement).call(yAxis).selectAll('text').attr('aria-hidden', 'true') : '';
322
- axisData.yAxisDomainValues = domainValues;
323
- return yAxisScale;
324
- }
325
- /**
326
- * Creating String Y axis of the chart for Horizontal Bar Chart With Axis
327
- * @param yAxisParams
328
- * @param dataPoints
329
- * @param isRtl
330
- */
331
- export var createStringYAxisForHorizontalBarChartWithAxis = function (yAxisParams, dataPoints, isRtl, barWidth) {
332
- var containerHeight = yAxisParams.containerHeight, _a = yAxisParams.tickPadding, tickPadding = _a === void 0 ? 12 : _a, margins = yAxisParams.margins, yAxisTickFormat = yAxisParams.yAxisTickFormat, yAxisElement = yAxisParams.yAxisElement;
333
- var yAxisScale = d3ScaleBand()
334
- .domain(dataPoints)
335
- .range([containerHeight - margins.bottom - barWidth / 2, margins.top + barWidth / 2]);
336
- var axis = isRtl ? d3AxisRight(yAxisScale) : d3AxisLeft(yAxisScale);
337
- var yAxis = axis.tickPadding(tickPadding).ticks(dataPoints);
338
- if (yAxisTickFormat) {
339
- yAxis.tickFormat(yAxisTickFormat);
340
- }
341
- yAxisElement ? d3Select(yAxisElement).call(yAxis).selectAll('text') : '';
342
- return yAxisScale;
343
- };
344
- /**
345
- * Creating String Y axis of the chart for other chart except Horizontal Bar Chart With Axis
346
- * @param yAxisParams
347
- * @param dataPoints
348
- * @param isRtl
349
- */
350
- export var createStringYAxis = function (yAxisParams, dataPoints, isRtl) {
351
- var containerHeight = yAxisParams.containerHeight, _a = yAxisParams.tickPadding, tickPadding = _a === void 0 ? 12 : _a, margins = yAxisParams.margins, yAxisTickFormat = yAxisParams.yAxisTickFormat, yAxisElement = yAxisParams.yAxisElement, _b = yAxisParams.yAxisPadding, yAxisPadding = _b === void 0 ? 0 : _b;
352
- var yAxisScale = d3ScaleBand()
353
- .domain(dataPoints)
354
- .range([containerHeight - margins.bottom, margins.top])
355
- .padding(yAxisPadding);
356
- var axis = isRtl ? d3AxisRight(yAxisScale) : d3AxisLeft(yAxisScale);
357
- var yAxis = axis.tickPadding(tickPadding).tickValues(dataPoints).tickSize(0);
358
- if (yAxisTickFormat) {
359
- yAxis.tickFormat(yAxisTickFormat);
360
- }
361
- yAxisElement ? d3Select(yAxisElement).call(yAxis).selectAll('text') : '';
362
- return yAxisScale;
363
- };
364
- /**
365
- * For area chart and line chart, while displaying stackCallout, Need to form a callout data object.
366
- * This methos creates an object for those 2 charts.
367
- * @param values
368
- */
369
- export function calloutData(values) {
370
- var combinedResult = [];
371
- values.forEach(function (line) {
372
- var elements = line.data
373
- .filter(function (point) { return !point.hideCallout; })
374
- .map(function (point) {
375
- return __assign(__assign({}, point), { legend: line.legend, color: line.color, index: line.index });
376
- });
377
- combinedResult = combinedResult.concat(elements);
378
- });
379
- var xValToDataPoints = {};
380
- combinedResult.forEach(function (ele) {
381
- var xValue = ele.x instanceof Date ? ele.x.getTime() : ele.x;
382
- if (xValue in xValToDataPoints) {
383
- xValToDataPoints[xValue].push({
384
- legend: ele.legend,
385
- y: ele.y,
386
- color: ele.color,
387
- xAxisCalloutData: ele.xAxisCalloutData,
388
- yAxisCalloutData: ele.yAxisCalloutData,
389
- callOutAccessibilityData: ele.callOutAccessibilityData,
390
- index: ele.index,
391
- });
392
- }
393
- else {
394
- xValToDataPoints[xValue] = [
395
- {
396
- legend: ele.legend,
397
- y: ele.y,
398
- color: ele.color,
399
- xAxisCalloutData: ele.xAxisCalloutData,
400
- yAxisCalloutData: ele.yAxisCalloutData,
401
- callOutAccessibilityData: ele.callOutAccessibilityData,
402
- index: ele.index,
403
- },
404
- ];
405
- }
406
- });
407
- var result = Object.keys(xValToDataPoints).map(function (xValue) {
408
- return { x: Number(xValue), values: xValToDataPoints[xValue] };
409
- });
410
- return result;
411
- }
412
- export function getUnique(arr, comp) {
413
- var unique = arr
414
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
415
- .map(function (e) { return e[comp]; })
416
- // store the keys of the unique objects
417
- .map(function (e, i, final) { return final.indexOf(e) === i && i; })
418
- // eliminate the dead keys & store unique objects
419
- .filter(function (e) { return arr[e]; })
420
- .map(function (e) { return arr[e]; });
421
- return unique;
422
- }
423
- /**
424
- * This function takes two paramerter
425
- * 1. an array of strings
426
- * 2. a string value
427
- * if the value is not present in the given array then it will return the new
428
- * array by appending the value to the present arrray.
429
- *
430
- * if the value is already present in the given array then it will return the new
431
- * array by deleteing the value from the the array
432
- * @param array
433
- * @param value
434
- */
435
- export function silceOrAppendToArray(array, value) {
436
- var pos = array.indexOf(value);
437
- if (pos === -1) {
438
- return __spreadArray(__spreadArray([], array, true), [value], false);
439
- }
440
- else {
441
- return array.slice(0, pos).concat(array.slice(pos + 1));
442
- }
443
- }
444
- /**
445
- * This method used for wrapping of x axis labels (tick values).
446
- * It breaks down given text value by space separated and calculates the total height needed to display all the words.
447
- * That value = removal value. This value needs to be remove from total svg height, svg will shrink and
448
- * total text will be displayed.
449
- * @export
450
- * @param {IWrapLabelProps} wrapLabelProps
451
- * @returns
452
- */
453
- export function createWrapOfXLabels(wrapLabelProps) {
454
- var node = wrapLabelProps.node, xAxis = wrapLabelProps.xAxis, noOfCharsToTruncate = wrapLabelProps.noOfCharsToTruncate, showXAxisLablesTooltip = wrapLabelProps.showXAxisLablesTooltip;
455
- if (node === null) {
456
- return;
457
- }
458
- var axisNode = d3Select(node).call(xAxis);
459
- var removeVal = 0;
460
- var width = 10;
461
- var arr = [];
462
- axisNode.selectAll('.tick text').each(function () {
463
- var text = d3Select(this);
464
- var totalWord = text.text();
465
- var truncatedWord = "".concat(text.text().slice(0, noOfCharsToTruncate), "...");
466
- var totalWordLength = text.text().length;
467
- var words = text.text().split(/\s+/).reverse();
468
- arr.push(words.length);
469
- var word = '';
470
- var line = [];
471
- var lineNumber = 0;
472
- var lineHeight = 1.1; // ems
473
- var y = text.attr('y');
474
- var dy = parseFloat(text.attr('dy'));
475
- var tspan = text
476
- .text(null)
477
- .append('tspan')
478
- .attr('x', 0)
479
- .attr('y', y)
480
- .attr('id', 'BaseSpan')
481
- .attr('dy', dy + 'em')
482
- .attr('data-', totalWord);
483
- if (showXAxisLablesTooltip && totalWordLength > noOfCharsToTruncate) {
484
- tspan = text
485
- .append('tspan')
486
- .attr('id', 'showDots')
487
- .attr('x', 0)
488
- .attr('y', y)
489
- .attr('dy', ++lineNumber * lineHeight + dy + 'em')
490
- .text(truncatedWord);
491
- }
492
- else if (showXAxisLablesTooltip && totalWordLength <= noOfCharsToTruncate) {
493
- tspan = text
494
- .append('tspan')
495
- .attr('id', 'LessLength')
496
- .attr('x', 0)
497
- .attr('y', y)
498
- .attr('dy', ++lineNumber * lineHeight + dy + 'em')
499
- .text(totalWord);
500
- }
501
- else {
502
- while ((word = words.pop())) {
503
- line.push(word);
504
- tspan.text(line.join(' '));
505
- if (tspan.node().getComputedTextLength() > width && line.length > 1) {
506
- line.pop();
507
- tspan.text(line.join(' '));
508
- line = [word];
509
- tspan = text
510
- .append('tspan')
511
- .attr('id', 'WordBreakId')
512
- .attr('x', 0)
513
- .attr('y', y)
514
- .attr('dy', ++lineNumber * lineHeight + dy + 'em')
515
- .text(word);
516
- }
517
- }
518
- var maxDigit = Math.max.apply(Math, arr);
519
- var maxHeight_1 = 12; // intial value to render corretly first time
520
- axisNode.selectAll('text').each(function () {
521
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
522
- var outerHTMLElement = document.getElementById('WordBreakId');
523
- var BoxCordinates = outerHTMLElement && outerHTMLElement.getBoundingClientRect();
524
- var boxHeight = BoxCordinates && BoxCordinates.height;
525
- if (boxHeight > maxHeight_1) {
526
- maxHeight_1 = boxHeight;
527
- }
528
- });
529
- // If we take directly maxDigit * maxheight, then it will show more height between x axis tick values and bottom.
530
- // To avoid this, reducing maxDigit value by removing some digit based on legth of word.
531
- var removeDigit = 4;
532
- if (maxDigit <= 2) {
533
- removeDigit = 1;
534
- }
535
- else if (maxDigit > 2 && maxDigit <= 6) {
536
- removeDigit = 2;
537
- }
538
- else if (maxDigit > 6 && maxDigit <= 9) {
539
- removeDigit = 3;
540
- }
541
- removeVal = (maxDigit - removeDigit) * maxHeight_1;
542
- }
543
- });
544
- return removeVal > 0 ? removeVal : 0;
545
- }
546
- /**
547
- * This method used for wrapping of y axis labels (tick values).
548
- */
549
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
550
- export function createYAxisLabels(node,
551
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
552
- yAxis, noOfCharsToTruncate, truncateLabel, isRtl) {
553
- if (node === null) {
554
- return;
555
- }
556
- var axisNode = d3Select(node).call(yAxis);
557
- axisNode.selectAll('.tick text').each(function () {
558
- var text = d3Select(this);
559
- var totalWord = text.text();
560
- var truncatedWord = isRtl
561
- ? "...".concat(text.text().slice(0, noOfCharsToTruncate))
562
- : "".concat(text.text().slice(0, noOfCharsToTruncate), "...");
563
- var totalWordLength = text.text().length;
564
- var padding = truncateLabel ? 1.5 : 1; // ems
565
- var y = text.attr('y');
566
- var x = text.attr('x');
567
- var dy = parseFloat(text.attr('dy'));
568
- var dx = 0;
569
- text
570
- .text(null)
571
- .append('tspan')
572
- .attr('x', x)
573
- .attr('y', y)
574
- .attr('id', 'BaseSpan')
575
- .attr('dy', dy + 'em')
576
- .attr('data-', totalWord);
577
- if (truncateLabel && totalWordLength > noOfCharsToTruncate) {
578
- text
579
- .append('tspan')
580
- .attr('id', 'showDots')
581
- .attr('x', isRtl ? 0 : x)
582
- .attr('y', y)
583
- .attr('dy', dy)
584
- .attr('dx', padding + dx + 'em')
585
- .text(truncatedWord);
586
- }
587
- else {
588
- text
589
- .attr('text-align', 'start')
590
- .append('tspan')
591
- .attr('id', 'LessLength')
592
- .attr('x', isRtl ? 0 : x)
593
- .attr('y', y)
594
- .attr('dx', padding + dx + 'em')
595
- .text(totalWord);
596
- }
597
- });
598
- }
599
- export var wrapContent = function (content, id, maxWidth) {
600
- var textElement = d3Select("#".concat(id));
601
- textElement.text(content);
602
- if (!textElement.node()) {
603
- return false;
604
- }
605
- var isOverflowing = false;
606
- var textLength = textElement.node().getComputedTextLength();
607
- while (textLength > maxWidth && content.length > 0) {
608
- content = content.slice(0, -1);
609
- textElement.text(content + '...');
610
- isOverflowing = true;
611
- textLength = textElement.node().getComputedTextLength();
612
- }
613
- return isOverflowing;
614
- };
615
- /**
616
- * Calculates the width of the longest axis label in pixels
617
- */
618
- export var calculateLongestLabelWidth = function (labels, query) {
619
- if (query === void 0) { query = 'none'; }
620
- var maxLabelWidth = 0;
621
- var canvas = document.createElement('canvas');
622
- var ctx = canvas.getContext('2d');
623
- if (ctx) {
624
- var axisText = document.querySelector(query);
625
- if (axisText) {
626
- var styles = window.getComputedStyle(axisText, null);
627
- var fontWeight = styles.getPropertyValue('font-weight');
628
- var fontSize = styles.getPropertyValue('font-size');
629
- var fontFamily = styles.getPropertyValue('font-family');
630
- ctx.font = "".concat(fontWeight, " ").concat(fontSize, " ").concat(fontFamily);
631
- }
632
- else {
633
- ctx.font = '600 10px "Segoe UI"';
634
- }
635
- labels.forEach(function (label) {
636
- maxLabelWidth = Math.max(ctx.measureText(label.toString()).width, maxLabelWidth);
637
- });
638
- }
639
- return maxLabelWidth;
640
- };
641
- /**
642
- * This method displays a tooltip to the x axis lables(tick values)
643
- * when prop 'showXAxisLablesTooltip' enables to the respected chart.
644
- * On hover of the truncated word(at x axis labels tick), a tooltip will be appeared.
645
- */
646
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
647
- export function tooltipOfXAxislabels(xAxistooltipProps) {
648
- var tooltipCls = xAxistooltipProps.tooltipCls, xAxis = xAxistooltipProps.xAxis, id = xAxistooltipProps.id;
649
- if (xAxis === null) {
650
- return null;
651
- }
652
- var div = d3Select('body').append('div').attr('id', id).attr('class', tooltipCls).style('opacity', 0);
653
- var aa = xAxis.selectAll('#BaseSpan')._groups[0];
654
- var baseSpanLength = aa && Object.keys(aa).length;
655
- var originalDataArray = [];
656
- for (var i = 0; i < baseSpanLength; i++) {
657
- var originalData = aa[i].dataset && Object.values(aa[i].dataset)[0];
658
- originalDataArray.push(originalData);
659
- }
660
- var tickObject = xAxis.selectAll('.tick')._groups[0];
661
- var tickObjectLength = tickObject && Object.keys(tickObject).length;
662
- var _loop_1 = function (i) {
663
- var d1 = tickObject[i];
664
- d3Select(d1)
665
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
666
- .on('mouseover', function (event, d) {
667
- div.style('opacity', 0.9);
668
- div
669
- .text(originalDataArray[i])
670
- .style('left', event.pageX + 'px')
671
- .style('top', event.pageY - 28 + 'px');
672
- })
673
- .on('mouseout', function (d) {
674
- div.style('opacity', 0);
675
- });
676
- };
677
- for (var i = 0; i < tickObjectLength; i++) {
678
- _loop_1(i);
679
- }
680
- }
681
- /**
682
- * Find the axis type of line chart and area chart from given data
683
- * @param points
684
- */
685
- export function getXAxisType(points) {
686
- var isXAxisDateType = false;
687
- if (points && points.length > 0) {
688
- points.forEach(function (chartData) {
689
- if (chartData.data.length > 0) {
690
- isXAxisDateType = chartData.data[0].x instanceof Date;
691
- return;
692
- }
693
- });
694
- }
695
- return isXAxisDateType;
696
- }
697
- /**
698
- * Calculates Domain and range values for Numeric X axis.
699
- * This method calculates Area cart and line chart.
700
- * @export
701
- * @param {ILineChartPoints[]} points
702
- * @param {IMargins} margins
703
- * @param {number} width
704
- * @param {boolean} isRTL
705
- * @returns {IDomainNRange}
706
- */
707
- export function domainRangeOfNumericForAreaChart(points, margins, width, isRTL) {
708
- var xMin = d3Min(points, function (point) {
709
- return d3Min(point.data, function (item) { return item.x; });
710
- });
711
- var xMax = d3Max(points, function (point) {
712
- return d3Max(point.data, function (item) {
713
- return item.x;
714
- });
715
- });
716
- var rStartValue = margins.left;
717
- var rEndValue = width - margins.right;
718
- return isRTL
719
- ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rStartValue, rEndValue: rEndValue }
720
- : { dStartValue: xMin, dEndValue: xMax, rStartValue: rStartValue, rEndValue: rEndValue };
721
- }
722
- /**
723
- * Calculates Domain and range values for Numeric X axis.
724
- * This method calculates Horizontal Chart with Axis
725
- * @export
726
- * @param {ILineChartPoints[]} points
727
- * @param {IMargins} margins
728
- * @param {number} width
729
- * @param {boolean} isRTL
730
- * @returns {IDomainNRange}
731
- */
732
- export function domainRangeOfNumericForHorizontalBarChartWithAxis(points, margins, containerWidth, isRTL, shiftX) {
733
- var xMax = d3Max(points, function (point) { return point.x; });
734
- var rMin = isRTL ? margins.left : margins.left + shiftX;
735
- var rMax = isRTL ? containerWidth - margins.right - shiftX : containerWidth - margins.right;
736
- return isRTL
737
- ? { dStartValue: xMax, dEndValue: 0, rStartValue: rMin, rEndValue: rMax }
738
- : { dStartValue: 0, dEndValue: xMax, rStartValue: rMin, rEndValue: rMax };
739
- }
740
- /**
741
- * Calculates Range values of x Axis string axis
742
- * For String axis, we need to give domain values (Not start and end array values)
743
- * So sending 0 as domain values. Domain will be handled at creation of string axis
744
- * For charts stacked bar chart, grouped vertical bar chart, HeatMapChart and Vertical bar chart
745
- * @export
746
- * @param {IMargins} margins
747
- * @param {number} width
748
- * @param {boolean} isRTL
749
- * @returns {IDomainNRange}
750
- */
751
- export function domainRangeOfXStringAxis(margins, width, isRTL) {
752
- var rMin = margins.left;
753
- var rMax = width - margins.right;
754
- return isRTL
755
- ? { dStartValue: 0, dEndValue: 0, rStartValue: rMax, rEndValue: rMin }
756
- : { dStartValue: 0, dEndValue: 0, rStartValue: rMin, rEndValue: rMax };
757
- }
758
- /**
759
- * Calculate domain and range values to the Vertical stacked bar chart - For Numeric axis
760
- * @export
761
- * @param {IDataPoint[]} points
762
- * @param {IMargins} margins
763
- * @param {number} width
764
- * @param {boolean} isRTL
765
- * @param {number} barWidth
766
- * @returns {IDomainNRange}
767
- */
768
- export function domainRangeOfVSBCNumeric(points, margins, width, isRTL, barWidth) {
769
- var xMin = d3Min(points, function (point) { return point.x; });
770
- var xMax = d3Max(points, function (point) { return point.x; });
771
- var rMax = margins.left;
772
- var rMin = width - margins.right;
773
- return isRTL
774
- ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMax, rEndValue: rMin }
775
- : { dStartValue: xMin, dEndValue: xMax, rStartValue: rMax, rEndValue: rMin };
776
- }
777
- /**
778
- * Calculates Domain and range values for Date X axis.
779
- * This method calculates Bar chart.
780
- * @export
781
- * @param {IVerticalBarChartDataPoint[]} points
782
- * @param {IMargins} margins
783
- * @param {number} width
784
- * @param {boolean} isRTL
785
- * @param {Date[] | number[]} tickValues
786
- * @returns {IDomainNRange}
787
- */
788
- export function domainRangeOfDateForAreaLineVerticalBarChart(points, margins, width, isRTL, tickValues, chartType, barWidth) {
789
- if (tickValues === void 0) { tickValues = []; }
790
- var sDate;
791
- var lDate;
792
- if (chartType === ChartTypes.AreaChart || chartType === ChartTypes.LineChart) {
793
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
794
- sDate = d3Min(points, function (point) {
795
- return d3Min(point.data, function (item) {
796
- return item.x;
797
- });
798
- });
799
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
800
- lDate = d3Max(points, function (point) {
801
- return d3Max(point.data, function (item) {
802
- return item.x;
803
- });
804
- });
805
- // Need to draw graph with given small and large date
806
- // (Which Involves customization of date axis tick values)
807
- // That may be Either from given graph data or from prop 'tickValues' date values.
808
- // So, Finding smallest and largest dates
809
- sDate = d3Min(__spreadArray(__spreadArray([], tickValues, true), [sDate], false));
810
- lDate = d3Max(__spreadArray(__spreadArray([], tickValues, true), [lDate], false));
811
- }
812
- else {
813
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
814
- sDate = d3Min(points, function (point) { return point.x; });
815
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
816
- lDate = d3Max(points, function (point) { return point.x; });
817
- }
818
- var rStartValue = margins.left;
819
- var rEndValue = width - margins.right;
820
- return isRTL
821
- ? { dStartValue: lDate, dEndValue: sDate, rStartValue: rStartValue, rEndValue: rEndValue }
822
- : { dStartValue: sDate, dEndValue: lDate, rStartValue: rStartValue, rEndValue: rEndValue };
823
- }
824
- /**
825
- * Calculate domain and range values to the Vertical bar chart - For Numeric axis
826
- * @export
827
- * @param {IDataPoint[]} points
828
- * @param {IMargins} margins
829
- * @param {number} containerWidth
830
- * @param {boolean} isRTL
831
- * @param {number} barWidth
832
- * @returns {IDomainNRange}
833
- */
834
- export function domainRageOfVerticalNumeric(points, margins, containerWidth, isRTL, barWidth) {
835
- var xMax = d3Max(points, function (point) { return point.x; });
836
- var xMin = d3Min(points, function (point) { return point.x; });
837
- var rMin = margins.left;
838
- var rMax = containerWidth - margins.right;
839
- return isRTL
840
- ? { dStartValue: xMax, dEndValue: xMin, rStartValue: rMin, rEndValue: rMax }
841
- : { dStartValue: xMin, dEndValue: xMax, rStartValue: rMin, rEndValue: rMax };
842
- }
843
- /**
844
- * Calculating start and ending values of the Area chart and LineChart
845
- * @export
846
- * @param {ILineChartPoints[]} points
847
- * @returns {{ startValue: number; endValue: number }}
848
- */
849
- export function findNumericMinMaxOfY(points) {
850
- var yMax = d3Max(points, function (point) {
851
- return d3Max(point.data, function (item) { return item.y; });
852
- });
853
- var yMin = d3Min(points, function (point) {
854
- return d3Min(point.data, function (item) { return item.y; });
855
- });
856
- return {
857
- startValue: yMin,
858
- endValue: yMax,
859
- };
860
- }
861
- /**
862
- * Find the minimum and maximum values of the vertical stacked bar chart y axis data point. Used for create y axis.
863
- * @export
864
- * @param {IDataPoint[]} dataset
865
- * @returns {{ startValue: number; endValue: number }}
866
- */
867
- export function findVSBCNumericMinMaxOfY(dataset) {
868
- var yMax = d3Max(dataset, function (point) { return point.y; });
869
- var yMin = d3Min(dataset, function (point) { return point.y; });
870
- return { startValue: yMin, endValue: yMax };
871
- }
872
- /**
873
- * Fins the min and max values of the vertical bar chart y axis data point.
874
- * @export
875
- * @param {IVerticalBarChartDataPoint[]} points
876
- * @returns {{ startValue: number; endValue: number }}
877
- */
878
- export function findVerticalNumericMinMaxOfY(points) {
879
- var yMax = d3Max(points, function (point) {
880
- if (point.lineData !== undefined) {
881
- if (point.y > point.lineData.y) {
882
- return point.y;
883
- }
884
- else {
885
- return point.lineData.y;
886
- }
887
- }
888
- else {
889
- return point.y;
890
- }
891
- });
892
- var yMin = d3Min(points, function (point) {
893
- if (point.lineData !== undefined) {
894
- if (point.y < point.lineData.y) {
895
- return point.y;
896
- }
897
- else {
898
- return point.lineData.y;
899
- }
900
- }
901
- else {
902
- return point.y;
903
- }
904
- });
905
- return { startValue: yMin, endValue: yMax };
906
- }
907
- /**
908
- * Fins the min and max values of the vertical bar chart y axis data point.
909
- * @export
910
- * @param {IVerticalBarChartDataPoint[]} points
911
- * @returns {{ startValue: number; endValue: number }}
912
- */
913
- export function findHBCWANumericMinMaxOfY(points, yAxisType) {
914
- if (yAxisType !== undefined && yAxisType === YAxisType.NumericAxis) {
915
- var yMax = d3Max(points, function (point) { return point.y; });
916
- var yMin = d3Min(points, function (point) { return point.y; });
917
- return { startValue: yMin, endValue: yMax };
918
- }
919
- return { startValue: 0, endValue: 0 };
920
- }
921
- /**
922
- * @param p string or number or Date
923
- *
924
- * This function takes the single data point of the x-aixs
925
- * and decides what is the x-axis
926
- */
927
- export var getTypeOfAxis = function (p, isXAxis) {
928
- if (isXAxis) {
929
- switch (typeof p) {
930
- case 'string':
931
- return XAxisTypes.StringAxis;
932
- case 'number':
933
- return XAxisTypes.NumericAxis;
934
- default:
935
- return XAxisTypes.DateAxis;
936
- }
937
- }
938
- else {
939
- switch (typeof p) {
940
- case 'string':
941
- return YAxisType.StringAxis;
942
- case 'number':
943
- return YAxisType.NumericAxis;
944
- default:
945
- return YAxisType.DateAxis;
946
- }
947
- }
948
- };
949
- /**
950
- * we need to make sure that if we add any property to this, then
951
- * we need to also add that in pointTypes below and vise-versa
952
- */
953
- export var Points;
954
- (function (Points) {
955
- Points[Points["circle"] = 0] = "circle";
956
- Points[Points["square"] = 1] = "square";
957
- Points[Points["triangle"] = 2] = "triangle";
958
- Points[Points["diamond"] = 3] = "diamond";
959
- Points[Points["pyramid"] = 4] = "pyramid";
960
- Points[Points["hexagon"] = 5] = "hexagon";
961
- Points[Points["pentagon"] = 6] = "pentagon";
962
- Points[Points["octagon"] = 7] = "octagon";
963
- })(Points || (Points = {}));
964
- export var CustomPoints;
965
- (function (CustomPoints) {
966
- CustomPoints[CustomPoints["dottedLine"] = 0] = "dottedLine";
967
- })(CustomPoints || (CustomPoints = {}));
968
- /**
969
- * we need to make sure that if we add any property to this, then
970
- * we need to also add that in enum Point and vise-versa
971
- */
972
- export var pointTypes = (_a = {},
973
- _a[Points.circle] = {
974
- widthRatio: 1,
975
- },
976
- _a[Points.square] = {
977
- widthRatio: 1,
978
- },
979
- _a[Points.triangle] = {
980
- widthRatio: 1,
981
- },
982
- _a[Points.diamond] = {
983
- widthRatio: 1,
984
- },
985
- _a[Points.pyramid] = {
986
- widthRatio: 1,
987
- },
988
- _a[Points.hexagon] = {
989
- widthRatio: 2,
990
- },
991
- _a[Points.pentagon] = {
992
- widthRatio: 1.168,
993
- },
994
- _a[Points.octagon] = {
995
- widthRatio: 2.414,
996
- },
997
- _a);
998
- /**
999
- * @param accessibleData accessible data
1000
- * @param role string to define role of tag
1001
- * @param isDataFocusable boolean
1002
- * function returns the accessibility data object
1003
- */
1004
- export var getAccessibleDataObject = function (accessibleData, role, isDataFocusable) {
1005
- if (role === void 0) { role = 'text'; }
1006
- if (isDataFocusable === void 0) { isDataFocusable = true; }
1007
- accessibleData = accessibleData !== null && accessibleData !== void 0 ? accessibleData : {};
1008
- return {
1009
- role: role,
1010
- 'data-is-focusable': isDataFocusable,
1011
- 'aria-label': accessibleData.ariaLabel,
1012
- 'aria-labelledby': accessibleData.ariaLabelledBy,
1013
- 'aria-describedby': accessibleData.ariaDescribedBy,
1014
- };
1015
- };
1016
- export var convertToLocaleString = function (data, culture) {
1017
- if (data === undefined || data === null || Number.isNaN(data)) {
1018
- return data;
1019
- }
1020
- culture = culture || undefined;
1021
- if (typeof data === 'number') {
1022
- return data.toLocaleString(culture);
1023
- }
1024
- else if (typeof data === 'string' && !window.isNaN(Number(data))) {
1025
- var num = Number(data);
1026
- return num.toLocaleString(culture);
1027
- }
1028
- else if (data instanceof Date) {
1029
- return data.toLocaleDateString(culture);
1030
- }
1031
- return data;
1032
- };
1033
- export function rotateXAxisLabels(rotateLabelProps) {
1034
- var node = rotateLabelProps.node, xAxis = rotateLabelProps.xAxis;
1035
- if (node === null || xAxis === null) {
1036
- return;
1037
- }
1038
- var maxHeight = 0;
1039
- var xAxisTranslations = [];
1040
- d3Select(node)
1041
- .call(xAxis)
1042
- .selectAll('.tick')
1043
- .each(function () {
1044
- var translateValue = this.getAttribute('transform');
1045
- if ((translateValue === null || translateValue === void 0 ? void 0 : translateValue.indexOf('rotate')) === -1) {
1046
- var translatePair = translateValue
1047
- .substring(translateValue.indexOf('(') + 1, translateValue.indexOf(')'))
1048
- .split(',');
1049
- if (translatePair.length === 2) {
1050
- xAxisTranslations.push(translatePair[0]);
1051
- this.setAttribute('transform', "translate(".concat(translatePair[0], ",0)rotate(-45)"));
1052
- }
1053
- }
1054
- var BoxCordinates = this.getBoundingClientRect();
1055
- var boxHeight = BoxCordinates && BoxCordinates.height;
1056
- if (boxHeight > maxHeight) {
1057
- maxHeight = boxHeight;
1058
- }
1059
- });
1060
- var idx = 0;
1061
- d3Select(node)
1062
- .call(xAxis)
1063
- .selectAll('.tick')
1064
- .each(function () {
1065
- if (xAxisTranslations.length > idx) {
1066
- this.setAttribute('transform', "translate(".concat(xAxisTranslations[idx], ",").concat(maxHeight / 2, ")rotate(-45)")); // Translate y by max height/2
1067
- idx += 1;
1068
- }
1069
- });
1070
- return Math.floor(maxHeight / 1.414); // Compute maxHeight/tanInverse(45) to get the vertical height of labels.
1071
- }
1072
- export function wrapTextInsideDonut(selectorClass, maxWidth) {
1073
- var idx = 0;
1074
- d3SelectAll(".".concat(selectorClass)).each(function () {
1075
- var text = d3Select(this);
1076
- var words = text.text().split(/\s+/).reverse();
1077
- var word = '';
1078
- var line = [];
1079
- var lineNumber = 0;
1080
- var lineHeight = 1.1; // ems
1081
- var y = text.attr('y');
1082
- var tspan = text
1083
- .text(null)
1084
- .append('tspan')
1085
- .attr('id', "WordBreakId-".concat(idx, "-").concat(lineNumber))
1086
- .attr('x', 0)
1087
- .attr('y', y)
1088
- .attr('dy', lineNumber++ * lineHeight + 'em');
1089
- while ((word = words.pop())) {
1090
- line.push(word);
1091
- tspan.text(line.join(' ') + ' ');
1092
- if (tspan.node().getComputedTextLength() > maxWidth && line.length > 1) {
1093
- line.pop();
1094
- tspan.text(line.join(' ') + ' ');
1095
- line = [word];
1096
- tspan = text
1097
- .append('tspan')
1098
- .attr('id', "WordBreakId-".concat(idx, "-").concat(lineNumber))
1099
- .attr('x', 0)
1100
- .attr('y', y)
1101
- .attr('dy', lineNumber++ * lineHeight + 'em')
1102
- .text(word);
1103
- }
1104
- }
1105
- idx += 1;
1106
- });
1107
- }
1108
- export function formatValueWithSIPrefix(value) {
1109
- var specifier;
1110
- if (value < 1000) {
1111
- specifier = '.2~'; // upto 2 decimal places without insignificant trailing zeros
1112
- }
1113
- else {
1114
- specifier = '.1'; // upto 1 decimal place
1115
- }
1116
- return d3FormatPrefix(specifier, value)(value);
1117
- }
1118
- var DEFAULT_BAR_WIDTH = 16;
1119
- var MIN_BAR_WIDTH = 1;
1120
- export var getBarWidth = function (barWidthProp, maxBarWidthProp, adjustedValue) {
1121
- if (adjustedValue === void 0) { adjustedValue = DEFAULT_BAR_WIDTH; }
1122
- var barWidth;
1123
- if (typeof barWidthProp === 'number') {
1124
- barWidth = barWidthProp;
1125
- }
1126
- else if (barWidthProp === 'default' || typeof barWidthProp === 'undefined') {
1127
- barWidth = Math.min(adjustedValue, DEFAULT_BAR_WIDTH);
1128
- }
1129
- else {
1130
- barWidth = adjustedValue;
1131
- }
1132
- if (typeof maxBarWidthProp === 'number') {
1133
- barWidth = Math.min(barWidth, maxBarWidthProp);
1134
- }
1135
- barWidth = Math.max(barWidth, MIN_BAR_WIDTH);
1136
- return barWidth;
1137
- };
1138
- export var getScalePadding = function (prop, shorthandProp, defaultValue) {
1139
- if (defaultValue === void 0) { defaultValue = 0; }
1140
- var padding = typeof prop === 'number' ? prop : typeof shorthandProp === 'number' ? shorthandProp : defaultValue;
1141
- padding = Math.max(0, Math.min(padding, 1));
1142
- return padding;
1143
- };
1144
- export var isScalePaddingDefined = function (prop, shorthandProp) {
1145
- return typeof prop === 'number' || typeof shorthandProp === 'number';
1146
- };
1147
- export var formatDate = function (date, useUTC) {
1148
- var timeFormat = useUTC ? d3UtcFormat : d3TimeFormat;
1149
- return timeFormat('%-e %b %Y, %H:%M')(date) + (useUTC ? ' GMT' : '');
1150
- };
1151
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1152
- export function getSecureProps(props) {
1153
- if (props === void 0) { props = {}; }
1154
- var dangerouslySetInnerHTML = props.dangerouslySetInnerHTML, result = __rest(props, ["dangerouslySetInnerHTML"]);
1155
- return result;
1156
- }
1157
- export function areArraysEqual(arr1, arr2) {
1158
- if (arr1 === arr2) {
1159
- return true;
1160
- }
1161
- if (!arr1 && !arr2) {
1162
- return true;
1163
- }
1164
- if (!arr1 || !arr2 || arr1.length !== arr2.length) {
1165
- return false;
1166
- }
1167
- for (var i = 0; i < arr1.length; i++) {
1168
- if (arr1[i] !== arr2[i]) {
1169
- return false;
1170
- }
1171
- }
1172
- return true;
1173
- }
1174
- var cssVarRegExp = /var\((--[a-zA-Z0-9\-]+)\)/g;
1175
- export function resolveCSSVariables(chartContainer, styleRules) {
1176
- var containerStyles = getComputedStyle(chartContainer);
1177
- return styleRules.replace(cssVarRegExp, function (match, group1) {
1178
- return containerStyles.getPropertyValue(group1);
1179
- });
1180
- }
1181
- export function copyStyle(properties, fromEl, toEl) {
1182
- var styles = getComputedStyle(fromEl);
1183
- if (Array.isArray(properties)) {
1184
- properties.forEach(function (prop) {
1185
- d3Select(toEl).style(prop, styles.getPropertyValue(prop));
1186
- });
1187
- }
1188
- else {
1189
- Object.entries(properties).forEach(function (_a) {
1190
- var fromProp = _a[0], toProp = _a[1];
1191
- d3Select(toEl).style(toProp, styles.getPropertyValue(fromProp));
1192
- });
1193
- }
1194
- }
1195
- var MEASUREMENT_SPAN_STYLE = {
1196
- position: 'absolute',
1197
- visibility: 'hidden',
1198
- top: '-20000px',
1199
- left: 0,
1200
- padding: 0,
1201
- margin: 0,
1202
- border: 'none',
1203
- whiteSpace: 'pre',
1204
- };
1205
- var MEASUREMENT_SPAN_ID = getId('measurement_span_');
1206
- export var createMeasurementSpan = function (text, className, parentElement) {
1207
- var measurementSpan = document.getElementById(MEASUREMENT_SPAN_ID);
1208
- if (!measurementSpan) {
1209
- measurementSpan = document.createElement('span');
1210
- measurementSpan.setAttribute('id', MEASUREMENT_SPAN_ID);
1211
- measurementSpan.setAttribute('aria-hidden', 'true');
1212
- if (parentElement) {
1213
- parentElement.appendChild(measurementSpan);
1214
- }
1215
- else {
1216
- document.body.appendChild(measurementSpan);
1217
- }
1218
- }
1219
- measurementSpan.setAttribute('class', className);
1220
- Object.assign(measurementSpan.style, MEASUREMENT_SPAN_STYLE);
1221
- measurementSpan.textContent = "".concat(text);
1222
- return measurementSpan;
1223
- };
1224
- //# sourceMappingURL=utilities.js.map