@fluentui/react-charts 9.3.27 → 9.3.29

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 (440) hide show
  1. package/CHANGELOG.md +32 -2
  2. package/dist/index.d.cts +51 -0
  3. package/dist/index.d.ts +51 -0
  4. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js +1 -4
  5. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.js.map +1 -1
  6. package/lib/components/AnnotationOnlyChart/AnnotationOnlyChart.types.js.map +1 -1
  7. package/lib/components/AnnotationOnlyChart/index.js.map +1 -1
  8. package/lib/components/AnnotationOnlyChart/useAnnotationOnlyChartStyles.styles.raw.js.map +1 -1
  9. package/lib/components/AreaChart/AreaChart.js +35 -5
  10. package/lib/components/AreaChart/AreaChart.js.map +1 -1
  11. package/lib/components/AreaChart/AreaChart.types.js.map +1 -1
  12. package/lib/components/AreaChart/index.js.map +1 -1
  13. package/lib/components/AreaChart/useAreaChartStyles.styles.raw.js.map +1 -1
  14. package/lib/components/ChartTable/ChartTable.js.map +1 -1
  15. package/lib/components/ChartTable/ChartTable.types.js.map +1 -1
  16. package/lib/components/ChartTable/index.js.map +1 -1
  17. package/lib/components/ChartTable/useChartTableStyles.styles.raw.js.map +1 -1
  18. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js +19 -29
  19. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.js.map +1 -1
  20. package/lib/components/CommonComponents/Annotations/ChartAnnotationLayer.types.js.map +1 -1
  21. package/lib/components/CommonComponents/Annotations/index.js.map +1 -1
  22. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js +2 -2
  23. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.js.map +1 -1
  24. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js +2 -2
  25. package/lib/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.js.map +1 -1
  26. package/lib/components/CommonComponents/CartesianChart.js +17 -15
  27. package/lib/components/CommonComponents/CartesianChart.js.map +1 -1
  28. package/lib/components/CommonComponents/CartesianChart.types.js.map +1 -1
  29. package/lib/components/CommonComponents/ChartPopover.js +3 -2
  30. package/lib/components/CommonComponents/ChartPopover.js.map +1 -1
  31. package/lib/components/CommonComponents/ChartPopover.types.js.map +1 -1
  32. package/lib/components/CommonComponents/index.js.map +1 -1
  33. package/lib/components/CommonComponents/useCartesianChartStyles.styles.raw.js.map +1 -1
  34. package/lib/components/CommonComponents/useChartPopoverStyles.styles.raw.js.map +1 -1
  35. package/lib/components/DeclarativeChart/DeclarativeChart.js +9 -9
  36. package/lib/components/DeclarativeChart/DeclarativeChart.js.map +1 -1
  37. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js +4 -4
  38. package/lib/components/DeclarativeChart/PlotlyColorAdapter.js.map +1 -1
  39. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js +92 -110
  40. package/lib/components/DeclarativeChart/PlotlySchemaAdapter.js.map +1 -1
  41. package/lib/components/DeclarativeChart/index.js.map +1 -1
  42. package/lib/components/DonutChart/Arc/Arc.js.map +1 -1
  43. package/lib/components/DonutChart/Arc/Arc.types.js.map +1 -1
  44. package/lib/components/DonutChart/Arc/index.js.map +1 -1
  45. package/lib/components/DonutChart/Arc/useArcStyles.styles.raw.js.map +1 -1
  46. package/lib/components/DonutChart/DonutChart.js.map +1 -1
  47. package/lib/components/DonutChart/DonutChart.types.js.map +1 -1
  48. package/lib/components/DonutChart/Pie/Pie.js.map +1 -1
  49. package/lib/components/DonutChart/Pie/Pie.types.js.map +1 -1
  50. package/lib/components/DonutChart/Pie/index.js.map +1 -1
  51. package/lib/components/DonutChart/Pie/usePieStyles.styles.raw.js.map +1 -1
  52. package/lib/components/DonutChart/index.js.map +1 -1
  53. package/lib/components/DonutChart/useDonutChartStyles.styles.raw.js.map +1 -1
  54. package/lib/components/FunnelChart/FunnelChart.js +5 -5
  55. package/lib/components/FunnelChart/FunnelChart.js.map +1 -1
  56. package/lib/components/FunnelChart/FunnelChart.types.js.map +1 -1
  57. package/lib/components/FunnelChart/funnelGeometry.js.map +1 -1
  58. package/lib/components/FunnelChart/index.js.map +1 -1
  59. package/lib/components/FunnelChart/useFunnelChartStyles.styles.raw.js.map +1 -1
  60. package/lib/components/GanttChart/GanttChart.js +4 -3
  61. package/lib/components/GanttChart/GanttChart.js.map +1 -1
  62. package/lib/components/GanttChart/GanttChart.types.js.map +1 -1
  63. package/lib/components/GanttChart/index.js.map +1 -1
  64. package/lib/components/GanttChart/useGanttChartStyles.styles.raw.js.map +1 -1
  65. package/lib/components/GaugeChart/GaugeChart.js +34 -13
  66. package/lib/components/GaugeChart/GaugeChart.js.map +1 -1
  67. package/lib/components/GaugeChart/GaugeChart.types.js.map +1 -1
  68. package/lib/components/GaugeChart/index.js.map +1 -1
  69. package/lib/components/GaugeChart/useGaugeChartStyles.styles.raw.js.map +1 -1
  70. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +45 -46
  71. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +1 -1
  72. package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +1 -1
  73. package/lib/components/GroupedVerticalBarChart/index.js.map +1 -1
  74. package/lib/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.js.map +1 -1
  75. package/lib/components/HeatMapChart/HeatMapChart.js +1 -0
  76. package/lib/components/HeatMapChart/HeatMapChart.js.map +1 -1
  77. package/lib/components/HeatMapChart/HeatMapChart.types.js.map +1 -1
  78. package/lib/components/HeatMapChart/index.js.map +1 -1
  79. package/lib/components/HeatMapChart/useHeatMapChartStyles.styles.raw.js.map +1 -1
  80. package/lib/components/HorizontalBarChart/HorizontalBarChart.js +5 -6
  81. package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +1 -1
  82. package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +1 -1
  83. package/lib/components/HorizontalBarChart/index.js.map +1 -1
  84. package/lib/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.js.map +1 -1
  85. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js +4 -4
  86. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.js.map +1 -1
  87. package/lib/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.js.map +1 -1
  88. package/lib/components/HorizontalBarChartWithAxis/index.js.map +1 -1
  89. package/lib/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.js.map +1 -1
  90. package/lib/components/Legends/Legends.js +16 -20
  91. package/lib/components/Legends/Legends.js.map +1 -1
  92. package/lib/components/Legends/Legends.types.js.map +1 -1
  93. package/lib/components/Legends/OverflowMenu.js +13 -10
  94. package/lib/components/Legends/OverflowMenu.js.map +1 -1
  95. package/lib/components/Legends/index.js.map +1 -1
  96. package/lib/components/Legends/shape.js.map +1 -1
  97. package/lib/components/Legends/useLegendsStyles.styles.raw.js.map +1 -1
  98. package/lib/components/LineChart/LineChart.js +40 -36
  99. package/lib/components/LineChart/LineChart.js.map +1 -1
  100. package/lib/components/LineChart/LineChart.types.js.map +1 -1
  101. package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +1 -1
  102. package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +1 -1
  103. package/lib/components/LineChart/eventAnnotation/Textbox.js.map +1 -1
  104. package/lib/components/LineChart/index.js.map +1 -1
  105. package/lib/components/LineChart/useLineChartStyles.styles.raw.js.map +1 -1
  106. package/lib/components/PolarChart/PolarChart.js +3 -4
  107. package/lib/components/PolarChart/PolarChart.js.map +1 -1
  108. package/lib/components/PolarChart/PolarChart.types.js.map +1 -1
  109. package/lib/components/PolarChart/PolarChart.utils.js +3 -3
  110. package/lib/components/PolarChart/PolarChart.utils.js.map +1 -1
  111. package/lib/components/PolarChart/index.js.map +1 -1
  112. package/lib/components/PolarChart/usePolarChartStyles.styles.raw.js.map +1 -1
  113. package/lib/components/ResponsiveContainer/ResponsiveContainer.js +1 -1
  114. package/lib/components/ResponsiveContainer/ResponsiveContainer.js.map +1 -1
  115. package/lib/components/ResponsiveContainer/ResponsiveContainer.types.js.map +1 -1
  116. package/lib/components/ResponsiveContainer/index.js.map +1 -1
  117. package/lib/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.js.map +1 -1
  118. package/lib/components/ResponsiveContainer/withResponsiveContainer.js.map +1 -1
  119. package/lib/components/SankeyChart/SankeyChart.js.map +1 -1
  120. package/lib/components/SankeyChart/SankeyChart.types.js.map +1 -1
  121. package/lib/components/SankeyChart/index.js.map +1 -1
  122. package/lib/components/SankeyChart/useSankeyChartStyles.styles.raw.js.map +1 -1
  123. package/lib/components/ScatterChart/ScatterChart.js +3 -3
  124. package/lib/components/ScatterChart/ScatterChart.js.map +1 -1
  125. package/lib/components/ScatterChart/ScatterChart.types.js.map +1 -1
  126. package/lib/components/ScatterChart/index.js.map +1 -1
  127. package/lib/components/ScatterChart/useScatterChartStyles.styles.raw.js.map +1 -1
  128. package/lib/components/Sparkline/Sparkline.js +1 -3
  129. package/lib/components/Sparkline/Sparkline.js.map +1 -1
  130. package/lib/components/Sparkline/Sparkline.types.js.map +1 -1
  131. package/lib/components/Sparkline/index.js.map +1 -1
  132. package/lib/components/Sparkline/useSparklineStyles.styles.raw.js.map +1 -1
  133. package/lib/components/VegaDeclarativeChart/VegaDeclarativeChart.js.map +1 -1
  134. package/lib/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.js.map +1 -1
  135. package/lib/components/VegaDeclarativeChart/VegaLiteColorAdapter.js +2 -2
  136. package/lib/components/VegaDeclarativeChart/VegaLiteColorAdapter.js.map +1 -1
  137. package/lib/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.js +1 -0
  138. package/lib/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.js.map +1 -1
  139. package/lib/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.js +88 -88
  140. package/lib/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.js.map +1 -1
  141. package/lib/components/VegaDeclarativeChart/VegaLiteTypes.js.map +1 -1
  142. package/lib/components/VegaDeclarativeChart/index.js.map +1 -1
  143. package/lib/components/VerticalBarChart/VerticalBarChart.js +2 -1
  144. package/lib/components/VerticalBarChart/VerticalBarChart.js.map +1 -1
  145. package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +1 -1
  146. package/lib/components/VerticalBarChart/index.js.map +1 -1
  147. package/lib/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.js.map +1 -1
  148. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +6 -5
  149. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +1 -1
  150. package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +1 -1
  151. package/lib/components/VerticalStackedBarChart/index.js.map +1 -1
  152. package/lib/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.js.map +1 -1
  153. package/lib/types/ChartAnnotation.js.map +1 -1
  154. package/lib/types/DataPoint.js.map +1 -1
  155. package/lib/types/EventAnnotation.js.map +1 -1
  156. package/lib/types/LegendDataItem.js.map +1 -1
  157. package/lib/types/index.js.map +1 -1
  158. package/lib/utilities/ChartTitle.js +3 -4
  159. package/lib/utilities/ChartTitle.js.map +1 -1
  160. package/lib/utilities/Common.styles.js +1 -4
  161. package/lib/utilities/Common.styles.js.map +1 -1
  162. package/lib/utilities/Common.styles.raw.js +1 -4
  163. package/lib/utilities/Common.styles.raw.js.map +1 -1
  164. package/lib/utilities/FocusableTooltipText.js.map +1 -1
  165. package/lib/utilities/KeyCodes.js.map +1 -1
  166. package/lib/utilities/SVGTooltipText.js.map +1 -1
  167. package/lib/utilities/async-utils.js.map +1 -1
  168. package/lib/utilities/colors.js.map +1 -1
  169. package/lib/utilities/getWindow.js.map +1 -1
  170. package/lib/utilities/hooks.js.map +1 -1
  171. package/lib/utilities/image-export-utils.js.map +1 -1
  172. package/lib/utilities/index.js.map +1 -1
  173. package/lib/utilities/overflow-utils.js.map +1 -1
  174. package/lib/utilities/scatterpolar-utils.js +3 -4
  175. package/lib/utilities/scatterpolar-utils.js.map +1 -1
  176. package/lib/utilities/string.js.map +1 -1
  177. package/lib/utilities/test-data/specialChartNames.js +11 -0
  178. package/lib/utilities/test-data/specialChartNames.js.map +1 -0
  179. package/lib/utilities/test-data.js.map +1 -1
  180. package/lib/utilities/utilities.js +9 -9
  181. package/lib/utilities/utilities.js.map +1 -1
  182. package/lib/utilities/vbc-utils.js.map +1 -1
  183. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.cjs +1 -4
  184. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.cjs.map +1 -1
  185. package/lib-commonjs/components/AnnotationOnlyChart/AnnotationOnlyChart.types.cjs.map +1 -1
  186. package/lib-commonjs/components/AnnotationOnlyChart/index.cjs.map +1 -1
  187. package/lib-commonjs/components/AnnotationOnlyChart/useAnnotationOnlyChartStyles.styles.raw.cjs.map +1 -1
  188. package/lib-commonjs/components/AreaChart/AreaChart.cjs +35 -5
  189. package/lib-commonjs/components/AreaChart/AreaChart.cjs.map +1 -1
  190. package/lib-commonjs/components/AreaChart/AreaChart.types.cjs.map +1 -1
  191. package/lib-commonjs/components/AreaChart/index.cjs.map +1 -1
  192. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.cjs +3 -3
  193. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.cjs.map +1 -1
  194. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.cjs +3 -3
  195. package/lib-commonjs/components/AreaChart/useAreaChartStyles.styles.raw.cjs.map +1 -1
  196. package/lib-commonjs/components/ChartTable/ChartTable.cjs.map +1 -1
  197. package/lib-commonjs/components/ChartTable/ChartTable.types.cjs.map +1 -1
  198. package/lib-commonjs/components/ChartTable/index.cjs.map +1 -1
  199. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.cjs +3 -3
  200. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.cjs.map +1 -1
  201. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.cjs +3 -3
  202. package/lib-commonjs/components/ChartTable/useChartTableStyles.styles.raw.cjs.map +1 -1
  203. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.cjs +19 -29
  204. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.cjs.map +1 -1
  205. package/lib-commonjs/components/CommonComponents/Annotations/ChartAnnotationLayer.types.cjs.map +1 -1
  206. package/lib-commonjs/components/CommonComponents/Annotations/index.cjs.map +1 -1
  207. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.cjs +14 -14
  208. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.cjs.map +1 -1
  209. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.cjs +14 -14
  210. package/lib-commonjs/components/CommonComponents/Annotations/useChartAnnotationLayer.styles.raw.cjs.map +1 -1
  211. package/lib-commonjs/components/CommonComponents/CartesianChart.cjs +17 -15
  212. package/lib-commonjs/components/CommonComponents/CartesianChart.cjs.map +1 -1
  213. package/lib-commonjs/components/CommonComponents/CartesianChart.types.cjs.map +1 -1
  214. package/lib-commonjs/components/CommonComponents/ChartPopover.cjs +3 -2
  215. package/lib-commonjs/components/CommonComponents/ChartPopover.cjs.map +1 -1
  216. package/lib-commonjs/components/CommonComponents/ChartPopover.types.cjs.map +1 -1
  217. package/lib-commonjs/components/CommonComponents/index.cjs.map +1 -1
  218. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.cjs +3 -3
  219. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.cjs.map +1 -1
  220. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.cjs +3 -3
  221. package/lib-commonjs/components/CommonComponents/useCartesianChartStyles.styles.raw.cjs.map +1 -1
  222. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.cjs +3 -3
  223. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.cjs.map +1 -1
  224. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.raw.cjs +3 -3
  225. package/lib-commonjs/components/CommonComponents/useChartPopoverStyles.styles.raw.cjs.map +1 -1
  226. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.cjs +9 -9
  227. package/lib-commonjs/components/DeclarativeChart/DeclarativeChart.cjs.map +1 -1
  228. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.cjs +13 -13
  229. package/lib-commonjs/components/DeclarativeChart/PlotlyColorAdapter.cjs.map +1 -1
  230. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.cjs +122 -140
  231. package/lib-commonjs/components/DeclarativeChart/PlotlySchemaAdapter.cjs.map +1 -1
  232. package/lib-commonjs/components/DeclarativeChart/index.cjs.map +1 -1
  233. package/lib-commonjs/components/DonutChart/Arc/Arc.cjs.map +1 -1
  234. package/lib-commonjs/components/DonutChart/Arc/Arc.types.cjs.map +1 -1
  235. package/lib-commonjs/components/DonutChart/Arc/index.cjs.map +1 -1
  236. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.cjs +3 -3
  237. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.cjs.map +1 -1
  238. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.cjs +3 -3
  239. package/lib-commonjs/components/DonutChart/Arc/useArcStyles.styles.raw.cjs.map +1 -1
  240. package/lib-commonjs/components/DonutChart/DonutChart.cjs.map +1 -1
  241. package/lib-commonjs/components/DonutChart/DonutChart.types.cjs.map +1 -1
  242. package/lib-commonjs/components/DonutChart/Pie/Pie.cjs.map +1 -1
  243. package/lib-commonjs/components/DonutChart/Pie/Pie.types.cjs.map +1 -1
  244. package/lib-commonjs/components/DonutChart/Pie/index.cjs.map +1 -1
  245. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.cjs +3 -3
  246. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.cjs.map +1 -1
  247. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.raw.cjs +3 -3
  248. package/lib-commonjs/components/DonutChart/Pie/usePieStyles.styles.raw.cjs.map +1 -1
  249. package/lib-commonjs/components/DonutChart/index.cjs.map +1 -1
  250. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.cjs +3 -3
  251. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.cjs.map +1 -1
  252. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.cjs +3 -3
  253. package/lib-commonjs/components/DonutChart/useDonutChartStyles.styles.raw.cjs.map +1 -1
  254. package/lib-commonjs/components/FunnelChart/FunnelChart.cjs +5 -5
  255. package/lib-commonjs/components/FunnelChart/FunnelChart.cjs.map +1 -1
  256. package/lib-commonjs/components/FunnelChart/FunnelChart.types.cjs.map +1 -1
  257. package/lib-commonjs/components/FunnelChart/funnelGeometry.cjs +6 -6
  258. package/lib-commonjs/components/FunnelChart/funnelGeometry.cjs.map +1 -1
  259. package/lib-commonjs/components/FunnelChart/index.cjs.map +1 -1
  260. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.cjs +3 -3
  261. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.cjs.map +1 -1
  262. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.cjs +3 -3
  263. package/lib-commonjs/components/FunnelChart/useFunnelChartStyles.styles.raw.cjs.map +1 -1
  264. package/lib-commonjs/components/GanttChart/GanttChart.cjs +4 -3
  265. package/lib-commonjs/components/GanttChart/GanttChart.cjs.map +1 -1
  266. package/lib-commonjs/components/GanttChart/GanttChart.types.cjs.map +1 -1
  267. package/lib-commonjs/components/GanttChart/index.cjs.map +1 -1
  268. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.cjs +3 -3
  269. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.cjs.map +1 -1
  270. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.cjs +3 -3
  271. package/lib-commonjs/components/GanttChart/useGanttChartStyles.styles.raw.cjs.map +1 -1
  272. package/lib-commonjs/components/GaugeChart/GaugeChart.cjs +41 -20
  273. package/lib-commonjs/components/GaugeChart/GaugeChart.cjs.map +1 -1
  274. package/lib-commonjs/components/GaugeChart/GaugeChart.types.cjs.map +1 -1
  275. package/lib-commonjs/components/GaugeChart/index.cjs.map +1 -1
  276. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.cjs +3 -3
  277. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.cjs.map +1 -1
  278. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.cjs +3 -3
  279. package/lib-commonjs/components/GaugeChart/useGaugeChartStyles.styles.raw.cjs.map +1 -1
  280. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.cjs +44 -44
  281. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.cjs.map +1 -1
  282. package/lib-commonjs/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.cjs.map +1 -1
  283. package/lib-commonjs/components/GroupedVerticalBarChart/index.cjs.map +1 -1
  284. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.cjs +3 -3
  285. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.cjs.map +1 -1
  286. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.cjs +3 -3
  287. package/lib-commonjs/components/GroupedVerticalBarChart/useGroupedVerticalBarChartStyles.styles.raw.cjs.map +1 -1
  288. package/lib-commonjs/components/HeatMapChart/HeatMapChart.cjs +1 -0
  289. package/lib-commonjs/components/HeatMapChart/HeatMapChart.cjs.map +1 -1
  290. package/lib-commonjs/components/HeatMapChart/HeatMapChart.types.cjs.map +1 -1
  291. package/lib-commonjs/components/HeatMapChart/index.cjs.map +1 -1
  292. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.cjs +3 -3
  293. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.cjs.map +1 -1
  294. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.cjs +3 -3
  295. package/lib-commonjs/components/HeatMapChart/useHeatMapChartStyles.styles.raw.cjs.map +1 -1
  296. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.cjs +5 -6
  297. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.cjs.map +1 -1
  298. package/lib-commonjs/components/HorizontalBarChart/HorizontalBarChart.types.cjs.map +1 -1
  299. package/lib-commonjs/components/HorizontalBarChart/index.cjs.map +1 -1
  300. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.cjs +3 -3
  301. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.cjs.map +1 -1
  302. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.cjs +3 -3
  303. package/lib-commonjs/components/HorizontalBarChart/useHorizontalBarChartStyles.styles.raw.cjs.map +1 -1
  304. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.cjs +4 -4
  305. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.cjs.map +1 -1
  306. package/lib-commonjs/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.types.cjs.map +1 -1
  307. package/lib-commonjs/components/HorizontalBarChartWithAxis/index.cjs.map +1 -1
  308. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.cjs +3 -3
  309. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.cjs.map +1 -1
  310. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.cjs +3 -3
  311. package/lib-commonjs/components/HorizontalBarChartWithAxis/useHorizontalBarChartWithAxisStyles.styles.raw.cjs.map +1 -1
  312. package/lib-commonjs/components/Legends/Legends.cjs +16 -19
  313. package/lib-commonjs/components/Legends/Legends.cjs.map +1 -1
  314. package/lib-commonjs/components/Legends/Legends.types.cjs.map +1 -1
  315. package/lib-commonjs/components/Legends/OverflowMenu.cjs +12 -9
  316. package/lib-commonjs/components/Legends/OverflowMenu.cjs.map +1 -1
  317. package/lib-commonjs/components/Legends/index.cjs.map +1 -1
  318. package/lib-commonjs/components/Legends/shape.cjs.map +1 -1
  319. package/lib-commonjs/components/Legends/useLegendsStyles.styles.cjs +11 -11
  320. package/lib-commonjs/components/Legends/useLegendsStyles.styles.cjs.map +1 -1
  321. package/lib-commonjs/components/Legends/useLegendsStyles.styles.raw.cjs +11 -11
  322. package/lib-commonjs/components/Legends/useLegendsStyles.styles.raw.cjs.map +1 -1
  323. package/lib-commonjs/components/LineChart/LineChart.cjs +40 -36
  324. package/lib-commonjs/components/LineChart/LineChart.cjs.map +1 -1
  325. package/lib-commonjs/components/LineChart/LineChart.types.cjs.map +1 -1
  326. package/lib-commonjs/components/LineChart/eventAnnotation/EventAnnotation.cjs.map +1 -1
  327. package/lib-commonjs/components/LineChart/eventAnnotation/LabelLink.cjs.map +1 -1
  328. package/lib-commonjs/components/LineChart/eventAnnotation/Textbox.cjs.map +1 -1
  329. package/lib-commonjs/components/LineChart/index.cjs.map +1 -1
  330. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.cjs +3 -3
  331. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.cjs.map +1 -1
  332. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.cjs +3 -3
  333. package/lib-commonjs/components/LineChart/useLineChartStyles.styles.raw.cjs.map +1 -1
  334. package/lib-commonjs/components/PolarChart/PolarChart.cjs +3 -4
  335. package/lib-commonjs/components/PolarChart/PolarChart.cjs.map +1 -1
  336. package/lib-commonjs/components/PolarChart/PolarChart.types.cjs.map +1 -1
  337. package/lib-commonjs/components/PolarChart/PolarChart.utils.cjs +10 -10
  338. package/lib-commonjs/components/PolarChart/PolarChart.utils.cjs.map +1 -1
  339. package/lib-commonjs/components/PolarChart/index.cjs.map +1 -1
  340. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.cjs +3 -3
  341. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.cjs.map +1 -1
  342. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.cjs +3 -3
  343. package/lib-commonjs/components/PolarChart/usePolarChartStyles.styles.raw.cjs.map +1 -1
  344. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.cjs +1 -1
  345. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.cjs.map +1 -1
  346. package/lib-commonjs/components/ResponsiveContainer/ResponsiveContainer.types.cjs.map +1 -1
  347. package/lib-commonjs/components/ResponsiveContainer/index.cjs.map +1 -1
  348. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.cjs +3 -3
  349. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.cjs.map +1 -1
  350. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.cjs +3 -3
  351. package/lib-commonjs/components/ResponsiveContainer/useResponsiveChildStyles.styles.raw.cjs.map +1 -1
  352. package/lib-commonjs/components/ResponsiveContainer/withResponsiveContainer.cjs.map +1 -1
  353. package/lib-commonjs/components/SankeyChart/SankeyChart.cjs +5 -5
  354. package/lib-commonjs/components/SankeyChart/SankeyChart.cjs.map +1 -1
  355. package/lib-commonjs/components/SankeyChart/SankeyChart.types.cjs.map +1 -1
  356. package/lib-commonjs/components/SankeyChart/index.cjs.map +1 -1
  357. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.cjs +3 -3
  358. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.cjs.map +1 -1
  359. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.cjs +3 -3
  360. package/lib-commonjs/components/SankeyChart/useSankeyChartStyles.styles.raw.cjs.map +1 -1
  361. package/lib-commonjs/components/ScatterChart/ScatterChart.cjs +3 -3
  362. package/lib-commonjs/components/ScatterChart/ScatterChart.cjs.map +1 -1
  363. package/lib-commonjs/components/ScatterChart/ScatterChart.types.cjs.map +1 -1
  364. package/lib-commonjs/components/ScatterChart/index.cjs.map +1 -1
  365. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.cjs +3 -3
  366. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.cjs.map +1 -1
  367. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.cjs +3 -3
  368. package/lib-commonjs/components/ScatterChart/useScatterChartStyles.styles.raw.cjs.map +1 -1
  369. package/lib-commonjs/components/Sparkline/Sparkline.cjs +1 -3
  370. package/lib-commonjs/components/Sparkline/Sparkline.cjs.map +1 -1
  371. package/lib-commonjs/components/Sparkline/Sparkline.types.cjs.map +1 -1
  372. package/lib-commonjs/components/Sparkline/index.cjs.map +1 -1
  373. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.cjs +3 -3
  374. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.cjs.map +1 -1
  375. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.raw.cjs +3 -3
  376. package/lib-commonjs/components/Sparkline/useSparklineStyles.styles.raw.cjs.map +1 -1
  377. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChart.cjs.map +1 -1
  378. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.cjs +3 -3
  379. package/lib-commonjs/components/VegaDeclarativeChart/VegaDeclarativeChartHooks.cjs.map +1 -1
  380. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteColorAdapter.cjs +7 -7
  381. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteColorAdapter.cjs.map +1 -1
  382. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.cjs +1 -0
  383. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteExpressionEvaluator.cjs.map +1 -1
  384. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.cjs +105 -105
  385. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteSchemaAdapter.cjs.map +1 -1
  386. package/lib-commonjs/components/VegaDeclarativeChart/VegaLiteTypes.cjs.map +1 -1
  387. package/lib-commonjs/components/VegaDeclarativeChart/index.cjs.map +1 -1
  388. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.cjs +2 -1
  389. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.cjs.map +1 -1
  390. package/lib-commonjs/components/VerticalBarChart/VerticalBarChart.types.cjs.map +1 -1
  391. package/lib-commonjs/components/VerticalBarChart/index.cjs.map +1 -1
  392. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.cjs +3 -3
  393. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.cjs.map +1 -1
  394. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.cjs +3 -3
  395. package/lib-commonjs/components/VerticalBarChart/useVerticalBarChartStyles.styles.raw.cjs.map +1 -1
  396. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.cjs +6 -5
  397. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.cjs.map +1 -1
  398. package/lib-commonjs/components/VerticalStackedBarChart/VerticalStackedBarChart.types.cjs.map +1 -1
  399. package/lib-commonjs/components/VerticalStackedBarChart/index.cjs.map +1 -1
  400. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.cjs +3 -3
  401. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.cjs.map +1 -1
  402. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.cjs +3 -3
  403. package/lib-commonjs/components/VerticalStackedBarChart/useVerticalStackedBarChartStyles.styles.raw.cjs.map +1 -1
  404. package/lib-commonjs/types/ChartAnnotation.cjs.map +1 -1
  405. package/lib-commonjs/types/DataPoint.cjs.map +1 -1
  406. package/lib-commonjs/types/EventAnnotation.cjs.map +1 -1
  407. package/lib-commonjs/types/LegendDataItem.cjs.map +1 -1
  408. package/lib-commonjs/types/index.cjs.map +1 -1
  409. package/lib-commonjs/utilities/ChartTitle.cjs +3 -4
  410. package/lib-commonjs/utilities/ChartTitle.cjs.map +1 -1
  411. package/lib-commonjs/utilities/Common.styles.cjs +9 -12
  412. package/lib-commonjs/utilities/Common.styles.cjs.map +1 -1
  413. package/lib-commonjs/utilities/Common.styles.raw.cjs +9 -12
  414. package/lib-commonjs/utilities/Common.styles.raw.cjs.map +1 -1
  415. package/lib-commonjs/utilities/FocusableTooltipText.cjs.map +1 -1
  416. package/lib-commonjs/utilities/KeyCodes.cjs.map +1 -1
  417. package/lib-commonjs/utilities/SVGTooltipText.cjs.map +1 -1
  418. package/lib-commonjs/utilities/async-utils.cjs.map +1 -1
  419. package/lib-commonjs/utilities/colors.cjs +7 -7
  420. package/lib-commonjs/utilities/colors.cjs.map +1 -1
  421. package/lib-commonjs/utilities/getWindow.cjs.map +1 -1
  422. package/lib-commonjs/utilities/hooks.cjs.map +1 -1
  423. package/lib-commonjs/utilities/image-export-utils.cjs +3 -3
  424. package/lib-commonjs/utilities/image-export-utils.cjs.map +1 -1
  425. package/lib-commonjs/utilities/index.cjs.map +1 -1
  426. package/lib-commonjs/utilities/overflow-utils.cjs +4 -4
  427. package/lib-commonjs/utilities/overflow-utils.cjs.map +1 -1
  428. package/lib-commonjs/utilities/scatterpolar-utils.cjs +6 -7
  429. package/lib-commonjs/utilities/scatterpolar-utils.cjs.map +1 -1
  430. package/lib-commonjs/utilities/string.cjs +1 -1
  431. package/lib-commonjs/utilities/string.cjs.map +1 -1
  432. package/lib-commonjs/utilities/test-data/specialChartNames.cjs +21 -0
  433. package/lib-commonjs/utilities/test-data/specialChartNames.cjs.map +1 -0
  434. package/lib-commonjs/utilities/test-data.cjs +18 -18
  435. package/lib-commonjs/utilities/test-data.cjs.map +1 -1
  436. package/lib-commonjs/utilities/utilities.cjs +92 -92
  437. package/lib-commonjs/utilities/utilities.cjs.map +1 -1
  438. package/lib-commonjs/utilities/vbc-utils.cjs +7 -7
  439. package/lib-commonjs/utilities/vbc-utils.cjs.map +1 -1
  440. package/package.json +9 -9
@@ -97,6 +97,7 @@ const PATH_MULTIPLY_SIZE = 2.5;
97
97
  return allPointPaths[index];
98
98
  };
99
99
  const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, ...restProps }, forwardedRef)=>{
100
+ var _ref;
100
101
  var _props_legendProps_selectedLegends, _props_legendProps;
101
102
  const props = {
102
103
  isCalloutForStack,
@@ -138,8 +139,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
138
139
  const [selectedLegend, setSelectedLegend] = _react.useState('');
139
140
  const [selectedLegendPoints, setSelectedLegendPoints] = _react.useState(_injectIndexPropertyInLineChartData(props.data.lineChartData, true));
140
141
  const [selectedColorBarLegend, setSelectedColorBarLegend] = _react.useState([]);
141
- var _props_legendProps_selectedLegends_length;
142
- const [isSelectedLegend, setIsSelectedLegend] = _react.useState(((_props_legendProps_selectedLegends_length = (_props_legendProps = props.legendProps) === null || _props_legendProps === void 0 ? void 0 : (_props_legendProps_selectedLegends = _props_legendProps.selectedLegends) === null || _props_legendProps_selectedLegends === void 0 ? void 0 : _props_legendProps_selectedLegends.length) !== null && _props_legendProps_selectedLegends_length !== void 0 ? _props_legendProps_selectedLegends_length : 0) > 0);
142
+ const [isSelectedLegend, setIsSelectedLegend] = _react.useState(((_ref = (_props_legendProps = props.legendProps) === null || _props_legendProps === void 0 ? void 0 : (_props_legendProps_selectedLegends = _props_legendProps.selectedLegends) === null || _props_legendProps_selectedLegends === void 0 ? void 0 : _props_legendProps_selectedLegends.length) !== null && _ref !== void 0 ? _ref : 0) > 0);
143
143
  const [activePoint, setActivePoint] = _react.useState('');
144
144
  const [nearestCircleToHighlight, setNearestCircleToHighlight] = _react.useState(null);
145
145
  const [dataPointCalloutProps, setDataPointCalloutProps] = _react.useState();
@@ -185,17 +185,17 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
185
185
  return domainNRangeValue;
186
186
  }
187
187
  function _injectIndexPropertyInLineChartData(lineChartData, isFilterSelectedLegends = false) {
188
+ var _ref;
188
189
  const { allowMultipleShapesForPoints = false } = props;
189
190
  // Apply filter only if isPropChange is true
190
191
  const filteredData = isFilterSelectedLegends ? lineChartData === null || lineChartData === void 0 ? void 0 : lineChartData.filter((item)=>{
191
192
  var _props_legendProps_selectedLegends, _props_legendProps, _props_legendProps1;
192
193
  return ((_props_legendProps = props.legendProps) === null || _props_legendProps === void 0 ? void 0 : (_props_legendProps_selectedLegends = _props_legendProps.selectedLegends) === null || _props_legendProps_selectedLegends === void 0 ? void 0 : _props_legendProps_selectedLegends.includes(item.legend)) || ((_props_legendProps1 = props.legendProps) === null || _props_legendProps1 === void 0 ? void 0 : _props_legendProps1.selectedLegend) === item.legend;
193
194
  }) : lineChartData;
194
- var _filteredData_some;
195
- _hasMarkersMode = (_filteredData_some = filteredData === null || filteredData === void 0 ? void 0 : filteredData.some((item)=>{
195
+ _hasMarkersMode = (_ref = filteredData === null || filteredData === void 0 ? void 0 : filteredData.some((item)=>{
196
196
  var _item_lineOptions_mode_includes, _item_lineOptions_mode, _item_lineOptions;
197
197
  return (_item_lineOptions = item.lineOptions) === null || _item_lineOptions === void 0 ? void 0 : (_item_lineOptions_mode = _item_lineOptions.mode) === null || _item_lineOptions_mode === void 0 ? void 0 : (_item_lineOptions_mode_includes = _item_lineOptions_mode.includes) === null || _item_lineOptions_mode_includes === void 0 ? void 0 : _item_lineOptions_mode_includes.call(_item_lineOptions_mode, 'markers');
198
- })) !== null && _filteredData_some !== void 0 ? _filteredData_some : false;
198
+ })) !== null && _ref !== void 0 ? _ref : false;
199
199
  _isScatterPolar = (0, _index1.isScatterPolarSeries)(filteredData);
200
200
  return filteredData ? filteredData.map((item, index)=>{
201
201
  let color;
@@ -300,7 +300,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
300
300
  setActiveLegend('');
301
301
  },
302
302
  hoverAction: ()=>{
303
- _handleChartMouseLeave();
303
+ _dismissCallout();
304
304
  setActiveLegend(legendTitle);
305
305
  },
306
306
  ...representativePoint.legendShape && {
@@ -329,7 +329,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
329
329
  setActiveLegend('');
330
330
  },
331
331
  hoverAction: ()=>{
332
- _handleChartMouseLeave();
332
+ _dismissCallout();
333
333
  setActiveLegend(title);
334
334
  },
335
335
  opacity: _getColorFillBarOpacity(colorFillBar),
@@ -414,11 +414,13 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
414
414
  });
415
415
  });
416
416
  for(let i = _points.length - 1; i >= 0; i--){
417
+ var _ref;
417
418
  var _points_i_gaps, _points_i_lineOptions, _points_i_lineOptions1;
418
419
  const linesForLine = [];
419
420
  const bordersForLine = [];
420
421
  const pointsForLine = [];
421
422
  const legendVal = _points[i].legend;
423
+ const seriesAriaLabel = `${legendVal}, line ${i + 1} of ${_points.length} with ${_points[i].data.length} data points.`;
422
424
  const lineColor = _points[i].color;
423
425
  const verticaLineHeight = containerHeight - margins.bottom + 6;
424
426
  const useSecondaryYScale = !!(_points[i].useSecondaryYScale && _yScaleSecondary);
@@ -438,6 +440,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
438
440
  const xPoint = _xAxisScale(x1);
439
441
  const yPoint = yScale(y1);
440
442
  if ((0, _index1.isPlottable)(xPoint, yPoint)) {
443
+ var _points_i_data__text;
441
444
  var _points_i_lineOptions_mode, _points_i_lineOptions2;
442
445
  const circleId = `${_circleId}_${i}`;
443
446
  const isLegendSelected = _legendHighlighted(legendVal) || _noLegendHighlighted() || isSelectedLegend;
@@ -445,7 +448,6 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
445
448
  const supportsTextMode = (_points_i_lineOptions2 = _points[i].lineOptions) === null || _points_i_lineOptions2 === void 0 ? void 0 : (_points_i_lineOptions_mode = _points_i_lineOptions2.mode) === null || _points_i_lineOptions_mode === void 0 ? void 0 : _points_i_lineOptions_mode.includes('text');
446
449
  const text = _points[i].data[0].text;
447
450
  const targetElement = document.getElementById(circleId);
448
- var _points_i_data__text;
449
451
  pointsForLine.push(/*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement(_react.Fragment, {
450
452
  key: `${circleId}_fragment`
451
453
  }, /*#__PURE__*/ _react.createElement("circle", {
@@ -469,7 +471,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
469
471
  onMouseOut: _handleMouseOut,
470
472
  strokeWidth: activePoint === circleId ? DEFAULT_LINE_STROKE_SIZE : 0,
471
473
  stroke: activePoint === circleId ? lineColor : '',
472
- role: "img",
474
+ role: "option",
473
475
  "aria-label": (_points_i_data__text = _points[i].data[0].text) !== null && _points_i_data__text !== void 0 ? _points_i_data__text : _getAriaLabel(i, 0),
474
476
  ref: (e)=>{
475
477
  _refCallback(e, circleId);
@@ -487,8 +489,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
487
489
  }
488
490
  }
489
491
  let gapIndex = 0;
490
- var _points_i_gaps_sort;
491
- const gaps = (_points_i_gaps_sort = (_points_i_gaps = _points[i].gaps) === null || _points_i_gaps === void 0 ? void 0 : _points_i_gaps.sort((a, b)=>a.startIndex - b.startIndex)) !== null && _points_i_gaps_sort !== void 0 ? _points_i_gaps_sort : [];
492
+ const gaps = (_ref = (_points_i_gaps = _points[i].gaps) === null || _points_i_gaps === void 0 ? void 0 : _points_i_gaps.sort((a, b)=>a.startIndex - b.startIndex)) !== null && _ref !== void 0 ? _ref : [];
492
493
  const lineCurve = (_points_i_lineOptions = _points[i].lineOptions) === null || _points_i_lineOptions === void 0 ? void 0 : _points_i_lineOptions.curve;
493
494
  // Use path rendering technique for larger datasets to optimize performance.
494
495
  if ((props.optimizeLargeData || lineCurve) && _points[i].data.length > 1) {
@@ -511,23 +512,23 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
511
512
  const lineMode = (_points_i_lineOptions4 = _points[i].lineOptions) === null || _points_i_lineOptions4 === void 0 ? void 0 : _points_i_lineOptions4.mode;
512
513
  const shouldDrawLines = lineMode !== 'markers';
513
514
  if (shouldDrawLines && isLegendSelected) {
515
+ var _ref1;
514
516
  var _points_i_lineOptions5, _points_i_lineOptions6, _points_i_lineOptions7;
515
517
  const lineBorderWidth = ((_points_i_lineOptions5 = _points[i].lineOptions) === null || _points_i_lineOptions5 === void 0 ? void 0 : _points_i_lineOptions5.lineBorderWidth) ? Number.parseFloat(_points[i].lineOptions.lineBorderWidth.toString()) : 0;
516
518
  if (lineBorderWidth > 0) {
519
+ var _ref2;
517
520
  var _points_i_lineOptions8, _points_i_lineOptions9;
518
- var _points_i_lineOptions_strokeLinecap;
519
521
  bordersForLine.push(/*#__PURE__*/ _react.createElement("path", {
520
522
  id: borderId,
521
523
  key: borderId,
522
524
  d: line(lineData),
523
525
  fill: "transparent",
524
- strokeLinecap: (_points_i_lineOptions_strokeLinecap = (_points_i_lineOptions8 = _points[i].lineOptions) === null || _points_i_lineOptions8 === void 0 ? void 0 : _points_i_lineOptions8.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap !== void 0 ? _points_i_lineOptions_strokeLinecap : 'round',
526
+ strokeLinecap: (_ref2 = (_points_i_lineOptions8 = _points[i].lineOptions) === null || _points_i_lineOptions8 === void 0 ? void 0 : _points_i_lineOptions8.strokeLinecap) !== null && _ref2 !== void 0 ? _ref2 : 'round',
525
527
  strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth,
526
528
  stroke: ((_points_i_lineOptions9 = _points[i].lineOptions) === null || _points_i_lineOptions9 === void 0 ? void 0 : _points_i_lineOptions9.lineBorderColor) || _reacttheme.tokens.colorNeutralBackground1,
527
529
  opacity: 1
528
530
  }));
529
531
  }
530
- var _points_i_lineOptions_strokeLinecap1;
531
532
  linesForLine.push(/*#__PURE__*/ _react.createElement("path", {
532
533
  id: lineId,
533
534
  key: lineId,
@@ -535,18 +536,20 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
535
536
  fill: "transparent",
536
537
  stroke: lineColor,
537
538
  strokeWidth: strokeWidth,
538
- strokeLinecap: (_points_i_lineOptions_strokeLinecap1 = (_points_i_lineOptions6 = _points[i].lineOptions) === null || _points_i_lineOptions6 === void 0 ? void 0 : _points_i_lineOptions6.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap1 !== void 0 ? _points_i_lineOptions_strokeLinecap1 : 'round',
539
+ strokeLinecap: (_ref1 = (_points_i_lineOptions6 = _points[i].lineOptions) === null || _points_i_lineOptions6 === void 0 ? void 0 : _points_i_lineOptions6.strokeLinecap) !== null && _ref1 !== void 0 ? _ref1 : 'round',
539
540
  strokeDasharray: (_points_i_lineOptions7 = _points[i].lineOptions) === null || _points_i_lineOptions7 === void 0 ? void 0 : _points_i_lineOptions7.strokeDasharray,
540
541
  onMouseMove: (event)=>_onMouseOverLargeDataset(i, verticaLineHeight, event, yScale),
541
542
  onMouseOver: (event)=>_onMouseOverLargeDataset(i, verticaLineHeight, event, yScale),
542
543
  onMouseOut: _handleMouseOut,
543
544
  ..._getClickHandler(_points[i].onLineClick),
544
545
  opacity: 1,
545
- tabIndex: isLegendSelected ? 0 : undefined
546
+ tabIndex: isLegendSelected ? 0 : undefined,
547
+ role: props.optimizeLargeData ? 'option' : undefined,
548
+ "aria-label": props.optimizeLargeData ? seriesAriaLabel : undefined
546
549
  }));
547
550
  } else if (shouldDrawLines) {
551
+ var _ref3;
548
552
  var _points_i_lineOptions10, _points_i_lineOptions11;
549
- var _points_i_lineOptions_strokeLinecap2;
550
553
  linesForLine.push(/*#__PURE__*/ _react.createElement("path", {
551
554
  id: lineId,
552
555
  key: lineId,
@@ -555,7 +558,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
555
558
  tabIndex: -1,
556
559
  stroke: lineColor,
557
560
  strokeWidth: strokeWidth,
558
- strokeLinecap: (_points_i_lineOptions_strokeLinecap2 = (_points_i_lineOptions10 = _points[i].lineOptions) === null || _points_i_lineOptions10 === void 0 ? void 0 : _points_i_lineOptions10.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap2 !== void 0 ? _points_i_lineOptions_strokeLinecap2 : 'round',
561
+ strokeLinecap: (_ref3 = (_points_i_lineOptions10 = _points[i].lineOptions) === null || _points_i_lineOptions10 === void 0 ? void 0 : _points_i_lineOptions10.strokeLinecap) !== null && _ref3 !== void 0 ? _ref3 : 'round',
559
562
  strokeDasharray: (_points_i_lineOptions11 = _points[i].lineOptions) === null || _points_i_lineOptions11 === void 0 ? void 0 : _points_i_lineOptions11.strokeDasharray,
560
563
  opacity: 0.1
561
564
  }));
@@ -584,10 +587,10 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
584
587
  const xPoint = _xAxisScale(x instanceof Date ? x.getTime() : x);
585
588
  const yPoint = yScale(y);
586
589
  if ((0, _index1.isPlottable)(xPoint, yPoint)) {
590
+ var _points_i_data_k_text;
587
591
  var _points_i_data_k, _points_i;
588
592
  const markerSize = _points[i].data[k].markerSize;
589
593
  const perPointColor = (_points_i_data_k = _points[i].data[k]) === null || _points_i_data_k === void 0 ? void 0 : _points_i_data_k.markerColor;
590
- var _points_i_data_k_text;
591
594
  pointsForLine.push(/*#__PURE__*/ _react.createElement("circle", {
592
595
  key: `${_circleId}_${i}_${k}_marker`,
593
596
  r: (0, _index1.calculateMarkerRadius)({
@@ -609,7 +612,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
609
612
  onMouseOver: (event)=>_onMouseOverLargeDataset(i, verticaLineHeight, event, yScale),
610
613
  onFocus: (event)=>_onFocusLargeDataset(i, verticaLineHeight, event, yScale, k),
611
614
  onMouseOut: _handleMouseOut,
612
- role: "img",
615
+ role: "option",
613
616
  "aria-label": (_points_i_data_k_text = _points[i].data[k].text) !== null && _points_i_data_k_text !== void 0 ? _points_i_data_k_text : _getAriaLabel(i, k)
614
617
  }));
615
618
  }
@@ -637,10 +640,10 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
637
640
  const text = _points[i].data[j - 1].text;
638
641
  let currentMarkerSize = _points[i].data[j - 1].markerSize;
639
642
  if ((0, _index1.isPlottable)(xPoint1, yPoint1)) {
643
+ var _points_i_data__text1;
640
644
  var _points_i_lineOptions_mode3, _points_i_lineOptions15, _points_i_data_, _points_i_data_1, _points_i_data_2, _points_i_data_3;
641
645
  const path = _getPath(xPoint1, yPoint1, circleId, j, false, _points[i].index);
642
646
  const targetElement = document.getElementById(circleId);
643
- var _points_i_data__text1;
644
647
  pointsForLine.push(((_points_i_lineOptions15 = _points[i].lineOptions) === null || _points_i_lineOptions15 === void 0 ? void 0 : (_points_i_lineOptions_mode3 = _points_i_lineOptions15.mode) === null || _points_i_lineOptions_mode3 === void 0 ? void 0 : _points_i_lineOptions_mode3.includes('markers')) || supportsTextMode ? /*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("circle", {
645
648
  id: circleId,
646
649
  key: circleId,
@@ -665,7 +668,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
665
668
  fill: ((_points_i_data_ = _points[i].data[j - 1]) === null || _points_i_data_ === void 0 ? void 0 : _points_i_data_.markerColor) || _getPointFill(lineColor, circleId, j, false),
666
669
  stroke: ((_points_i_data_1 = _points[i].data[j - 1]) === null || _points_i_data_1 === void 0 ? void 0 : _points_i_data_1.markerColor) || lineColor,
667
670
  strokeWidth: strokeWidth,
668
- role: "img",
671
+ role: "option",
669
672
  "aria-label": (_points_i_data__text1 = _points[i].data[j - 1].text) !== null && _points_i_data__text1 !== void 0 ? _points_i_data__text1 : _getAriaLabel(i, j - 1)
670
673
  }), !_isScatterPolar && supportsTextMode && text && /*#__PURE__*/ _react.createElement("text", {
671
674
  key: `${circleId}-label`,
@@ -693,7 +696,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
693
696
  fill: ((_points_i_data_2 = _points[i].data[j - 1]) === null || _points_i_data_2 === void 0 ? void 0 : _points_i_data_2.markerColor) || _getPointFill(lineColor, circleId, j, false),
694
697
  stroke: ((_points_i_data_3 = _points[i].data[j - 1]) === null || _points_i_data_3 === void 0 ? void 0 : _points_i_data_3.markerColor) || lineColor,
695
698
  strokeWidth: strokeWidth,
696
- role: "img",
699
+ role: "option",
697
700
  "aria-label": _getAriaLabel(i, j - 1),
698
701
  tabIndex: isLegendSelected ? 0 : undefined
699
702
  }));
@@ -709,10 +712,10 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
709
712
  const lastSupportsTextMode = (_points_i_lineOptions16 = _points[i].lineOptions) === null || _points_i_lineOptions16 === void 0 ? void 0 : (_points_i_lineOptions_mode4 = _points_i_lineOptions16.mode) === null || _points_i_lineOptions_mode4 === void 0 ? void 0 : _points_i_lineOptions_mode4.includes('text');
710
713
  const lastText = _points[i].data[j].text;
711
714
  if ((0, _index1.isPlottable)(xPoint2, yPoint2)) {
715
+ var _points_i_data_j_text;
712
716
  var _points_i_lineOptions_mode5, _points_i_lineOptions17, _points_i_data_j, _points_i_data_j1;
713
717
  const path = _getPath(xPoint2, yPoint2, lastCircleId, j, true, _points[i].index);
714
718
  const targetElement = document.getElementById(lastCircleId);
715
- var _points_i_data_j_text;
716
719
  pointsForLine.push(/*#__PURE__*/ _react.createElement(_react.Fragment, {
717
720
  key: `${lastCircleId}_container`
718
721
  }, ((_points_i_lineOptions17 = _points[i].lineOptions) === null || _points_i_lineOptions17 === void 0 ? void 0 : (_points_i_lineOptions_mode5 = _points_i_lineOptions17.mode) === null || _points_i_lineOptions_mode5 === void 0 ? void 0 : _points_i_lineOptions_mode5.includes('markers')) || lastSupportsTextMode ? /*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("circle", {
@@ -739,7 +742,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
739
742
  fill: _getPointFill(lineColor, lastCircleId, j, true),
740
743
  stroke: lineColor,
741
744
  strokeWidth: strokeWidth,
742
- role: "img",
745
+ role: "option",
743
746
  "aria-label": (_points_i_data_j_text = _points[i].data[j].text) !== null && _points_i_data_j_text !== void 0 ? _points_i_data_j_text : _getAriaLabel(i, j)
744
747
  }), !_isScatterPolar && lastSupportsTextMode && lastText && /*#__PURE__*/ _react.createElement("text", {
745
748
  key: `${lastCircleId}-label`,
@@ -766,7 +769,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
766
769
  fill: ((_points_i_data_j = _points[i].data[j]) === null || _points_i_data_j === void 0 ? void 0 : _points_i_data_j.markerColor) || _getPointFill(lineColor, lastCircleId, j, true),
767
770
  stroke: ((_points_i_data_j1 = _points[i].data[j]) === null || _points_i_data_j1 === void 0 ? void 0 : _points_i_data_j1.markerColor) || lineColor,
768
771
  strokeWidth: strokeWidth,
769
- role: "img",
772
+ role: "option",
770
773
  "aria-label": _getAriaLabel(i, j),
771
774
  tabIndex: isLegendSelected ? 0 : undefined
772
775
  }), /*#__PURE__*/ _react.createElement("circle", {
@@ -790,12 +793,13 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
790
793
  if (isLegendSelected) {
791
794
  // don't draw line if it is in a gap
792
795
  if (!isInGap) {
796
+ var _ref4;
793
797
  var _points_i_lineOptions18, _points_i_lineOptions19, _points_i_lineOptions20, _points_i_lineOptions21;
794
798
  const lineBorderWidth = ((_points_i_lineOptions18 = _points[i].lineOptions) === null || _points_i_lineOptions18 === void 0 ? void 0 : _points_i_lineOptions18.lineBorderWidth) ? Number.parseFloat(_points[i].lineOptions.lineBorderWidth.toString()) : 0;
795
799
  const targetElement = document.getElementById(circleId);
796
800
  if (lineBorderWidth > 0) {
801
+ var _ref5;
797
802
  var _points_i_lineOptions22, _points_i_lineOptions23;
798
- var _points_i_lineOptions_strokeLinecap3;
799
803
  bordersForLine.push(/*#__PURE__*/ _react.createElement("line", {
800
804
  id: borderId,
801
805
  key: borderId,
@@ -803,13 +807,12 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
803
807
  y1: yPoint1,
804
808
  x2: xPoint2,
805
809
  y2: yPoint2,
806
- strokeLinecap: (_points_i_lineOptions_strokeLinecap3 = (_points_i_lineOptions22 = _points[i].lineOptions) === null || _points_i_lineOptions22 === void 0 ? void 0 : _points_i_lineOptions22.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap3 !== void 0 ? _points_i_lineOptions_strokeLinecap3 : 'round',
810
+ strokeLinecap: (_ref5 = (_points_i_lineOptions22 = _points[i].lineOptions) === null || _points_i_lineOptions22 === void 0 ? void 0 : _points_i_lineOptions22.strokeLinecap) !== null && _ref5 !== void 0 ? _ref5 : 'round',
807
811
  strokeWidth: Number.parseFloat(strokeWidth.toString()) + lineBorderWidth,
808
812
  stroke: ((_points_i_lineOptions23 = _points[i].lineOptions) === null || _points_i_lineOptions23 === void 0 ? void 0 : _points_i_lineOptions23.lineBorderColor) || _reacttheme.tokens.colorNeutralBackground1,
809
813
  opacity: 1
810
814
  }));
811
815
  }
812
- var _points_i_lineOptions_strokeLinecap4;
813
816
  linesForLine.push(/*#__PURE__*/ _react.createElement("line", {
814
817
  id: lineId,
815
818
  key: lineId,
@@ -825,7 +828,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
825
828
  onMouseMove: (event)=>_handleHover(x1, y1, verticaLineHeight, xAxisCalloutData, circleId, xAxisCalloutAccessibilityData, event, yScale, legendVal, lineColor, targetElement),
826
829
  onMouseOut: _handleMouseOut,
827
830
  stroke: lineColor,
828
- strokeLinecap: (_points_i_lineOptions_strokeLinecap4 = (_points_i_lineOptions19 = _points[i].lineOptions) === null || _points_i_lineOptions19 === void 0 ? void 0 : _points_i_lineOptions19.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap4 !== void 0 ? _points_i_lineOptions_strokeLinecap4 : 'round',
831
+ strokeLinecap: (_ref4 = (_points_i_lineOptions19 = _points[i].lineOptions) === null || _points_i_lineOptions19 === void 0 ? void 0 : _points_i_lineOptions19.strokeLinecap) !== null && _ref4 !== void 0 ? _ref4 : 'round',
829
832
  strokeDasharray: (_points_i_lineOptions20 = _points[i].lineOptions) === null || _points_i_lineOptions20 === void 0 ? void 0 : _points_i_lineOptions20.strokeDasharray,
830
833
  strokeDashoffset: (_points_i_lineOptions21 = _points[i].lineOptions) === null || _points_i_lineOptions21 === void 0 ? void 0 : _points_i_lineOptions21.strokeDashoffset,
831
834
  opacity: 1,
@@ -834,8 +837,8 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
834
837
  }
835
838
  } else {
836
839
  if (!isInGap) {
840
+ var _ref6;
837
841
  var _points_i_lineOptions24, _points_i_lineOptions25, _points_i_lineOptions26;
838
- var _points_i_lineOptions_strokeLinecap5;
839
842
  linesForLine.push(/*#__PURE__*/ _react.createElement("line", {
840
843
  id: lineId,
841
844
  key: lineId,
@@ -845,7 +848,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
845
848
  y2: yPoint2,
846
849
  strokeWidth: strokeWidth,
847
850
  stroke: lineColor,
848
- strokeLinecap: (_points_i_lineOptions_strokeLinecap5 = (_points_i_lineOptions24 = _points[i].lineOptions) === null || _points_i_lineOptions24 === void 0 ? void 0 : _points_i_lineOptions24.strokeLinecap) !== null && _points_i_lineOptions_strokeLinecap5 !== void 0 ? _points_i_lineOptions_strokeLinecap5 : 'round',
851
+ strokeLinecap: (_ref6 = (_points_i_lineOptions24 = _points[i].lineOptions) === null || _points_i_lineOptions24 === void 0 ? void 0 : _points_i_lineOptions24.strokeLinecap) !== null && _ref6 !== void 0 ? _ref6 : 'round',
849
852
  strokeDasharray: (_points_i_lineOptions25 = _points[i].lineOptions) === null || _points_i_lineOptions25 === void 0 ? void 0 : _points_i_lineOptions25.strokeDasharray,
850
853
  strokeDashoffset: (_points_i_lineOptions26 = _points[i].lineOptions) === null || _points_i_lineOptions26 === void 0 ? void 0 : _points_i_lineOptions26.strokeDashoffset,
851
854
  opacity: 0.1
@@ -886,8 +889,8 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
886
889
  }
887
890
  lines.push(/*#__PURE__*/ _react.createElement("g", {
888
891
  key: `line_${i}`,
889
- role: "region",
890
- "aria-label": `${legendVal}, line ${i + 1} of ${_points.length} with ${_points[i].data.length} data points.`
892
+ role: "listbox",
893
+ "aria-label": props.optimizeLargeData ? `${legendVal} data series` : seriesAriaLabel
891
894
  }, bordersForLine, linesForLine, pointsForLine));
892
895
  }
893
896
  return lines;
@@ -1126,7 +1129,7 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
1126
1129
  function _handleMouseOut() {
1127
1130
  (0, _d3selection.select)(`#${_verticalLine}`).attr('visibility', 'hidden');
1128
1131
  }
1129
- function _handleChartMouseLeave() {
1132
+ function _dismissCallout() {
1130
1133
  _uniqueCallOutID = null;
1131
1134
  setActivePoint('');
1132
1135
  if (isPopoverOpen) {
@@ -1297,7 +1300,8 @@ const LineChart = /*#__PURE__*/ _react.forwardRef(({ isCalloutForStack = true, .
1297
1300
  } : {},
1298
1301
  getDomainNRangeValues: _getDomainNRangeValues,
1299
1302
  createStringYAxis: _index1.createStringYAxis,
1300
- onChartMouseLeave: _handleChartMouseLeave,
1303
+ onChartMouseLeave: _dismissCallout,
1304
+ onChartBlur: _dismissCallout,
1301
1305
  enableFirstRenderOptimization: props.enablePerfOptimization && _firstRenderOptimization,
1302
1306
  componentRef: cartesianChartRef,
1303
1307
  children: (props)=>{