@mui/x-charts 8.27.0 → 9.0.0-alpha.1

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 (804) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +2 -2
  2. package/BarChart/AnimatedBarElement.js +1 -1
  3. package/BarChart/BarChart.d.ts +1 -1
  4. package/BarChart/BarChart.js +30 -8
  5. package/BarChart/BarElement.d.ts +2 -2
  6. package/BarChart/BarElement.js +9 -9
  7. package/BarChart/BarLabel/BarLabel.js +1 -1
  8. package/BarChart/FocusedBar.js +4 -6
  9. package/BarChart/IndividualBarPlot.js +1 -1
  10. package/BarChart/barClasses.d.ts +1 -1
  11. package/BarChart/barClasses.js +2 -2
  12. package/BarChart/barElementClasses.d.ts +2 -1
  13. package/BarChart/barElementClasses.js +2 -2
  14. package/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  15. package/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  16. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +2 -2
  17. package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +2 -1
  18. package/BarChart/seriesConfig/bar/keyboardFocusHandler.js +2 -15
  19. package/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  20. package/BarChart/seriesConfig/bar/legend.js +0 -1
  21. package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  22. package/BarChart/seriesConfig/bar/tooltip.d.ts +1 -1
  23. package/BarChart/seriesConfig/bar/tooltipPosition.d.ts +1 -1
  24. package/BarChart/seriesConfig/bar/tooltipPosition.js +5 -6
  25. package/BarChart/seriesConfig/index.d.ts +1 -1
  26. package/BarChart/seriesConfig/index.js +3 -1
  27. package/BarChart/useBarPlotData.d.ts +1 -1
  28. package/BarChart/useBarPlotData.js +9 -10
  29. package/BarChart/useRegisterItemClickHandlers.js +2 -2
  30. package/CHANGELOG.md +373 -3
  31. package/ChartContainer/ChartContainer.d.ts +16 -29
  32. package/ChartContainer/ChartContainer.js +14 -1691
  33. package/ChartContainer/index.d.ts +1 -8
  34. package/ChartContainer/useChartContainerProps.d.ts +10 -12
  35. package/ChartContainer/useChartContainerProps.js +10 -95
  36. package/ChartDataProvider/ChartDataProvider.d.ts +5 -3
  37. package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
  38. package/ChartDataProvider/useChartDataProviderProps.js +7 -6
  39. package/ChartsAxis/ChartsAxis.d.ts +1 -0
  40. package/ChartsAxis/ChartsAxis.js +4 -2
  41. package/ChartsAxis/axisClasses.d.ts +0 -7
  42. package/ChartsAxis/axisClasses.js +1 -1
  43. package/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -2
  44. package/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -2
  45. package/ChartsContainer/ChartsContainer.d.ts +37 -0
  46. package/ChartsContainer/ChartsContainer.js +1715 -0
  47. package/ChartsContainer/index.d.ts +1 -0
  48. package/ChartsContainer/index.js +16 -0
  49. package/ChartsContainer/useChartsContainerProps.d.ts +12 -0
  50. package/ChartsContainer/useChartsContainerProps.js +109 -0
  51. package/ChartsLabel/ChartsLabelMark.js +34 -32
  52. package/ChartsLabel/labelGradientClasses.d.ts +1 -1
  53. package/ChartsLabel/labelMarkClasses.d.ts +1 -3
  54. package/ChartsLabel/labelMarkClasses.js +1 -2
  55. package/ChartsLegend/ChartsLegend.js +14 -14
  56. package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
  57. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  58. package/ChartsLegend/legendContext.types.d.ts +10 -6
  59. package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
  60. package/ChartsOverlay/ChartsLoadingOverlay.js +3 -15
  61. package/ChartsOverlay/ChartsNoDataOverlay.js +3 -15
  62. package/ChartsOverlay/common.d.ts +1 -0
  63. package/ChartsOverlay/common.js +22 -0
  64. package/ChartsSurface/ChartsSurface.js +2 -4
  65. package/ChartsTooltip/ChartTooltip.types.d.ts +5 -4
  66. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +7 -0
  67. package/ChartsTooltip/ChartsAxisTooltipContent.js +22 -2
  68. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -0
  69. package/ChartsTooltip/ChartsTooltip.d.ts +10 -2
  70. package/ChartsTooltip/ChartsTooltip.js +18 -5
  71. package/ChartsTooltip/ChartsTooltipContainer.d.ts +17 -2
  72. package/ChartsTooltip/ChartsTooltipContainer.js +20 -4
  73. package/ChartsTooltip/index.d.ts +1 -2
  74. package/ChartsTooltip/index.js +0 -12
  75. package/ChartsTooltip/useAxesTooltip.d.ts +29 -3
  76. package/ChartsTooltip/useAxesTooltip.js +173 -6
  77. package/ChartsTooltip/useItemTooltip.d.ts +1 -1
  78. package/ChartsTooltip/useItemTooltip.js +2 -2
  79. package/ChartsWrapper/ChartsWrapper.d.ts +1 -4
  80. package/ChartsWrapper/ChartsWrapper.js +7 -4
  81. package/ChartsXAxis/ChartsXAxis.d.ts +3 -1
  82. package/ChartsXAxis/ChartsXAxis.js +2 -1
  83. package/ChartsXAxis/ChartsXAxisImpl.js +1 -1
  84. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  85. package/ChartsXAxis/shortenLabels.d.ts +2 -2
  86. package/ChartsXAxis/useAxisTicksProps.d.ts +674 -671
  87. package/ChartsXAxis/useAxisTicksProps.js +1 -1
  88. package/ChartsXAxis/utilities.d.ts +1 -1
  89. package/ChartsXAxis/utilities.js +2 -3
  90. package/ChartsYAxis/ChartsYAxis.d.ts +3 -1
  91. package/ChartsYAxis/ChartsYAxis.js +2 -1
  92. package/ChartsYAxis/ChartsYAxisImpl.js +1 -1
  93. package/ChartsYAxis/shortenLabels.d.ts +2 -2
  94. package/ChartsYAxis/useAxisTicksProps.d.ts +674 -671
  95. package/ChartsYAxis/useAxisTicksProps.js +1 -1
  96. package/ChartsYAxis/utilities.js +2 -3
  97. package/Gauge/GaugeContainer.d.ts +1 -1
  98. package/Gauge/GaugeContainer.js +3 -1
  99. package/LineChart/AnimatedArea.js +3 -3
  100. package/LineChart/AnimatedLine.js +4 -4
  101. package/LineChart/AppearingMask.d.ts +1 -1
  102. package/LineChart/AppearingMask.js +1 -1
  103. package/LineChart/AreaElement.d.ts +2 -2
  104. package/LineChart/AreaElement.js +8 -8
  105. package/LineChart/AreaPlot.js +1 -1
  106. package/LineChart/CircleMarkElement.d.ts +1 -1
  107. package/LineChart/CircleMarkElement.js +5 -5
  108. package/LineChart/LineChart.d.ts +1 -1
  109. package/LineChart/LineChart.js +30 -8
  110. package/LineChart/LineElement.d.ts +2 -2
  111. package/LineChart/LineElement.js +8 -8
  112. package/LineChart/LineHighlightElement.d.ts +4 -4
  113. package/LineChart/LineHighlightElement.js +4 -4
  114. package/LineChart/LineHighlightPlot.js +3 -3
  115. package/LineChart/LinePlot.js +1 -1
  116. package/LineChart/MarkElement.d.ts +1 -1
  117. package/LineChart/MarkElement.js +5 -5
  118. package/LineChart/MarkPlot.js +1 -1
  119. package/LineChart/markElementClasses.d.ts +1 -1
  120. package/LineChart/markElementClasses.js +2 -2
  121. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  122. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  123. package/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  124. package/LineChart/seriesConfig/index.d.ts +1 -1
  125. package/LineChart/seriesConfig/index.js +3 -1
  126. package/LineChart/seriesConfig/keyboardFocusHandler.d.ts +2 -1
  127. package/LineChart/seriesConfig/keyboardFocusHandler.js +2 -15
  128. package/LineChart/seriesConfig/legend.d.ts +1 -1
  129. package/LineChart/seriesConfig/legend.js +0 -1
  130. package/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  131. package/LineChart/seriesConfig/tooltip.d.ts +1 -1
  132. package/LineChart/seriesConfig/tooltipPosition.d.ts +1 -1
  133. package/LineChart/useMarkPlotData.js +2 -2
  134. package/PieChart/FocusedPieArc.d.ts +1 -1
  135. package/PieChart/FocusedPieArc.js +1 -1
  136. package/PieChart/PieArc.d.ts +4 -4
  137. package/PieChart/PieArc.js +7 -7
  138. package/PieChart/PieArcLabel.d.ts +4 -4
  139. package/PieChart/PieArcLabel.js +6 -6
  140. package/PieChart/PieArcLabelPlot.d.ts +5 -1
  141. package/PieChart/PieArcLabelPlot.js +5 -5
  142. package/PieChart/PieArcPlot.d.ts +5 -1
  143. package/PieChart/PieArcPlot.js +6 -6
  144. package/PieChart/PieChart.d.ts +3 -3
  145. package/PieChart/PieChart.js +9 -8
  146. package/PieChart/PiePlot.js +2 -2
  147. package/PieChart/index.d.ts +1 -0
  148. package/PieChart/index.js +12 -0
  149. package/PieChart/pieClasses.d.ts +1 -1
  150. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  151. package/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  152. package/PieChart/seriesConfig/index.d.ts +1 -1
  153. package/PieChart/seriesConfig/index.js +3 -1
  154. package/PieChart/seriesConfig/keyboardFocusHandler.js +2 -15
  155. package/PieChart/seriesConfig/legend.d.ts +1 -1
  156. package/PieChart/seriesConfig/legend.js +0 -1
  157. package/PieChart/seriesConfig/seriesLayout.d.ts +1 -1
  158. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  159. package/PieChart/seriesConfig/tooltip.d.ts +1 -1
  160. package/PieChart/seriesConfig/tooltipPosition.d.ts +1 -1
  161. package/RadarChart/RadarAxisHighlight/index.d.ts +2 -1
  162. package/RadarChart/RadarChart.d.ts +1 -1
  163. package/RadarChart/RadarChart.js +8 -8
  164. package/RadarChart/RadarGrid/index.d.ts +2 -1
  165. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -0
  166. package/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +2 -2
  167. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -2
  168. package/RadarChart/index.d.ts +1 -1
  169. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  170. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  171. package/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  172. package/RadarChart/seriesConfig/index.d.ts +1 -1
  173. package/RadarChart/seriesConfig/index.js +3 -1
  174. package/RadarChart/seriesConfig/keyboardFocusHandler.js +2 -15
  175. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  176. package/RadarChart/seriesConfig/legend.js +0 -1
  177. package/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
  178. package/RadarChart/seriesConfig/tooltip.d.ts +1 -1
  179. package/RadarChart/seriesConfig/tooltipPosition.d.ts +1 -1
  180. package/ScatterChart/BatchScatter.d.ts +1 -1
  181. package/ScatterChart/BatchScatter.js +7 -7
  182. package/ScatterChart/Scatter.d.ts +1 -1
  183. package/ScatterChart/ScatterChart.d.ts +1 -1
  184. package/ScatterChart/ScatterChart.js +30 -8
  185. package/ScatterChart/scatterClasses.js +2 -2
  186. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  187. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  188. package/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  189. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  190. package/ScatterChart/seriesConfig/index.js +3 -1
  191. package/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +2 -1
  192. package/ScatterChart/seriesConfig/keyboardFocusHandler.js +2 -15
  193. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  194. package/ScatterChart/seriesConfig/legend.js +0 -1
  195. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  196. package/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
  197. package/ScatterChart/seriesConfig/tooltipPosition.d.ts +1 -1
  198. package/SparkLineChart/SparkLineChart.d.ts +1 -1
  199. package/SparkLineChart/SparkLineChart.js +47 -31
  200. package/context/ChartProvider/ChartProvider.d.ts +3 -4
  201. package/context/ChartProvider/ChartProvider.js +2 -15
  202. package/context/ChartProvider/ChartProvider.types.d.ts +3 -18
  203. package/context/index.d.ts +2 -1
  204. package/esm/BarChart/AnimatedBarElement.d.ts +2 -2
  205. package/esm/BarChart/AnimatedBarElement.js +1 -1
  206. package/esm/BarChart/BarChart.d.ts +1 -1
  207. package/esm/BarChart/BarChart.js +30 -8
  208. package/esm/BarChart/BarElement.d.ts +2 -2
  209. package/esm/BarChart/BarElement.js +9 -9
  210. package/esm/BarChart/BarLabel/BarLabel.js +1 -1
  211. package/esm/BarChart/FocusedBar.js +4 -6
  212. package/esm/BarChart/IndividualBarPlot.js +1 -1
  213. package/esm/BarChart/barClasses.d.ts +1 -1
  214. package/esm/BarChart/barClasses.js +2 -2
  215. package/esm/BarChart/barElementClasses.d.ts +2 -1
  216. package/esm/BarChart/barElementClasses.js +2 -2
  217. package/esm/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  218. package/esm/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  219. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +2 -2
  220. package/esm/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +2 -1
  221. package/esm/BarChart/seriesConfig/bar/keyboardFocusHandler.js +3 -16
  222. package/esm/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  223. package/esm/BarChart/seriesConfig/bar/legend.js +0 -1
  224. package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  225. package/esm/BarChart/seriesConfig/bar/tooltip.d.ts +1 -1
  226. package/esm/BarChart/seriesConfig/bar/tooltipPosition.d.ts +1 -1
  227. package/esm/BarChart/seriesConfig/bar/tooltipPosition.js +5 -6
  228. package/esm/BarChart/seriesConfig/index.d.ts +1 -1
  229. package/esm/BarChart/seriesConfig/index.js +3 -1
  230. package/esm/BarChart/useBarPlotData.d.ts +1 -1
  231. package/esm/BarChart/useBarPlotData.js +9 -10
  232. package/esm/BarChart/useRegisterItemClickHandlers.js +2 -2
  233. package/esm/ChartContainer/ChartContainer.d.ts +16 -29
  234. package/esm/ChartContainer/ChartContainer.js +15 -1690
  235. package/esm/ChartContainer/index.d.ts +1 -8
  236. package/esm/ChartContainer/index.js +1 -6
  237. package/esm/ChartContainer/useChartContainerProps.d.ts +10 -12
  238. package/esm/ChartContainer/useChartContainerProps.js +11 -94
  239. package/esm/ChartDataProvider/ChartDataProvider.d.ts +5 -3
  240. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
  241. package/esm/ChartDataProvider/useChartDataProviderProps.js +7 -6
  242. package/esm/ChartsAxis/ChartsAxis.d.ts +1 -0
  243. package/esm/ChartsAxis/ChartsAxis.js +4 -2
  244. package/esm/ChartsAxis/axisClasses.d.ts +0 -7
  245. package/esm/ChartsAxis/axisClasses.js +1 -1
  246. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +1 -1
  247. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +1 -1
  248. package/esm/ChartsContainer/ChartsContainer.d.ts +37 -0
  249. package/esm/ChartsContainer/ChartsContainer.js +1709 -0
  250. package/esm/ChartsContainer/index.d.ts +1 -0
  251. package/esm/ChartsContainer/index.js +1 -0
  252. package/esm/ChartsContainer/useChartsContainerProps.d.ts +12 -0
  253. package/esm/ChartsContainer/useChartsContainerProps.js +102 -0
  254. package/esm/ChartsLabel/ChartsLabelMark.js +35 -33
  255. package/esm/ChartsLabel/labelGradientClasses.d.ts +1 -1
  256. package/esm/ChartsLabel/labelMarkClasses.d.ts +1 -3
  257. package/esm/ChartsLabel/labelMarkClasses.js +1 -2
  258. package/esm/ChartsLegend/ChartsLegend.js +14 -14
  259. package/esm/ChartsLegend/chartsLegendClasses.d.ts +1 -1
  260. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  261. package/esm/ChartsLegend/legendContext.types.d.ts +10 -6
  262. package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
  263. package/esm/ChartsOverlay/ChartsLoadingOverlay.js +2 -14
  264. package/esm/ChartsOverlay/ChartsNoDataOverlay.js +2 -14
  265. package/esm/ChartsOverlay/common.d.ts +1 -0
  266. package/esm/ChartsOverlay/common.js +16 -0
  267. package/esm/ChartsSurface/ChartsSurface.js +3 -5
  268. package/esm/ChartsTooltip/ChartTooltip.types.d.ts +5 -4
  269. package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +7 -0
  270. package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +22 -2
  271. package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -0
  272. package/esm/ChartsTooltip/ChartsTooltip.d.ts +10 -2
  273. package/esm/ChartsTooltip/ChartsTooltip.js +18 -5
  274. package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +17 -2
  275. package/esm/ChartsTooltip/ChartsTooltipContainer.js +19 -3
  276. package/esm/ChartsTooltip/index.d.ts +1 -2
  277. package/esm/ChartsTooltip/index.js +0 -1
  278. package/esm/ChartsTooltip/useAxesTooltip.d.ts +29 -3
  279. package/esm/ChartsTooltip/useAxesTooltip.js +173 -5
  280. package/esm/ChartsTooltip/useItemTooltip.d.ts +1 -1
  281. package/esm/ChartsTooltip/useItemTooltip.js +1 -1
  282. package/esm/ChartsWrapper/ChartsWrapper.d.ts +1 -4
  283. package/esm/ChartsWrapper/ChartsWrapper.js +6 -3
  284. package/esm/ChartsXAxis/ChartsXAxis.d.ts +3 -1
  285. package/esm/ChartsXAxis/ChartsXAxis.js +1 -2
  286. package/esm/ChartsXAxis/ChartsXAxisImpl.js +1 -1
  287. package/esm/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  288. package/esm/ChartsXAxis/shortenLabels.d.ts +2 -2
  289. package/esm/ChartsXAxis/useAxisTicksProps.d.ts +674 -671
  290. package/esm/ChartsXAxis/useAxisTicksProps.js +1 -1
  291. package/esm/ChartsXAxis/utilities.d.ts +1 -1
  292. package/esm/ChartsXAxis/utilities.js +2 -3
  293. package/esm/ChartsYAxis/ChartsYAxis.d.ts +3 -1
  294. package/esm/ChartsYAxis/ChartsYAxis.js +1 -2
  295. package/esm/ChartsYAxis/ChartsYAxisImpl.js +1 -1
  296. package/esm/ChartsYAxis/shortenLabels.d.ts +2 -2
  297. package/esm/ChartsYAxis/useAxisTicksProps.d.ts +674 -671
  298. package/esm/ChartsYAxis/useAxisTicksProps.js +1 -1
  299. package/esm/ChartsYAxis/utilities.js +2 -3
  300. package/esm/Gauge/GaugeContainer.d.ts +1 -1
  301. package/esm/Gauge/GaugeContainer.js +3 -1
  302. package/esm/LineChart/AnimatedArea.js +3 -3
  303. package/esm/LineChart/AnimatedLine.js +4 -4
  304. package/esm/LineChart/AppearingMask.d.ts +1 -1
  305. package/esm/LineChart/AppearingMask.js +1 -1
  306. package/esm/LineChart/AreaElement.d.ts +2 -2
  307. package/esm/LineChart/AreaElement.js +8 -8
  308. package/esm/LineChart/AreaPlot.js +1 -1
  309. package/esm/LineChart/CircleMarkElement.d.ts +1 -1
  310. package/esm/LineChart/CircleMarkElement.js +5 -5
  311. package/esm/LineChart/LineChart.d.ts +1 -1
  312. package/esm/LineChart/LineChart.js +30 -8
  313. package/esm/LineChart/LineElement.d.ts +2 -2
  314. package/esm/LineChart/LineElement.js +8 -8
  315. package/esm/LineChart/LineHighlightElement.d.ts +4 -4
  316. package/esm/LineChart/LineHighlightElement.js +4 -4
  317. package/esm/LineChart/LineHighlightPlot.js +2 -2
  318. package/esm/LineChart/LinePlot.js +1 -1
  319. package/esm/LineChart/MarkElement.d.ts +1 -1
  320. package/esm/LineChart/MarkElement.js +5 -5
  321. package/esm/LineChart/MarkPlot.js +1 -1
  322. package/esm/LineChart/markElementClasses.d.ts +1 -1
  323. package/esm/LineChart/markElementClasses.js +2 -2
  324. package/esm/LineChart/seriesConfig/extremums.d.ts +1 -1
  325. package/esm/LineChart/seriesConfig/getColor.d.ts +1 -1
  326. package/esm/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  327. package/esm/LineChart/seriesConfig/index.d.ts +1 -1
  328. package/esm/LineChart/seriesConfig/index.js +3 -1
  329. package/esm/LineChart/seriesConfig/keyboardFocusHandler.d.ts +2 -1
  330. package/esm/LineChart/seriesConfig/keyboardFocusHandler.js +3 -16
  331. package/esm/LineChart/seriesConfig/legend.d.ts +1 -1
  332. package/esm/LineChart/seriesConfig/legend.js +0 -1
  333. package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  334. package/esm/LineChart/seriesConfig/tooltip.d.ts +1 -1
  335. package/esm/LineChart/seriesConfig/tooltipPosition.d.ts +1 -1
  336. package/esm/LineChart/useMarkPlotData.js +2 -2
  337. package/esm/PieChart/FocusedPieArc.d.ts +1 -1
  338. package/esm/PieChart/FocusedPieArc.js +1 -1
  339. package/esm/PieChart/PieArc.d.ts +4 -4
  340. package/esm/PieChart/PieArc.js +7 -7
  341. package/esm/PieChart/PieArcLabel.d.ts +4 -4
  342. package/esm/PieChart/PieArcLabel.js +6 -6
  343. package/esm/PieChart/PieArcLabelPlot.d.ts +5 -1
  344. package/esm/PieChart/PieArcLabelPlot.js +5 -5
  345. package/esm/PieChart/PieArcPlot.d.ts +5 -1
  346. package/esm/PieChart/PieArcPlot.js +6 -6
  347. package/esm/PieChart/PieChart.d.ts +3 -3
  348. package/esm/PieChart/PieChart.js +9 -8
  349. package/esm/PieChart/PiePlot.js +2 -2
  350. package/esm/PieChart/index.d.ts +1 -0
  351. package/esm/PieChart/index.js +1 -0
  352. package/esm/PieChart/pieClasses.d.ts +1 -1
  353. package/esm/PieChart/seriesConfig/getColor.d.ts +1 -1
  354. package/esm/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  355. package/esm/PieChart/seriesConfig/index.d.ts +1 -1
  356. package/esm/PieChart/seriesConfig/index.js +3 -1
  357. package/esm/PieChart/seriesConfig/keyboardFocusHandler.js +2 -15
  358. package/esm/PieChart/seriesConfig/legend.d.ts +1 -1
  359. package/esm/PieChart/seriesConfig/legend.js +0 -1
  360. package/esm/PieChart/seriesConfig/seriesLayout.d.ts +1 -1
  361. package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  362. package/esm/PieChart/seriesConfig/tooltip.d.ts +1 -1
  363. package/esm/PieChart/seriesConfig/tooltipPosition.d.ts +1 -1
  364. package/esm/RadarChart/RadarAxisHighlight/index.d.ts +2 -1
  365. package/esm/RadarChart/RadarAxisHighlight/index.js +2 -1
  366. package/esm/RadarChart/RadarChart.d.ts +1 -1
  367. package/esm/RadarChart/RadarChart.js +8 -8
  368. package/esm/RadarChart/RadarGrid/index.d.ts +2 -1
  369. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -0
  370. package/esm/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +2 -2
  371. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -2
  372. package/esm/RadarChart/index.d.ts +1 -1
  373. package/esm/RadarChart/seriesConfig/extremums.d.ts +1 -1
  374. package/esm/RadarChart/seriesConfig/getColor.d.ts +1 -1
  375. package/esm/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  376. package/esm/RadarChart/seriesConfig/index.d.ts +1 -1
  377. package/esm/RadarChart/seriesConfig/index.js +3 -1
  378. package/esm/RadarChart/seriesConfig/keyboardFocusHandler.js +2 -15
  379. package/esm/RadarChart/seriesConfig/legend.d.ts +1 -1
  380. package/esm/RadarChart/seriesConfig/legend.js +0 -1
  381. package/esm/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
  382. package/esm/RadarChart/seriesConfig/tooltip.d.ts +1 -1
  383. package/esm/RadarChart/seriesConfig/tooltipPosition.d.ts +1 -1
  384. package/esm/ScatterChart/BatchScatter.d.ts +1 -1
  385. package/esm/ScatterChart/BatchScatter.js +1 -1
  386. package/esm/ScatterChart/Scatter.d.ts +1 -1
  387. package/esm/ScatterChart/ScatterChart.d.ts +1 -1
  388. package/esm/ScatterChart/ScatterChart.js +30 -8
  389. package/esm/ScatterChart/scatterClasses.js +2 -2
  390. package/esm/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  391. package/esm/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  392. package/esm/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +1 -1
  393. package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
  394. package/esm/ScatterChart/seriesConfig/index.js +3 -1
  395. package/esm/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +2 -1
  396. package/esm/ScatterChart/seriesConfig/keyboardFocusHandler.js +3 -16
  397. package/esm/ScatterChart/seriesConfig/legend.d.ts +1 -1
  398. package/esm/ScatterChart/seriesConfig/legend.js +0 -1
  399. package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  400. package/esm/ScatterChart/seriesConfig/tooltip.d.ts +1 -1
  401. package/esm/ScatterChart/seriesConfig/tooltipPosition.d.ts +1 -1
  402. package/esm/SparkLineChart/SparkLineChart.d.ts +1 -1
  403. package/esm/SparkLineChart/SparkLineChart.js +47 -31
  404. package/esm/context/ChartProvider/ChartProvider.d.ts +3 -4
  405. package/esm/context/ChartProvider/ChartProvider.js +2 -14
  406. package/esm/context/ChartProvider/ChartProvider.types.d.ts +3 -18
  407. package/esm/context/index.d.ts +2 -1
  408. package/esm/hooks/getValueToPositionMapper.d.ts +12 -0
  409. package/esm/hooks/getValueToPositionMapper.js +21 -0
  410. package/esm/hooks/index.d.ts +5 -1
  411. package/esm/hooks/index.js +4 -1
  412. package/esm/hooks/useAxisCoordinates.d.ts +30 -0
  413. package/esm/hooks/useAxisCoordinates.js +105 -0
  414. package/esm/hooks/useAxisTicks.d.ts +14 -0
  415. package/esm/hooks/useAxisTicks.js +68 -0
  416. package/esm/hooks/useChartRootRef.d.ts +1 -1
  417. package/esm/hooks/useChartRootRef.js +4 -2
  418. package/esm/hooks/useInteractionItemProps.d.ts +3 -3
  419. package/esm/hooks/useLegend.d.ts +2 -2
  420. package/esm/hooks/useLegend.js +1 -1
  421. package/esm/hooks/useScale.d.ts +1 -12
  422. package/esm/hooks/useScale.js +0 -20
  423. package/esm/hooks/useSvgRef.js +4 -5
  424. package/esm/hooks/useTicks.d.ts +19 -4
  425. package/esm/index.d.ts +3 -1
  426. package/esm/index.js +2 -1
  427. package/esm/internals/commonNextFocusItem.d.ts +2 -0
  428. package/esm/internals/commonNextFocusItem.js +3 -2
  429. package/esm/internals/components/WebGLContext.d.ts +3 -0
  430. package/esm/internals/components/WebGLContext.js +108 -0
  431. package/esm/internals/consumeSlots.js +1 -1
  432. package/esm/internals/consumeThemeProps.js +1 -1
  433. package/esm/internals/createCommonKeyboardFocusHandler.d.ts +25 -0
  434. package/esm/internals/createCommonKeyboardFocusHandler.js +22 -0
  435. package/esm/internals/{getBarDimensions.d.ts → createGetBarDimensions.d.ts} +2 -4
  436. package/esm/internals/createGetBarDimensions.js +55 -0
  437. package/esm/internals/getChartPoint.d.ts +7 -0
  438. package/esm/internals/getChartPoint.js +13 -0
  439. package/esm/internals/getGraphemeCount.js +3 -1
  440. package/esm/internals/getSeriesColorFn.d.ts +3 -2
  441. package/esm/internals/identifierCleaner.d.ts +11 -0
  442. package/esm/internals/identifierCleaner.js +12 -0
  443. package/esm/internals/index.d.ts +8 -2
  444. package/esm/internals/index.js +8 -3
  445. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +5 -3
  446. package/esm/internals/plugins/corePlugins/corePlugins.js +3 -1
  447. package/esm/internals/plugins/corePlugins/index.d.ts +2 -1
  448. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +1 -1
  449. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +4 -1
  450. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +5 -5
  451. package/esm/internals/plugins/corePlugins/useChartElementRef/index.d.ts +2 -0
  452. package/esm/internals/plugins/corePlugins/useChartElementRef/index.js +1 -0
  453. package/esm/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +3 -0
  454. package/esm/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.js +14 -0
  455. package/esm/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +15 -0
  456. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  457. package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
  458. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +5 -2
  459. package/esm/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  460. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -3
  461. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.js +9 -1
  462. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +12 -2
  463. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +41 -19
  464. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -7
  465. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
  466. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +19 -14
  467. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +1 -1
  468. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -1
  469. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/index.d.ts +4 -0
  470. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/index.js +3 -0
  471. package/{internals/plugins/models/seriesConfig → esm/internals/plugins/corePlugins/useChartSeriesConfig/types}/cartesianExtremumGetter.types.d.ts +3 -3
  472. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/colorProcessor.types.d.ts +4 -4
  473. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +8 -0
  474. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +3 -0
  475. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +3 -0
  476. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +3 -0
  477. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/index.d.ts +3 -1
  478. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/index.js +3 -1
  479. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +4 -0
  480. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/polarExtremumGetter.types.d.ts +3 -3
  481. package/{internals/plugins/models/seriesConfig → esm/internals/plugins/corePlugins/useChartSeriesConfig/types}/seriesConfig.types.d.ts +13 -5
  482. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/seriesLayout.types.d.ts +3 -3
  483. package/{internals/plugins/models/seriesConfig → esm/internals/plugins/corePlugins/useChartSeriesConfig/types}/seriesProcessor.types.d.ts +4 -4
  484. package/esm/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/tooltipGetter.types.d.ts +7 -7
  485. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.js +1 -0
  486. package/{internals/plugins/models/seriesConfig → esm/internals/plugins/corePlugins/useChartSeriesConfig/types}/tooltipItemPositionGetter.types.d.ts +7 -7
  487. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.js +1 -0
  488. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +3 -0
  489. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.js +35 -0
  490. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +6 -0
  491. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.js +3 -0
  492. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +48 -0
  493. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js +1 -0
  494. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +15 -0
  495. package/esm/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.js +18 -0
  496. package/esm/internals/plugins/corePlugins/{useChartSeries → useChartSeriesConfig/utils}/serializeIdentifier.d.ts +2 -2
  497. package/esm/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.ts +4 -3
  498. package/esm/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +2 -2
  499. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +6 -4
  500. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +14 -14
  501. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
  502. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +2 -2
  503. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +4 -4
  504. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -3
  505. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +1 -1
  506. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  507. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
  508. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -0
  509. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +5 -5
  510. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +22 -9
  511. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +38 -15
  512. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +24 -1
  513. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -1
  514. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +2 -1
  515. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.d.ts +1 -1
  516. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +4 -4
  517. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +2 -1
  518. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +50 -51
  519. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +2 -1
  520. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +6 -6
  521. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +6 -24
  522. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +2 -53
  523. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +25 -0
  524. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +149 -0
  525. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +5 -3
  526. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +1 -1
  527. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  528. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  529. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +1 -1
  530. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +11 -7
  531. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +3 -3
  532. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +17 -19
  533. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +4 -4
  534. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +6 -6
  535. package/esm/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.js +4 -4
  536. package/esm/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +5 -4
  537. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +2 -2
  538. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -3
  539. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +7 -7
  540. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  541. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  542. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  543. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +8 -7
  544. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +5 -5
  545. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -1
  546. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +6 -6
  547. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +14 -7
  548. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +5 -5
  549. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +2 -1
  550. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +4 -4
  551. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.js +9 -8
  552. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.d.ts +3 -6
  553. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.js +9 -4
  554. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +6 -3
  555. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/visibilityParamToMap.d.ts +3 -3
  556. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/visibilityParamToMap.js +1 -1
  557. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
  558. package/esm/internals/plugins/models/index.d.ts +1 -2
  559. package/esm/internals/plugins/models/index.js +1 -2
  560. package/esm/internals/plugins/models/plugin.d.ts +1 -16
  561. package/esm/internals/plugins/utils/defaultSeriesConfig.d.ts +2 -0
  562. package/esm/internals/plugins/utils/defaultSeriesConfig.js +10 -0
  563. package/esm/internals/seriesSelectorOfType.d.ts +8 -8
  564. package/esm/internals/seriesSelectorOfType.js +1 -1
  565. package/esm/internals/sliceUntil.js +3 -1
  566. package/esm/internals/stacking/stackSeries.d.ts +3 -2
  567. package/esm/internals/stacking/stackSeries.js +0 -1
  568. package/esm/internals/store/useCharts.d.ts +2 -7
  569. package/esm/internals/store/useCharts.js +4 -12
  570. package/esm/internals/store/useCharts.types.d.ts +6 -0
  571. package/esm/models/axis.d.ts +16 -3
  572. package/esm/models/index.d.ts +1 -0
  573. package/esm/models/seriesType/bar.d.ts +1 -1
  574. package/esm/models/seriesType/common.d.ts +5 -5
  575. package/esm/models/seriesType/config.d.ts +8 -1
  576. package/esm/models/seriesType/index.d.ts +8 -30
  577. package/esm/models/seriesType/index.js +1 -32
  578. package/esm/models/seriesType/line.d.ts +1 -1
  579. package/esm/models/seriesType/pie.d.ts +1 -1
  580. package/esm/models/seriesType/radar.d.ts +1 -1
  581. package/esm/models/seriesType/scatter.d.ts +1 -1
  582. package/hooks/getValueToPositionMapper.d.ts +12 -0
  583. package/hooks/getValueToPositionMapper.js +26 -0
  584. package/hooks/index.d.ts +5 -1
  585. package/hooks/index.js +40 -1
  586. package/hooks/useAxisCoordinates.d.ts +30 -0
  587. package/hooks/useAxisCoordinates.js +115 -0
  588. package/hooks/useAxisTicks.d.ts +14 -0
  589. package/hooks/useAxisTicks.js +75 -0
  590. package/hooks/useChartRootRef.d.ts +1 -1
  591. package/hooks/useChartRootRef.js +4 -2
  592. package/hooks/useInteractionItemProps.d.ts +3 -3
  593. package/hooks/useLegend.d.ts +2 -2
  594. package/hooks/useLegend.js +2 -2
  595. package/hooks/useScale.d.ts +1 -12
  596. package/hooks/useScale.js +0 -21
  597. package/hooks/useSvgRef.js +4 -5
  598. package/hooks/useTicks.d.ts +19 -4
  599. package/index.d.ts +3 -1
  600. package/index.js +9 -1
  601. package/internals/commonNextFocusItem.d.ts +2 -0
  602. package/internals/commonNextFocusItem.js +4 -2
  603. package/internals/components/WebGLContext.d.ts +3 -0
  604. package/internals/components/WebGLContext.js +116 -0
  605. package/internals/consumeSlots.js +1 -1
  606. package/internals/consumeThemeProps.js +1 -1
  607. package/internals/createCommonKeyboardFocusHandler.d.ts +25 -0
  608. package/internals/createCommonKeyboardFocusHandler.js +27 -0
  609. package/internals/{getBarDimensions.d.ts → createGetBarDimensions.d.ts} +2 -4
  610. package/internals/createGetBarDimensions.js +61 -0
  611. package/internals/getChartPoint.d.ts +7 -0
  612. package/internals/getChartPoint.js +19 -0
  613. package/internals/getGraphemeCount.js +3 -1
  614. package/internals/getSeriesColorFn.d.ts +3 -2
  615. package/internals/identifierCleaner.d.ts +11 -0
  616. package/internals/identifierCleaner.js +19 -0
  617. package/internals/index.d.ts +8 -2
  618. package/internals/index.js +72 -4
  619. package/internals/plugins/corePlugins/corePlugins.d.ts +5 -3
  620. package/internals/plugins/corePlugins/corePlugins.js +3 -1
  621. package/internals/plugins/corePlugins/index.d.ts +2 -1
  622. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +1 -1
  623. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +4 -1
  624. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +5 -5
  625. package/internals/plugins/corePlugins/useChartElementRef/index.d.ts +2 -0
  626. package/internals/plugins/corePlugins/useChartElementRef/index.js +12 -0
  627. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +3 -0
  628. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.js +21 -0
  629. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +15 -0
  630. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  631. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
  632. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +5 -2
  633. package/internals/plugins/corePlugins/useChartSeries/index.d.ts +1 -1
  634. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -3
  635. package/internals/plugins/corePlugins/useChartSeries/processSeries.js +9 -1
  636. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +12 -2
  637. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +42 -19
  638. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -7
  639. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +5 -5
  640. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +19 -14
  641. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +1 -1
  642. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +2 -2
  643. package/internals/plugins/corePlugins/useChartSeriesConfig/index.d.ts +4 -0
  644. package/internals/plugins/corePlugins/useChartSeriesConfig/index.js +39 -0
  645. package/{esm/internals/plugins/models/seriesConfig → internals/plugins/corePlugins/useChartSeriesConfig/types}/cartesianExtremumGetter.types.d.ts +3 -3
  646. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/colorProcessor.types.d.ts +4 -4
  647. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +8 -0
  648. package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +3 -0
  649. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +3 -0
  650. package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +3 -0
  651. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/index.d.ts +3 -1
  652. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/index.js +22 -0
  653. package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +4 -0
  654. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/polarExtremumGetter.types.d.ts +3 -3
  655. package/{esm/internals/plugins/models/seriesConfig → internals/plugins/corePlugins/useChartSeriesConfig/types}/seriesConfig.types.d.ts +13 -5
  656. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/seriesLayout.types.d.ts +3 -3
  657. package/{esm/internals/plugins/models/seriesConfig → internals/plugins/corePlugins/useChartSeriesConfig/types}/seriesProcessor.types.d.ts +4 -4
  658. package/internals/plugins/{models/seriesConfig → corePlugins/useChartSeriesConfig/types}/tooltipGetter.types.d.ts +7 -7
  659. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.js +5 -0
  660. package/{esm/internals/plugins/models/seriesConfig → internals/plugins/corePlugins/useChartSeriesConfig/types}/tooltipItemPositionGetter.types.d.ts +7 -7
  661. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.js +5 -0
  662. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +3 -0
  663. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.js +42 -0
  664. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +6 -0
  665. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.js +10 -0
  666. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +48 -0
  667. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js +5 -0
  668. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +15 -0
  669. package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.js +25 -0
  670. package/internals/plugins/corePlugins/{useChartSeries → useChartSeriesConfig/utils}/serializeIdentifier.d.ts +2 -2
  671. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.ts +4 -3
  672. package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +2 -2
  673. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +6 -4
  674. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +14 -14
  675. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +1 -1
  676. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +2 -2
  677. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +4 -4
  678. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -3
  679. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +1 -1
  680. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  681. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
  682. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +12 -0
  683. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +5 -5
  684. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +21 -8
  685. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +38 -15
  686. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +24 -1
  687. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -1
  688. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -2
  689. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.d.ts +1 -1
  690. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +4 -4
  691. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +3 -2
  692. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +50 -51
  693. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +7 -6
  694. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +6 -6
  695. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +6 -24
  696. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +2 -53
  697. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +25 -0
  698. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +155 -0
  699. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +5 -3
  700. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +1 -1
  701. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  702. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  703. package/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +1 -1
  704. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +11 -7
  705. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +5 -5
  706. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +17 -19
  707. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
  708. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +6 -6
  709. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.js +4 -4
  710. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +5 -4
  711. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +2 -2
  712. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -3
  713. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +7 -7
  714. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
  715. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  716. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  717. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +8 -7
  718. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +5 -5
  719. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +3 -2
  720. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +6 -6
  721. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +14 -7
  722. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +5 -5
  723. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +2 -1
  724. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +4 -4
  725. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.js +9 -8
  726. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.d.ts +3 -6
  727. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.selectors.js +9 -4
  728. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +6 -3
  729. package/internals/plugins/featurePlugins/useChartVisibilityManager/visibilityParamToMap.d.ts +3 -3
  730. package/internals/plugins/featurePlugins/useChartVisibilityManager/visibilityParamToMap.js +1 -1
  731. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
  732. package/internals/plugins/models/index.d.ts +1 -2
  733. package/internals/plugins/models/index.js +0 -11
  734. package/internals/plugins/models/plugin.d.ts +1 -16
  735. package/internals/plugins/utils/defaultSeriesConfig.d.ts +2 -0
  736. package/internals/plugins/utils/defaultSeriesConfig.js +16 -0
  737. package/internals/seriesSelectorOfType.d.ts +8 -8
  738. package/internals/seriesSelectorOfType.js +1 -1
  739. package/internals/sliceUntil.js +3 -1
  740. package/internals/stacking/stackSeries.d.ts +3 -2
  741. package/internals/stacking/stackSeries.js +0 -1
  742. package/internals/store/useCharts.d.ts +2 -7
  743. package/internals/store/useCharts.js +4 -12
  744. package/internals/store/useCharts.types.d.ts +6 -0
  745. package/models/axis.d.ts +16 -3
  746. package/models/index.d.ts +1 -0
  747. package/models/seriesType/bar.d.ts +1 -1
  748. package/models/seriesType/common.d.ts +5 -5
  749. package/models/seriesType/config.d.ts +8 -1
  750. package/models/seriesType/index.d.ts +8 -30
  751. package/models/seriesType/index.js +1 -48
  752. package/models/seriesType/line.d.ts +1 -1
  753. package/models/seriesType/pie.d.ts +1 -1
  754. package/models/seriesType/radar.d.ts +1 -1
  755. package/models/seriesType/scatter.d.ts +1 -1
  756. package/package.json +20 -8
  757. package/ChartsTooltip/useAxisTooltip.d.ts +0 -42
  758. package/ChartsTooltip/useAxisTooltip.js +0 -181
  759. package/esm/ChartsTooltip/useAxisTooltip.d.ts +0 -42
  760. package/esm/ChartsTooltip/useAxisTooltip.js +0 -176
  761. package/esm/internals/getBarDimensions.js +0 -55
  762. package/esm/internals/getSVGPoint.d.ts +0 -6
  763. package/esm/internals/getSVGPoint.js +0 -11
  764. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/isIdentifierVisible.d.ts +0 -4
  765. package/esm/internals/plugins/featurePlugins/useChartVisibilityManager/isIdentifierVisible.js +0 -5
  766. package/esm/internals/plugins/models/seriesConfig/getItemAtPosition.types.d.ts +0 -8
  767. package/esm/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +0 -3
  768. package/esm/internals/plugins/models/seriesConfig/identifierSerializer.types.d.ts +0 -2
  769. package/esm/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +0 -4
  770. package/internals/getBarDimensions.js +0 -61
  771. package/internals/getSVGPoint.d.ts +0 -6
  772. package/internals/getSVGPoint.js +0 -17
  773. package/internals/plugins/featurePlugins/useChartVisibilityManager/isIdentifierVisible.d.ts +0 -4
  774. package/internals/plugins/featurePlugins/useChartVisibilityManager/isIdentifierVisible.js +0 -12
  775. package/internals/plugins/models/seriesConfig/getItemAtPosition.types.d.ts +0 -8
  776. package/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +0 -3
  777. package/internals/plugins/models/seriesConfig/identifierSerializer.types.d.ts +0 -2
  778. package/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +0 -4
  779. /package/esm/internals/plugins/{models/seriesConfig/cartesianExtremumGetter.types.js → corePlugins/useChartElementRef/useChartElementRef.types.js} +0 -0
  780. /package/esm/internals/plugins/{models/seriesConfig/colorProcessor.types.js → corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.js} +0 -0
  781. /package/esm/internals/plugins/{models/seriesConfig/getItemAtPosition.types.js → corePlugins/useChartSeriesConfig/types/colorProcessor.types.js} +0 -0
  782. /package/esm/internals/plugins/{models/seriesConfig/getSeriesWithDefaultValues.types.js → corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.js} +0 -0
  783. /package/esm/internals/plugins/{models/seriesConfig/identifierSerializer.types.js → corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.js} +0 -0
  784. /package/esm/internals/plugins/{models/seriesConfig/legendGetter.types.js → corePlugins/useChartSeriesConfig/types/identifierCleaner.types.js} +0 -0
  785. /package/esm/internals/plugins/{models/seriesConfig/polarExtremumGetter.types.js → corePlugins/useChartSeriesConfig/types/identifierSerializer.types.js} +0 -0
  786. /package/esm/internals/plugins/{models/seriesConfig/seriesConfig.types.js → corePlugins/useChartSeriesConfig/types/legendGetter.types.js} +0 -0
  787. /package/esm/internals/plugins/{models/seriesConfig/seriesLayout.types.js → corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.js} +0 -0
  788. /package/esm/internals/plugins/{models/seriesConfig/seriesProcessor.types.js → corePlugins/useChartSeriesConfig/types/seriesConfig.types.js} +0 -0
  789. /package/esm/internals/plugins/{models/seriesConfig/tooltipGetter.types.js → corePlugins/useChartSeriesConfig/types/seriesLayout.types.js} +0 -0
  790. /package/esm/internals/plugins/{models/seriesConfig/tooltipItemPositionGetter.types.js → corePlugins/useChartSeriesConfig/types/seriesProcessor.types.js} +0 -0
  791. /package/esm/internals/plugins/corePlugins/{useChartSeries → useChartSeriesConfig/utils}/serializeIdentifier.js +0 -0
  792. /package/internals/plugins/{models/seriesConfig/cartesianExtremumGetter.types.js → corePlugins/useChartElementRef/useChartElementRef.types.js} +0 -0
  793. /package/internals/plugins/{models/seriesConfig/colorProcessor.types.js → corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.js} +0 -0
  794. /package/internals/plugins/{models/seriesConfig/getItemAtPosition.types.js → corePlugins/useChartSeriesConfig/types/colorProcessor.types.js} +0 -0
  795. /package/internals/plugins/{models/seriesConfig/getSeriesWithDefaultValues.types.js → corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.js} +0 -0
  796. /package/internals/plugins/{models/seriesConfig/identifierSerializer.types.js → corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.js} +0 -0
  797. /package/internals/plugins/{models/seriesConfig/legendGetter.types.js → corePlugins/useChartSeriesConfig/types/identifierCleaner.types.js} +0 -0
  798. /package/internals/plugins/{models/seriesConfig/polarExtremumGetter.types.js → corePlugins/useChartSeriesConfig/types/identifierSerializer.types.js} +0 -0
  799. /package/internals/plugins/{models/seriesConfig/seriesConfig.types.js → corePlugins/useChartSeriesConfig/types/legendGetter.types.js} +0 -0
  800. /package/internals/plugins/{models/seriesConfig/seriesLayout.types.js → corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.js} +0 -0
  801. /package/internals/plugins/{models/seriesConfig/seriesProcessor.types.js → corePlugins/useChartSeriesConfig/types/seriesConfig.types.js} +0 -0
  802. /package/internals/plugins/{models/seriesConfig/tooltipGetter.types.js → corePlugins/useChartSeriesConfig/types/seriesLayout.types.js} +0 -0
  803. /package/internals/plugins/{models/seriesConfig/tooltipItemPositionGetter.types.js → corePlugins/useChartSeriesConfig/types/seriesProcessor.types.js} +0 -0
  804. /package/internals/plugins/corePlugins/{useChartSeries → useChartSeriesConfig/utils}/serializeIdentifier.js +0 -0
@@ -19,7 +19,7 @@ var _useChartSeries = require("../../corePlugins/useChartSeries/useChartSeries.s
19
19
  var _defaultizeAxis = require("./defaultizeAxis");
20
20
  var _useChartCartesianAxisRendering = require("./useChartCartesianAxisRendering.selectors");
21
21
  var _getAxisValue = require("./getAxisValue");
22
- var _getSVGPoint = require("../../../getSVGPoint");
22
+ var _getChartPoint = require("../../../getChartPoint");
23
23
  var _useChartInteraction = require("../useChartInteraction");
24
24
  var _useChartCartesianInteraction = require("./useChartCartesianInteraction.selectors");
25
25
  var _checkHasInteractionPlugin = require("../useChartInteraction/checkHasInteractionPlugin");
@@ -27,15 +27,18 @@ const AXIS_CLICK_SERIES_TYPES = new Set(['bar', 'rangeBar', 'line']);
27
27
  const useChartCartesianAxis = ({
28
28
  params,
29
29
  store,
30
- seriesConfig,
31
- svgRef,
32
30
  instance
33
31
  }) => {
32
+ const {
33
+ svgRef
34
+ } = instance;
34
35
  const {
35
36
  xAxis,
36
37
  yAxis,
37
38
  dataset,
38
- onHighlightedAxisChange
39
+ onHighlightedAxisChange,
40
+ onTooltipAxisChange,
41
+ axesGap
39
42
  } = params;
40
43
  if (process.env.NODE_ENV !== 'production') {
41
44
  const ids = [...(xAxis ?? []), ...(yAxis ?? [])].filter(axis => axis.id).map(axis => axis.id);
@@ -62,11 +65,23 @@ const useChartCartesianAxis = ({
62
65
  controlled: params.highlightedAxis,
63
66
  defaultValue: undefined
64
67
  });
68
+ (0, _useAssertModelConsistency.useAssertModelConsistency)({
69
+ warningPrefix: 'MUI X Charts',
70
+ componentName: 'Chart',
71
+ propName: 'tooltipAxis',
72
+ controlled: params.tooltipAxis,
73
+ defaultValue: undefined
74
+ });
65
75
  (0, _useEnhancedEffect.default)(() => {
66
76
  if (params.highlightedAxis !== undefined) {
67
77
  store.set('controlledCartesianAxisHighlight', params.highlightedAxis);
68
78
  }
69
79
  }, [store, params.highlightedAxis]);
80
+ (0, _useEnhancedEffect.default)(() => {
81
+ if (params.tooltipAxis !== undefined) {
82
+ store.set('controlledCartesianAxisTooltip', params.tooltipAxis);
83
+ }
84
+ }, [store, params.tooltipAxis]);
70
85
 
71
86
  // The effect do not track any value defined synchronously during the 1st render by hooks called after `useChartCartesianAxis`
72
87
  // As a consequence, the state generated by the 1st run of this useEffect will always be equal to the initialization one
@@ -77,28 +92,31 @@ const useChartCartesianAxis = ({
77
92
  return;
78
93
  }
79
94
  store.set('cartesianAxis', {
80
- x: (0, _defaultizeAxis.defaultizeXAxis)(xAxis, dataset),
81
- y: (0, _defaultizeAxis.defaultizeYAxis)(yAxis, dataset)
95
+ axesGap,
96
+ x: (0, _defaultizeAxis.defaultizeXAxis)(xAxis, dataset, axesGap),
97
+ y: (0, _defaultizeAxis.defaultizeYAxis)(yAxis, dataset, axesGap)
82
98
  });
83
- }, [seriesConfig, drawingArea, xAxis, yAxis, dataset, store]);
99
+ }, [drawingArea, xAxis, yAxis, dataset, axesGap, store]);
84
100
  const usedXAxis = xAxisIds[0];
85
101
  const usedYAxis = yAxisIds[0];
86
102
  (0, _store.useStoreEffect)(store, _useChartCartesianInteraction.selectorChartAxisInteraction, (prevAxisInteraction, nextAxisInteraction) => {
87
- if (!onHighlightedAxisChange) {
103
+ if (!onHighlightedAxisChange && !onTooltipAxisChange) {
88
104
  return;
89
105
  }
90
106
  if (Object.is(prevAxisInteraction, nextAxisInteraction)) {
91
107
  return;
92
108
  }
93
109
  if (prevAxisInteraction.length !== nextAxisInteraction.length) {
94
- onHighlightedAxisChange(nextAxisInteraction);
110
+ onHighlightedAxisChange?.(nextAxisInteraction);
111
+ onTooltipAxisChange?.(nextAxisInteraction);
95
112
  return;
96
113
  }
97
114
  if (prevAxisInteraction?.some(({
98
115
  axisId,
99
116
  dataIndex
100
117
  }, itemIndex) => nextAxisInteraction[itemIndex].axisId !== axisId || nextAxisInteraction[itemIndex].dataIndex !== dataIndex)) {
101
- onHighlightedAxisChange(nextAxisInteraction);
118
+ onHighlightedAxisChange?.(nextAxisInteraction);
119
+ onTooltipAxisChange?.(nextAxisInteraction);
102
120
  }
103
121
  });
104
122
  const hasInteractionPlugin = (0, _checkHasInteractionPlugin.checkHasInteractionPlugin)(instance);
@@ -127,7 +145,7 @@ const useChartCartesianAxis = ({
127
145
  const gestureHandler = event => {
128
146
  const srvEvent = event.detail.srcEvent;
129
147
  const target = event.detail.target;
130
- const svgPoint = (0, _getSVGPoint.getSVGPoint)(element, srvEvent);
148
+ const svgPoint = (0, _getChartPoint.getChartPoint)(element, srvEvent);
131
149
 
132
150
  // Release the pointer capture if we are panning, as this would cause the tooltip to
133
151
  // be locked to the first "section" it touches.
@@ -161,7 +179,7 @@ const useChartCartesianAxis = ({
161
179
  const axisClickHandler = instance.addInteractionListener('tap', event => {
162
180
  let dataIndex = null;
163
181
  let isXAxis = false;
164
- const svgPoint = (0, _getSVGPoint.getSVGPoint)(element, event.detail.srcEvent);
182
+ const svgPoint = (0, _getChartPoint.getChartPoint)(element, event.detail.srcEvent);
165
183
  const xIndex = (0, _getAxisValue.getAxisIndex)(xAxisWithScale[usedXAxis], svgPoint.x);
166
184
  isXAxis = xIndex !== -1;
167
185
  dataIndex = isXAxis ? xIndex : (0, _getAxisValue.getAxisIndex)(yAxisWithScale[usedYAxis], svgPoint.y);
@@ -210,20 +228,25 @@ useChartCartesianAxis.params = {
210
228
  onAxisClick: true,
211
229
  disableAxisListener: true,
212
230
  onHighlightedAxisChange: true,
213
- highlightedAxis: true
231
+ highlightedAxis: true,
232
+ onTooltipAxisChange: true,
233
+ tooltipAxis: true,
234
+ axesGap: true
214
235
  };
215
236
  useChartCartesianAxis.getDefaultizedParams = ({
216
237
  params
217
238
  }) => {
218
239
  return (0, _extends2.default)({}, params, {
240
+ axesGap: params.axesGap ?? 0,
219
241
  colors: params.colors ?? _colorPalettes.rainbowSurgePalette,
220
242
  theme: params.theme ?? 'light',
221
- defaultizedXAxis: (0, _defaultizeAxis.defaultizeXAxis)(params.xAxis, params.dataset),
222
- defaultizedYAxis: (0, _defaultizeAxis.defaultizeYAxis)(params.yAxis, params.dataset)
243
+ defaultizedXAxis: (0, _defaultizeAxis.defaultizeXAxis)(params.xAxis, params.dataset, params.axesGap ?? 0),
244
+ defaultizedYAxis: (0, _defaultizeAxis.defaultizeYAxis)(params.yAxis, params.dataset, params.axesGap ?? 0)
223
245
  });
224
246
  };
225
247
  useChartCartesianAxis.getInitialState = params => (0, _extends2.default)({
226
248
  cartesianAxis: {
249
+ axesGap: params.axesGap,
227
250
  x: params.defaultizedXAxis,
228
251
  y: params.defaultizedYAxis
229
252
  }
@@ -50,14 +50,32 @@ export interface UseChartCartesianAxisParameters<S extends ScaleName = ScaleName
50
50
  * Identified by the axis id, and data index.
51
51
  */
52
52
  highlightedAxis?: AxisItemIdentifier[];
53
+ /**
54
+ * The function called when the pointer position corresponds to a new axis data item.
55
+ * This update can either be caused by a pointer movement, or an axis update.
56
+ * In case of multiple axes, the function is called if at least one axis is updated.
57
+ * The argument contains the identifier for all axes with a `data` property.
58
+ * @param {AxisItemIdentifier[]} axisItems The array of axes item identifiers.
59
+ */
60
+ onTooltipAxisChange?: (axisItems: AxisItemIdentifier[]) => void;
61
+ /**
62
+ * The controlled axis tooltip.
63
+ * Identified by the axis id, and data index.
64
+ */
65
+ tooltipAxis?: AxisItemIdentifier[];
53
66
  /**
54
67
  * If `true`, the charts will not listen to the mouse move event.
55
68
  * It might break interactive features, but will improve performance.
56
69
  * @default false
57
70
  */
58
71
  disableAxisListener?: boolean;
72
+ /**
73
+ * A gap added between axes when multiple axes are rendered on the same side of the chart.
74
+ * @default 0
75
+ */
76
+ axesGap?: number;
59
77
  }
60
- export type UseChartCartesianAxisDefaultizedParameters<S extends ScaleName = ScaleName> = UseChartCartesianAxisParameters<S> & {
78
+ export type UseChartCartesianAxisDefaultizedParameters<S extends ScaleName = ScaleName> = UseChartCartesianAxisParameters<S> & Required<Pick<UseChartCartesianAxisParameters<S>, 'axesGap'>> & {
61
79
  defaultizedXAxis: DefaultedXAxis<S>[];
62
80
  defaultizedYAxis: DefaultedYAxis<S>[];
63
81
  };
@@ -79,6 +97,7 @@ export interface UseChartCartesianAxisState {
79
97
  zoomData: readonly ZoomData[];
80
98
  };
81
99
  cartesianAxis: {
100
+ axesGap: number;
82
101
  x: DefaultedXAxis[];
83
102
  y: DefaultedYAxis[];
84
103
  };
@@ -86,6 +105,10 @@ export interface UseChartCartesianAxisState {
86
105
  * The controlled axis item highlighted.
87
106
  */
88
107
  controlledCartesianAxisHighlight?: AxisItemIdentifier[];
108
+ /**
109
+ * The controlled axis tooltip.
110
+ */
111
+ controlledCartesianAxisTooltip?: AxisItemIdentifier[];
89
112
  }
90
113
  export type ExtremumFilter = (value: {
91
114
  x: number | Date | string | null;
@@ -2,10 +2,12 @@ import { type UseChartCartesianAxisSignature } from "./useChartCartesianAxis.typ
2
2
  import { type DefaultedXAxis, type DefaultedYAxis } from "../../../../models/axis.js";
3
3
  import { type ChartState } from "../../models/chart.js";
4
4
  export declare const selectorChartCartesianAxisState: (state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
5
+ axesGap: number;
5
6
  x: DefaultedXAxis[];
6
7
  y: DefaultedYAxis[];
7
8
  } | undefined;
8
9
  export type SelectorChartRawXAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedXAxis[] | undefined;
9
10
  export declare const selectorChartRawXAxis: SelectorChartRawXAxisType;
10
11
  export type SelectorChartRawYAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedYAxis[] | undefined;
11
- export declare const selectorChartRawYAxis: SelectorChartRawYAxisType;
12
+ export declare const selectorChartRawYAxis: SelectorChartRawYAxisType;
13
+ export declare const selectorChartCartesianAxesGap: (state: ChartState<[], [UseChartCartesianAxisSignature]>) => number;
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.selectorChartRawYAxis = exports.selectorChartRawXAxis = exports.selectorChartCartesianAxisState = void 0;
6
+ exports.selectorChartRawYAxis = exports.selectorChartRawXAxis = exports.selectorChartCartesianAxisState = exports.selectorChartCartesianAxesGap = void 0;
7
7
  const selectorChartCartesianAxisState = state => state.cartesianAxis;
8
8
  exports.selectorChartCartesianAxisState = selectorChartCartesianAxisState;
9
9
  const selectorChartRawXAxis = state => state.cartesianAxis?.x;
10
10
  exports.selectorChartRawXAxis = selectorChartRawXAxis;
11
11
  const selectorChartRawYAxis = state => state.cartesianAxis?.y;
12
- exports.selectorChartRawYAxis = selectorChartRawYAxis;
12
+ exports.selectorChartRawYAxis = selectorChartRawYAxis;
13
+ const selectorChartCartesianAxesGap = state => state.cartesianAxis?.axesGap ?? 0;
14
+ exports.selectorChartCartesianAxesGap = selectorChartCartesianAxesGap;
@@ -1,4 +1,4 @@
1
1
  import { type BarItemIdentifier } from "../../../../models/index.js";
2
- export declare const selectorBarItemAtPosition: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
2
+ export declare const selectorBarItemAtPosition: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
3
3
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
4
4
  }, svgPoint: Pick<DOMPoint, "x" | "y">) => BarItemIdentifier | undefined;
@@ -1,13 +1,13 @@
1
1
  import { type AxisId, type D3Scale } from "../../../../models/axis.js";
2
- export declare const selectorChartPreviewXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
2
+ export declare const selectorChartPreviewXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
3
3
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
4
4
  }, axisId: AxisId) => Record<AxisId, D3Scale>;
5
- export declare const selectorChartPreviewComputedXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
5
+ export declare const selectorChartPreviewComputedXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
6
6
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
7
7
  }, axisId: AxisId) => import("./useChartCartesianAxis.types.js").ComputedAxisConfig<import("../../../index.js").ChartsXAxisProps>;
8
- export declare const selectorChartPreviewYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
8
+ export declare const selectorChartPreviewYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
9
9
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
10
10
  }, axisId: AxisId) => Record<AxisId, D3Scale>;
11
- export declare const selectorChartPreviewComputedYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
11
+ export declare const selectorChartPreviewComputedYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
12
12
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
13
13
  }, axisId: AxisId) => import("./useChartCartesianAxis.types.js").ComputedAxisConfig<import("../../../index.js").ChartsYAxisProps>;
@@ -14,6 +14,7 @@ var _constants = require("../../../constants");
14
14
  var _getAxisScale = require("./getAxisScale");
15
15
  var _zoom = require("./zoom");
16
16
  var _scaleGuards = require("../../../scaleGuards");
17
+ var _useChartSeriesConfig = require("../../corePlugins/useChartSeriesConfig");
17
18
  function createPreviewDrawingArea(axisDirection, mainChartDrawingArea) {
18
19
  return axisDirection === 'x' ? {
19
20
  left: 0,
@@ -46,7 +47,7 @@ const selectorChartPreviewXScales = exports.selectorChartPreviewXScales = (0, _s
46
47
  });
47
48
  return scales;
48
49
  });
49
- const selectorChartPreviewComputedXAxis = exports.selectorChartPreviewComputedXAxis = (0, _store.createSelectorMemoized)(_useChartSeries.selectorChartSeriesProcessed, _useChartSeries.selectorChartSeriesConfig, _useChartCartesianAxisRendering.selectorChartZoomOptionsLookup, _useChartDimensions.selectorChartDrawingArea, selectorChartPreviewXScales, _useChartCartesianAxisRendering.selectorChartXAxisWithDomains, (formattedSeries, seriesConfig, zoomOptions, chartDrawingArea, scales, {
50
+ const selectorChartPreviewComputedXAxis = exports.selectorChartPreviewComputedXAxis = (0, _store.createSelectorMemoized)(_useChartSeries.selectorChartSeriesProcessed, _useChartSeriesConfig.selectorChartSeriesConfig, _useChartCartesianAxisRendering.selectorChartZoomOptionsLookup, _useChartDimensions.selectorChartDrawingArea, selectorChartPreviewXScales, _useChartCartesianAxisRendering.selectorChartXAxisWithDomains, (formattedSeries, seriesConfig, zoomOptions, chartDrawingArea, scales, {
50
51
  axes,
51
52
  domains
52
53
  }, axisId) => {
@@ -93,7 +94,7 @@ const selectorChartPreviewYScales = exports.selectorChartPreviewYScales = (0, _s
93
94
  });
94
95
  return scales;
95
96
  });
96
- const selectorChartPreviewComputedYAxis = exports.selectorChartPreviewComputedYAxis = (0, _store.createSelectorMemoized)(_useChartSeries.selectorChartSeriesProcessed, _useChartSeries.selectorChartSeriesConfig, _useChartCartesianAxisRendering.selectorChartZoomOptionsLookup, _useChartDimensions.selectorChartDrawingArea, selectorChartPreviewYScales, _useChartCartesianAxisRendering.selectorChartYAxisWithDomains, (formattedSeries, seriesConfig, zoomOptions, chartDrawingArea, scales, {
97
+ const selectorChartPreviewComputedYAxis = exports.selectorChartPreviewComputedYAxis = (0, _store.createSelectorMemoized)(_useChartSeries.selectorChartSeriesProcessed, _useChartSeriesConfig.selectorChartSeriesConfig, _useChartCartesianAxisRendering.selectorChartZoomOptionsLookup, _useChartDimensions.selectorChartDrawingArea, selectorChartPreviewYScales, _useChartCartesianAxisRendering.selectorChartYAxisWithDomains, (formattedSeries, seriesConfig, zoomOptions, chartDrawingArea, scales, {
97
98
  axes,
98
99
  domains
99
100
  }, axisId) => {
@@ -1,88 +1,87 @@
1
1
  import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
2
  import { type ZoomData } from "./zoom.types.js";
3
3
  import { type AxisId, type D3Scale, type DefaultedAxis } from "../../../../models/axis.js";
4
- import { type SeriesId } from "../../../../models/seriesType/common.js";
5
4
  import { Flatbush } from "../../../Flatbush.js";
6
5
  export declare const createZoomMap: (zoom: readonly ZoomData[]) => Map<AxisId, ZoomData>;
7
6
  /**
8
7
  * Following selectors are not exported because they exist in the MIT chart only to ba able to reuse the Zoom state from the pro.
9
8
  */
10
- export declare const selectorChartZoomIsInteracting: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
9
+ export declare const selectorChartZoomIsInteracting: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
11
10
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
12
11
  }) => boolean | undefined;
13
- export declare const selectorChartZoomMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
12
+ export declare const selectorChartZoomMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
14
13
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
15
14
  }) => Map<AxisId, ZoomData> | undefined;
16
- export declare const selectorChartAxisZoomData: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
15
+ export declare const selectorChartAxisZoomData: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
17
16
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
18
17
  }, axisId: AxisId) => ZoomData | undefined;
19
- export declare const selectorChartZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
18
+ export declare const selectorChartZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
20
19
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
21
20
  }) => {
22
21
  [x: string]: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
23
22
  [x: number]: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
24
23
  };
25
- export declare const selectorChartAxisZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
24
+ export declare const selectorChartAxisZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
26
25
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
27
26
  }, axisId: AxisId) => import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
28
- export declare const selectorDefaultXAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
27
+ export declare const selectorDefaultXAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
29
28
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
30
29
  }) => number;
31
- export declare const selectorDefaultYAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
30
+ export declare const selectorDefaultYAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
32
31
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
33
32
  }) => number;
34
33
  type DomainDefinition = {
35
34
  domain: ReadonlyArray<string | NumberValue>;
36
35
  tickNumber?: number;
37
36
  };
38
- export declare const selectorChartXAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
37
+ export declare const selectorChartXAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
39
38
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
40
39
  }) => {
41
40
  axes: import("../../../index.js").DefaultedXAxis[] | undefined;
42
41
  domains: Record<AxisId, DomainDefinition>;
43
42
  };
44
- export declare const selectorChartYAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
43
+ export declare const selectorChartYAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
45
44
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
46
45
  }) => {
47
46
  axes: import("../../../index.js").DefaultedYAxis[] | undefined;
48
47
  domains: Record<AxisId, DomainDefinition>;
49
48
  };
50
- export declare const selectorChartZoomAxisFilters: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
49
+ export declare const selectorChartZoomAxisFilters: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
51
50
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
52
51
  }) => import("./zoom.types.js").GetZoomAxisFilters | undefined;
53
- export declare const selectorChartFilteredXDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
52
+ export declare const selectorChartFilteredXDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
54
53
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
55
54
  }) => Record<AxisId, readonly (string | NumberValue)[]>;
56
- export declare const selectorChartFilteredYDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
55
+ export declare const selectorChartFilteredYDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
57
56
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
58
57
  }) => Record<AxisId, readonly (string | NumberValue)[]>;
59
- export declare const selectorChartNormalizedXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
58
+ export declare const selectorChartNormalizedXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
60
59
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
61
60
  }) => Record<AxisId, D3Scale>;
62
- export declare const selectorChartNormalizedYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
61
+ export declare const selectorChartNormalizedYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
63
62
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
64
63
  }) => Record<AxisId, D3Scale>;
65
- export declare const selectorChartXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
64
+ export declare const selectorChartXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
66
65
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
67
66
  }) => Record<AxisId, D3Scale>;
68
- export declare const selectorChartYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
67
+ export declare const selectorChartYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
69
68
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
70
69
  }) => Record<AxisId, D3Scale>;
71
70
  /**
72
71
  * The only interesting selectors that merge axis data and zoom if provided.
73
72
  */
74
- export declare const selectorChartXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
73
+ export declare const selectorChartXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
75
74
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
76
75
  }) => import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsXAxisProps>;
77
- export declare const selectorChartYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
76
+ export declare const selectorChartYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
78
77
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
79
78
  }) => import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsYAxisProps>;
80
- export declare const selectorChartAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
79
+ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
81
80
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
82
81
  }, axisId: AxisId) => import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("../../../index.js").ChartsXAxisProps>;
83
- export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
82
+ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
84
83
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
85
- }, axisId: AxisId) => ({
84
+ }, axisId: AxisId) => DefaultedAxis<"time", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"log", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"band", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"point", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("../../../index.js").ChartsXAxisProps> | ({
86
85
  offset?: number;
87
86
  } & {
88
87
  id: AxisId;
@@ -91,39 +90,22 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
91
90
  valueFormatter?: (<TScaleName extends keyof import("../../../index.js").AxisScaleConfig>(value: any, context: import("../../../index.js").AxisValueFormatterContext<TScaleName>) => string) | undefined;
92
91
  hideTooltip?: boolean;
93
92
  reverse?: boolean;
94
- domainLimit?: "nice" | "strict" | ((min: number, max: number) => {
95
- min: number;
96
- max: number;
93
+ domainLimit?: "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
94
+ min: NumberValue;
95
+ max: NumberValue;
97
96
  });
98
97
  ignoreTooltip?: boolean;
99
98
  } & Omit<Partial<import("../../../index.js").ChartsYAxisProps>, "axisId"> & Partial<Omit<{
100
99
  scaleType: "time";
101
100
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
102
101
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
103
- } | {
104
- scaleType: "log";
105
- scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
106
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
107
102
  } | {
108
103
  scaleType: "linear";
109
104
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
110
105
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
111
106
  } | {
112
- scaleType: "symlog";
113
- scale: import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number>;
114
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
115
- constant?: number;
116
- } | {
117
- scaleType: "pow";
118
- scale: import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number>;
119
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
120
- } | {
121
- scaleType: "sqrt";
122
- scale: import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number>;
123
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
124
- } | {
125
- scaleType: "utc";
126
- scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
107
+ scaleType: "log";
108
+ scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
127
109
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
128
110
  } | ({
129
111
  scaleType: "band";
@@ -141,20 +123,37 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
141
123
  toString(): string;
142
124
  }>;
143
125
  colorMap?: import("../../../../models/colorMapping.js").OrdinalColorConfig | import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
144
- } & import("../../../index.js").AxisGroups), "scale">> & {
126
+ } & import("../../../index.js").AxisGroups) | {
127
+ scaleType: "symlog";
128
+ scale: import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number>;
129
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
130
+ constant?: number;
131
+ } | {
132
+ scaleType: "pow";
133
+ scale: import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number>;
134
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
135
+ } | {
136
+ scaleType: "sqrt";
137
+ scale: import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number>;
138
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
139
+ } | {
140
+ scaleType: "utc";
141
+ scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
142
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
143
+ }, "scale">> & {
145
144
  position?: "left" | "right" | "none";
146
145
  width?: number;
147
146
  } & import("../../../../hooks/useTicks.js").TickParams & import("../../../index.js").AxisConfigExtension & {
148
147
  zoom: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions | undefined;
149
- }) | DefaultedAxis<"time", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"log", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"linear", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"band", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"point", any, import("../../../index.js").ChartsXAxisProps> | undefined;
150
- export declare const selectorChartDefaultXAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
148
+ }) | undefined;
149
+ export declare const selectorChartDefaultXAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
151
150
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
152
151
  }) => AxisId;
153
- export declare const selectorChartDefaultYAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
152
+ export declare const selectorChartDefaultYAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
154
153
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
155
154
  }) => AxisId;
156
- export declare const selectorChartSeriesEmptyFlatbushMap: () => Map<SeriesId, Flatbush>;
157
- export declare const selectorChartSeriesFlatbushMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
155
+ export declare const selectorChartSeriesEmptyFlatbushMap: () => Map<string, Flatbush>;
156
+ export declare const selectorChartSeriesFlatbushMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
158
157
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
159
- }) => Map<SeriesId, Flatbush>;
158
+ }) => Map<string, Flatbush>;
160
159
  export {};