@fluentui/react-charting 5.23.63 → 5.23.65

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 (1428) hide show
  1. package/CHANGELOG.json +43 -1
  2. package/CHANGELOG.md +22 -2
  3. package/dist/react-charting.d.ts +4557 -0
  4. package/dist/react-charting.js +1 -0
  5. package/dist/react-charting.min.js +1 -0
  6. package/lib/AreaChart.d.ts +1 -0
  7. package/lib/AreaChart.js +2 -0
  8. package/lib/AreaChart.js.map +1 -0
  9. package/lib/CartesianChart.d.ts +1 -0
  10. package/lib/CartesianChart.js +2 -0
  11. package/lib/CartesianChart.js.map +1 -0
  12. package/lib/DeclarativeChart.d.ts +1 -0
  13. package/lib/DeclarativeChart.js +2 -0
  14. package/lib/DeclarativeChart.js.map +1 -0
  15. package/lib/DonutChart.d.ts +1 -0
  16. package/lib/DonutChart.js +2 -0
  17. package/lib/DonutChart.js.map +1 -0
  18. package/lib/GaugeChart.d.ts +1 -0
  19. package/lib/GaugeChart.js +2 -0
  20. package/lib/GaugeChart.js.map +1 -0
  21. package/lib/GroupedVerticalBarChart.d.ts +1 -0
  22. package/lib/GroupedVerticalBarChart.js +2 -0
  23. package/lib/GroupedVerticalBarChart.js.map +1 -0
  24. package/lib/HeatMapChart.d.ts +1 -0
  25. package/lib/HeatMapChart.js +2 -0
  26. package/lib/HeatMapChart.js.map +1 -0
  27. package/lib/HorizontalBarChart.d.ts +1 -0
  28. package/lib/HorizontalBarChart.js +2 -0
  29. package/lib/HorizontalBarChart.js.map +1 -0
  30. package/lib/HorizontalBarChartWithAxis.d.ts +1 -0
  31. package/lib/HorizontalBarChartWithAxis.js +2 -0
  32. package/lib/HorizontalBarChartWithAxis.js.map +1 -0
  33. package/lib/Legends.d.ts +1 -0
  34. package/lib/Legends.js +2 -0
  35. package/lib/Legends.js.map +1 -0
  36. package/lib/LineChart.d.ts +1 -0
  37. package/lib/LineChart.js +2 -0
  38. package/lib/LineChart.js.map +1 -0
  39. package/lib/PieChart.d.ts +1 -0
  40. package/lib/PieChart.js +2 -0
  41. package/lib/PieChart.js.map +1 -0
  42. package/lib/ResponsiveContainer.d.ts +1 -0
  43. package/lib/ResponsiveContainer.js +2 -0
  44. package/lib/ResponsiveContainer.js.map +1 -0
  45. package/lib/SankeyChart.d.ts +1 -0
  46. package/lib/SankeyChart.js +2 -0
  47. package/lib/SankeyChart.js.map +1 -0
  48. package/lib/Sparkline.d.ts +1 -0
  49. package/lib/Sparkline.js +2 -0
  50. package/lib/Sparkline.js.map +1 -0
  51. package/lib/StackedBarChart.d.ts +1 -0
  52. package/lib/StackedBarChart.js +2 -0
  53. package/lib/StackedBarChart.js.map +1 -0
  54. package/lib/Styling.d.ts +2 -0
  55. package/lib/Styling.js +8 -0
  56. package/lib/Styling.js.map +1 -0
  57. package/lib/TreeChart.d.ts +1 -0
  58. package/lib/TreeChart.js +2 -0
  59. package/lib/TreeChart.js.map +1 -0
  60. package/lib/Utilities.d.ts +2 -0
  61. package/lib/Utilities.js +2 -0
  62. package/lib/Utilities.js.map +1 -0
  63. package/lib/VerticalBarChart.d.ts +1 -0
  64. package/lib/VerticalBarChart.js +2 -0
  65. package/lib/VerticalBarChart.js.map +1 -0
  66. package/lib/VerticalStackedBarChart.d.ts +1 -0
  67. package/lib/VerticalStackedBarChart.js +2 -0
  68. package/lib/VerticalStackedBarChart.js.map +1 -0
  69. package/lib/components/AreaChart/AreaChart.base.d.ts +111 -0
  70. package/lib/components/AreaChart/AreaChart.base.js +722 -0
  71. package/lib/components/AreaChart/AreaChart.base.js.map +1 -0
  72. package/lib/components/AreaChart/AreaChart.d.ts +7 -0
  73. package/lib/components/AreaChart/AreaChart.js +10 -0
  74. package/lib/components/AreaChart/AreaChart.js.map +1 -0
  75. package/lib/components/AreaChart/AreaChart.styles.d.ts +2 -0
  76. package/lib/components/AreaChart/AreaChart.styles.js +7 -0
  77. package/lib/components/AreaChart/AreaChart.styles.js.map +1 -0
  78. package/lib/components/AreaChart/AreaChart.types.d.ts +64 -0
  79. package/lib/components/AreaChart/AreaChart.types.js +2 -0
  80. package/lib/components/AreaChart/AreaChart.types.js.map +1 -0
  81. package/lib/components/AreaChart/index.d.ts +2 -0
  82. package/lib/components/AreaChart/index.js +3 -0
  83. package/lib/components/AreaChart/index.js.map +1 -0
  84. package/lib/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  85. package/lib/components/CommonComponents/CartesianChart.base.js +609 -0
  86. package/lib/components/CommonComponents/CartesianChart.base.js.map +1 -0
  87. package/lib/components/CommonComponents/CartesianChart.d.ts +7 -0
  88. package/lib/components/CommonComponents/CartesianChart.js +9 -0
  89. package/lib/components/CommonComponents/CartesianChart.js.map +1 -0
  90. package/lib/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  91. package/lib/components/CommonComponents/CartesianChart.styles.js +175 -0
  92. package/lib/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  93. package/lib/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  94. package/lib/components/CommonComponents/CartesianChart.types.js +2 -0
  95. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -0
  96. package/lib/components/CommonComponents/index.d.ts +2 -0
  97. package/lib/components/CommonComponents/index.js +3 -0
  98. package/lib/components/CommonComponents/index.js.map +1 -0
  99. package/lib/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  100. package/lib/components/DeclarativeChart/DeclarativeChart.js +145 -0
  101. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  102. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  103. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +647 -0
  104. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  105. package/lib/components/DeclarativeChart/index.d.ts +1 -0
  106. package/lib/components/DeclarativeChart/index.js +2 -0
  107. package/lib/components/DeclarativeChart/index.js.map +1 -0
  108. package/lib/components/DonutChart/Arc/Arc.d.ts +22 -0
  109. package/lib/components/DonutChart/Arc/Arc.js +107 -0
  110. package/lib/components/DonutChart/Arc/Arc.js.map +1 -0
  111. package/lib/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  112. package/lib/components/DonutChart/Arc/Arc.styles.js +35 -0
  113. package/lib/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  114. package/lib/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  115. package/lib/components/DonutChart/Arc/Arc.types.js +2 -0
  116. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -0
  117. package/lib/components/DonutChart/Arc/index.d.ts +2 -0
  118. package/lib/components/DonutChart/Arc/index.js +3 -0
  119. package/lib/components/DonutChart/Arc/index.js.map +1 -0
  120. package/lib/components/DonutChart/DonutChart.base.d.ts +61 -0
  121. package/lib/components/DonutChart/DonutChart.base.js +301 -0
  122. package/lib/components/DonutChart/DonutChart.base.js.map +1 -0
  123. package/lib/components/DonutChart/DonutChart.d.ts +7 -0
  124. package/lib/components/DonutChart/DonutChart.js +10 -0
  125. package/lib/components/DonutChart/DonutChart.js.map +1 -0
  126. package/lib/components/DonutChart/DonutChart.styles.d.ts +2 -0
  127. package/lib/components/DonutChart/DonutChart.styles.js +30 -0
  128. package/lib/components/DonutChart/DonutChart.styles.js.map +1 -0
  129. package/lib/components/DonutChart/DonutChart.types.d.ts +90 -0
  130. package/lib/components/DonutChart/DonutChart.types.js +2 -0
  131. package/lib/components/DonutChart/DonutChart.types.js.map +1 -0
  132. package/lib/components/DonutChart/Pie/Pie.d.ts +15 -0
  133. package/lib/components/DonutChart/Pie/Pie.js +75 -0
  134. package/lib/components/DonutChart/Pie/Pie.js.map +1 -0
  135. package/lib/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  136. package/lib/components/DonutChart/Pie/Pie.styles.js +19 -0
  137. package/lib/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  138. package/lib/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  139. package/lib/components/DonutChart/Pie/Pie.types.js +2 -0
  140. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -0
  141. package/lib/components/DonutChart/Pie/index.d.ts +2 -0
  142. package/lib/components/DonutChart/Pie/index.js +3 -0
  143. package/lib/components/DonutChart/Pie/index.js.map +1 -0
  144. package/lib/components/DonutChart/index.d.ts +3 -0
  145. package/lib/components/DonutChart/index.js +4 -0
  146. package/lib/components/DonutChart/index.js.map +1 -0
  147. package/lib/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  148. package/lib/components/GaugeChart/GaugeChart.base.js +472 -0
  149. package/lib/components/GaugeChart/GaugeChart.base.js.map +1 -0
  150. package/lib/components/GaugeChart/GaugeChart.d.ts +7 -0
  151. package/lib/components/GaugeChart/GaugeChart.js +9 -0
  152. package/lib/components/GaugeChart/GaugeChart.js.map +1 -0
  153. package/lib/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  154. package/lib/components/GaugeChart/GaugeChart.styles.js +129 -0
  155. package/lib/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  156. package/lib/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  157. package/lib/components/GaugeChart/GaugeChart.types.js +17 -0
  158. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -0
  159. package/lib/components/GaugeChart/index.d.ts +2 -0
  160. package/lib/components/GaugeChart/index.js +3 -0
  161. package/lib/components/GaugeChart/index.js.map +1 -0
  162. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  163. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +495 -0
  164. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  165. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  166. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +10 -0
  167. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  168. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  169. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +17 -0
  170. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  171. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  172. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +2 -0
  173. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  174. package/lib/components/GroupedVerticalBarChart/index.d.ts +2 -0
  175. package/lib/components/GroupedVerticalBarChart/index.js +3 -0
  176. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -0
  177. package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  178. package/lib/components/HeatMapChart/HeatMapChart.base.js +597 -0
  179. package/lib/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  180. package/lib/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  181. package/lib/components/HeatMapChart/HeatMapChart.js +9 -0
  182. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -0
  183. package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  184. package/lib/components/HeatMapChart/HeatMapChart.styles.js +23 -0
  185. package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  186. package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  187. package/lib/components/HeatMapChart/HeatMapChart.types.js +2 -0
  188. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  189. package/lib/components/HeatMapChart/index.d.ts +2 -0
  190. package/lib/components/HeatMapChart/index.js +3 -0
  191. package/lib/components/HeatMapChart/index.js.map +1 -0
  192. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  193. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +293 -0
  194. package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  195. package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  196. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +10 -0
  197. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  198. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  199. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +66 -0
  200. package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  201. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  202. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +9 -0
  203. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  204. package/lib/components/HorizontalBarChart/index.d.ts +3 -0
  205. package/lib/components/HorizontalBarChart/index.js +4 -0
  206. package/lib/components/HorizontalBarChart/index.js.map +1 -0
  207. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  208. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +601 -0
  209. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  210. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  211. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +10 -0
  212. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  213. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  214. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +12 -0
  215. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  216. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  217. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +2 -0
  218. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  219. package/lib/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  220. package/lib/components/HorizontalBarChartWithAxis/index.js +3 -0
  221. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  222. package/lib/components/Legends/Legends.base.d.ts +50 -0
  223. package/lib/components/Legends/Legends.base.js +329 -0
  224. package/lib/components/Legends/Legends.base.js.map +1 -0
  225. package/lib/components/Legends/Legends.d.ts +7 -0
  226. package/lib/components/Legends/Legends.js +9 -0
  227. package/lib/components/Legends/Legends.js.map +1 -0
  228. package/lib/components/Legends/Legends.styles.d.ts +10 -0
  229. package/lib/components/Legends/Legends.styles.js +120 -0
  230. package/lib/components/Legends/Legends.styles.js.map +1 -0
  231. package/lib/components/Legends/Legends.types.d.ts +259 -0
  232. package/lib/components/Legends/Legends.types.js +2 -0
  233. package/lib/components/Legends/Legends.types.js.map +1 -0
  234. package/lib/components/Legends/index.d.ts +3 -0
  235. package/lib/components/Legends/index.js +4 -0
  236. package/lib/components/Legends/index.js.map +1 -0
  237. package/lib/components/Legends/shape.d.ts +9 -0
  238. package/lib/components/Legends/shape.js +24 -0
  239. package/lib/components/Legends/shape.js.map +1 -0
  240. package/lib/components/LineChart/LineChart.base.d.ts +105 -0
  241. package/lib/components/LineChart/LineChart.base.js +966 -0
  242. package/lib/components/LineChart/LineChart.base.js.map +1 -0
  243. package/lib/components/LineChart/LineChart.d.ts +7 -0
  244. package/lib/components/LineChart/LineChart.js +10 -0
  245. package/lib/components/LineChart/LineChart.js.map +1 -0
  246. package/lib/components/LineChart/LineChart.styles.d.ts +2 -0
  247. package/lib/components/LineChart/LineChart.styles.js +7 -0
  248. package/lib/components/LineChart/LineChart.styles.js.map +1 -0
  249. package/lib/components/LineChart/LineChart.types.d.ts +103 -0
  250. package/lib/components/LineChart/LineChart.types.js +2 -0
  251. package/lib/components/LineChart/LineChart.types.js.map +1 -0
  252. package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  253. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +90 -0
  254. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  255. package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  256. package/lib/components/LineChart/eventAnnotation/LabelLink.js +40 -0
  257. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  258. package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  259. package/lib/components/LineChart/eventAnnotation/Textbox.js +38 -0
  260. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  261. package/lib/components/LineChart/index.d.ts +3 -0
  262. package/lib/components/LineChart/index.js +4 -0
  263. package/lib/components/LineChart/index.js.map +1 -0
  264. package/lib/components/PieChart/Arc/Arc.d.ts +17 -0
  265. package/lib/components/PieChart/Arc/Arc.js +89 -0
  266. package/lib/components/PieChart/Arc/Arc.js.map +1 -0
  267. package/lib/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  268. package/lib/components/PieChart/Arc/Arc.styles.js +11 -0
  269. package/lib/components/PieChart/Arc/Arc.styles.js.map +1 -0
  270. package/lib/components/PieChart/Arc/Arc.types.d.ts +73 -0
  271. package/lib/components/PieChart/Arc/Arc.types.js +2 -0
  272. package/lib/components/PieChart/Arc/Arc.types.js.map +1 -0
  273. package/lib/components/PieChart/Arc/index.d.ts +2 -0
  274. package/lib/components/PieChart/Arc/index.js +3 -0
  275. package/lib/components/PieChart/Arc/index.js.map +1 -0
  276. package/lib/components/PieChart/Pie/Pie.d.ts +10 -0
  277. package/lib/components/PieChart/Pie/Pie.js +45 -0
  278. package/lib/components/PieChart/Pie/Pie.js.map +1 -0
  279. package/lib/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  280. package/lib/components/PieChart/Pie/Pie.styles.js +6 -0
  281. package/lib/components/PieChart/Pie/Pie.styles.js.map +1 -0
  282. package/lib/components/PieChart/Pie/Pie.types.d.ts +47 -0
  283. package/lib/components/PieChart/Pie/Pie.types.js +2 -0
  284. package/lib/components/PieChart/Pie/Pie.types.js.map +1 -0
  285. package/lib/components/PieChart/Pie/index.d.ts +2 -0
  286. package/lib/components/PieChart/Pie/index.js +3 -0
  287. package/lib/components/PieChart/Pie/index.js.map +1 -0
  288. package/lib/components/PieChart/PieChart.base.d.ts +10 -0
  289. package/lib/components/PieChart/PieChart.base.js +46 -0
  290. package/lib/components/PieChart/PieChart.base.js.map +1 -0
  291. package/lib/components/PieChart/PieChart.d.ts +7 -0
  292. package/lib/components/PieChart/PieChart.js +10 -0
  293. package/lib/components/PieChart/PieChart.js.map +1 -0
  294. package/lib/components/PieChart/PieChart.styles.d.ts +2 -0
  295. package/lib/components/PieChart/PieChart.styles.js +29 -0
  296. package/lib/components/PieChart/PieChart.styles.js.map +1 -0
  297. package/lib/components/PieChart/PieChart.types.d.ts +75 -0
  298. package/lib/components/PieChart/PieChart.types.js +2 -0
  299. package/lib/components/PieChart/PieChart.types.js.map +1 -0
  300. package/lib/components/PieChart/index.d.ts +2 -0
  301. package/lib/components/PieChart/index.js +3 -0
  302. package/lib/components/PieChart/index.js.map +1 -0
  303. package/lib/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  304. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +83 -0
  305. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  306. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  307. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js +2 -0
  308. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  309. package/lib/components/ResponsiveContainer/index.d.ts +3 -0
  310. package/lib/components/ResponsiveContainer/index.js +4 -0
  311. package/lib/components/ResponsiveContainer/index.js.map +1 -0
  312. package/lib/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  313. package/lib/components/ResponsiveContainer/withResponsiveContainer.js +17 -0
  314. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  315. package/lib/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  316. package/lib/components/SankeyChart/SankeyChart.base.js +919 -0
  317. package/lib/components/SankeyChart/SankeyChart.base.js.map +1 -0
  318. package/lib/components/SankeyChart/SankeyChart.d.ts +7 -0
  319. package/lib/components/SankeyChart/SankeyChart.js +10 -0
  320. package/lib/components/SankeyChart/SankeyChart.js.map +1 -0
  321. package/lib/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  322. package/lib/components/SankeyChart/SankeyChart.styles.js +59 -0
  323. package/lib/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  324. package/lib/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  325. package/lib/components/SankeyChart/SankeyChart.types.js +2 -0
  326. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -0
  327. package/lib/components/SankeyChart/index.d.ts +2 -0
  328. package/lib/components/SankeyChart/index.js +3 -0
  329. package/lib/components/SankeyChart/index.js.map +1 -0
  330. package/lib/components/Sparkline/Sparkline.base.d.ts +23 -0
  331. package/lib/components/Sparkline/Sparkline.base.js +86 -0
  332. package/lib/components/Sparkline/Sparkline.base.js.map +1 -0
  333. package/lib/components/Sparkline/Sparkline.d.ts +7 -0
  334. package/lib/components/Sparkline/Sparkline.js +10 -0
  335. package/lib/components/Sparkline/Sparkline.js.map +1 -0
  336. package/lib/components/Sparkline/Sparkline.styles.d.ts +2 -0
  337. package/lib/components/Sparkline/Sparkline.styles.js +10 -0
  338. package/lib/components/Sparkline/Sparkline.styles.js.map +1 -0
  339. package/lib/components/Sparkline/Sparkline.types.d.ts +59 -0
  340. package/lib/components/Sparkline/Sparkline.types.js +2 -0
  341. package/lib/components/Sparkline/Sparkline.types.js.map +1 -0
  342. package/lib/components/Sparkline/index.d.ts +2 -0
  343. package/lib/components/Sparkline/index.js +3 -0
  344. package/lib/components/Sparkline/index.js.map +1 -0
  345. package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  346. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +437 -0
  347. package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  348. package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  349. package/lib/components/StackedBarChart/MultiStackedBarChart.js +10 -0
  350. package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  351. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  352. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +86 -0
  353. package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  354. package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  355. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +9 -0
  356. package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  357. package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  358. package/lib/components/StackedBarChart/StackedBarChart.base.js +366 -0
  359. package/lib/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  360. package/lib/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  361. package/lib/components/StackedBarChart/StackedBarChart.js +10 -0
  362. package/lib/components/StackedBarChart/StackedBarChart.js.map +1 -0
  363. package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  364. package/lib/components/StackedBarChart/StackedBarChart.styles.js +103 -0
  365. package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  366. package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  367. package/lib/components/StackedBarChart/StackedBarChart.types.js +2 -0
  368. package/lib/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  369. package/lib/components/StackedBarChart/index.d.ts +5 -0
  370. package/lib/components/StackedBarChart/index.js +6 -0
  371. package/lib/components/StackedBarChart/index.js.map +1 -0
  372. package/lib/components/TreeChart/TreeChart.base.d.ts +18 -0
  373. package/lib/components/TreeChart/TreeChart.base.js +321 -0
  374. package/lib/components/TreeChart/TreeChart.base.js.map +1 -0
  375. package/lib/components/TreeChart/TreeChart.d.ts +7 -0
  376. package/lib/components/TreeChart/TreeChart.js +9 -0
  377. package/lib/components/TreeChart/TreeChart.js.map +1 -0
  378. package/lib/components/TreeChart/TreeChart.styles.d.ts +2 -0
  379. package/lib/components/TreeChart/TreeChart.styles.js +29 -0
  380. package/lib/components/TreeChart/TreeChart.styles.js.map +1 -0
  381. package/lib/components/TreeChart/TreeChart.types.d.ts +216 -0
  382. package/lib/components/TreeChart/TreeChart.types.js +29 -0
  383. package/lib/components/TreeChart/TreeChart.types.js.map +1 -0
  384. package/lib/components/TreeChart/index.d.ts +2 -0
  385. package/lib/components/TreeChart/index.js +3 -0
  386. package/lib/components/TreeChart/index.js.map +1 -0
  387. package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  388. package/lib/components/VerticalBarChart/VerticalBarChart.base.js +880 -0
  389. package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  390. package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  391. package/lib/components/VerticalBarChart/VerticalBarChart.js +10 -0
  392. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  393. package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  394. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +28 -0
  395. package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  396. package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  397. package/lib/components/VerticalBarChart/VerticalBarChart.types.js +2 -0
  398. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  399. package/lib/components/VerticalBarChart/index.d.ts +2 -0
  400. package/lib/components/VerticalBarChart/index.js +3 -0
  401. package/lib/components/VerticalBarChart/index.js.map +1 -0
  402. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  403. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +816 -0
  404. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  405. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  406. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +10 -0
  407. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  408. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  409. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +18 -0
  410. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  411. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  412. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +2 -0
  413. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  414. package/lib/components/VerticalStackedBarChart/index.d.ts +2 -0
  415. package/lib/components/VerticalStackedBarChart/index.js +3 -0
  416. package/lib/components/VerticalStackedBarChart/index.js.map +1 -0
  417. package/lib/index.d.ts +44 -0
  418. package/lib/index.js +24 -0
  419. package/lib/index.js.map +1 -0
  420. package/lib/types/IDataPoint.d.ts +736 -0
  421. package/lib/types/IDataPoint.js +2 -0
  422. package/lib/types/IDataPoint.js.map +1 -0
  423. package/lib/types/IEventAnnotation.d.ts +6 -0
  424. package/lib/types/IEventAnnotation.js +2 -0
  425. package/lib/types/IEventAnnotation.js.map +1 -0
  426. package/lib/types/ILegendDataItem.d.ts +10 -0
  427. package/lib/types/ILegendDataItem.js +2 -0
  428. package/lib/types/ILegendDataItem.js.map +1 -0
  429. package/lib/types/index.d.ts +2 -0
  430. package/lib/types/index.js +3 -0
  431. package/lib/types/index.js.map +1 -0
  432. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  433. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +38 -0
  434. package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  435. package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  436. package/lib/utilities/ChartHoverCard/ChartHoverCard.js +6 -0
  437. package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  438. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  439. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +98 -0
  440. package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  441. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  442. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +2 -0
  443. package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  444. package/lib/utilities/ChartHoverCard/index.d.ts +3 -0
  445. package/lib/utilities/ChartHoverCard/index.js +4 -0
  446. package/lib/utilities/ChartHoverCard/index.js.map +1 -0
  447. package/lib/utilities/FocusableTooltipText.d.ts +27 -0
  448. package/lib/utilities/FocusableTooltipText.js +54 -0
  449. package/lib/utilities/FocusableTooltipText.js.map +1 -0
  450. package/lib/utilities/SVGTooltipText.d.ts +110 -0
  451. package/lib/utilities/SVGTooltipText.js +192 -0
  452. package/lib/utilities/SVGTooltipText.js.map +1 -0
  453. package/lib/utilities/colors.d.ts +52 -0
  454. package/lib/utilities/colors.js +154 -0
  455. package/lib/utilities/colors.js.map +1 -0
  456. package/lib/utilities/gradients.d.ts +30 -0
  457. package/lib/utilities/gradients.js +173 -0
  458. package/lib/utilities/gradients.js.map +1 -0
  459. package/lib/utilities/image-export-utils.d.ts +13 -0
  460. package/lib/utilities/image-export-utils.js +238 -0
  461. package/lib/utilities/image-export-utils.js.map +1 -0
  462. package/lib/utilities/index.d.ts +5 -0
  463. package/lib/utilities/index.js +6 -0
  464. package/lib/utilities/index.js.map +1 -0
  465. package/lib/utilities/locale-util.d.ts +3 -0
  466. package/lib/utilities/locale-util.js +18 -0
  467. package/lib/utilities/locale-util.js.map +1 -0
  468. package/lib/utilities/test-data.d.ts +43 -0
  469. package/lib/utilities/test-data.js +262 -0
  470. package/lib/utilities/test-data.js.map +1 -0
  471. package/lib/utilities/utilities.d.ts +418 -0
  472. package/lib/utilities/utilities.js +1224 -0
  473. package/lib/utilities/utilities.js.map +1 -0
  474. package/lib/utilities/vbc-utils.d.ts +2 -0
  475. package/lib/utilities/vbc-utils.js +31 -0
  476. package/lib/utilities/vbc-utils.js.map +1 -0
  477. package/lib/version.d.ts +1 -0
  478. package/lib/version.js +5 -0
  479. package/lib/version.js.map +1 -0
  480. package/lib-amd/AreaChart.d.ts +1 -0
  481. package/lib-amd/AreaChart.js +6 -0
  482. package/lib-amd/AreaChart.js.map +1 -0
  483. package/lib-amd/CartesianChart.d.ts +1 -0
  484. package/lib-amd/CartesianChart.js +6 -0
  485. package/lib-amd/CartesianChart.js.map +1 -0
  486. package/lib-amd/DeclarativeChart.d.ts +1 -0
  487. package/lib-amd/DeclarativeChart.js +6 -0
  488. package/lib-amd/DeclarativeChart.js.map +1 -0
  489. package/lib-amd/DonutChart.d.ts +1 -0
  490. package/lib-amd/DonutChart.js +6 -0
  491. package/lib-amd/DonutChart.js.map +1 -0
  492. package/lib-amd/GaugeChart.d.ts +1 -0
  493. package/lib-amd/GaugeChart.js +6 -0
  494. package/lib-amd/GaugeChart.js.map +1 -0
  495. package/lib-amd/GroupedVerticalBarChart.d.ts +1 -0
  496. package/lib-amd/GroupedVerticalBarChart.js +6 -0
  497. package/lib-amd/GroupedVerticalBarChart.js.map +1 -0
  498. package/lib-amd/HeatMapChart.d.ts +1 -0
  499. package/lib-amd/HeatMapChart.js +6 -0
  500. package/lib-amd/HeatMapChart.js.map +1 -0
  501. package/lib-amd/HorizontalBarChart.d.ts +1 -0
  502. package/lib-amd/HorizontalBarChart.js +6 -0
  503. package/lib-amd/HorizontalBarChart.js.map +1 -0
  504. package/lib-amd/HorizontalBarChartWithAxis.d.ts +1 -0
  505. package/lib-amd/HorizontalBarChartWithAxis.js +6 -0
  506. package/lib-amd/HorizontalBarChartWithAxis.js.map +1 -0
  507. package/lib-amd/Legends.d.ts +1 -0
  508. package/lib-amd/Legends.js +6 -0
  509. package/lib-amd/Legends.js.map +1 -0
  510. package/lib-amd/LineChart.d.ts +1 -0
  511. package/lib-amd/LineChart.js +6 -0
  512. package/lib-amd/LineChart.js.map +1 -0
  513. package/lib-amd/PieChart.d.ts +1 -0
  514. package/lib-amd/PieChart.js +6 -0
  515. package/lib-amd/PieChart.js.map +1 -0
  516. package/lib-amd/ResponsiveContainer.d.ts +1 -0
  517. package/lib-amd/ResponsiveContainer.js +6 -0
  518. package/lib-amd/ResponsiveContainer.js.map +1 -0
  519. package/lib-amd/SankeyChart.d.ts +1 -0
  520. package/lib-amd/SankeyChart.js +6 -0
  521. package/lib-amd/SankeyChart.js.map +1 -0
  522. package/lib-amd/Sparkline.d.ts +1 -0
  523. package/lib-amd/Sparkline.js +6 -0
  524. package/lib-amd/Sparkline.js.map +1 -0
  525. package/lib-amd/StackedBarChart.d.ts +1 -0
  526. package/lib-amd/StackedBarChart.js +6 -0
  527. package/lib-amd/StackedBarChart.js.map +1 -0
  528. package/lib-amd/Styling.d.ts +2 -0
  529. package/lib-amd/Styling.js +75 -0
  530. package/lib-amd/Styling.js.map +1 -0
  531. package/lib-amd/TreeChart.d.ts +1 -0
  532. package/lib-amd/TreeChart.js +6 -0
  533. package/lib-amd/TreeChart.js.map +1 -0
  534. package/lib-amd/Utilities.d.ts +2 -0
  535. package/lib-amd/Utilities.js +174 -0
  536. package/lib-amd/Utilities.js.map +1 -0
  537. package/lib-amd/VerticalBarChart.d.ts +1 -0
  538. package/lib-amd/VerticalBarChart.js +6 -0
  539. package/lib-amd/VerticalBarChart.js.map +1 -0
  540. package/lib-amd/VerticalStackedBarChart.d.ts +1 -0
  541. package/lib-amd/VerticalStackedBarChart.js +6 -0
  542. package/lib-amd/VerticalStackedBarChart.js.map +1 -0
  543. package/lib-amd/components/AreaChart/AreaChart.base.d.ts +111 -0
  544. package/lib-amd/components/AreaChart/AreaChart.base.js +714 -0
  545. package/lib-amd/components/AreaChart/AreaChart.base.js.map +1 -0
  546. package/lib-amd/components/AreaChart/AreaChart.d.ts +7 -0
  547. package/lib-amd/components/AreaChart/AreaChart.js +12 -0
  548. package/lib-amd/components/AreaChart/AreaChart.js.map +1 -0
  549. package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +2 -0
  550. package/lib-amd/components/AreaChart/AreaChart.styles.js +12 -0
  551. package/lib-amd/components/AreaChart/AreaChart.styles.js.map +1 -0
  552. package/lib-amd/components/AreaChart/AreaChart.types.d.ts +64 -0
  553. package/lib-amd/components/AreaChart/AreaChart.types.js +5 -0
  554. package/lib-amd/components/AreaChart/AreaChart.types.js.map +1 -0
  555. package/lib-amd/components/AreaChart/index.d.ts +2 -0
  556. package/lib-amd/components/AreaChart/index.js +7 -0
  557. package/lib-amd/components/AreaChart/index.js.map +1 -0
  558. package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  559. package/lib-amd/components/CommonComponents/CartesianChart.base.js +605 -0
  560. package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +1 -0
  561. package/lib-amd/components/CommonComponents/CartesianChart.d.ts +7 -0
  562. package/lib-amd/components/CommonComponents/CartesianChart.js +11 -0
  563. package/lib-amd/components/CommonComponents/CartesianChart.js.map +1 -0
  564. package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  565. package/lib-amd/components/CommonComponents/CartesianChart.styles.js +178 -0
  566. package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  567. package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  568. package/lib-amd/components/CommonComponents/CartesianChart.types.js +5 -0
  569. package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +1 -0
  570. package/lib-amd/components/CommonComponents/index.d.ts +2 -0
  571. package/lib-amd/components/CommonComponents/index.js +7 -0
  572. package/lib-amd/components/CommonComponents/index.js.map +1 -0
  573. package/lib-amd/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  574. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js +133 -0
  575. package/lib-amd/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  576. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  577. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js +656 -0
  578. package/lib-amd/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  579. package/lib-amd/components/DeclarativeChart/index.d.ts +1 -0
  580. package/lib-amd/components/DeclarativeChart/index.js +6 -0
  581. package/lib-amd/components/DeclarativeChart/index.js.map +1 -0
  582. package/lib-amd/components/DonutChart/Arc/Arc.d.ts +22 -0
  583. package/lib-amd/components/DonutChart/Arc/Arc.js +105 -0
  584. package/lib-amd/components/DonutChart/Arc/Arc.js.map +1 -0
  585. package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  586. package/lib-amd/components/DonutChart/Arc/Arc.styles.js +40 -0
  587. package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  588. package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  589. package/lib-amd/components/DonutChart/Arc/Arc.types.js +5 -0
  590. package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +1 -0
  591. package/lib-amd/components/DonutChart/Arc/index.d.ts +2 -0
  592. package/lib-amd/components/DonutChart/Arc/index.js +7 -0
  593. package/lib-amd/components/DonutChart/Arc/index.js.map +1 -0
  594. package/lib-amd/components/DonutChart/DonutChart.base.d.ts +61 -0
  595. package/lib-amd/components/DonutChart/DonutChart.base.js +296 -0
  596. package/lib-amd/components/DonutChart/DonutChart.base.js.map +1 -0
  597. package/lib-amd/components/DonutChart/DonutChart.d.ts +7 -0
  598. package/lib-amd/components/DonutChart/DonutChart.js +12 -0
  599. package/lib-amd/components/DonutChart/DonutChart.js.map +1 -0
  600. package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +2 -0
  601. package/lib-amd/components/DonutChart/DonutChart.styles.js +36 -0
  602. package/lib-amd/components/DonutChart/DonutChart.styles.js.map +1 -0
  603. package/lib-amd/components/DonutChart/DonutChart.types.d.ts +90 -0
  604. package/lib-amd/components/DonutChart/DonutChart.types.js +5 -0
  605. package/lib-amd/components/DonutChart/DonutChart.types.js.map +1 -0
  606. package/lib-amd/components/DonutChart/Pie/Pie.d.ts +15 -0
  607. package/lib-amd/components/DonutChart/Pie/Pie.js +73 -0
  608. package/lib-amd/components/DonutChart/Pie/Pie.js.map +1 -0
  609. package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  610. package/lib-amd/components/DonutChart/Pie/Pie.styles.js +24 -0
  611. package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  612. package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  613. package/lib-amd/components/DonutChart/Pie/Pie.types.js +5 -0
  614. package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +1 -0
  615. package/lib-amd/components/DonutChart/Pie/index.d.ts +2 -0
  616. package/lib-amd/components/DonutChart/Pie/index.js +7 -0
  617. package/lib-amd/components/DonutChart/Pie/index.js.map +1 -0
  618. package/lib-amd/components/DonutChart/index.d.ts +3 -0
  619. package/lib-amd/components/DonutChart/index.js +8 -0
  620. package/lib-amd/components/DonutChart/index.js.map +1 -0
  621. package/lib-amd/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  622. package/lib-amd/components/GaugeChart/GaugeChart.base.js +467 -0
  623. package/lib-amd/components/GaugeChart/GaugeChart.base.js.map +1 -0
  624. package/lib-amd/components/GaugeChart/GaugeChart.d.ts +7 -0
  625. package/lib-amd/components/GaugeChart/GaugeChart.js +11 -0
  626. package/lib-amd/components/GaugeChart/GaugeChart.js.map +1 -0
  627. package/lib-amd/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  628. package/lib-amd/components/GaugeChart/GaugeChart.styles.js +133 -0
  629. package/lib-amd/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  630. package/lib-amd/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  631. package/lib-amd/components/GaugeChart/GaugeChart.types.js +22 -0
  632. package/lib-amd/components/GaugeChart/GaugeChart.types.js.map +1 -0
  633. package/lib-amd/components/GaugeChart/index.d.ts +2 -0
  634. package/lib-amd/components/GaugeChart/index.js +7 -0
  635. package/lib-amd/components/GaugeChart/index.js.map +1 -0
  636. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  637. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +489 -0
  638. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  639. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  640. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +12 -0
  641. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  642. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  643. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  644. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  645. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  646. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +5 -0
  647. package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  648. package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +2 -0
  649. package/lib-amd/components/GroupedVerticalBarChart/index.js +7 -0
  650. package/lib-amd/components/GroupedVerticalBarChart/index.js.map +1 -0
  651. package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  652. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +588 -0
  653. package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  654. package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  655. package/lib-amd/components/HeatMapChart/HeatMapChart.js +11 -0
  656. package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +1 -0
  657. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  658. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +28 -0
  659. package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  660. package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  661. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +5 -0
  662. package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  663. package/lib-amd/components/HeatMapChart/index.d.ts +2 -0
  664. package/lib-amd/components/HeatMapChart/index.js +7 -0
  665. package/lib-amd/components/HeatMapChart/index.js.map +1 -0
  666. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  667. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +289 -0
  668. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  669. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  670. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +12 -0
  671. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  672. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  673. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +69 -0
  674. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  675. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  676. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +14 -0
  677. package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  678. package/lib-amd/components/HorizontalBarChart/index.d.ts +3 -0
  679. package/lib-amd/components/HorizontalBarChart/index.js +8 -0
  680. package/lib-amd/components/HorizontalBarChart/index.js.map +1 -0
  681. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  682. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +594 -0
  683. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  684. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  685. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +12 -0
  686. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  687. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  688. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +17 -0
  689. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  690. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  691. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +5 -0
  692. package/lib-amd/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  693. package/lib-amd/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  694. package/lib-amd/components/HorizontalBarChartWithAxis/index.js +7 -0
  695. package/lib-amd/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  696. package/lib-amd/components/Legends/Legends.base.d.ts +50 -0
  697. package/lib-amd/components/Legends/Legends.base.js +325 -0
  698. package/lib-amd/components/Legends/Legends.base.js.map +1 -0
  699. package/lib-amd/components/Legends/Legends.d.ts +7 -0
  700. package/lib-amd/components/Legends/Legends.js +11 -0
  701. package/lib-amd/components/Legends/Legends.js.map +1 -0
  702. package/lib-amd/components/Legends/Legends.styles.d.ts +10 -0
  703. package/lib-amd/components/Legends/Legends.styles.js +124 -0
  704. package/lib-amd/components/Legends/Legends.styles.js.map +1 -0
  705. package/lib-amd/components/Legends/Legends.types.d.ts +259 -0
  706. package/lib-amd/components/Legends/Legends.types.js +5 -0
  707. package/lib-amd/components/Legends/Legends.types.js.map +1 -0
  708. package/lib-amd/components/Legends/index.d.ts +3 -0
  709. package/lib-amd/components/Legends/index.js +8 -0
  710. package/lib-amd/components/Legends/index.js.map +1 -0
  711. package/lib-amd/components/Legends/shape.d.ts +9 -0
  712. package/lib-amd/components/Legends/shape.js +27 -0
  713. package/lib-amd/components/Legends/shape.js.map +1 -0
  714. package/lib-amd/components/LineChart/LineChart.base.d.ts +105 -0
  715. package/lib-amd/components/LineChart/LineChart.base.js +958 -0
  716. package/lib-amd/components/LineChart/LineChart.base.js.map +1 -0
  717. package/lib-amd/components/LineChart/LineChart.d.ts +7 -0
  718. package/lib-amd/components/LineChart/LineChart.js +12 -0
  719. package/lib-amd/components/LineChart/LineChart.js.map +1 -0
  720. package/lib-amd/components/LineChart/LineChart.styles.d.ts +2 -0
  721. package/lib-amd/components/LineChart/LineChart.styles.js +12 -0
  722. package/lib-amd/components/LineChart/LineChart.styles.js.map +1 -0
  723. package/lib-amd/components/LineChart/LineChart.types.d.ts +103 -0
  724. package/lib-amd/components/LineChart/LineChart.types.js +5 -0
  725. package/lib-amd/components/LineChart/LineChart.types.js.map +1 -0
  726. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  727. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +91 -0
  728. package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  729. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  730. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +42 -0
  731. package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  732. package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  733. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +40 -0
  734. package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  735. package/lib-amd/components/LineChart/index.d.ts +3 -0
  736. package/lib-amd/components/LineChart/index.js +8 -0
  737. package/lib-amd/components/LineChart/index.js.map +1 -0
  738. package/lib-amd/components/PieChart/Arc/Arc.d.ts +17 -0
  739. package/lib-amd/components/PieChart/Arc/Arc.js +86 -0
  740. package/lib-amd/components/PieChart/Arc/Arc.js.map +1 -0
  741. package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  742. package/lib-amd/components/PieChart/Arc/Arc.styles.js +16 -0
  743. package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +1 -0
  744. package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +73 -0
  745. package/lib-amd/components/PieChart/Arc/Arc.types.js +5 -0
  746. package/lib-amd/components/PieChart/Arc/Arc.types.js.map +1 -0
  747. package/lib-amd/components/PieChart/Arc/index.d.ts +2 -0
  748. package/lib-amd/components/PieChart/Arc/index.js +7 -0
  749. package/lib-amd/components/PieChart/Arc/index.js.map +1 -0
  750. package/lib-amd/components/PieChart/Pie/Pie.d.ts +10 -0
  751. package/lib-amd/components/PieChart/Pie/Pie.js +43 -0
  752. package/lib-amd/components/PieChart/Pie/Pie.js.map +1 -0
  753. package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  754. package/lib-amd/components/PieChart/Pie/Pie.styles.js +12 -0
  755. package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +1 -0
  756. package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +47 -0
  757. package/lib-amd/components/PieChart/Pie/Pie.types.js +5 -0
  758. package/lib-amd/components/PieChart/Pie/Pie.types.js.map +1 -0
  759. package/lib-amd/components/PieChart/Pie/index.d.ts +2 -0
  760. package/lib-amd/components/PieChart/Pie/index.js +7 -0
  761. package/lib-amd/components/PieChart/Pie/index.js.map +1 -0
  762. package/lib-amd/components/PieChart/PieChart.base.d.ts +10 -0
  763. package/lib-amd/components/PieChart/PieChart.base.js +47 -0
  764. package/lib-amd/components/PieChart/PieChart.base.js.map +1 -0
  765. package/lib-amd/components/PieChart/PieChart.d.ts +7 -0
  766. package/lib-amd/components/PieChart/PieChart.js +12 -0
  767. package/lib-amd/components/PieChart/PieChart.js.map +1 -0
  768. package/lib-amd/components/PieChart/PieChart.styles.d.ts +2 -0
  769. package/lib-amd/components/PieChart/PieChart.styles.js +34 -0
  770. package/lib-amd/components/PieChart/PieChart.styles.js.map +1 -0
  771. package/lib-amd/components/PieChart/PieChart.types.d.ts +75 -0
  772. package/lib-amd/components/PieChart/PieChart.types.js +5 -0
  773. package/lib-amd/components/PieChart/PieChart.types.js.map +1 -0
  774. package/lib-amd/components/PieChart/index.d.ts +2 -0
  775. package/lib-amd/components/PieChart/index.js +7 -0
  776. package/lib-amd/components/PieChart/index.js.map +1 -0
  777. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  778. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js +86 -0
  779. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  780. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  781. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js +5 -0
  782. package/lib-amd/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  783. package/lib-amd/components/ResponsiveContainer/index.d.ts +3 -0
  784. package/lib-amd/components/ResponsiveContainer/index.js +8 -0
  785. package/lib-amd/components/ResponsiveContainer/index.js.map +1 -0
  786. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  787. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js +19 -0
  788. package/lib-amd/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  789. package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  790. package/lib-amd/components/SankeyChart/SankeyChart.base.js +916 -0
  791. package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +1 -0
  792. package/lib-amd/components/SankeyChart/SankeyChart.d.ts +7 -0
  793. package/lib-amd/components/SankeyChart/SankeyChart.js +12 -0
  794. package/lib-amd/components/SankeyChart/SankeyChart.js.map +1 -0
  795. package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  796. package/lib-amd/components/SankeyChart/SankeyChart.styles.js +63 -0
  797. package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  798. package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  799. package/lib-amd/components/SankeyChart/SankeyChart.types.js +5 -0
  800. package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +1 -0
  801. package/lib-amd/components/SankeyChart/index.d.ts +2 -0
  802. package/lib-amd/components/SankeyChart/index.js +7 -0
  803. package/lib-amd/components/SankeyChart/index.js.map +1 -0
  804. package/lib-amd/components/Sparkline/Sparkline.base.d.ts +23 -0
  805. package/lib-amd/components/Sparkline/Sparkline.base.js +84 -0
  806. package/lib-amd/components/Sparkline/Sparkline.base.js.map +1 -0
  807. package/lib-amd/components/Sparkline/Sparkline.d.ts +7 -0
  808. package/lib-amd/components/Sparkline/Sparkline.js +12 -0
  809. package/lib-amd/components/Sparkline/Sparkline.js.map +1 -0
  810. package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +2 -0
  811. package/lib-amd/components/Sparkline/Sparkline.styles.js +15 -0
  812. package/lib-amd/components/Sparkline/Sparkline.styles.js.map +1 -0
  813. package/lib-amd/components/Sparkline/Sparkline.types.d.ts +59 -0
  814. package/lib-amd/components/Sparkline/Sparkline.types.js +5 -0
  815. package/lib-amd/components/Sparkline/Sparkline.types.js.map +1 -0
  816. package/lib-amd/components/Sparkline/index.d.ts +2 -0
  817. package/lib-amd/components/Sparkline/index.js +7 -0
  818. package/lib-amd/components/Sparkline/index.js.map +1 -0
  819. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  820. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +432 -0
  821. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  822. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  823. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +12 -0
  824. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  825. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  826. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +89 -0
  827. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  828. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  829. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +14 -0
  830. package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  831. package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  832. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +362 -0
  833. package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  834. package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  835. package/lib-amd/components/StackedBarChart/StackedBarChart.js +12 -0
  836. package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +1 -0
  837. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  838. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  839. package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  840. package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  841. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +5 -0
  842. package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  843. package/lib-amd/components/StackedBarChart/index.d.ts +5 -0
  844. package/lib-amd/components/StackedBarChart/index.js +10 -0
  845. package/lib-amd/components/StackedBarChart/index.js.map +1 -0
  846. package/lib-amd/components/TreeChart/TreeChart.base.d.ts +18 -0
  847. package/lib-amd/components/TreeChart/TreeChart.base.js +319 -0
  848. package/lib-amd/components/TreeChart/TreeChart.base.js.map +1 -0
  849. package/lib-amd/components/TreeChart/TreeChart.d.ts +7 -0
  850. package/lib-amd/components/TreeChart/TreeChart.js +11 -0
  851. package/lib-amd/components/TreeChart/TreeChart.js.map +1 -0
  852. package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +2 -0
  853. package/lib-amd/components/TreeChart/TreeChart.styles.js +34 -0
  854. package/lib-amd/components/TreeChart/TreeChart.styles.js.map +1 -0
  855. package/lib-amd/components/TreeChart/TreeChart.types.d.ts +216 -0
  856. package/lib-amd/components/TreeChart/TreeChart.types.js +34 -0
  857. package/lib-amd/components/TreeChart/TreeChart.types.js.map +1 -0
  858. package/lib-amd/components/TreeChart/index.d.ts +2 -0
  859. package/lib-amd/components/TreeChart/index.js +7 -0
  860. package/lib-amd/components/TreeChart/index.js.map +1 -0
  861. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  862. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +873 -0
  863. package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  864. package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  865. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +12 -0
  866. package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  867. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  868. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  869. package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  870. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  871. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +5 -0
  872. package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  873. package/lib-amd/components/VerticalBarChart/index.d.ts +2 -0
  874. package/lib-amd/components/VerticalBarChart/index.js +7 -0
  875. package/lib-amd/components/VerticalBarChart/index.js.map +1 -0
  876. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  877. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +809 -0
  878. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  879. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  880. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +12 -0
  881. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  882. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  883. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  884. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  885. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  886. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +5 -0
  887. package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  888. package/lib-amd/components/VerticalStackedBarChart/index.d.ts +2 -0
  889. package/lib-amd/components/VerticalStackedBarChart/index.js +7 -0
  890. package/lib-amd/components/VerticalStackedBarChart/index.js.map +1 -0
  891. package/lib-amd/index.d.ts +44 -0
  892. package/lib-amd/index.js +43 -0
  893. package/lib-amd/index.js.map +1 -0
  894. package/lib-amd/types/IDataPoint.d.ts +736 -0
  895. package/lib-amd/types/IDataPoint.js +5 -0
  896. package/lib-amd/types/IDataPoint.js.map +1 -0
  897. package/lib-amd/types/IEventAnnotation.d.ts +6 -0
  898. package/lib-amd/types/IEventAnnotation.js +5 -0
  899. package/lib-amd/types/IEventAnnotation.js.map +1 -0
  900. package/lib-amd/types/ILegendDataItem.d.ts +10 -0
  901. package/lib-amd/types/ILegendDataItem.js +5 -0
  902. package/lib-amd/types/ILegendDataItem.js.map +1 -0
  903. package/lib-amd/types/index.d.ts +2 -0
  904. package/lib-amd/types/index.js +7 -0
  905. package/lib-amd/types/index.js.map +1 -0
  906. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  907. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +39 -0
  908. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  909. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  910. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +8 -0
  911. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  912. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  913. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +103 -0
  914. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  915. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  916. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +5 -0
  917. package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  918. package/lib-amd/utilities/ChartHoverCard/index.d.ts +3 -0
  919. package/lib-amd/utilities/ChartHoverCard/index.js +8 -0
  920. package/lib-amd/utilities/ChartHoverCard/index.js.map +1 -0
  921. package/lib-amd/utilities/FocusableTooltipText.d.ts +27 -0
  922. package/lib-amd/utilities/FocusableTooltipText.js +54 -0
  923. package/lib-amd/utilities/FocusableTooltipText.js.map +1 -0
  924. package/lib-amd/utilities/SVGTooltipText.d.ts +110 -0
  925. package/lib-amd/utilities/SVGTooltipText.js +192 -0
  926. package/lib-amd/utilities/SVGTooltipText.js.map +1 -0
  927. package/lib-amd/utilities/colors.d.ts +52 -0
  928. package/lib-amd/utilities/colors.js +161 -0
  929. package/lib-amd/utilities/colors.js.map +1 -0
  930. package/lib-amd/utilities/gradients.d.ts +30 -0
  931. package/lib-amd/utilities/gradients.js +180 -0
  932. package/lib-amd/utilities/gradients.js.map +1 -0
  933. package/lib-amd/utilities/image-export-utils.d.ts +13 -0
  934. package/lib-amd/utilities/image-export-utils.js +241 -0
  935. package/lib-amd/utilities/image-export-utils.js.map +1 -0
  936. package/lib-amd/utilities/index.d.ts +5 -0
  937. package/lib-amd/utilities/index.js +10 -0
  938. package/lib-amd/utilities/index.js.map +1 -0
  939. package/lib-amd/utilities/locale-util.d.ts +3 -0
  940. package/lib-amd/utilities/locale-util.js +24 -0
  941. package/lib-amd/utilities/locale-util.js.map +1 -0
  942. package/lib-amd/utilities/test-data.d.ts +43 -0
  943. package/lib-amd/utilities/test-data.js +266 -0
  944. package/lib-amd/utilities/test-data.js.map +1 -0
  945. package/lib-amd/utilities/utilities.d.ts +418 -0
  946. package/lib-amd/utilities/utilities.js +1261 -0
  947. package/lib-amd/utilities/utilities.js.map +1 -0
  948. package/lib-amd/utilities/vbc-utils.d.ts +2 -0
  949. package/lib-amd/utilities/vbc-utils.js +38 -0
  950. package/lib-amd/utilities/vbc-utils.js.map +1 -0
  951. package/lib-amd/version.d.ts +1 -0
  952. package/lib-amd/version.js +6 -0
  953. package/lib-amd/version.js.map +1 -0
  954. package/lib-commonjs/AreaChart.d.ts +1 -0
  955. package/lib-commonjs/AreaChart.js +5 -0
  956. package/lib-commonjs/AreaChart.js.map +1 -0
  957. package/lib-commonjs/CartesianChart.d.ts +1 -0
  958. package/lib-commonjs/CartesianChart.js +5 -0
  959. package/lib-commonjs/CartesianChart.js.map +1 -0
  960. package/lib-commonjs/DeclarativeChart.d.ts +1 -0
  961. package/lib-commonjs/DeclarativeChart.js +5 -0
  962. package/lib-commonjs/DeclarativeChart.js.map +1 -0
  963. package/lib-commonjs/DonutChart.d.ts +1 -0
  964. package/lib-commonjs/DonutChart.js +5 -0
  965. package/lib-commonjs/DonutChart.js.map +1 -0
  966. package/lib-commonjs/GaugeChart.d.ts +1 -0
  967. package/lib-commonjs/GaugeChart.js +5 -0
  968. package/lib-commonjs/GaugeChart.js.map +1 -0
  969. package/lib-commonjs/GroupedVerticalBarChart.d.ts +1 -0
  970. package/lib-commonjs/GroupedVerticalBarChart.js +5 -0
  971. package/lib-commonjs/GroupedVerticalBarChart.js.map +1 -0
  972. package/lib-commonjs/HeatMapChart.d.ts +1 -0
  973. package/lib-commonjs/HeatMapChart.js +5 -0
  974. package/lib-commonjs/HeatMapChart.js.map +1 -0
  975. package/lib-commonjs/HorizontalBarChart.d.ts +1 -0
  976. package/lib-commonjs/HorizontalBarChart.js +5 -0
  977. package/lib-commonjs/HorizontalBarChart.js.map +1 -0
  978. package/lib-commonjs/HorizontalBarChartWithAxis.d.ts +1 -0
  979. package/lib-commonjs/HorizontalBarChartWithAxis.js +5 -0
  980. package/lib-commonjs/HorizontalBarChartWithAxis.js.map +1 -0
  981. package/lib-commonjs/Legends.d.ts +1 -0
  982. package/lib-commonjs/Legends.js +5 -0
  983. package/lib-commonjs/Legends.js.map +1 -0
  984. package/lib-commonjs/LineChart.d.ts +1 -0
  985. package/lib-commonjs/LineChart.js +5 -0
  986. package/lib-commonjs/LineChart.js.map +1 -0
  987. package/lib-commonjs/PieChart.d.ts +1 -0
  988. package/lib-commonjs/PieChart.js +5 -0
  989. package/lib-commonjs/PieChart.js.map +1 -0
  990. package/lib-commonjs/ResponsiveContainer.d.ts +1 -0
  991. package/lib-commonjs/ResponsiveContainer.js +5 -0
  992. package/lib-commonjs/ResponsiveContainer.js.map +1 -0
  993. package/lib-commonjs/SankeyChart.d.ts +1 -0
  994. package/lib-commonjs/SankeyChart.js +5 -0
  995. package/lib-commonjs/SankeyChart.js.map +1 -0
  996. package/lib-commonjs/Sparkline.d.ts +1 -0
  997. package/lib-commonjs/Sparkline.js +5 -0
  998. package/lib-commonjs/Sparkline.js.map +1 -0
  999. package/lib-commonjs/StackedBarChart.d.ts +1 -0
  1000. package/lib-commonjs/StackedBarChart.js +5 -0
  1001. package/lib-commonjs/StackedBarChart.js.map +1 -0
  1002. package/lib-commonjs/Styling.d.ts +2 -0
  1003. package/lib-commonjs/Styling.js +75 -0
  1004. package/lib-commonjs/Styling.js.map +1 -0
  1005. package/lib-commonjs/TreeChart.d.ts +1 -0
  1006. package/lib-commonjs/TreeChart.js +5 -0
  1007. package/lib-commonjs/TreeChart.js.map +1 -0
  1008. package/lib-commonjs/Utilities.d.ts +2 -0
  1009. package/lib-commonjs/Utilities.js +176 -0
  1010. package/lib-commonjs/Utilities.js.map +1 -0
  1011. package/lib-commonjs/VerticalBarChart.d.ts +1 -0
  1012. package/lib-commonjs/VerticalBarChart.js +5 -0
  1013. package/lib-commonjs/VerticalBarChart.js.map +1 -0
  1014. package/lib-commonjs/VerticalStackedBarChart.d.ts +1 -0
  1015. package/lib-commonjs/VerticalStackedBarChart.js +5 -0
  1016. package/lib-commonjs/VerticalStackedBarChart.js.map +1 -0
  1017. package/lib-commonjs/components/AreaChart/AreaChart.base.d.ts +111 -0
  1018. package/lib-commonjs/components/AreaChart/AreaChart.base.js +725 -0
  1019. package/lib-commonjs/components/AreaChart/AreaChart.base.js.map +1 -0
  1020. package/lib-commonjs/components/AreaChart/AreaChart.d.ts +7 -0
  1021. package/lib-commonjs/components/AreaChart/AreaChart.js +13 -0
  1022. package/lib-commonjs/components/AreaChart/AreaChart.js.map +1 -0
  1023. package/lib-commonjs/components/AreaChart/AreaChart.styles.d.ts +2 -0
  1024. package/lib-commonjs/components/AreaChart/AreaChart.styles.js +11 -0
  1025. package/lib-commonjs/components/AreaChart/AreaChart.styles.js.map +1 -0
  1026. package/lib-commonjs/components/AreaChart/AreaChart.types.d.ts +64 -0
  1027. package/lib-commonjs/components/AreaChart/AreaChart.types.js +3 -0
  1028. package/lib-commonjs/components/AreaChart/AreaChart.types.js.map +1 -0
  1029. package/lib-commonjs/components/AreaChart/index.d.ts +2 -0
  1030. package/lib-commonjs/components/AreaChart/index.js +6 -0
  1031. package/lib-commonjs/components/AreaChart/index.js.map +1 -0
  1032. package/lib-commonjs/components/CommonComponents/CartesianChart.base.d.ts +65 -0
  1033. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js +612 -0
  1034. package/lib-commonjs/components/CommonComponents/CartesianChart.base.js.map +1 -0
  1035. package/lib-commonjs/components/CommonComponents/CartesianChart.d.ts +7 -0
  1036. package/lib-commonjs/components/CommonComponents/CartesianChart.js +12 -0
  1037. package/lib-commonjs/components/CommonComponents/CartesianChart.js.map +1 -0
  1038. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.d.ts +2 -0
  1039. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js +179 -0
  1040. package/lib-commonjs/components/CommonComponents/CartesianChart.styles.js.map +1 -0
  1041. package/lib-commonjs/components/CommonComponents/CartesianChart.types.d.ts +556 -0
  1042. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js +3 -0
  1043. package/lib-commonjs/components/CommonComponents/CartesianChart.types.js.map +1 -0
  1044. package/lib-commonjs/components/CommonComponents/index.d.ts +2 -0
  1045. package/lib-commonjs/components/CommonComponents/index.js +6 -0
  1046. package/lib-commonjs/components/CommonComponents/index.js.map +1 -0
  1047. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.d.ts +43 -0
  1048. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js +148 -0
  1049. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.js.map +1 -0
  1050. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.d.ts +30 -0
  1051. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js +663 -0
  1052. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -0
  1053. package/lib-commonjs/components/DeclarativeChart/index.d.ts +1 -0
  1054. package/lib-commonjs/components/DeclarativeChart/index.js +5 -0
  1055. package/lib-commonjs/components/DeclarativeChart/index.js.map +1 -0
  1056. package/lib-commonjs/components/DonutChart/Arc/Arc.d.ts +22 -0
  1057. package/lib-commonjs/components/DonutChart/Arc/Arc.js +110 -0
  1058. package/lib-commonjs/components/DonutChart/Arc/Arc.js.map +1 -0
  1059. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.d.ts +2 -0
  1060. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js +39 -0
  1061. package/lib-commonjs/components/DonutChart/Arc/Arc.styles.js.map +1 -0
  1062. package/lib-commonjs/components/DonutChart/Arc/Arc.types.d.ts +165 -0
  1063. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js +3 -0
  1064. package/lib-commonjs/components/DonutChart/Arc/Arc.types.js.map +1 -0
  1065. package/lib-commonjs/components/DonutChart/Arc/index.d.ts +2 -0
  1066. package/lib-commonjs/components/DonutChart/Arc/index.js +6 -0
  1067. package/lib-commonjs/components/DonutChart/Arc/index.js.map +1 -0
  1068. package/lib-commonjs/components/DonutChart/DonutChart.base.d.ts +61 -0
  1069. package/lib-commonjs/components/DonutChart/DonutChart.base.js +304 -0
  1070. package/lib-commonjs/components/DonutChart/DonutChart.base.js.map +1 -0
  1071. package/lib-commonjs/components/DonutChart/DonutChart.d.ts +7 -0
  1072. package/lib-commonjs/components/DonutChart/DonutChart.js +13 -0
  1073. package/lib-commonjs/components/DonutChart/DonutChart.js.map +1 -0
  1074. package/lib-commonjs/components/DonutChart/DonutChart.styles.d.ts +2 -0
  1075. package/lib-commonjs/components/DonutChart/DonutChart.styles.js +34 -0
  1076. package/lib-commonjs/components/DonutChart/DonutChart.styles.js.map +1 -0
  1077. package/lib-commonjs/components/DonutChart/DonutChart.types.d.ts +90 -0
  1078. package/lib-commonjs/components/DonutChart/DonutChart.types.js +3 -0
  1079. package/lib-commonjs/components/DonutChart/DonutChart.types.js.map +1 -0
  1080. package/lib-commonjs/components/DonutChart/Pie/Pie.d.ts +15 -0
  1081. package/lib-commonjs/components/DonutChart/Pie/Pie.js +78 -0
  1082. package/lib-commonjs/components/DonutChart/Pie/Pie.js.map +1 -0
  1083. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.d.ts +2 -0
  1084. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js +23 -0
  1085. package/lib-commonjs/components/DonutChart/Pie/Pie.styles.js.map +1 -0
  1086. package/lib-commonjs/components/DonutChart/Pie/Pie.types.d.ts +106 -0
  1087. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js +3 -0
  1088. package/lib-commonjs/components/DonutChart/Pie/Pie.types.js.map +1 -0
  1089. package/lib-commonjs/components/DonutChart/Pie/index.d.ts +2 -0
  1090. package/lib-commonjs/components/DonutChart/Pie/index.js +6 -0
  1091. package/lib-commonjs/components/DonutChart/Pie/index.js.map +1 -0
  1092. package/lib-commonjs/components/DonutChart/index.d.ts +3 -0
  1093. package/lib-commonjs/components/DonutChart/index.js +7 -0
  1094. package/lib-commonjs/components/DonutChart/index.js.map +1 -0
  1095. package/lib-commonjs/components/GaugeChart/GaugeChart.base.d.ts +82 -0
  1096. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js +478 -0
  1097. package/lib-commonjs/components/GaugeChart/GaugeChart.base.js.map +1 -0
  1098. package/lib-commonjs/components/GaugeChart/GaugeChart.d.ts +7 -0
  1099. package/lib-commonjs/components/GaugeChart/GaugeChart.js +12 -0
  1100. package/lib-commonjs/components/GaugeChart/GaugeChart.js.map +1 -0
  1101. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.d.ts +2 -0
  1102. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js +133 -0
  1103. package/lib-commonjs/components/GaugeChart/GaugeChart.styles.js.map +1 -0
  1104. package/lib-commonjs/components/GaugeChart/GaugeChart.types.d.ts +273 -0
  1105. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js +20 -0
  1106. package/lib-commonjs/components/GaugeChart/GaugeChart.types.js.map +1 -0
  1107. package/lib-commonjs/components/GaugeChart/index.d.ts +2 -0
  1108. package/lib-commonjs/components/GaugeChart/index.js +6 -0
  1109. package/lib-commonjs/components/GaugeChart/index.js.map +1 -0
  1110. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +80 -0
  1111. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +498 -0
  1112. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +1 -0
  1113. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +7 -0
  1114. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +13 -0
  1115. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -0
  1116. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +2 -0
  1117. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +21 -0
  1118. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +1 -0
  1119. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +126 -0
  1120. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +3 -0
  1121. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -0
  1122. package/lib-commonjs/components/GroupedVerticalBarChart/index.d.ts +2 -0
  1123. package/lib-commonjs/components/GroupedVerticalBarChart/index.js +6 -0
  1124. package/lib-commonjs/components/GroupedVerticalBarChart/index.js.map +1 -0
  1125. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.d.ts +160 -0
  1126. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js +600 -0
  1127. package/lib-commonjs/components/HeatMapChart/HeatMapChart.base.js.map +1 -0
  1128. package/lib-commonjs/components/HeatMapChart/HeatMapChart.d.ts +7 -0
  1129. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js +12 -0
  1130. package/lib-commonjs/components/HeatMapChart/HeatMapChart.js.map +1 -0
  1131. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.d.ts +2 -0
  1132. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js +27 -0
  1133. package/lib-commonjs/components/HeatMapChart/HeatMapChart.styles.js.map +1 -0
  1134. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.d.ts +130 -0
  1135. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js +3 -0
  1136. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.js.map +1 -0
  1137. package/lib-commonjs/components/HeatMapChart/index.d.ts +2 -0
  1138. package/lib-commonjs/components/HeatMapChart/index.js +6 -0
  1139. package/lib-commonjs/components/HeatMapChart/index.js.map +1 -0
  1140. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +47 -0
  1141. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js +296 -0
  1142. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.base.js.map +1 -0
  1143. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.d.ts +7 -0
  1144. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js +13 -0
  1145. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -0
  1146. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +2 -0
  1147. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js +70 -0
  1148. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +1 -0
  1149. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +198 -0
  1150. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js +12 -0
  1151. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -0
  1152. package/lib-commonjs/components/HorizontalBarChart/index.d.ts +3 -0
  1153. package/lib-commonjs/components/HorizontalBarChart/index.js +7 -0
  1154. package/lib-commonjs/components/HorizontalBarChart/index.js.map +1 -0
  1155. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.d.ts +76 -0
  1156. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js +604 -0
  1157. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.base.js.map +1 -0
  1158. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.d.ts +7 -0
  1159. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +13 -0
  1160. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -0
  1161. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.d.ts +2 -0
  1162. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js +16 -0
  1163. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.styles.js.map +1 -0
  1164. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.d.ts +122 -0
  1165. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js +3 -0
  1166. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -0
  1167. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.d.ts +2 -0
  1168. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js +6 -0
  1169. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.js.map +1 -0
  1170. package/lib-commonjs/components/Legends/Legends.base.d.ts +50 -0
  1171. package/lib-commonjs/components/Legends/Legends.base.js +332 -0
  1172. package/lib-commonjs/components/Legends/Legends.base.js.map +1 -0
  1173. package/lib-commonjs/components/Legends/Legends.d.ts +7 -0
  1174. package/lib-commonjs/components/Legends/Legends.js +12 -0
  1175. package/lib-commonjs/components/Legends/Legends.js.map +1 -0
  1176. package/lib-commonjs/components/Legends/Legends.styles.d.ts +10 -0
  1177. package/lib-commonjs/components/Legends/Legends.styles.js +124 -0
  1178. package/lib-commonjs/components/Legends/Legends.styles.js.map +1 -0
  1179. package/lib-commonjs/components/Legends/Legends.types.d.ts +259 -0
  1180. package/lib-commonjs/components/Legends/Legends.types.js +3 -0
  1181. package/lib-commonjs/components/Legends/Legends.types.js.map +1 -0
  1182. package/lib-commonjs/components/Legends/index.d.ts +3 -0
  1183. package/lib-commonjs/components/Legends/index.js +7 -0
  1184. package/lib-commonjs/components/Legends/index.js.map +1 -0
  1185. package/lib-commonjs/components/Legends/shape.d.ts +9 -0
  1186. package/lib-commonjs/components/Legends/shape.js +28 -0
  1187. package/lib-commonjs/components/Legends/shape.js.map +1 -0
  1188. package/lib-commonjs/components/LineChart/LineChart.base.d.ts +105 -0
  1189. package/lib-commonjs/components/LineChart/LineChart.base.js +969 -0
  1190. package/lib-commonjs/components/LineChart/LineChart.base.js.map +1 -0
  1191. package/lib-commonjs/components/LineChart/LineChart.d.ts +7 -0
  1192. package/lib-commonjs/components/LineChart/LineChart.js +13 -0
  1193. package/lib-commonjs/components/LineChart/LineChart.js.map +1 -0
  1194. package/lib-commonjs/components/LineChart/LineChart.styles.d.ts +2 -0
  1195. package/lib-commonjs/components/LineChart/LineChart.styles.js +11 -0
  1196. package/lib-commonjs/components/LineChart/LineChart.styles.js.map +1 -0
  1197. package/lib-commonjs/components/LineChart/LineChart.types.d.ts +103 -0
  1198. package/lib-commonjs/components/LineChart/LineChart.types.js +3 -0
  1199. package/lib-commonjs/components/LineChart/LineChart.types.js.map +1 -0
  1200. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.d.ts +12 -0
  1201. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js +94 -0
  1202. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -0
  1203. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.d.ts +24 -0
  1204. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js +44 -0
  1205. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.js.map +1 -0
  1206. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.d.ts +13 -0
  1207. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js +42 -0
  1208. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.js.map +1 -0
  1209. package/lib-commonjs/components/LineChart/index.d.ts +3 -0
  1210. package/lib-commonjs/components/LineChart/index.js +7 -0
  1211. package/lib-commonjs/components/LineChart/index.js.map +1 -0
  1212. package/lib-commonjs/components/PieChart/Arc/Arc.d.ts +17 -0
  1213. package/lib-commonjs/components/PieChart/Arc/Arc.js +92 -0
  1214. package/lib-commonjs/components/PieChart/Arc/Arc.js.map +1 -0
  1215. package/lib-commonjs/components/PieChart/Arc/Arc.styles.d.ts +3 -0
  1216. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js +15 -0
  1217. package/lib-commonjs/components/PieChart/Arc/Arc.styles.js.map +1 -0
  1218. package/lib-commonjs/components/PieChart/Arc/Arc.types.d.ts +73 -0
  1219. package/lib-commonjs/components/PieChart/Arc/Arc.types.js +3 -0
  1220. package/lib-commonjs/components/PieChart/Arc/Arc.types.js.map +1 -0
  1221. package/lib-commonjs/components/PieChart/Arc/index.d.ts +2 -0
  1222. package/lib-commonjs/components/PieChart/Arc/index.js +6 -0
  1223. package/lib-commonjs/components/PieChart/Arc/index.js.map +1 -0
  1224. package/lib-commonjs/components/PieChart/Pie/Pie.d.ts +10 -0
  1225. package/lib-commonjs/components/PieChart/Pie/Pie.js +48 -0
  1226. package/lib-commonjs/components/PieChart/Pie/Pie.js.map +1 -0
  1227. package/lib-commonjs/components/PieChart/Pie/Pie.styles.d.ts +2 -0
  1228. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js +10 -0
  1229. package/lib-commonjs/components/PieChart/Pie/Pie.styles.js.map +1 -0
  1230. package/lib-commonjs/components/PieChart/Pie/Pie.types.d.ts +47 -0
  1231. package/lib-commonjs/components/PieChart/Pie/Pie.types.js +3 -0
  1232. package/lib-commonjs/components/PieChart/Pie/Pie.types.js.map +1 -0
  1233. package/lib-commonjs/components/PieChart/Pie/index.d.ts +2 -0
  1234. package/lib-commonjs/components/PieChart/Pie/index.js +6 -0
  1235. package/lib-commonjs/components/PieChart/Pie/index.js.map +1 -0
  1236. package/lib-commonjs/components/PieChart/PieChart.base.d.ts +10 -0
  1237. package/lib-commonjs/components/PieChart/PieChart.base.js +49 -0
  1238. package/lib-commonjs/components/PieChart/PieChart.base.js.map +1 -0
  1239. package/lib-commonjs/components/PieChart/PieChart.d.ts +7 -0
  1240. package/lib-commonjs/components/PieChart/PieChart.js +13 -0
  1241. package/lib-commonjs/components/PieChart/PieChart.js.map +1 -0
  1242. package/lib-commonjs/components/PieChart/PieChart.styles.d.ts +2 -0
  1243. package/lib-commonjs/components/PieChart/PieChart.styles.js +33 -0
  1244. package/lib-commonjs/components/PieChart/PieChart.styles.js.map +1 -0
  1245. package/lib-commonjs/components/PieChart/PieChart.types.d.ts +75 -0
  1246. package/lib-commonjs/components/PieChart/PieChart.types.js +3 -0
  1247. package/lib-commonjs/components/PieChart/PieChart.types.js.map +1 -0
  1248. package/lib-commonjs/components/PieChart/index.d.ts +2 -0
  1249. package/lib-commonjs/components/PieChart/index.js +6 -0
  1250. package/lib-commonjs/components/PieChart/index.js.map +1 -0
  1251. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.d.ts +7 -0
  1252. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js +87 -0
  1253. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -0
  1254. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.d.ts +52 -0
  1255. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js +3 -0
  1256. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -0
  1257. package/lib-commonjs/components/ResponsiveContainer/index.d.ts +3 -0
  1258. package/lib-commonjs/components/ResponsiveContainer/index.js +7 -0
  1259. package/lib-commonjs/components/ResponsiveContainer/index.js.map +1 -0
  1260. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.d.ts +7 -0
  1261. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js +21 -0
  1262. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -0
  1263. package/lib-commonjs/components/SankeyChart/SankeyChart.base.d.ts +91 -0
  1264. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js +925 -0
  1265. package/lib-commonjs/components/SankeyChart/SankeyChart.base.js.map +1 -0
  1266. package/lib-commonjs/components/SankeyChart/SankeyChart.d.ts +7 -0
  1267. package/lib-commonjs/components/SankeyChart/SankeyChart.js +13 -0
  1268. package/lib-commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
  1269. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.d.ts +2 -0
  1270. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js +63 -0
  1271. package/lib-commonjs/components/SankeyChart/SankeyChart.styles.js.map +1 -0
  1272. package/lib-commonjs/components/SankeyChart/SankeyChart.types.d.ts +157 -0
  1273. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js +3 -0
  1274. package/lib-commonjs/components/SankeyChart/SankeyChart.types.js.map +1 -0
  1275. package/lib-commonjs/components/SankeyChart/index.d.ts +2 -0
  1276. package/lib-commonjs/components/SankeyChart/index.js +6 -0
  1277. package/lib-commonjs/components/SankeyChart/index.js.map +1 -0
  1278. package/lib-commonjs/components/Sparkline/Sparkline.base.d.ts +23 -0
  1279. package/lib-commonjs/components/Sparkline/Sparkline.base.js +89 -0
  1280. package/lib-commonjs/components/Sparkline/Sparkline.base.js.map +1 -0
  1281. package/lib-commonjs/components/Sparkline/Sparkline.d.ts +7 -0
  1282. package/lib-commonjs/components/Sparkline/Sparkline.js +13 -0
  1283. package/lib-commonjs/components/Sparkline/Sparkline.js.map +1 -0
  1284. package/lib-commonjs/components/Sparkline/Sparkline.styles.d.ts +2 -0
  1285. package/lib-commonjs/components/Sparkline/Sparkline.styles.js +14 -0
  1286. package/lib-commonjs/components/Sparkline/Sparkline.styles.js.map +1 -0
  1287. package/lib-commonjs/components/Sparkline/Sparkline.types.d.ts +59 -0
  1288. package/lib-commonjs/components/Sparkline/Sparkline.types.js +3 -0
  1289. package/lib-commonjs/components/Sparkline/Sparkline.types.js.map +1 -0
  1290. package/lib-commonjs/components/Sparkline/index.d.ts +2 -0
  1291. package/lib-commonjs/components/Sparkline/index.js +6 -0
  1292. package/lib-commonjs/components/Sparkline/index.js.map +1 -0
  1293. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.d.ts +70 -0
  1294. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +440 -0
  1295. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -0
  1296. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.d.ts +7 -0
  1297. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js +13 -0
  1298. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.js.map +1 -0
  1299. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +2 -0
  1300. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js +90 -0
  1301. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.styles.js.map +1 -0
  1302. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.d.ts +223 -0
  1303. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js +12 -0
  1304. package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.types.js.map +1 -0
  1305. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.d.ts +63 -0
  1306. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js +369 -0
  1307. package/lib-commonjs/components/StackedBarChart/StackedBarChart.base.js.map +1 -0
  1308. package/lib-commonjs/components/StackedBarChart/StackedBarChart.d.ts +7 -0
  1309. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js +13 -0
  1310. package/lib-commonjs/components/StackedBarChart/StackedBarChart.js.map +1 -0
  1311. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.d.ts +2 -0
  1312. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js +107 -0
  1313. package/lib-commonjs/components/StackedBarChart/StackedBarChart.styles.js.map +1 -0
  1314. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.d.ts +232 -0
  1315. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js +3 -0
  1316. package/lib-commonjs/components/StackedBarChart/StackedBarChart.types.js.map +1 -0
  1317. package/lib-commonjs/components/StackedBarChart/index.d.ts +5 -0
  1318. package/lib-commonjs/components/StackedBarChart/index.js +9 -0
  1319. package/lib-commonjs/components/StackedBarChart/index.js.map +1 -0
  1320. package/lib-commonjs/components/TreeChart/TreeChart.base.d.ts +18 -0
  1321. package/lib-commonjs/components/TreeChart/TreeChart.base.js +324 -0
  1322. package/lib-commonjs/components/TreeChart/TreeChart.base.js.map +1 -0
  1323. package/lib-commonjs/components/TreeChart/TreeChart.d.ts +7 -0
  1324. package/lib-commonjs/components/TreeChart/TreeChart.js +12 -0
  1325. package/lib-commonjs/components/TreeChart/TreeChart.js.map +1 -0
  1326. package/lib-commonjs/components/TreeChart/TreeChart.styles.d.ts +2 -0
  1327. package/lib-commonjs/components/TreeChart/TreeChart.styles.js +33 -0
  1328. package/lib-commonjs/components/TreeChart/TreeChart.styles.js.map +1 -0
  1329. package/lib-commonjs/components/TreeChart/TreeChart.types.d.ts +216 -0
  1330. package/lib-commonjs/components/TreeChart/TreeChart.types.js +32 -0
  1331. package/lib-commonjs/components/TreeChart/TreeChart.types.js.map +1 -0
  1332. package/lib-commonjs/components/TreeChart/index.d.ts +2 -0
  1333. package/lib-commonjs/components/TreeChart/index.js +6 -0
  1334. package/lib-commonjs/components/TreeChart/index.js.map +1 -0
  1335. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.d.ts +94 -0
  1336. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js +883 -0
  1337. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.base.js.map +1 -0
  1338. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.d.ts +7 -0
  1339. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js +13 -0
  1340. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.js.map +1 -0
  1341. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.d.ts +2 -0
  1342. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js +32 -0
  1343. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.styles.js.map +1 -0
  1344. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.d.ts +160 -0
  1345. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js +3 -0
  1346. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -0
  1347. package/lib-commonjs/components/VerticalBarChart/index.d.ts +2 -0
  1348. package/lib-commonjs/components/VerticalBarChart/index.js +6 -0
  1349. package/lib-commonjs/components/VerticalBarChart/index.js.map +1 -0
  1350. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +99 -0
  1351. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +819 -0
  1352. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +1 -0
  1353. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +7 -0
  1354. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js +13 -0
  1355. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -0
  1356. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +2 -0
  1357. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +22 -0
  1358. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +1 -0
  1359. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +187 -0
  1360. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +3 -0
  1361. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -0
  1362. package/lib-commonjs/components/VerticalStackedBarChart/index.d.ts +2 -0
  1363. package/lib-commonjs/components/VerticalStackedBarChart/index.js +6 -0
  1364. package/lib-commonjs/components/VerticalStackedBarChart/index.js.map +1 -0
  1365. package/lib-commonjs/index.d.ts +44 -0
  1366. package/lib-commonjs/index.js +64 -0
  1367. package/lib-commonjs/index.js.map +1 -0
  1368. package/lib-commonjs/types/IDataPoint.d.ts +736 -0
  1369. package/lib-commonjs/types/IDataPoint.js +3 -0
  1370. package/lib-commonjs/types/IDataPoint.js.map +1 -0
  1371. package/lib-commonjs/types/IEventAnnotation.d.ts +6 -0
  1372. package/lib-commonjs/types/IEventAnnotation.js +3 -0
  1373. package/lib-commonjs/types/IEventAnnotation.js.map +1 -0
  1374. package/lib-commonjs/types/ILegendDataItem.d.ts +10 -0
  1375. package/lib-commonjs/types/ILegendDataItem.js +3 -0
  1376. package/lib-commonjs/types/ILegendDataItem.js.map +1 -0
  1377. package/lib-commonjs/types/index.d.ts +2 -0
  1378. package/lib-commonjs/types/index.js +6 -0
  1379. package/lib-commonjs/types/index.js.map +1 -0
  1380. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +6 -0
  1381. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js +41 -0
  1382. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.base.js.map +1 -0
  1383. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.d.ts +3 -0
  1384. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js +9 -0
  1385. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.js.map +1 -0
  1386. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +2 -0
  1387. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +102 -0
  1388. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -0
  1389. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +105 -0
  1390. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js +3 -0
  1391. package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.types.js.map +1 -0
  1392. package/lib-commonjs/utilities/ChartHoverCard/index.d.ts +3 -0
  1393. package/lib-commonjs/utilities/ChartHoverCard/index.js +7 -0
  1394. package/lib-commonjs/utilities/ChartHoverCard/index.js.map +1 -0
  1395. package/lib-commonjs/utilities/FocusableTooltipText.d.ts +27 -0
  1396. package/lib-commonjs/utilities/FocusableTooltipText.js +57 -0
  1397. package/lib-commonjs/utilities/FocusableTooltipText.js.map +1 -0
  1398. package/lib-commonjs/utilities/SVGTooltipText.d.ts +110 -0
  1399. package/lib-commonjs/utilities/SVGTooltipText.js +195 -0
  1400. package/lib-commonjs/utilities/SVGTooltipText.js.map +1 -0
  1401. package/lib-commonjs/utilities/colors.d.ts +52 -0
  1402. package/lib-commonjs/utilities/colors.js +160 -0
  1403. package/lib-commonjs/utilities/colors.js.map +1 -0
  1404. package/lib-commonjs/utilities/gradients.d.ts +30 -0
  1405. package/lib-commonjs/utilities/gradients.js +178 -0
  1406. package/lib-commonjs/utilities/gradients.js.map +1 -0
  1407. package/lib-commonjs/utilities/image-export-utils.d.ts +13 -0
  1408. package/lib-commonjs/utilities/image-export-utils.js +243 -0
  1409. package/lib-commonjs/utilities/image-export-utils.js.map +1 -0
  1410. package/lib-commonjs/utilities/index.d.ts +5 -0
  1411. package/lib-commonjs/utilities/index.js +9 -0
  1412. package/lib-commonjs/utilities/index.js.map +1 -0
  1413. package/lib-commonjs/utilities/locale-util.d.ts +3 -0
  1414. package/lib-commonjs/utilities/locale-util.js +22 -0
  1415. package/lib-commonjs/utilities/locale-util.js.map +1 -0
  1416. package/lib-commonjs/utilities/test-data.d.ts +43 -0
  1417. package/lib-commonjs/utilities/test-data.js +265 -0
  1418. package/lib-commonjs/utilities/test-data.js.map +1 -0
  1419. package/lib-commonjs/utilities/utilities.d.ts +418 -0
  1420. package/lib-commonjs/utilities/utilities.js +1269 -0
  1421. package/lib-commonjs/utilities/utilities.js.map +1 -0
  1422. package/lib-commonjs/utilities/vbc-utils.d.ts +2 -0
  1423. package/lib-commonjs/utilities/vbc-utils.js +36 -0
  1424. package/lib-commonjs/utilities/vbc-utils.js.map +1 -0
  1425. package/lib-commonjs/version.d.ts +1 -0
  1426. package/lib-commonjs/version.js +7 -0
  1427. package/lib-commonjs/version.js.map +1 -0
  1428. package/package.json +4 -4
@@ -0,0 +1,966 @@
1
+ import { __assign, __extends, __spreadArray } from "tslib";
2
+ import * as React from 'react';
3
+ import { select as d3Select, pointer } from 'd3-selection';
4
+ import { bisector } from 'd3-array';
5
+ import { Legends } from '../Legends/index';
6
+ import { line as d3Line, curveLinear as d3curveLinear } from 'd3-shape';
7
+ import { max as d3Max, min as d3Min } from 'd3-array';
8
+ import { classNamesFunction, getId, find, memoizeFunction, getRTL, initializeComponentRef, } from '@fluentui/react/lib/Utilities';
9
+ import { CartesianChart, } from '../../index';
10
+ import { DirectionalHint } from '@fluentui/react/lib/Callout';
11
+ import { EventsAnnotation } from './eventAnnotation/EventAnnotation';
12
+ import { calloutData, ChartTypes, getXAxisType, XAxisTypes, tooltipOfXAxislabels, Points, pointTypes, getTypeOfAxis, getNextColor, getColorFromToken, findNumericMinMaxOfY, createNumericYAxis, domainRangeOfDateForAreaLineVerticalBarChart, domainRangeOfNumericForAreaChart, createStringYAxis, formatDate, areArraysEqual, } from '../../utilities/index';
13
+ import { toImage } from '../../utilities/image-export-utils';
14
+ var getClassNames = classNamesFunction();
15
+ var PointSize;
16
+ (function (PointSize) {
17
+ PointSize[PointSize["hoverSize"] = 11] = "hoverSize";
18
+ PointSize[PointSize["invisibleSize"] = 1] = "invisibleSize";
19
+ })(PointSize || (PointSize = {}));
20
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21
+ var bisect = bisector(function (d) { return d.x; }).left;
22
+ var DEFAULT_LINE_STROKE_SIZE = 4;
23
+ // The given shape of a icon must be 2.5 times bigger than line width (known as stroke width)
24
+ var PATH_MULTIPLY_SIZE = 2.5;
25
+ /**
26
+ *
27
+ * @param x units from origin
28
+ * @param y units from origin
29
+ * @param w is the legnth of the each side of a shape
30
+ * @param index index to get the shape path
31
+ */
32
+ var _getPointPath = function (x, y, w, index) {
33
+ var allPointPaths = [
34
+ // circle path
35
+ "M".concat(x - w / 2, " ").concat(y, "\n A").concat(w / 2, " ").concat(w / 2, " 0 1 0 ").concat(x + w / 2, " ").concat(y, "\n M").concat(x - w / 2, " ").concat(y, "\n A ").concat(w / 2, " ").concat(w / 2, " 0 1 1 ").concat(x + w / 2, " ").concat(y, "\n "),
36
+ //square
37
+ "M".concat(x - w / 2, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y + w / 2, "\n L").concat(x - w / 2, " ").concat(y + w / 2, "\n Z"),
38
+ //triangle
39
+ "M".concat(x - w / 2, " ").concat(y - 0.2886 * w, "\n H ").concat(x + w / 2, "\n L").concat(x, " ").concat(y + 0.5774 * w, " Z"),
40
+ //diamond
41
+ "M".concat(x, " ").concat(y - w / 2, "\n L").concat(x + w / 2, " ").concat(y, "\n L").concat(x, " ").concat(y + w / 2, "\n L").concat(x - w / 2, " ").concat(y, "\n Z"),
42
+ //pyramid
43
+ "M".concat(x, " ").concat(y - 0.5774 * w, "\n L").concat(x + w / 2, " ").concat(y + 0.2886 * w, "\n L").concat(x - w / 2, " ").concat(y + 0.2886 * w, " Z"),
44
+ //hexagon
45
+ "M".concat(x - 0.5 * w, " ").concat(y - 0.866 * w, "\n L").concat(x + 0.5 * w, " ").concat(y - 0.866 * w, "\n L").concat(x + w, " ").concat(y, "\n L").concat(x + 0.5 * w, " ").concat(y + 0.866 * w, "\n L").concat(x - 0.5 * w, " ").concat(y + 0.866 * w, "\n L").concat(x - w, " ").concat(y, "\n Z"),
46
+ //pentagon
47
+ "M".concat(x, " ").concat(y - 0.851 * w, "\n L").concat(x + 0.6884 * w, " ").concat(y - 0.2633 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y + 0.6884 * w, "\n L").concat(x - 0.5001 * w, " ").concat(y + 0.6884 * w, "\n L").concat(x - 0.6884 * w, " ").concat(y - 0.2633 * w, "\n Z"),
48
+ //octagon
49
+ "M".concat(x - 0.5001 * w, " ").concat(y - 1.207 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y - 1.207 * w, "\n L").concat(x + 1.207 * w, " ").concat(y - 0.5001 * w, "\n L").concat(x + 1.207 * w, " ").concat(y + 0.5001 * w, "\n L").concat(x + 0.5001 * w, " ").concat(y + 1.207 * w, "\n L").concat(x - 0.5001 * w, " ").concat(y + 1.207 * w, "\n L").concat(x - 1.207 * w, " ").concat(y + 0.5001 * w, "\n L").concat(x - 1.207 * w, " ").concat(y - 0.5001 * w, "\n Z"),
50
+ ];
51
+ return allPointPaths[index];
52
+ };
53
+ var LineChartBase = /** @class */ (function (_super) {
54
+ __extends(LineChartBase, _super);
55
+ function LineChartBase(props) {
56
+ var _a, _b, _c, _d, _e;
57
+ var _this_1 = _super.call(this, props) || this;
58
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
59
+ _this_1._xAxisScale = '';
60
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
61
+ _this_1._yAxisScale = '';
62
+ _this_1.eventLabelHeight = 36;
63
+ _this_1._isRTL = getRTL();
64
+ _this_1._xMin = Number.NEGATIVE_INFINITY;
65
+ _this_1._yMin = Number.NEGATIVE_INFINITY;
66
+ _this_1._xMax = Number.POSITIVE_INFINITY;
67
+ _this_1._xPadding = 0;
68
+ _this_1._yPadding = 0;
69
+ _this_1.toImage = function (opts) {
70
+ var _a, _b;
71
+ return toImage((_a = _this_1._cartesianChartRef.current) === null || _a === void 0 ? void 0 : _a.chartContainer, (_b = _this_1._legendsRef.current) === null || _b === void 0 ? void 0 : _b.toSVG, _this_1._isRTL, opts);
72
+ };
73
+ _this_1._getDomainNRangeValues = function (points, margins, width, chartType, isRTL, xAxisType, barWidth, tickValues, shiftX) {
74
+ var domainNRangeValue;
75
+ if (_this_1.props.lineMode === 'scatter' && xAxisType === XAxisTypes.NumericAxis) {
76
+ domainNRangeValue = _this_1._getDomainNRangeValuesWithPadding(points, margins, width, isRTL);
77
+ }
78
+ else if (xAxisType === XAxisTypes.NumericAxis) {
79
+ domainNRangeValue = domainRangeOfNumericForAreaChart(points, margins, width, isRTL);
80
+ }
81
+ else if (xAxisType === XAxisTypes.DateAxis) {
82
+ domainNRangeValue = domainRangeOfDateForAreaLineVerticalBarChart(points, margins, width, isRTL, tickValues, chartType, barWidth);
83
+ }
84
+ else {
85
+ domainNRangeValue = { dStartValue: 0, dEndValue: 0, rStartValue: 0, rEndValue: 0 };
86
+ }
87
+ return domainNRangeValue;
88
+ };
89
+ _this_1._injectIndexPropertyInLineChartData = function (lineChartData, isFilterSelectedLegends) {
90
+ if (isFilterSelectedLegends === void 0) { isFilterSelectedLegends = false; }
91
+ var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
92
+ // Apply filter only if isPropChange is true
93
+ var filteredData = isFilterSelectedLegends
94
+ ? lineChartData === null || lineChartData === void 0 ? void 0 : lineChartData.filter(function (item) {
95
+ var _a, _b, _c;
96
+ return ((_b = (_a = _this_1.props.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegends) === null || _b === void 0 ? void 0 : _b.includes(item.legend)) ||
97
+ ((_c = _this_1.props.legendProps) === null || _c === void 0 ? void 0 : _c.selectedLegend) === item.legend;
98
+ })
99
+ : lineChartData;
100
+ return filteredData
101
+ ? filteredData.map(function (item, index) {
102
+ var _a, _b;
103
+ var color;
104
+ // isInverted property is applicable to v8 themes only
105
+ if (typeof item.color === 'undefined') {
106
+ color = getNextColor(index, 0, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
107
+ }
108
+ else {
109
+ color = getColorFromToken(item.color, (_b = _this_1.props.theme) === null || _b === void 0 ? void 0 : _b.isInverted);
110
+ }
111
+ return __assign(__assign({}, item), { index: allowMultipleShapesForPoints ? index : -1, color: color });
112
+ })
113
+ : [];
114
+ };
115
+ _this_1._getCustomizedCallout = function () {
116
+ return _this_1.props.onRenderCalloutPerStack
117
+ ? _this_1.props.onRenderCalloutPerStack(_this_1.state.stackCalloutProps)
118
+ : _this_1.props.onRenderCalloutPerDataPoint
119
+ ? _this_1.props.onRenderCalloutPerDataPoint(_this_1.state.dataPointCalloutProps)
120
+ : null;
121
+ };
122
+ _this_1._getNumericMinMaxOfY = function (points) {
123
+ // eslint-disable-next-line @typescript-eslint/no-shadow
124
+ var _a = findNumericMinMaxOfY(points), startValue = _a.startValue, endValue = _a.endValue;
125
+ _this_1._yMin = startValue;
126
+ if (_this_1.props.lineMode === 'scatter') {
127
+ _this_1._yPadding = (endValue - startValue) * 0.1;
128
+ }
129
+ return {
130
+ startValue: startValue - _this_1._yPadding,
131
+ endValue: endValue + _this_1._yPadding,
132
+ };
133
+ };
134
+ _this_1._getMargins = function (margins) {
135
+ _this_1.margins = margins;
136
+ };
137
+ _this_1._initializeLineChartData = function (xScale, yScale, containerHeight, containerWidth, xElement) {
138
+ _this_1._xAxisScale = xScale;
139
+ _this_1._yAxisScale = yScale;
140
+ _this_1._renderedColorFillBars = _this_1.props.colorFillBars ? _this_1._createColorFillBars(containerHeight) : [];
141
+ _this_1.lines = _this_1._createLines(xElement, containerHeight);
142
+ };
143
+ _this_1._handleSingleLegendSelectionAction = function (lineChartItem) {
144
+ if (_this_1.state.selectedLegend === lineChartItem.legend) {
145
+ _this_1.setState({ selectedLegend: '' });
146
+ _this_1._handleLegendClick(lineChartItem, null);
147
+ }
148
+ else {
149
+ _this_1.setState({ selectedLegend: lineChartItem.legend });
150
+ _this_1._handleLegendClick(lineChartItem, lineChartItem.legend);
151
+ }
152
+ };
153
+ _this_1._onHoverCardHide = function () {
154
+ _this_1.setState({
155
+ selectedLegendPoints: [],
156
+ selectedColorBarLegend: [],
157
+ isSelectedLegend: false,
158
+ });
159
+ };
160
+ _this_1._closeCallout = function () {
161
+ _this_1.setState({
162
+ isCalloutVisible: false,
163
+ });
164
+ };
165
+ _this_1._getBoxWidthOfShape = function (pointId, pointIndex, isLastPoint) {
166
+ var _a = _this_1.props, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? DEFAULT_LINE_STROKE_SIZE : _c;
167
+ var activePoint = _this_1.state.activePoint;
168
+ if (allowMultipleShapesForPoints) {
169
+ if (activePoint === pointId) {
170
+ return PointSize.hoverSize;
171
+ }
172
+ else if (pointIndex === 1 || isLastPoint) {
173
+ return strokeWidth * PATH_MULTIPLY_SIZE;
174
+ }
175
+ else {
176
+ return PointSize.invisibleSize;
177
+ }
178
+ }
179
+ else {
180
+ if (activePoint === pointId) {
181
+ return PointSize.hoverSize;
182
+ }
183
+ else {
184
+ return PointSize.invisibleSize;
185
+ }
186
+ }
187
+ };
188
+ _this_1._getPath = function (xPos, yPos, pointId, pointIndex, isLastPoint, pointOftheLine) {
189
+ var _a = _this_1.props.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _a === void 0 ? false : _a;
190
+ var w = _this_1._getBoxWidthOfShape(pointId, pointIndex, isLastPoint);
191
+ var index = allowMultipleShapesForPoints ? pointOftheLine % Object.keys(pointTypes).length : 0;
192
+ var widthRatio = pointTypes[index].widthRatio;
193
+ w = widthRatio > 1 ? w / widthRatio : w;
194
+ return _getPointPath(xPos, yPos, w, index);
195
+ };
196
+ _this_1._getPointFill = function (lineColor, pointId, pointIndex, isLastPoint) {
197
+ var activePoint = _this_1.state.activePoint;
198
+ var _a = _this_1.props, theme = _a.theme, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
199
+ if (allowMultipleShapesForPoints) {
200
+ if (pointIndex === 1 || isLastPoint) {
201
+ if (activePoint === pointId) {
202
+ return theme.semanticColors.bodyBackground;
203
+ }
204
+ else {
205
+ return lineColor;
206
+ }
207
+ }
208
+ else {
209
+ if (activePoint === pointId) {
210
+ return theme.semanticColors.bodyBackground;
211
+ }
212
+ else {
213
+ return lineColor;
214
+ }
215
+ }
216
+ }
217
+ else {
218
+ if (activePoint === pointId) {
219
+ return theme.semanticColors.bodyBackground;
220
+ }
221
+ else {
222
+ return lineColor;
223
+ }
224
+ }
225
+ };
226
+ _this_1._createColorFillBars = function (containerHeight) {
227
+ var _a;
228
+ var colorFillBars = [];
229
+ if (_this_1.state.isSelectedLegend) {
230
+ _this_1._colorFillBars = _this_1.state.selectedColorBarLegend;
231
+ }
232
+ else {
233
+ _this_1._colorFillBars = _this_1.props.colorFillBars;
234
+ }
235
+ var yMinMaxValues = findNumericMinMaxOfY(_this_1._points);
236
+ var FILL_Y_PADDING = 3;
237
+ for (var i = 0; i < _this_1._colorFillBars.length; i++) {
238
+ var colorFillBar = _this_1._colorFillBars[i];
239
+ var legend = typeof colorFillBar.legend === 'string' ? colorFillBar.legend.replace(/\W/g, '') : '';
240
+ var colorFillBarId = getId(legend);
241
+ // isInverted property is applicable to v8 themes only
242
+ var color = getColorFromToken(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
243
+ if (colorFillBar.applyPattern) {
244
+ // Using a pattern element because CSS was unable to render diagonal stripes for rect elements
245
+ colorFillBars.push(_this_1._getStripePattern(color, i));
246
+ }
247
+ for (var j = 0; j < colorFillBar.data.length; j++) {
248
+ var startX = colorFillBar.data[j].startX;
249
+ var endX = colorFillBar.data[j].endX;
250
+ var opacity = _this_1._legendHighlighted(colorFillBar.legend) || _this_1._noLegendHighlighted() || _this_1.state.isSelectedLegend
251
+ ? _this_1._getColorFillBarOpacity(colorFillBar)
252
+ : 0.1;
253
+ colorFillBars.push(React.createElement("rect", { fill: colorFillBar.applyPattern ? "url(#".concat(_this_1._colorFillBarPatternId, "_").concat(i, ")") : color, fillOpacity: opacity, x: _this_1._isRTL ? _this_1._xAxisScale(endX) : _this_1._xAxisScale(startX), y: _this_1._yAxisScale(yMinMaxValues.endValue) - FILL_Y_PADDING, width: Math.abs(_this_1._xAxisScale(endX) - _this_1._xAxisScale(startX)), height: _this_1._yAxisScale(_this_1.props.yMinValue || 0) - _this_1._yAxisScale(yMinMaxValues.endValue) + FILL_Y_PADDING, key: "".concat(colorFillBarId).concat(j) }));
254
+ }
255
+ }
256
+ return colorFillBars;
257
+ };
258
+ _this_1._getStripePattern = function (color, id) {
259
+ // This describes a tile pattern that resembles diagonal stripes
260
+ // For more information: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d
261
+ var stripePath = 'M-4,4 l8,-8 M0,16 l16,-16 M12,20 l8,-8';
262
+ return (React.createElement("pattern", { id: "".concat(_this_1._colorFillBarPatternId, "_").concat(id), width: 16, height: 16, key: "".concat(_this_1._colorFillBarPatternId, "_").concat(id), patternUnits: 'userSpaceOnUse' },
263
+ React.createElement("path", { d: stripePath, stroke: color, strokeWidth: 1.25 })));
264
+ };
265
+ _this_1._checkInGap = function (pointIndex, gaps, currentGapIndex) {
266
+ var gapIndex = currentGapIndex;
267
+ var isInGap = false;
268
+ while (gapIndex < gaps.length && pointIndex > gaps[gapIndex].endIndex) {
269
+ gapIndex++;
270
+ }
271
+ if (gapIndex < gaps.length && pointIndex > gaps[gapIndex].startIndex && pointIndex <= gaps[gapIndex].endIndex) {
272
+ isInGap = true;
273
+ }
274
+ return { isInGap: isInGap, gapIndex: gapIndex };
275
+ };
276
+ _this_1._onMouseOverLargeDataset = function (linenumber, lineHeight, mouseEvent) {
277
+ mouseEvent.persist();
278
+ var data = _this_1.props.data;
279
+ var lineChartData = data.lineChartData;
280
+ // This will get the value of the X when mouse is on the chart
281
+ var xOffset = _this_1._xAxisScale.invert(pointer(mouseEvent)[0], document.getElementById(_this_1._rectId));
282
+ var i = bisect(lineChartData[linenumber].data, xOffset);
283
+ var d0 = lineChartData[linenumber].data[i - 1];
284
+ var d1 = lineChartData[linenumber].data[i];
285
+ var axisType = null;
286
+ var xPointToHighlight = null;
287
+ var index = null;
288
+ if (d0 === undefined && d1 !== undefined) {
289
+ xPointToHighlight = d1.x;
290
+ index = i;
291
+ }
292
+ else if (d0 !== undefined && d1 === undefined) {
293
+ xPointToHighlight = d0.x;
294
+ index = i - 1;
295
+ }
296
+ else {
297
+ axisType = getTypeOfAxis(lineChartData[linenumber].data[0].x, true);
298
+ var x0 = void 0;
299
+ var point0 = void 0;
300
+ var point1 = void 0;
301
+ switch (axisType) {
302
+ case XAxisTypes.DateAxis:
303
+ x0 = new Date(xOffset).getTime();
304
+ point0 = d0.x.getTime();
305
+ point1 = d1.x.getTime();
306
+ xPointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
307
+ index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
308
+ break;
309
+ case XAxisTypes.NumericAxis:
310
+ x0 = xOffset;
311
+ point0 = d0.x;
312
+ point1 = d1.x;
313
+ xPointToHighlight = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? d1.x : d0.x;
314
+ index = Math.abs(x0 - point0) > Math.abs(x0 - point1) ? i : i - 1;
315
+ break;
316
+ default:
317
+ break;
318
+ }
319
+ }
320
+ var _a = lineChartData[linenumber].data[index], xAxisCalloutData = _a.xAxisCalloutData, xAxisCalloutAccessibilityData = _a.xAxisCalloutAccessibilityData;
321
+ var formattedDate = xPointToHighlight instanceof Date ? formatDate(xPointToHighlight, _this_1.props.useUTC) : xPointToHighlight;
322
+ var modifiedXVal = xPointToHighlight instanceof Date ? xPointToHighlight.getTime() : xPointToHighlight;
323
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
324
+ var found = find(_this_1._calloutPoints, function (element) {
325
+ return element.x === modifiedXVal;
326
+ });
327
+ var pointToHighlight = lineChartData[linenumber].data[index];
328
+ var pointToHighlightUpdated = _this_1.state.nearestCircleToHighlight === null ||
329
+ (_this_1.state.nearestCircleToHighlight !== null &&
330
+ pointToHighlight !== null &&
331
+ (_this_1.state.nearestCircleToHighlight.x !== pointToHighlight.x ||
332
+ _this_1.state.nearestCircleToHighlight.y !== pointToHighlight.y));
333
+ // if no points need to be called out then don't show vertical line and callout card
334
+ if (found && pointToHighlightUpdated) {
335
+ _this_1._uniqueCallOutID = "#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber);
336
+ d3Select("#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber))
337
+ .attr('cx', "".concat(_this_1._xAxisScale(pointToHighlight.x)))
338
+ .attr('cy', "".concat(_this_1._yAxisScale(pointToHighlight.y)))
339
+ .attr('visibility', 'visibility');
340
+ d3Select("#".concat(_this_1._verticalLine))
341
+ .attr('transform', function () { return "translate(".concat(_this_1._xAxisScale(pointToHighlight.x), ", ").concat(_this_1._yAxisScale(pointToHighlight.y), ")"); })
342
+ .attr('visibility', 'visibility')
343
+ .attr('y2', "".concat(lineHeight - _this_1._yAxisScale(pointToHighlight.y)));
344
+ _this_1.setState({
345
+ nearestCircleToHighlight: pointToHighlight,
346
+ isCalloutVisible: true,
347
+ refSelected: "#".concat(_this_1._staticHighlightCircle, "_").concat(linenumber),
348
+ stackCalloutProps: found,
349
+ YValueHover: found.values,
350
+ dataPointCalloutProps: found,
351
+ hoverXValue: xAxisCalloutData ? xAxisCalloutData : formattedDate,
352
+ xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
353
+ activePoint: '',
354
+ activeLine: linenumber,
355
+ });
356
+ }
357
+ if (!found) {
358
+ _this_1.setState({
359
+ isCalloutVisible: false,
360
+ nearestCircleToHighlight: pointToHighlight,
361
+ activePoint: '',
362
+ activeLine: linenumber,
363
+ });
364
+ }
365
+ };
366
+ _this_1._handleFocus = function (lineId, x, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData) {
367
+ _this_1._uniqueCallOutID = circleId;
368
+ var formattedData = x instanceof Date ? formatDate(x, _this_1.props.useUTC) : x;
369
+ var xVal = x instanceof Date ? x.getTime() : x;
370
+ var found = find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
371
+ // if no points need to be called out then don't show vertical line and callout card
372
+ if (found) {
373
+ var _this_2 = _this_1;
374
+ d3Select("#".concat(_this_1._verticalLine))
375
+ .attr('transform', function () { return "translate(".concat(_this_2._xAxisScale(x), ", 0)"); })
376
+ .attr('visibility', 'visibility');
377
+ _this_1._refArray.forEach(function (obj) {
378
+ if (obj.index === lineId) {
379
+ _this_1.setState({
380
+ isCalloutVisible: true,
381
+ refSelected: obj.refElement,
382
+ hoverXValue: xAxisCalloutData ? xAxisCalloutData : '' + formattedData,
383
+ YValueHover: found.values,
384
+ stackCalloutProps: found,
385
+ dataPointCalloutProps: found,
386
+ activePoint: circleId,
387
+ xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
388
+ });
389
+ }
390
+ });
391
+ }
392
+ else {
393
+ _this_1.setState({
394
+ activePoint: circleId,
395
+ });
396
+ }
397
+ };
398
+ _this_1._handleHover = function (x, y, lineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData, mouseEvent) {
399
+ mouseEvent.persist();
400
+ var formattedData = x instanceof Date ? formatDate(x, _this_1.props.useUTC) : x;
401
+ var xVal = x instanceof Date ? x.getTime() : x;
402
+ var _this = _this_1;
403
+ var found = find(_this_1._calloutPoints, function (element) { return element.x === xVal; });
404
+ // if no points need to be called out then don't show vertical line and callout card
405
+ if (found) {
406
+ d3Select("#".concat(_this_1._verticalLine))
407
+ .attr('transform', function () { return "translate(".concat(_this._xAxisScale(x), ", ").concat(_this._yAxisScale(y), ")"); })
408
+ .attr('visibility', 'visibility')
409
+ .attr('y2', "".concat(lineHeight - _this._yAxisScale(y)));
410
+ if (_this_1._uniqueCallOutID !== circleId) {
411
+ _this_1._uniqueCallOutID = circleId;
412
+ _this_1.setState({
413
+ isCalloutVisible: true,
414
+ refSelected: "#".concat(circleId),
415
+ hoverXValue: xAxisCalloutData ? xAxisCalloutData : '' + formattedData,
416
+ YValueHover: found.values,
417
+ stackCalloutProps: found,
418
+ dataPointCalloutProps: found,
419
+ activePoint: circleId,
420
+ xAxisCalloutAccessibilityData: xAxisCalloutAccessibilityData,
421
+ nearestCircleToHighlight: null,
422
+ activeLine: null,
423
+ });
424
+ }
425
+ }
426
+ else {
427
+ _this_1.setState({
428
+ activePoint: circleId,
429
+ nearestCircleToHighlight: null,
430
+ activeLine: null,
431
+ });
432
+ }
433
+ };
434
+ /**
435
+ * Screen readers announce an element as clickable if the onClick attribute is set.
436
+ * This function sets the attribute only when a click event handler is provided.
437
+ */
438
+ _this_1._getClickHandler = function (func) {
439
+ if (func) {
440
+ return {
441
+ onClick: func,
442
+ };
443
+ }
444
+ return {};
445
+ };
446
+ _this_1._handleMouseOut = function () {
447
+ d3Select("#".concat(_this_1._verticalLine)).attr('visibility', 'hidden');
448
+ };
449
+ _this_1._handleChartMouseLeave = function () {
450
+ _this_1._uniqueCallOutID = null;
451
+ _this_1.setState({
452
+ isCalloutVisible: false,
453
+ activePoint: '',
454
+ activeLine: null,
455
+ });
456
+ };
457
+ _this_1._handleLegendClick = function (lineChartItem, selectedLegend) {
458
+ if (lineChartItem.onLegendClick) {
459
+ lineChartItem.onLegendClick(selectedLegend);
460
+ }
461
+ };
462
+ _this_1._handleMultipleLineLegendSelectionAction = function (selectedLine) {
463
+ var selectedLineIndex = _this_1.state.selectedLegendPoints.reduce(function (acc, line, index) {
464
+ if (acc > -1 || line.legend !== selectedLine.legend) {
465
+ return acc;
466
+ }
467
+ else {
468
+ return index;
469
+ }
470
+ }, -1);
471
+ var selectedLines;
472
+ if (selectedLineIndex === -1) {
473
+ selectedLines = __spreadArray(__spreadArray([], _this_1.state.selectedLegendPoints, true), [selectedLine], false);
474
+ }
475
+ else {
476
+ selectedLines = _this_1.state.selectedLegendPoints
477
+ .slice(0, selectedLineIndex)
478
+ .concat(_this_1.state.selectedLegendPoints.slice(selectedLineIndex + 1));
479
+ }
480
+ var areAllLineLegendsSelected = _this_1.props.data && selectedLines.length === _this_1.props.data.lineChartData.length;
481
+ if (areAllLineLegendsSelected &&
482
+ ((_this_1.props.colorFillBars && _this_1.props.colorFillBars.length === _this_1.state.selectedColorBarLegend.length) ||
483
+ !_this_1.props.colorFillBars)) {
484
+ // Clear all legends if all legends including color fill bar legends are selected
485
+ // Or clear all legends if all legends are selected and there are no color fill bars
486
+ _this_1._clearMultipleLegendSelections();
487
+ }
488
+ else if (!selectedLines.length && !_this_1.state.selectedColorBarLegend.length) {
489
+ // Clear all legends if no legends including color fill bar legends are selected
490
+ _this_1._clearMultipleLegendSelections();
491
+ }
492
+ else {
493
+ // Otherwise, set state when one or more legends are selected, including color fill bar legends
494
+ _this_1.setState({
495
+ selectedLegendPoints: selectedLines,
496
+ isSelectedLegend: true,
497
+ });
498
+ }
499
+ var selectedLegendTitlesToPass = selectedLines.map(function (line) { return line.legend; });
500
+ _this_1._handleLegendClick(selectedLine, selectedLegendTitlesToPass);
501
+ };
502
+ _this_1._handleMultipleColorFillBarLegendSelectionAction = function (selectedColorFillBar) {
503
+ var selectedColorFillBarIndex = _this_1.state.selectedColorBarLegend.reduce(function (acc, colorFillBar, index) {
504
+ if (acc > -1 || colorFillBar.legend !== selectedColorFillBar.legend) {
505
+ return acc;
506
+ }
507
+ else {
508
+ return index;
509
+ }
510
+ }, -1);
511
+ var selectedColorFillBars;
512
+ if (selectedColorFillBarIndex === -1) {
513
+ selectedColorFillBars = __spreadArray(__spreadArray([], _this_1.state.selectedColorBarLegend, true), [selectedColorFillBar], false);
514
+ }
515
+ else {
516
+ selectedColorFillBars = _this_1.state.selectedColorBarLegend
517
+ .slice(0, selectedColorFillBarIndex)
518
+ .concat(_this_1.state.selectedColorBarLegend.slice(selectedColorFillBarIndex + 1));
519
+ }
520
+ var areAllColorFillBarLegendsSelected = selectedColorFillBars.length === (_this_1.props.colorFillBars && _this_1.props.colorFillBars.length);
521
+ if (areAllColorFillBarLegendsSelected &&
522
+ ((_this_1.props.data && _this_1.props.data.lineChartData.length === _this_1.state.selectedLegendPoints.length) ||
523
+ !_this_1.props.data)) {
524
+ // Clear all legends if all legends, including line legends, are selected
525
+ // Or clear all legends if all legends are selected and there is no line data
526
+ _this_1._clearMultipleLegendSelections();
527
+ }
528
+ else if (!selectedColorFillBars.length && !_this_1.state.selectedLegendPoints.length) {
529
+ // Clear all legends if no legends are selected, including line legends
530
+ _this_1._clearMultipleLegendSelections();
531
+ }
532
+ else {
533
+ // set state when one or more legends are selected, including line legends
534
+ _this_1.setState({
535
+ selectedColorBarLegend: selectedColorFillBars,
536
+ isSelectedLegend: true,
537
+ });
538
+ }
539
+ var selectedLegendTitlesToPass = selectedColorFillBars.map(function (colorFillBar) { return colorFillBar.legend; });
540
+ _this_1._handleLegendClick(selectedColorFillBar, selectedLegendTitlesToPass);
541
+ };
542
+ _this_1._clearMultipleLegendSelections = function () {
543
+ _this_1.setState({
544
+ selectedColorBarLegend: [],
545
+ selectedLegendPoints: [],
546
+ isSelectedLegend: false,
547
+ });
548
+ };
549
+ /**
550
+ * This function checks if the given legend is highlighted or not.
551
+ * A legend can be highlighted in 2 ways:
552
+ * 1. selection: if the user clicks on it
553
+ * 2. hovering: if there is no selected legend and the user hovers over it
554
+ */
555
+ _this_1._legendHighlighted = function (legend) {
556
+ return (_this_1.state.selectedLegend === legend || (_this_1.state.selectedLegend === '' && _this_1.state.activeLegend === legend));
557
+ };
558
+ /**
559
+ * This function checks if none of the legends is selected or hovered.
560
+ */
561
+ _this_1._noLegendHighlighted = function () {
562
+ return _this_1.state.selectedLegend === '' && _this_1.state.activeLegend === '';
563
+ };
564
+ _this_1._getColorFillBarOpacity = function (colorFillBar) {
565
+ return colorFillBar.applyPattern ? 1 : 0.4;
566
+ };
567
+ _this_1._getAriaLabel = function (lineIndex, pointIndex) {
568
+ var _a;
569
+ var line = _this_1._points[lineIndex];
570
+ var point = line.data[pointIndex];
571
+ var formattedDate = point.x instanceof Date ? formatDate(point.x, _this_1.props.useUTC) : point.x;
572
+ var xValue = point.xAxisCalloutData || formattedDate;
573
+ var legend = line.legend;
574
+ var yValue = point.yAxisCalloutData || point.y;
575
+ return ((_a = point.callOutAccessibilityData) === null || _a === void 0 ? void 0 : _a.ariaLabel) || "".concat(xValue, ". ").concat(legend, ", ").concat(yValue, ".");
576
+ };
577
+ _this_1._getDomainNRangeValuesWithPadding = function (points, margins, width, isRTL) {
578
+ _this_1._xMin = d3Min(points, function (point) {
579
+ return d3Min(point.data, function (item) { return item.x; });
580
+ });
581
+ _this_1._xMax = d3Max(points, function (point) {
582
+ return d3Max(point.data, function (item) {
583
+ return item.x;
584
+ });
585
+ });
586
+ if (_this_1.props.lineMode === 'scatter') {
587
+ _this_1._xPadding = (_this_1._xMax - _this_1._xMin) * 0.1;
588
+ }
589
+ var rStartValue = margins.left;
590
+ var rEndValue = width - margins.right;
591
+ return isRTL
592
+ ? {
593
+ dStartValue: _this_1._xMax + _this_1._xPadding,
594
+ dEndValue: _this_1._xMin - _this_1._xPadding,
595
+ rStartValue: rStartValue,
596
+ rEndValue: rEndValue,
597
+ }
598
+ : {
599
+ dStartValue: _this_1._xMin - _this_1._xPadding,
600
+ dEndValue: _this_1._xMax + _this_1._xPadding,
601
+ rStartValue: rStartValue,
602
+ rEndValue: rEndValue,
603
+ };
604
+ };
605
+ _this_1._getChartTitle = function () {
606
+ var _a = _this_1.props.data, chartTitle = _a.chartTitle, lineChartData = _a.lineChartData;
607
+ return (chartTitle ? "".concat(chartTitle, ". ") : '') + "Line chart with ".concat((lineChartData === null || lineChartData === void 0 ? void 0 : lineChartData.length) || 0, " lines. ");
608
+ };
609
+ initializeComponentRef(_this_1);
610
+ _this_1.state = {
611
+ hoverXValue: '',
612
+ activeLegend: '',
613
+ YValueHover: [],
614
+ refSelected: '',
615
+ selectedLegend: (_b = (_a = props.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegend) !== null && _b !== void 0 ? _b : '',
616
+ isCalloutVisible: false,
617
+ selectedLegendPoints: _this_1._injectIndexPropertyInLineChartData(_this_1.props.data.lineChartData, true),
618
+ selectedColorBarLegend: [],
619
+ isSelectedLegend: ((_e = (_d = (_c = _this_1.props.legendProps) === null || _c === void 0 ? void 0 : _c.selectedLegends) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) > 0,
620
+ activePoint: '',
621
+ nearestCircleToHighlight: null,
622
+ activeLine: null,
623
+ };
624
+ _this_1._refArray = [];
625
+ _this_1._points = _this_1._injectIndexPropertyInLineChartData(_this_1.props.data.lineChartData);
626
+ _this_1._colorFillBars = [];
627
+ _this_1._calloutPoints = calloutData(_this_1._points) || [];
628
+ _this_1._circleId = getId('circle');
629
+ _this_1._lineId = getId('lineID');
630
+ _this_1._borderId = getId('borderID');
631
+ _this_1._verticalLine = getId('verticalLine');
632
+ _this_1._colorFillBarPatternId = getId('colorFillBarPattern');
633
+ _this_1._tooltipId = getId('LineChartTooltipId_');
634
+ _this_1._rectId = getId('containerRectLD');
635
+ _this_1._staticHighlightCircle = getId('staticHighlightCircle');
636
+ _this_1._createLegendsMemoized = memoizeFunction(function (data) { return _this_1._createLegends(data); });
637
+ _this_1._firstRenderOptimization = true;
638
+ _this_1._emptyChartId = getId('_LineChart_empty');
639
+ _this_1._cartesianChartRef = React.createRef();
640
+ _this_1._legendsRef = React.createRef();
641
+ props.eventAnnotationProps &&
642
+ props.eventAnnotationProps.labelHeight &&
643
+ (_this_1.eventLabelHeight = props.eventAnnotationProps.labelHeight);
644
+ return _this_1;
645
+ }
646
+ LineChartBase.prototype.componentDidUpdate = function (prevProps) {
647
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
648
+ if (((_a = prevProps.legendProps) === null || _a === void 0 ? void 0 : _a.selectedLegend) !== ((_b = this.props.legendProps) === null || _b === void 0 ? void 0 : _b.selectedLegend) ||
649
+ !areArraysEqual((_c = prevProps.legendProps) === null || _c === void 0 ? void 0 : _c.selectedLegends, (_d = this.props.legendProps) === null || _d === void 0 ? void 0 : _d.selectedLegends)) {
650
+ this.setState({
651
+ selectedLegend: (_f = (_e = this.props.legendProps) === null || _e === void 0 ? void 0 : _e.selectedLegend) !== null && _f !== void 0 ? _f : '',
652
+ selectedLegendPoints: this._injectIndexPropertyInLineChartData(this.props.data.lineChartData, true),
653
+ isSelectedLegend: ((_j = (_h = (_g = this.props.legendProps) === null || _g === void 0 ? void 0 : _g.selectedLegends) === null || _h === void 0 ? void 0 : _h.length) !== null && _j !== void 0 ? _j : 0) > 0,
654
+ });
655
+ }
656
+ /** note that height and width are not used to resize or set as dimesions of the chart,
657
+ * fitParentContainer is responsible for setting the height and width or resizing of the svg/chart
658
+ */
659
+ if (prevProps.height !== this.props.height ||
660
+ prevProps.width !== this.props.width ||
661
+ prevProps.data !== this.props.data) {
662
+ this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
663
+ this._calloutPoints = calloutData(this._points) || [];
664
+ }
665
+ };
666
+ LineChartBase.prototype.render = function () {
667
+ var _this_1 = this;
668
+ var _a = this.props, tickValues = _a.tickValues, tickFormat = _a.tickFormat, eventAnnotationProps = _a.eventAnnotationProps, legendProps = _a.legendProps, data = _a.data;
669
+ this._points = this._injectIndexPropertyInLineChartData(data.lineChartData);
670
+ var isXAxisDateType = getXAxisType(this._points);
671
+ var points = this._points;
672
+ if (legendProps && !!legendProps.canSelectMultipleLegends) {
673
+ points = this.state.selectedLegendPoints.length >= 1 ? this.state.selectedLegendPoints : this._points;
674
+ this._calloutPoints = calloutData(points);
675
+ }
676
+ var legendBars = null;
677
+ // reduce computation cost by only creating legendBars
678
+ // if when hideLegend is false.
679
+ // NOTE: they are rendered only when hideLegend is false in CartesianChart.
680
+ if (!this.props.hideLegend) {
681
+ legendBars = this._createLegendsMemoized(this._points);
682
+ }
683
+ var calloutProps = __assign({ isCalloutVisible: this.state.isCalloutVisible, directionalHint: DirectionalHint.topAutoEdge, YValueHover: this.state.YValueHover, hoverXValue: this.state.hoverXValue, id: "toolTip".concat(this._uniqueCallOutID), target: this.state.refSelected, isBeakVisible: false, gapSpace: 15, onDismiss: this._closeCallout, preventDismissOnEvent: function () { return true; }, hidden: !(!this.props.hideTooltip && this.state.isCalloutVisible), descriptionMessage: this.props.getCalloutDescriptionMessage && this.state.stackCalloutProps
684
+ ? this.props.getCalloutDescriptionMessage(this.state.stackCalloutProps)
685
+ : undefined, 'data-is-focusable': true, xAxisCalloutAccessibilityData: this.state.xAxisCalloutAccessibilityData }, this.props.calloutProps);
686
+ var tickParams = {
687
+ tickValues: tickValues,
688
+ tickFormat: tickFormat,
689
+ };
690
+ return !this._isChartEmpty() ? (React.createElement(CartesianChart, __assign({}, this.props, { chartTitle: this._getChartTitle(), points: points, chartType: ChartTypes.LineChart, isCalloutForStack: true, calloutProps: calloutProps, tickParams: tickParams, legendBars: legendBars, createYAxis: createNumericYAxis, getmargins: this._getMargins, getMinMaxOfYAxis: this._getNumericMinMaxOfY, getGraphData: this._initializeLineChartData, xAxisType: isXAxisDateType ? XAxisTypes.DateAxis : XAxisTypes.NumericAxis, customizedCallout: this._getCustomizedCallout(), getDomainNRangeValues: this._getDomainNRangeValues, createStringYAxis: createStringYAxis, onChartMouseLeave: this._handleChartMouseLeave, enableFirstRenderOptimization: this.props.enablePerfOptimization && this._firstRenderOptimization, ref: this._cartesianChartRef,
691
+ /* eslint-disable react/jsx-no-bind */
692
+ // eslint-disable-next-line react/no-children-prop
693
+ children: function (props) {
694
+ _this_1._xAxisScale = props.xScale;
695
+ _this_1._yAxisScale = props.yScale;
696
+ return (React.createElement(React.Fragment, null,
697
+ React.createElement("g", null,
698
+ React.createElement("line", { x1: 0, y1: 0, x2: 0, y2: props.containerHeight, stroke: '#323130', id: _this_1._verticalLine, visibility: 'hidden', strokeDasharray: '5,5' }),
699
+ _this_1.props.optimizeLargeData ? (React.createElement("rect", { id: _this_1._rectId, width: props.containerWidth, height: props.containerHeight, fill: 'transparent' })) : (React.createElement(React.Fragment, null)),
700
+ React.createElement("g", null,
701
+ _this_1._renderedColorFillBars,
702
+ _this_1.lines),
703
+ eventAnnotationProps && (React.createElement(EventsAnnotation, __assign({ theme: _this_1.props.theme }, eventAnnotationProps, { scale: props.xScale, chartYTop: _this_1.margins.top + _this_1.eventLabelHeight, chartYBottom: props.containerHeight - 35 }))))));
704
+ } }))) : (React.createElement("div", { id: this._emptyChartId, role: 'alert', style: { opacity: '0' }, "aria-label": 'Graph has no data to display' }));
705
+ };
706
+ Object.defineProperty(LineChartBase.prototype, "chartContainer", {
707
+ get: function () {
708
+ var _a;
709
+ return ((_a = this._cartesianChartRef.current) === null || _a === void 0 ? void 0 : _a.chartContainer) || null;
710
+ },
711
+ enumerable: false,
712
+ configurable: true
713
+ });
714
+ LineChartBase.prototype._createLegends = function (data) {
715
+ var _this_1 = this;
716
+ var _a = this.props, legendProps = _a.legendProps, _b = _a.allowMultipleShapesForPoints, allowMultipleShapesForPoints = _b === void 0 ? false : _b;
717
+ var isLegendMultiSelectEnabled = !!(legendProps && !!legendProps.canSelectMultipleLegends);
718
+ var legendDataItems = data.map(function (point) {
719
+ var color = point.color;
720
+ // mapping data to the format Legends component needs
721
+ var legend = __assign(__assign({ title: point.legend, color: color, action: function () {
722
+ if (isLegendMultiSelectEnabled) {
723
+ _this_1._handleMultipleLineLegendSelectionAction(point);
724
+ }
725
+ else {
726
+ _this_1._handleSingleLegendSelectionAction(point);
727
+ }
728
+ }, onMouseOutAction: function () {
729
+ _this_1.setState({ activeLegend: '' });
730
+ }, hoverAction: function () {
731
+ _this_1._handleChartMouseLeave();
732
+ _this_1.setState({ activeLegend: point.legend });
733
+ } }, (point.legendShape && {
734
+ shape: point.legendShape,
735
+ })), (allowMultipleShapesForPoints && {
736
+ shape: Points[point.index % Object.keys(pointTypes).length],
737
+ }));
738
+ return legend;
739
+ });
740
+ var colorFillBarsLegendDataItems = this.props.colorFillBars
741
+ ? this.props.colorFillBars.map(function (colorFillBar, index) {
742
+ var _a;
743
+ var title = colorFillBar.legend;
744
+ // isInverted property is applicable to v8 themes only
745
+ var color = getColorFromToken(colorFillBar.color, (_a = _this_1.props.theme) === null || _a === void 0 ? void 0 : _a.isInverted);
746
+ var legend = {
747
+ title: title,
748
+ color: color,
749
+ action: function () {
750
+ if (isLegendMultiSelectEnabled) {
751
+ _this_1._handleMultipleColorFillBarLegendSelectionAction(colorFillBar);
752
+ }
753
+ else {
754
+ _this_1._handleSingleLegendSelectionAction(colorFillBar);
755
+ }
756
+ },
757
+ onMouseOutAction: function () {
758
+ _this_1.setState({ activeLegend: '' });
759
+ },
760
+ hoverAction: function () {
761
+ _this_1._handleChartMouseLeave();
762
+ _this_1.setState({ activeLegend: title });
763
+ },
764
+ opacity: _this_1._getColorFillBarOpacity(colorFillBar),
765
+ stripePattern: colorFillBar.applyPattern,
766
+ };
767
+ return legend;
768
+ })
769
+ : [];
770
+ return (React.createElement(Legends, __assign({ legends: __spreadArray(__spreadArray([], legendDataItems, true), colorFillBarsLegendDataItems, true), enabledWrapLines: this.props.enabledLegendsWrapLines, overflowProps: this.props.legendsOverflowProps, focusZonePropsInHoverCard: this.props.focusZonePropsForLegendsInHoverCard, overflowText: this.props.legendsOverflowText }, (isLegendMultiSelectEnabled && { onLegendHoverCardLeave: this._onHoverCardHide }), this.props.legendProps, { ref: this._legendsRef })));
771
+ };
772
+ LineChartBase.prototype._getRangeForScatterMarkerSize = function () {
773
+ var extraXPixels = this._isRTL
774
+ ? this._xAxisScale(this._xMax - this._xPadding) - this._xAxisScale(this._xMax)
775
+ : this._xAxisScale(this._xMin + this._xPadding) - this._xAxisScale(this._xMin);
776
+ var extraYPixels = this._yAxisScale(this._yMin) - this._yAxisScale(this._yMin + this._yPadding);
777
+ return Math.min(extraXPixels, extraYPixels);
778
+ };
779
+ LineChartBase.prototype._createLines = function (xElement, containerHeight) {
780
+ var _this_1 = this;
781
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
782
+ var lines = [];
783
+ if (this.state.isSelectedLegend) {
784
+ this._points = this.state.selectedLegendPoints;
785
+ }
786
+ else {
787
+ this._points = this._injectIndexPropertyInLineChartData(this.props.data.lineChartData);
788
+ }
789
+ var extraMaxPixels = this.props.lineMode === 'scatter' ? this._getRangeForScatterMarkerSize() : 0;
790
+ var maxMarkerSize = d3Max(this._points, function (point) {
791
+ return d3Max(point.data, function (item) {
792
+ return item.markerSize;
793
+ });
794
+ });
795
+ var _loop_1 = function (i) {
796
+ var linesForLine = [];
797
+ var bordersForLine = [];
798
+ var pointsForLine = [];
799
+ var legendVal = this_1._points[i].legend;
800
+ var lineColor = this_1._points[i].color;
801
+ var activePoint = this_1.state.activePoint;
802
+ var theme = this_1.props.theme;
803
+ var verticaLineHeight = containerHeight - this_1.margins.bottom + 6;
804
+ if (this_1._points[i].data.length === 1) {
805
+ var _2 = this_1._points[i].data[0], x1_1 = _2.x, y1 = _2.y, xAxisCalloutData_1 = _2.xAxisCalloutData, xAxisCalloutAccessibilityData_1 = _2.xAxisCalloutAccessibilityData;
806
+ var circleId_1 = "".concat(this_1._circleId, "_").concat(i);
807
+ var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
808
+ var currentMarkerSize = this_1._points[i].data[0].markerSize;
809
+ pointsForLine.push(React.createElement("circle", __assign({ id: circleId_1, key: circleId_1, r: currentMarkerSize
810
+ ? (currentMarkerSize * extraMaxPixels) / maxMarkerSize
811
+ : activePoint === circleId_1
812
+ ? 5.5
813
+ : 3.5, cx: this_1._xAxisScale(x1_1), cy: this_1._yAxisScale(y1), fill: activePoint === circleId_1 ? theme.semanticColors.bodyBackground : lineColor, opacity: isLegendSelected ? 1 : 0.1, onMouseOver: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x1_1, y1, verticaLineHeight, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, strokeWidth: activePoint === circleId_1 ? DEFAULT_LINE_STROKE_SIZE : 0, stroke: activePoint === circleId_1 ? lineColor : '', role: "img", "aria-label": this_1._getAriaLabel(i, 0), "data-is-focusable": isLegendSelected, ref: function (e) {
814
+ _this_1._refCallback(e, circleId_1);
815
+ }, onFocus: function () { return _this_1._handleFocus(circleId_1, x1_1, xAxisCalloutData_1, circleId_1, xAxisCalloutAccessibilityData_1); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[0].onDataPointClick))));
816
+ }
817
+ var gapIndex = 0;
818
+ var gaps = (_b = (_a = this_1._points[i].gaps) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) { return a.startIndex - b.startIndex; })) !== null && _b !== void 0 ? _b : [];
819
+ // Use path rendering technique for larger datasets to optimize performance.
820
+ if (this_1.props.optimizeLargeData && this_1._points[i].data.length > 1) {
821
+ var line = d3Line()
822
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
823
+ .x(function (d) { return _this_1._xAxisScale(d[0]); })
824
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
825
+ .y(function (d) { return _this_1._yAxisScale(d[1]); })
826
+ .curve(d3curveLinear);
827
+ var lineId = "".concat(this_1._lineId, "_").concat(i);
828
+ var borderId = "".concat(this_1._borderId, "_").concat(i);
829
+ var strokeWidth = ((_c = this_1._points[i].lineOptions) === null || _c === void 0 ? void 0 : _c.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
830
+ var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
831
+ var lineData = [];
832
+ for (var k = 0; k < this_1._points[i].data.length; k++) {
833
+ lineData.push([
834
+ this_1._points[i].data[k].x instanceof Date
835
+ ? this_1._points[i].data[k].x.getTime()
836
+ : this_1._points[i].data[k].x,
837
+ this_1._points[i].data[k].y,
838
+ ]);
839
+ }
840
+ if (isLegendSelected) {
841
+ var lineBorderWidth = ((_d = this_1._points[i].lineOptions) === null || _d === void 0 ? void 0 : _d.lineBorderWidth)
842
+ ? Number.parseFloat(this_1._points[i].lineOptions.lineBorderWidth.toString())
843
+ : 0;
844
+ if (lineBorderWidth > 0) {
845
+ bordersForLine.push(React.createElement("path", { id: borderId, key: borderId, d: line(lineData), fill: "transparent", strokeLinecap: (_f = (_e = this_1._points[i].lineOptions) === null || _e === void 0 ? void 0 : _e.strokeLinecap) !== null && _f !== void 0 ? _f : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_g = this_1._points[i].lineOptions) === null || _g === void 0 ? void 0 : _g.lineBorderColor) || theme.semanticColors.bodyBackground, opacity: 1 }));
846
+ }
847
+ linesForLine.push(React.createElement("path", __assign({ id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": true, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_j = (_h = this_1._points[i].lineOptions) === null || _h === void 0 ? void 0 : _h.strokeLinecap) !== null && _j !== void 0 ? _j : 'round', strokeDasharray: (_k = this_1._points[i].lineOptions) === null || _k === void 0 ? void 0 : _k.strokeDasharray, onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].onLineClick), { opacity: 1 })));
848
+ }
849
+ else {
850
+ linesForLine.push(React.createElement("path", { id: lineId, key: lineId, d: line(lineData), fill: "transparent", "data-is-focusable": false, stroke: lineColor, strokeWidth: strokeWidth, strokeLinecap: (_m = (_l = this_1._points[i].lineOptions) === null || _l === void 0 ? void 0 : _l.strokeLinecap) !== null && _m !== void 0 ? _m : 'round', strokeDasharray: (_o = this_1._points[i].lineOptions) === null || _o === void 0 ? void 0 : _o.strokeDasharray, opacity: 0.1 }));
851
+ }
852
+ var isPointHighlighted = this_1.state.activeLine !== null && this_1.state.activeLine === i;
853
+ pointsForLine.push(React.createElement("circle", { id: "".concat(this_1._staticHighlightCircle, "_").concat(i), key: "".concat(this_1._staticHighlightCircle, "_").concat(i), r: 5.5, cx: 0, cy: 0, fill: theme.semanticColors.bodyBackground, strokeWidth: DEFAULT_LINE_STROKE_SIZE, stroke: lineColor, visibility: isPointHighlighted ? 'visibility' : 'hidden', onMouseMove: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOver: this_1._onMouseOverLargeDataset.bind(this_1, i, verticaLineHeight), onMouseOut: this_1._handleMouseOut }));
854
+ }
855
+ else if (!this_1.props.optimizeLargeData) {
856
+ var _loop_2 = function (j) {
857
+ var gapResult = this_1._checkInGap(j, gaps, gapIndex);
858
+ var isInGap = gapResult.isInGap;
859
+ gapIndex = gapResult.gapIndex;
860
+ var lineId = "".concat(this_1._lineId, "_").concat(i, "_").concat(j);
861
+ var borderId = "".concat(this_1._borderId, "_").concat(i, "_").concat(j);
862
+ var circleId = "".concat(this_1._circleId, "_").concat(i, "_").concat(j);
863
+ var _3 = this_1._points[i].data[j - 1], x1 = _3.x, y1 = _3.y, xAxisCalloutData = _3.xAxisCalloutData, xAxisCalloutAccessibilityData = _3.xAxisCalloutAccessibilityData;
864
+ var _4 = this_1._points[i].data[j], x2 = _4.x, y2 = _4.y;
865
+ var path = this_1._getPath(this_1._xAxisScale(x1), this_1._yAxisScale(y1), circleId, j, false, this_1._points[i].index);
866
+ var strokeWidth = ((_p = this_1._points[i].lineOptions) === null || _p === void 0 ? void 0 : _p.strokeWidth) || this_1.props.strokeWidth || DEFAULT_LINE_STROKE_SIZE;
867
+ var isLegendSelected = this_1._legendHighlighted(legendVal) || this_1._noLegendHighlighted() || this_1.state.isSelectedLegend;
868
+ var currentPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== circleId;
869
+ var currentMarkerSize = this_1._points[i].data[j - 1].markerSize;
870
+ pointsForLine.push(this_1.props.lineMode === 'scatter' ? (React.createElement("circle", __assign({ id: circleId, key: circleId, r: currentMarkerSize ? (currentMarkerSize * extraMaxPixels) / maxMarkerSize : 4, cx: this_1._xAxisScale(x1), cy: this_1._yAxisScale(y1), "data-is-focusable": isLegendSelected, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, onFocus: function () { return _this_1._handleFocus(lineId, x1, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j - 1].onDataPointClick), { opacity: isLegendSelected && !currentPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, circleId, j, false), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j - 1) }))) : (React.createElement("path", __assign({ id: circleId, key: circleId, d: path, "data-is-focusable": isLegendSelected, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, onFocus: function () { return _this_1._handleFocus(lineId, x1, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData); }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j - 1].onDataPointClick), { opacity: isLegendSelected && !currentPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, circleId, j, false), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j - 1) }))));
871
+ if (j + 1 === this_1._points[i].data.length) {
872
+ // If this is last point of the line segment.
873
+ var lastCircleId_1 = "".concat(circleId).concat(j, "L");
874
+ var hiddenHoverCircleId = "".concat(circleId).concat(j, "D");
875
+ var lastPointHidden = this_1._points[i].hideNonActiveDots && activePoint !== lastCircleId_1;
876
+ path = this_1._getPath(this_1._xAxisScale(x2), this_1._yAxisScale(y2), lastCircleId_1, j, true, this_1._points[i].index);
877
+ var _5 = this_1._points[i].data[j], lastCirlceXCallout_1 = _5.xAxisCalloutData, lastCirlceXCalloutAccessibilityData_1 = _5.xAxisCalloutAccessibilityData;
878
+ currentMarkerSize = this_1._points[i].data[j].markerSize;
879
+ pointsForLine.push(React.createElement(React.Fragment, { key: "".concat(lastCircleId_1, "_container") },
880
+ this_1.props.lineMode === 'scatter' ? (React.createElement("circle", __assign({ id: lastCircleId_1, key: lastCircleId_1, r: currentMarkerSize ? (currentMarkerSize * extraMaxPixels) / maxMarkerSize : 4, cx: this_1._xAxisScale(x2), cy: this_1._yAxisScale(y2), "data-is-focusable": isLegendSelected, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
881
+ return _this_1._handleFocus(lineId, x2, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1);
882
+ }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j].onDataPointClick), { opacity: isLegendSelected && !lastPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, lastCircleId_1, j, true), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j) }))) : (React.createElement("path", __assign({ id: lastCircleId_1, key: lastCircleId_1, d: path, "data-is-focusable": isLegendSelected, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, onFocus: function () {
883
+ return _this_1._handleFocus(lineId, x2, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1);
884
+ }, onBlur: this_1._handleMouseOut }, this_1._getClickHandler(this_1._points[i].data[j].onDataPointClick), { opacity: isLegendSelected && !lastPointHidden ? 1 : 0.01, fill: this_1._getPointFill(lineColor, lastCircleId_1, j, true), stroke: lineColor, strokeWidth: strokeWidth, role: "img", "aria-label": this_1._getAriaLabel(i, j) }))),
885
+ React.createElement("circle", { id: hiddenHoverCircleId, key: hiddenHoverCircleId, r: 8, cx: this_1._xAxisScale(x2), cy: this_1._yAxisScale(y2), opacity: 0, width: 0, onMouseOver: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseMove: this_1._handleHover.bind(this_1, x2, y2, verticaLineHeight, lastCirlceXCallout_1, lastCircleId_1, lastCirlceXCalloutAccessibilityData_1), onMouseOut: this_1._handleMouseOut, strokeWidth: 0, focusable: false, onBlur: this_1._handleMouseOut })));
886
+ }
887
+ if (this_1.props.lineMode !== 'scatter') {
888
+ if (isLegendSelected) {
889
+ // don't draw line if it is in a gap
890
+ if (!isInGap) {
891
+ var lineBorderWidth = ((_q = this_1._points[i].lineOptions) === null || _q === void 0 ? void 0 : _q.lineBorderWidth)
892
+ ? Number.parseFloat(this_1._points[i].lineOptions.lineBorderWidth.toString())
893
+ : 0;
894
+ if (lineBorderWidth > 0) {
895
+ bordersForLine.push(React.createElement("line", { id: borderId, key: borderId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeLinecap: (_s = (_r = this_1._points[i].lineOptions) === null || _r === void 0 ? void 0 : _r.strokeLinecap) !== null && _s !== void 0 ? _s : 'round', strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth, stroke: ((_t = this_1._points[i].lineOptions) === null || _t === void 0 ? void 0 : _t.lineBorderColor) || theme.semanticColors.bodyBackground, opacity: 1 }));
896
+ }
897
+ linesForLine.push(React.createElement("line", __assign({ id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, ref: function (e) {
898
+ _this_1._refCallback(e, lineId);
899
+ }, onMouseOver: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseMove: this_1._handleHover.bind(this_1, x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData), onMouseOut: this_1._handleMouseOut, stroke: lineColor, strokeLinecap: (_v = (_u = this_1._points[i].lineOptions) === null || _u === void 0 ? void 0 : _u.strokeLinecap) !== null && _v !== void 0 ? _v : 'round', strokeDasharray: (_w = this_1._points[i].lineOptions) === null || _w === void 0 ? void 0 : _w.strokeDasharray, strokeDashoffset: (_x = this_1._points[i].lineOptions) === null || _x === void 0 ? void 0 : _x.strokeDashoffset, opacity: 1 }, this_1._getClickHandler(this_1._points[i].onLineClick))));
900
+ }
901
+ }
902
+ else {
903
+ if (!isInGap) {
904
+ linesForLine.push(React.createElement("line", { id: lineId, key: lineId, x1: this_1._xAxisScale(x1), y1: this_1._yAxisScale(y1), x2: this_1._xAxisScale(x2), y2: this_1._yAxisScale(y2), strokeWidth: strokeWidth, stroke: lineColor, strokeLinecap: (_z = (_y = this_1._points[i].lineOptions) === null || _y === void 0 ? void 0 : _y.strokeLinecap) !== null && _z !== void 0 ? _z : 'round', strokeDasharray: (_0 = this_1._points[i].lineOptions) === null || _0 === void 0 ? void 0 : _0.strokeDasharray, strokeDashoffset: (_1 = this_1._points[i].lineOptions) === null || _1 === void 0 ? void 0 : _1.strokeDashoffset, opacity: 0.1 }));
905
+ }
906
+ }
907
+ }
908
+ };
909
+ for (var j = 1; j < this_1._points[i].data.length; j++) {
910
+ _loop_2(j);
911
+ }
912
+ }
913
+ lines.push(React.createElement("g", { key: "line_".concat(i), role: "region", "aria-label": "".concat(legendVal, ", line ").concat(i + 1, " of ").concat(this_1._points.length, " with ").concat(this_1._points[i].data.length, " data points.") },
914
+ bordersForLine,
915
+ linesForLine,
916
+ pointsForLine));
917
+ };
918
+ var this_1 = this;
919
+ for (var i = this._points.length - 1; i >= 0; i--) {
920
+ _loop_1(i);
921
+ }
922
+ var classNames = getClassNames(this.props.styles, {
923
+ theme: this.props.theme,
924
+ });
925
+ // Removing un wanted tooltip div from DOM, when prop not provided.
926
+ if (!this.props.showXAxisLablesTooltip) {
927
+ try {
928
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
929
+ // eslint-disable-next-line no-empty
930
+ }
931
+ catch (e) { }
932
+ }
933
+ // Used to display tooltip at x axis labels.
934
+ if (!this.props.wrapXAxisLables && this.props.showXAxisLablesTooltip) {
935
+ var xAxisElement = d3Select(xElement).call(this._xAxisScale);
936
+ try {
937
+ document.getElementById(this._tooltipId) && document.getElementById(this._tooltipId).remove();
938
+ // eslint-disable-next-line no-empty
939
+ }
940
+ catch (e) { }
941
+ var tooltipProps = {
942
+ tooltipCls: classNames.tooltip,
943
+ id: this._tooltipId,
944
+ xAxis: xAxisElement,
945
+ };
946
+ xAxisElement && tooltipOfXAxislabels(tooltipProps);
947
+ }
948
+ return lines;
949
+ };
950
+ LineChartBase.prototype._refCallback = function (element, legendTitle) {
951
+ this._refArray.push({ index: legendTitle, refElement: element });
952
+ };
953
+ LineChartBase.prototype._isChartEmpty = function () {
954
+ return !(this.props.data &&
955
+ this.props.data.lineChartData &&
956
+ this.props.data.lineChartData.length > 0 &&
957
+ this.props.data.lineChartData.filter(function (item) { return item.data.length; }).length > 0);
958
+ };
959
+ LineChartBase.defaultProps = {
960
+ enableReflow: true,
961
+ useUTC: true,
962
+ };
963
+ return LineChartBase;
964
+ }(React.Component));
965
+ export { LineChartBase };
966
+ //# sourceMappingURL=LineChart.base.js.map