@mui/x-charts 9.6.0 → 9.8.0

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 (723) hide show
  1. package/BarChart/AnimatedBarElement.d.mts +2 -2
  2. package/BarChart/AnimatedBarElement.d.ts +2 -2
  3. package/BarChart/BarChart.d.mts +12 -12
  4. package/BarChart/BarChart.d.ts +12 -12
  5. package/BarChart/BarChart.plugins.d.mts +9 -9
  6. package/BarChart/BarChart.plugins.d.ts +9 -9
  7. package/BarChart/BarElement.d.mts +3 -3
  8. package/BarChart/BarElement.d.ts +3 -3
  9. package/BarChart/BarLabel/BarLabel.d.mts +1 -1
  10. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  11. package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
  12. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  13. package/BarChart/BarLabel/BarLabelItem.d.mts +4 -4
  14. package/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
  15. package/BarChart/BarLabel/BarLabelPlot.d.mts +3 -3
  16. package/BarChart/BarLabel/BarLabelPlot.d.ts +3 -3
  17. package/BarChart/BarLabel/getBarLabel.d.mts +3 -3
  18. package/BarChart/BarLabel/getBarLabel.d.ts +3 -3
  19. package/BarChart/BarPlot.d.mts +4 -4
  20. package/BarChart/BarPlot.d.ts +4 -4
  21. package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +1 -1
  22. package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +1 -1
  23. package/BarChart/IndividualBarPlot.d.mts +3 -3
  24. package/BarChart/IndividualBarPlot.d.ts +3 -3
  25. package/BarChart/barClasses.d.mts +1 -1
  26. package/BarChart/barClasses.d.ts +1 -1
  27. package/BarChart/checkBarChartScaleErrors.d.mts +2 -2
  28. package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  29. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +1 -1
  30. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
  31. package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.mts +1 -1
  32. package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +1 -1
  33. package/BarChart/useBarChartProps.d.mts +10 -10
  34. package/BarChart/useBarChartProps.d.ts +10 -10
  35. package/BarChart/useBarPlotData.d.mts +5 -5
  36. package/BarChart/useBarPlotData.d.ts +5 -5
  37. package/BarChart/useRegisterItemClickHandlers.d.mts +1 -1
  38. package/BarChart/useRegisterItemClickHandlers.d.ts +1 -1
  39. package/CHANGELOG.md +241 -2
  40. package/ChartsAxis/ChartsAxis.d.mts +1 -1
  41. package/ChartsAxis/ChartsAxis.d.ts +1 -1
  42. package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +1 -1
  43. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  44. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.mts +1 -1
  45. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  46. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -2
  47. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  48. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -2
  49. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  50. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +2 -2
  51. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +2 -2
  52. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +1 -1
  53. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +1 -1
  54. package/ChartsContainer/ChartsContainer.d.mts +5 -5
  55. package/ChartsContainer/ChartsContainer.d.ts +5 -5
  56. package/ChartsContainer/useChartsContainerProps.d.mts +5 -5
  57. package/ChartsContainer/useChartsContainerProps.d.ts +5 -5
  58. package/ChartsDataProvider/ChartsDataProvider.d.mts +6 -6
  59. package/ChartsDataProvider/ChartsDataProvider.d.ts +6 -6
  60. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +5 -5
  61. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +5 -5
  62. package/ChartsGrid/ChartsGrid.d.mts +1 -1
  63. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  64. package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -2
  65. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  66. package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -2
  67. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  68. package/ChartsLabel/ChartsLabel.d.mts +2 -2
  69. package/ChartsLabel/ChartsLabel.d.ts +2 -2
  70. package/ChartsLabel/ChartsLabelGradient.d.mts +2 -2
  71. package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  72. package/ChartsLabel/ChartsLabelMark.d.mts +2 -2
  73. package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  74. package/ChartsLayerContainer/ChartsLayerContainer.d.mts +1 -1
  75. package/ChartsLayerContainer/ChartsLayerContainer.d.ts +1 -1
  76. package/ChartsLegend/ChartsLegend.d.mts +3 -3
  77. package/ChartsLegend/ChartsLegend.d.ts +3 -3
  78. package/ChartsLegend/ContinuousColorLegend.d.mts +6 -6
  79. package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  80. package/ChartsLegend/PiecewiseColorLegend.d.mts +8 -8
  81. package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  82. package/ChartsLegend/chartsLegend.types.d.mts +3 -3
  83. package/ChartsLegend/chartsLegend.types.d.ts +3 -3
  84. package/ChartsLegend/colorLegend.types.d.mts +1 -1
  85. package/ChartsLegend/colorLegend.types.d.ts +1 -1
  86. package/ChartsLegend/legend.types.d.mts +1 -1
  87. package/ChartsLegend/legend.types.d.ts +1 -1
  88. package/ChartsLegend/legendContext.types.d.mts +2 -2
  89. package/ChartsLegend/legendContext.types.d.ts +2 -2
  90. package/ChartsLegend/onClickContextBuilder.d.mts +1 -1
  91. package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  92. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.mts +1 -1
  93. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  94. package/ChartsLegend/useAxis.d.mts +3 -3
  95. package/ChartsLegend/useAxis.d.ts +3 -3
  96. package/ChartsOverlay/ChartsOverlay.d.mts +2 -2
  97. package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  98. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +1 -1
  99. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +1 -1
  100. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -2
  101. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -2
  102. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -2
  103. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -2
  104. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +6 -6
  105. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +6 -6
  106. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.mts +6 -6
  107. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.ts +6 -6
  108. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +5 -5
  109. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +5 -5
  110. package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
  111. package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
  112. package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -2
  113. package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -2
  114. package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -2
  115. package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -2
  116. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
  117. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
  118. package/ChartsReferenceLine/ChartsReferenceLine.d.mts +3 -3
  119. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  120. package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +2 -2
  121. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  122. package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +2 -2
  123. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  124. package/ChartsReferenceLine/common.d.mts +3 -3
  125. package/ChartsReferenceLine/common.d.ts +3 -3
  126. package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
  127. package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
  128. package/ChartsSurface/ChartsSurface.d.mts +2 -2
  129. package/ChartsSurface/ChartsSurface.d.ts +2 -2
  130. package/ChartsSvgLayer/ChartsSvgLayer.d.mts +1 -1
  131. package/ChartsSvgLayer/ChartsSvgLayer.d.ts +1 -1
  132. package/ChartsText/ChartsText.d.mts +1 -1
  133. package/ChartsText/ChartsText.d.ts +1 -1
  134. package/ChartsText/defaultTextPlacement.d.mts +1 -1
  135. package/ChartsText/defaultTextPlacement.d.ts +1 -1
  136. package/ChartsTooltip/ChartTooltip.types.d.mts +2 -2
  137. package/ChartsTooltip/ChartTooltip.types.d.ts +2 -2
  138. package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +2 -2
  139. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  140. package/ChartsTooltip/ChartsAxisTooltipContent.js +9 -2
  141. package/ChartsTooltip/ChartsAxisTooltipContent.mjs +9 -2
  142. package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -2
  143. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  144. package/ChartsTooltip/ChartsTooltip.d.mts +2 -2
  145. package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  146. package/ChartsTooltip/ChartsTooltipContainer.d.mts +3 -3
  147. package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  148. package/ChartsTooltip/ChartsTooltipContainer.js +14 -3
  149. package/ChartsTooltip/ChartsTooltipContainer.mjs +15 -4
  150. package/ChartsTooltip/useAxesTooltip.d.mts +4 -4
  151. package/ChartsTooltip/useAxesTooltip.d.ts +4 -4
  152. package/ChartsTooltip/useItemTooltip.d.mts +1 -1
  153. package/ChartsTooltip/useItemTooltip.d.ts +1 -1
  154. package/ChartsWrapper/ChartsWrapper.d.mts +3 -3
  155. package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  156. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +1 -1
  157. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  158. package/ChartsXAxis/ChartsGroupedXAxisTicks.js +3 -13
  159. package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -12
  160. package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
  161. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  162. package/ChartsXAxis/getVisibleLabels.d.mts +2 -2
  163. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  164. package/ChartsXAxis/shortenLabels.d.mts +3 -3
  165. package/ChartsXAxis/shortenLabels.d.ts +3 -3
  166. package/ChartsXAxis/useAxisTicksProps.d.mts +3 -2
  167. package/ChartsXAxis/useAxisTicksProps.d.ts +3 -2
  168. package/ChartsXAxis/utilities.d.mts +1 -1
  169. package/ChartsXAxis/utilities.d.ts +1 -1
  170. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +1 -1
  171. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  172. package/ChartsYAxis/ChartsGroupedYAxisTicks.js +4 -16
  173. package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +3 -13
  174. package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
  175. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  176. package/ChartsYAxis/shortenLabels.d.mts +3 -3
  177. package/ChartsYAxis/shortenLabels.d.ts +3 -3
  178. package/ChartsYAxis/useAxisTicksProps.d.mts +3 -2
  179. package/ChartsYAxis/useAxisTicksProps.d.ts +3 -2
  180. package/ChartsYAxis/utilities.d.mts +1 -1
  181. package/ChartsYAxis/utilities.d.ts +1 -1
  182. package/Gauge/Gauge.d.mts +3 -3
  183. package/Gauge/Gauge.d.ts +3 -3
  184. package/Gauge/GaugeContainer.d.mts +4 -4
  185. package/Gauge/GaugeContainer.d.ts +4 -4
  186. package/Gauge/GaugeValueText.d.mts +1 -1
  187. package/Gauge/GaugeValueText.d.ts +1 -1
  188. package/LineChart/AppearingMask.d.mts +1 -1
  189. package/LineChart/AppearingMask.d.ts +1 -1
  190. package/LineChart/AreaElement.d.mts +5 -5
  191. package/LineChart/AreaElement.d.ts +5 -5
  192. package/LineChart/AreaElement.js +1 -1
  193. package/LineChart/AreaElement.mjs +1 -1
  194. package/LineChart/AreaPlot.d.mts +2 -2
  195. package/LineChart/AreaPlot.d.ts +2 -2
  196. package/LineChart/CircleMarkElement.d.mts +2 -2
  197. package/LineChart/CircleMarkElement.d.ts +2 -2
  198. package/LineChart/LineChart.d.mts +14 -14
  199. package/LineChart/LineChart.d.ts +14 -14
  200. package/LineChart/LineChart.plugins.d.mts +9 -9
  201. package/LineChart/LineChart.plugins.d.ts +9 -9
  202. package/LineChart/LineElement.d.mts +5 -5
  203. package/LineChart/LineElement.d.ts +5 -5
  204. package/LineChart/LineHighlightElement.d.mts +1 -1
  205. package/LineChart/LineHighlightElement.d.ts +1 -1
  206. package/LineChart/LineHighlightPlot.d.mts +2 -2
  207. package/LineChart/LineHighlightPlot.d.ts +2 -2
  208. package/LineChart/LinePlot.d.mts +2 -2
  209. package/LineChart/LinePlot.d.ts +2 -2
  210. package/LineChart/MarkElement.d.mts +9 -1
  211. package/LineChart/MarkElement.d.ts +9 -1
  212. package/LineChart/MarkPlot.d.mts +2 -2
  213. package/LineChart/MarkPlot.d.ts +2 -2
  214. package/LineChart/lineClasses.d.mts +0 -9
  215. package/LineChart/lineClasses.d.ts +0 -9
  216. package/LineChart/lineClasses.js +0 -1
  217. package/LineChart/lineClasses.mjs +1 -1
  218. package/LineChart/seriesConfig/extremums.d.mts +1 -1
  219. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  220. package/LineChart/seriesConfig/getColor.d.mts +1 -1
  221. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  222. package/LineChart/seriesConfig/index.d.mts +1 -1
  223. package/LineChart/seriesConfig/index.d.ts +1 -1
  224. package/LineChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  225. package/LineChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  226. package/LineChart/seriesConfig/legend.d.mts +1 -1
  227. package/LineChart/seriesConfig/legend.d.ts +1 -1
  228. package/LineChart/useAreaPlotData.d.mts +3 -3
  229. package/LineChart/useAreaPlotData.d.ts +3 -3
  230. package/LineChart/useLineChartProps.d.mts +12 -12
  231. package/LineChart/useLineChartProps.d.ts +12 -12
  232. package/LineChart/useLineChartProps.mjs +0 -1
  233. package/LineChart/useLinePlotData.d.mts +3 -3
  234. package/LineChart/useLinePlotData.d.ts +3 -3
  235. package/LineChart/useMarkPlotData.d.mts +4 -4
  236. package/LineChart/useMarkPlotData.d.ts +4 -4
  237. package/PieChart/FocusedPieArc.d.mts +1 -1
  238. package/PieChart/FocusedPieArc.d.ts +1 -1
  239. package/PieChart/PieArc.d.mts +1 -1
  240. package/PieChart/PieArc.d.ts +1 -1
  241. package/PieChart/PieArcLabel.d.mts +2 -2
  242. package/PieChart/PieArcLabel.d.ts +2 -2
  243. package/PieChart/PieArcLabelPlot.d.mts +2 -2
  244. package/PieChart/PieArcLabelPlot.d.ts +2 -2
  245. package/PieChart/PieArcPlot.d.mts +2 -2
  246. package/PieChart/PieArcPlot.d.ts +2 -2
  247. package/PieChart/PieChart.d.mts +11 -11
  248. package/PieChart/PieChart.d.ts +11 -11
  249. package/PieChart/PieChart.plugins.d.mts +6 -6
  250. package/PieChart/PieChart.plugins.d.ts +6 -6
  251. package/PieChart/PiePlot.d.mts +2 -2
  252. package/PieChart/PiePlot.d.ts +2 -2
  253. package/PieChart/dataTransform/useTransformData.d.mts +1 -1
  254. package/PieChart/dataTransform/useTransformData.d.ts +1 -1
  255. package/PieChart/getPieCoordinates.d.mts +2 -2
  256. package/PieChart/getPieCoordinates.d.ts +2 -2
  257. package/PieChart/pieClasses.d.mts +1 -1
  258. package/PieChart/pieClasses.d.ts +1 -1
  259. package/PieChart/seriesConfig/getColor.d.mts +1 -1
  260. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  261. package/PieChart/seriesConfig/index.d.mts +1 -1
  262. package/PieChart/seriesConfig/index.d.ts +1 -1
  263. package/PieChart/seriesConfig/legend.d.mts +1 -1
  264. package/PieChart/seriesConfig/legend.d.ts +1 -1
  265. package/PieChart/seriesConfig/seriesProcessor.d.mts +1 -1
  266. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  267. package/RadarChart/RadarAxis/RadarAxis.d.mts +2 -2
  268. package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  269. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +1 -1
  270. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  271. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
  272. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  273. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.mts +4 -4
  274. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  275. package/RadarChart/RadarChart.d.mts +11 -11
  276. package/RadarChart/RadarChart.d.ts +11 -11
  277. package/RadarChart/RadarChart.plugins.d.mts +6 -6
  278. package/RadarChart/RadarChart.plugins.d.ts +6 -6
  279. package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +6 -6
  280. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  281. package/RadarChart/RadarDataProvider/radar.types.d.mts +1 -1
  282. package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  283. package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +1 -1
  284. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  285. package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +1 -1
  286. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  287. package/RadarChart/RadarGrid/RadarGrid.d.mts +1 -1
  288. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  289. package/RadarChart/RadarGrid/RadarGrid.types.d.mts +1 -1
  290. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  291. package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +1 -1
  292. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  293. package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +1 -1
  294. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  295. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
  296. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
  297. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +3 -3
  298. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +3 -3
  299. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
  300. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  301. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +2 -2
  302. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -2
  303. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
  304. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  305. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
  306. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  307. package/RadarChart/seriesConfig/extremums.d.mts +1 -1
  308. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  309. package/RadarChart/seriesConfig/getColor.d.mts +1 -1
  310. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  311. package/RadarChart/seriesConfig/index.d.mts +1 -1
  312. package/RadarChart/seriesConfig/index.d.ts +1 -1
  313. package/RadarChart/seriesConfig/legend.d.mts +1 -1
  314. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  315. package/RadarChart/seriesConfig/seriesProcessor.d.mts +1 -1
  316. package/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
  317. package/RadarChart/useRadarChartProps.d.mts +7 -7
  318. package/RadarChart/useRadarChartProps.d.ts +7 -7
  319. package/ScatterChart/BatchScatter.d.mts +3 -3
  320. package/ScatterChart/BatchScatter.d.ts +3 -3
  321. package/ScatterChart/Scatter.d.mts +4 -4
  322. package/ScatterChart/Scatter.d.ts +4 -4
  323. package/ScatterChart/ScatterChart.d.mts +13 -13
  324. package/ScatterChart/ScatterChart.d.ts +13 -13
  325. package/ScatterChart/ScatterChart.plugins.d.mts +11 -11
  326. package/ScatterChart/ScatterChart.plugins.d.ts +11 -11
  327. package/ScatterChart/ScatterMarker.d.mts +1 -1
  328. package/ScatterChart/ScatterMarker.d.ts +1 -1
  329. package/ScatterChart/ScatterPlot.d.mts +1 -1
  330. package/ScatterChart/ScatterPlot.d.ts +1 -1
  331. package/ScatterChart/async/ScatterAsync.d.mts +7 -1
  332. package/ScatterChart/async/ScatterAsync.d.ts +7 -1
  333. package/ScatterChart/async/ScatterAsync.js +32 -10
  334. package/ScatterChart/async/ScatterAsync.mjs +31 -10
  335. package/ScatterChart/async/ScatterAsyncBatch.d.mts +13 -8
  336. package/ScatterChart/async/ScatterAsyncBatch.d.ts +13 -8
  337. package/ScatterChart/async/ScatterAsyncBatch.js +17 -11
  338. package/ScatterChart/async/ScatterAsyncBatch.mjs +18 -12
  339. package/ScatterChart/async/scatterRenderData.selectors.d.mts +22 -25
  340. package/ScatterChart/async/scatterRenderData.selectors.d.ts +22 -25
  341. package/ScatterChart/async/scatterRenderData.selectors.js +34 -49
  342. package/ScatterChart/async/scatterRenderData.selectors.mjs +33 -48
  343. package/ScatterChart/seriesConfig/extremums.d.mts +1 -1
  344. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  345. package/ScatterChart/seriesConfig/getColor.d.mts +1 -1
  346. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  347. package/ScatterChart/seriesConfig/getMarkerSize.d.mts +2 -2
  348. package/ScatterChart/seriesConfig/getMarkerSize.d.ts +2 -2
  349. package/ScatterChart/seriesConfig/index.d.mts +1 -1
  350. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  351. package/ScatterChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
  352. package/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
  353. package/ScatterChart/seriesConfig/legend.d.mts +1 -1
  354. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  355. package/ScatterChart/seriesConfig/seriesProcessor.d.mts +1 -1
  356. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  357. package/ScatterChart/useScatterChartProps.d.mts +7 -7
  358. package/ScatterChart/useScatterChartProps.d.ts +7 -7
  359. package/ScatterChart/useScatterItemPosition.d.mts +1 -1
  360. package/ScatterChart/useScatterItemPosition.d.ts +1 -1
  361. package/ScatterChart/useScatterPlotData.d.mts +3 -3
  362. package/ScatterChart/useScatterPlotData.d.ts +3 -3
  363. package/SparkLineChart/SparkLineChart.d.mts +3 -3
  364. package/SparkLineChart/SparkLineChart.d.ts +3 -3
  365. package/Toolbar/Toolbar.d.mts +1 -1
  366. package/Toolbar/Toolbar.d.ts +1 -1
  367. package/Toolbar/ToolbarButton.d.mts +2 -2
  368. package/Toolbar/ToolbarButton.d.ts +2 -2
  369. package/colorPalettes/categorical/blueberryTwilight.d.mts +1 -1
  370. package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  371. package/colorPalettes/categorical/cheerfulFiesta.d.mts +1 -1
  372. package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  373. package/colorPalettes/categorical/mangoFusion.d.mts +1 -1
  374. package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  375. package/colorPalettes/categorical/rainbowSurge.d.mts +1 -1
  376. package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  377. package/colorPalettes/sequential/blue.d.mts +1 -1
  378. package/colorPalettes/sequential/blue.d.ts +1 -1
  379. package/colorPalettes/sequential/cyan.d.mts +1 -1
  380. package/colorPalettes/sequential/cyan.d.ts +1 -1
  381. package/colorPalettes/sequential/green.d.mts +1 -1
  382. package/colorPalettes/sequential/green.d.ts +1 -1
  383. package/colorPalettes/sequential/orange.d.mts +1 -1
  384. package/colorPalettes/sequential/orange.d.ts +1 -1
  385. package/colorPalettes/sequential/pink.d.mts +1 -1
  386. package/colorPalettes/sequential/pink.d.ts +1 -1
  387. package/colorPalettes/sequential/purple.d.mts +1 -1
  388. package/colorPalettes/sequential/purple.d.ts +1 -1
  389. package/colorPalettes/sequential/red.d.mts +1 -1
  390. package/colorPalettes/sequential/red.d.ts +1 -1
  391. package/colorPalettes/sequential/strawberrySky.d.mts +1 -1
  392. package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  393. package/colorPalettes/sequential/yellow.d.mts +1 -1
  394. package/colorPalettes/sequential/yellow.d.ts +1 -1
  395. package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
  396. package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
  397. package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
  398. package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
  399. package/context/ChartsProvider/useChartsContext.d.mts +2 -2
  400. package/context/ChartsProvider/useChartsContext.d.ts +2 -2
  401. package/context/ChartsSlotsContext.d.mts +1 -1
  402. package/context/ChartsSlotsContext.d.ts +1 -1
  403. package/context/useChartApiContext.d.mts +1 -1
  404. package/context/useChartApiContext.d.ts +1 -1
  405. package/hooks/index.d.mts +2 -1
  406. package/hooks/index.d.ts +2 -1
  407. package/hooks/index.js +10 -2
  408. package/hooks/index.mjs +2 -1
  409. package/hooks/useAxis.d.mts +1 -1
  410. package/hooks/useAxis.d.ts +1 -1
  411. package/hooks/useAxisCoordinates.d.mts +2 -2
  412. package/hooks/useAxisCoordinates.d.ts +2 -2
  413. package/hooks/useAxisTicks.d.mts +2 -2
  414. package/hooks/useAxisTicks.d.ts +2 -2
  415. package/hooks/useBarSeries.d.mts +3 -3
  416. package/hooks/useBarSeries.d.ts +3 -3
  417. package/hooks/useChartGradientId.d.mts +1 -1
  418. package/hooks/useChartGradientId.d.ts +1 -1
  419. package/hooks/useColorScale.d.mts +1 -1
  420. package/hooks/useColorScale.d.ts +1 -1
  421. package/hooks/useDataset.d.mts +1 -1
  422. package/hooks/useDataset.d.ts +1 -1
  423. package/hooks/useItemHighlightStateGetter.d.mts +1 -1
  424. package/hooks/useItemHighlightStateGetter.d.ts +1 -1
  425. package/hooks/useLineSeries.d.mts +3 -3
  426. package/hooks/useLineSeries.d.ts +3 -3
  427. package/hooks/usePolarGeometry.d.mts +51 -0
  428. package/hooks/usePolarGeometry.d.ts +51 -0
  429. package/hooks/usePolarGeometry.js +47 -0
  430. package/hooks/usePolarGeometry.mjs +41 -0
  431. package/hooks/useRadarSeries.d.mts +3 -3
  432. package/hooks/useRadarSeries.d.ts +3 -3
  433. package/hooks/useScatterSeries.d.mts +3 -3
  434. package/hooks/useScatterSeries.d.ts +3 -3
  435. package/hooks/useTicksGrouped.d.mts +1 -1
  436. package/hooks/useTicksGrouped.d.ts +1 -1
  437. package/index.js +1 -1
  438. package/index.mjs +1 -1
  439. package/internals/animation/Transition.mjs +0 -1
  440. package/internals/animation/animation.d.mts +1 -1
  441. package/internals/animation/animation.d.ts +1 -1
  442. package/internals/colorScale.d.mts +2 -2
  443. package/internals/colorScale.d.ts +2 -2
  444. package/internals/commonNextFocusItem.d.mts +15 -5
  445. package/internals/commonNextFocusItem.d.ts +15 -5
  446. package/internals/commonNextFocusItem.js +6 -0
  447. package/internals/commonNextFocusItem.mjs +7 -0
  448. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
  449. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  450. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
  451. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  452. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +1 -1
  453. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  454. package/internals/configInit.d.mts +1 -1
  455. package/internals/configInit.d.ts +1 -1
  456. package/internals/createCommonKeyboardFocusHandler.d.mts +5 -1
  457. package/internals/createCommonKeyboardFocusHandler.d.ts +5 -1
  458. package/internals/createSvgIcon.d.mts +1 -1
  459. package/internals/createSvgIcon.d.ts +1 -1
  460. package/internals/dateHelpers.d.mts +3 -3
  461. package/internals/dateHelpers.d.ts +3 -3
  462. package/internals/defaultValueFormatters.d.mts +1 -1
  463. package/internals/defaultValueFormatters.d.ts +1 -1
  464. package/internals/getCurve.d.mts +1 -1
  465. package/internals/getCurve.d.ts +1 -1
  466. package/internals/getGroupingConfig.d.mts +6 -0
  467. package/internals/getGroupingConfig.d.ts +6 -0
  468. package/internals/getGroupingConfig.js +20 -0
  469. package/internals/getGroupingConfig.mjs +12 -0
  470. package/internals/getScale.d.mts +2 -2
  471. package/internals/getScale.d.ts +2 -2
  472. package/internals/getSeriesColorFn.d.mts +2 -2
  473. package/internals/getSeriesColorFn.d.ts +2 -2
  474. package/internals/invertScale.d.mts +1 -1
  475. package/internals/invertScale.d.ts +1 -1
  476. package/internals/invertTextAnchor.d.mts +1 -1
  477. package/internals/invertTextAnchor.d.ts +1 -1
  478. package/internals/isCartesian.d.mts +1 -1
  479. package/internals/isCartesian.d.ts +1 -1
  480. package/internals/isPolar.d.mts +1 -1
  481. package/internals/isPolar.d.ts +1 -1
  482. package/internals/material/index.d.mts +2 -2
  483. package/internals/material/index.d.ts +2 -2
  484. package/internals/plugins/allPlugins.d.mts +12 -12
  485. package/internals/plugins/allPlugins.d.ts +12 -12
  486. package/internals/plugins/corePlugins/corePlugins.d.mts +8 -8
  487. package/internals/plugins/corePlugins/corePlugins.d.ts +8 -8
  488. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.mts +1 -1
  489. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  490. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.mts +1 -1
  491. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  492. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.mts +1 -1
  493. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  494. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.mts +2 -2
  495. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  496. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.mts +1 -1
  497. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  498. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.mts +2 -2
  499. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +2 -2
  500. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.mts +1 -1
  501. package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +1 -1
  502. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +1 -1
  503. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  504. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -1
  505. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  506. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -1
  507. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  508. package/internals/plugins/corePlugins/useChartId/useChartId.d.mts +2 -2
  509. package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  510. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.mts +1 -1
  511. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  512. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.mts +2 -2
  513. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  514. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +2 -2
  515. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  516. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +5 -5
  517. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  518. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.mts +2 -2
  519. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  520. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +4 -3
  521. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -3
  522. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +6 -6
  523. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -6
  524. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
  525. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  526. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +2 -2
  527. package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +2 -2
  528. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +1 -1
  529. package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
  530. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +19 -13
  531. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +19 -13
  532. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
  533. package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
  534. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +4 -4
  535. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +4 -4
  536. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +22 -11
  537. package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +22 -11
  538. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.mts +2 -2
  539. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +2 -2
  540. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.mts +2 -2
  541. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +2 -2
  542. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +5 -5
  543. package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +5 -5
  544. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.mts +2 -2
  545. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  546. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.mts +1 -1
  547. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  548. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +1 -1
  549. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +1 -1
  550. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +8 -8
  551. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +8 -8
  552. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.mts +4 -4
  553. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  554. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
  555. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
  556. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.mts +4 -4
  557. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  558. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +3 -3
  559. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  560. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +4 -4
  561. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  562. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +4 -4
  563. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -4
  564. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.mts +5 -5
  565. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  566. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.mts +3 -3
  567. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  568. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +4 -4
  569. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  570. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.mts +1 -1
  571. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  572. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +1 -1
  573. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +1 -1
  574. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +1 -1
  575. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +1 -1
  576. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +0 -1
  577. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.mts +2 -2
  578. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  579. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.mts +3 -3
  580. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  581. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.mts +1 -1
  582. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  583. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +3 -3
  584. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +3 -3
  585. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +1 -1
  586. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +1 -1
  587. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.mts +2 -2
  588. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +2 -2
  589. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.mts +3 -3
  590. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  591. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.mts +2 -2
  592. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  593. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +7 -7
  594. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +7 -7
  595. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.mts +1 -1
  596. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +1 -1
  597. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.mts +1 -1
  598. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +1 -1
  599. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +2 -2
  600. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +2 -2
  601. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.mts +4 -4
  602. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  603. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.mts +2 -2
  604. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  605. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.mts +2 -2
  606. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  607. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +1 -1
  608. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +1 -1
  609. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
  610. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  611. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -3
  612. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -3
  613. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +3 -3
  614. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +3 -3
  615. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +4 -4
  616. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  617. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.mts +2 -2
  618. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  619. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +2 -2
  620. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  621. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +5 -5
  622. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  623. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
  624. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
  625. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +3 -7
  626. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +3 -7
  627. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.mts +2 -2
  628. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.ts +2 -2
  629. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +4 -4
  630. package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +4 -4
  631. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.mts +2 -2
  632. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  633. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.mts +5 -5
  634. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  635. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +3 -4
  636. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +3 -4
  637. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +11 -2
  638. package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +11 -2
  639. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.mts +6 -10
  640. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.ts +6 -10
  641. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.js +48 -27
  642. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +49 -28
  643. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +11 -8
  644. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +11 -8
  645. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +30 -41
  646. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +29 -41
  647. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.mts +2 -2
  648. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.ts +2 -2
  649. package/internals/plugins/models/plugin.d.mts +2 -2
  650. package/internals/plugins/models/plugin.d.ts +2 -2
  651. package/internals/plugins/utils/selectors.d.mts +2 -2
  652. package/internals/plugins/utils/selectors.d.ts +2 -2
  653. package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
  654. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  655. package/internals/processLineLikeSeries.d.mts +1 -1
  656. package/internals/processLineLikeSeries.d.ts +1 -1
  657. package/internals/scaleGuards.d.mts +1 -1
  658. package/internals/scaleGuards.d.ts +1 -1
  659. package/internals/scales/scaleBand.js +4 -1
  660. package/internals/scales/scaleBand.mjs +4 -1
  661. package/internals/scales/scaleSymlog.d.mts +1 -1
  662. package/internals/scales/scaleSymlog.d.ts +1 -1
  663. package/internals/seriesSelectorOfType.d.mts +2 -2
  664. package/internals/seriesSelectorOfType.d.ts +2 -2
  665. package/internals/shallowEqual.d.mts +1 -1
  666. package/internals/shallowEqual.d.ts +1 -1
  667. package/internals/shallowEqual.js +1 -1
  668. package/internals/shallowEqual.mjs +1 -1
  669. package/internals/sizeScale.d.mts +2 -2
  670. package/internals/sizeScale.d.ts +2 -2
  671. package/internals/stacking/stackSeries.d.mts +3 -2
  672. package/internals/stacking/stackSeries.d.ts +3 -2
  673. package/internals/store/extractPluginParamsFromProps.d.mts +3 -3
  674. package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  675. package/internals/store/useCharts.d.mts +2 -2
  676. package/internals/store/useCharts.d.ts +2 -2
  677. package/internals/store/useCharts.types.d.mts +1 -1
  678. package/internals/store/useCharts.types.d.ts +1 -1
  679. package/internals/store/useStore.d.mts +2 -2
  680. package/internals/store/useStore.d.ts +2 -2
  681. package/locales/elGR.d.mts +1 -1
  682. package/locales/elGR.d.ts +1 -1
  683. package/locales/enUS.d.mts +1 -1
  684. package/locales/enUS.d.ts +1 -1
  685. package/locales/frFR.d.mts +1 -1
  686. package/locales/frFR.d.ts +1 -1
  687. package/locales/nbNO.d.mts +1 -1
  688. package/locales/nbNO.d.ts +1 -1
  689. package/locales/ptBR.d.mts +1 -1
  690. package/locales/ptBR.d.ts +1 -1
  691. package/locales/ptPT.d.mts +1 -1
  692. package/locales/ptPT.d.ts +1 -1
  693. package/locales/svSE.d.mts +1 -1
  694. package/locales/svSE.d.ts +1 -1
  695. package/locales/utils/chartsLocaleTextApi.d.mts +1 -1
  696. package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  697. package/locales/utils/getChartsLocalization.d.mts +1 -1
  698. package/locales/utils/getChartsLocalization.d.ts +1 -1
  699. package/models/axis.d.mts +6 -6
  700. package/models/axis.d.ts +6 -6
  701. package/models/seriesType/bar.d.mts +4 -4
  702. package/models/seriesType/bar.d.ts +4 -4
  703. package/models/seriesType/line.d.mts +3 -3
  704. package/models/seriesType/line.d.ts +3 -3
  705. package/models/seriesType/pie.d.mts +3 -3
  706. package/models/seriesType/pie.d.ts +3 -3
  707. package/models/seriesType/radar.d.mts +1 -1
  708. package/models/seriesType/radar.d.ts +1 -1
  709. package/models/seriesType/scatter.d.mts +3 -3
  710. package/models/seriesType/scatter.d.ts +3 -3
  711. package/models/slots/chartsBaseSlots.d.mts +1 -1
  712. package/models/slots/chartsBaseSlots.d.ts +1 -1
  713. package/models/z-axis.d.mts +1 -1
  714. package/models/z-axis.d.ts +1 -1
  715. package/package.json +5 -5
  716. package/themeAugmentation/components.d.mts +1 -1
  717. package/themeAugmentation/components.d.ts +1 -1
  718. package/themeAugmentation/overrides.d.mts +7 -7
  719. package/themeAugmentation/overrides.d.ts +7 -7
  720. package/themeAugmentation/props.d.mts +15 -15
  721. package/themeAugmentation/props.d.ts +15 -15
  722. package/utils/niceDomain.d.mts +2 -2
  723. package/utils/niceDomain.d.ts +2 -2
@@ -5,19 +5,19 @@ import type { ColorProcessor } from "./colorProcessor.types.js";
5
5
  import type { CartesianExtremumGetter } from "./cartesianExtremumGetter.types.js";
6
6
  import type { LegendGetter } from "./legendGetter.types.js";
7
7
  import type { AxisTooltipGetter, TooltipGetter } from "./tooltipGetter.types.js";
8
- import { type PolarExtremumGetter } from "./polarExtremumGetter.types.js";
9
- import { type GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.js";
10
- import { type TooltipItemPositionGetter } from "./tooltipItemPositionGetter.types.js";
11
- import { type SeriesLayoutGetter } from "./seriesLayout.types.js";
12
- import { type KeyboardFocusHandler } from "../../../featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.js";
13
- import { type IdentifierSerializer } from "./identifierSerializer.types.js";
14
- import { type IdentifierCleaner } from "./identifierCleaner.types.js";
15
- import { type GetItemAtPosition } from "./getItemAtPosition.types.js";
16
- import { type DescriptionGetter } from "./descriptionGetter.types.js";
17
- import { type UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.js";
18
- import { type UseChartPolarAxisSignature } from "../../../featurePlugins/useChartPolarAxis/index.js";
19
- import { type HighlightCreator } from "../../../featurePlugins/useChartHighlight/highlightCreator.types.js";
20
- import { type AxisTooltipContentProps, type ItemTooltipContentProps } from "./TooltipContent.types.js";
8
+ import type { PolarExtremumGetter } from "./polarExtremumGetter.types.js";
9
+ import type { GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.js";
10
+ import type { TooltipItemPositionGetter, TooltipItemPositionSelector } from "./tooltipItemPositionGetter.types.js";
11
+ import type { SeriesLayoutGetter } from "./seriesLayout.types.js";
12
+ import type { KeyboardFocusHandler } from "../../../featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.js";
13
+ import type { IdentifierSerializer } from "./identifierSerializer.types.js";
14
+ import type { IdentifierCleaner } from "./identifierCleaner.types.js";
15
+ import type { GetItemAtPosition } from "./getItemAtPosition.types.js";
16
+ import type { DescriptionGetter } from "./descriptionGetter.types.js";
17
+ import type { UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.js";
18
+ import type { UseChartPolarAxisSignature } from "../../../featurePlugins/useChartPolarAxis/index.js";
19
+ import type { HighlightCreator } from "../../../featurePlugins/useChartHighlight/highlightCreator.types.js";
20
+ import type { AxisTooltipContentProps, ItemTooltipContentProps } from "./TooltipContent.types.js";
21
21
  export type ChartSeriesTypeRequiredPlugins<SeriesType extends ChartSeriesType> = ChartsSeriesConfig[SeriesType] extends {
22
22
  axisType: 'cartesian';
23
23
  } ? [UseChartCartesianAxisSignature] : ChartsSeriesConfig[SeriesType] extends {
@@ -34,6 +34,12 @@ export type ChartSeriesTypeConfig<SeriesType extends ChartSeriesType> = {
34
34
  tooltipGetter: TooltipGetter<SeriesType>;
35
35
  ItemTooltipContent?: React.ComponentType<ItemTooltipContentProps<SeriesType>>;
36
36
  tooltipItemPositionGetter?: TooltipItemPositionGetter<SeriesType>;
37
+ /**
38
+ * Computes the item tooltip position from the chart state, for series types
39
+ * whose position depends on state the core tooltip plugin doesn't track.
40
+ * Takes precedence over `tooltipItemPositionGetter`.
41
+ */
42
+ selectorTooltipItemPosition?: TooltipItemPositionSelector;
37
43
  getSeriesWithDefaultValues: GetSeriesWithDefaultValues<SeriesType>;
38
44
  keyboardFocusHandler?: KeyboardFocusHandler<SeriesType>;
39
45
  /**
@@ -1,6 +1,6 @@
1
1
  import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/seriesType/config.mjs";
2
- import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
2
+ import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
3
3
  import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
4
- import { type SeriesProcessorResult } from "./seriesProcessor.types.mjs";
4
+ import type { SeriesProcessorResult } from "./seriesProcessor.types.mjs";
5
5
  export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
6
6
  export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
@@ -1,6 +1,6 @@
1
1
  import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/seriesType/config.js";
2
- import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
2
+ import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
3
3
  import type { SeriesId } from "../../../../../models/seriesType/common.js";
4
- import { type SeriesProcessorResult } from "./seriesProcessor.types.js";
4
+ import type { SeriesProcessorResult } from "./seriesProcessor.types.js";
5
5
  export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
6
6
  export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
@@ -1,9 +1,9 @@
1
1
  import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.mjs";
2
2
  import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../../models/seriesType/config.mjs";
3
- import { type SeriesId } from "../../../../../models/seriesType/common.mjs";
4
- import { type AxisId, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.mjs";
5
- import { type ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.mjs";
6
- import { type ColorGetter } from "./colorProcessor.types.mjs";
3
+ import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
4
+ import type { AxisId, ChartsRotationAxisProps, ChartsRadiusAxisProps, PolarAxisDefaultized, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.mjs";
5
+ import type { ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.mjs";
6
+ import type { ColorGetter } from "./colorProcessor.types.mjs";
7
7
  export interface ItemTooltipValue<SeriesType extends ChartSeriesType> {
8
8
  /**
9
9
  * The metric label.
@@ -1,9 +1,9 @@
1
1
  import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.js";
2
2
  import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../../models/seriesType/config.js";
3
- import { type SeriesId } from "../../../../../models/seriesType/common.js";
4
- import { type AxisId, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.js";
5
- import { type ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.js";
6
- import { type ColorGetter } from "./colorProcessor.types.js";
3
+ import type { SeriesId } from "../../../../../models/seriesType/common.js";
4
+ import type { AxisId, ChartsRotationAxisProps, ChartsRadiusAxisProps, PolarAxisDefaultized, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.js";
5
+ import type { ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.js";
6
+ import type { ColorGetter } from "./colorProcessor.types.js";
7
7
  export interface ItemTooltipValue<SeriesType extends ChartSeriesType> {
8
8
  /**
9
9
  * The metric label.
@@ -1,21 +1,18 @@
1
- import type { ExtendedFeatureCollection, GeoProjection } from '@mui/x-charts-vendor/d3-geo';
2
1
  import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.mjs";
3
2
  import type { ChartSeriesType } from "../../../../../models/seriesType/config.mjs";
4
- import { type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.mjs";
5
- import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
6
- import { type ProcessedSeries, type SeriesLayout } from "../../useChartSeries/index.mjs";
7
- import { type ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.mjs";
8
- export type GeoTooltipPosition = {
9
- geoData: ExtendedFeatureCollection | null;
10
- projection: GeoProjection | null;
11
- featureIndexesByName: ReadonlyMap<string, number[]>;
12
- };
3
+ import type { ChartsRotationAxisProps, ChartsRadiusAxisProps, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.mjs";
4
+ import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
5
+ import type { ProcessedSeries, SeriesLayout } from "../../useChartSeries/index.mjs";
6
+ import type { ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.mjs";
7
+ import type { ChartState } from "../../../models/index.mjs";
8
+ import type { UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.mjs";
9
+ import type { UseChartInteractionSignature } from "../../../featurePlugins/useChartInteraction/index.mjs";
10
+ import type { UseChartTooltipSignature } from "../../../featurePlugins/useChartTooltip/index.mjs";
13
11
  export interface TooltipPositionGetterAxesConfig {
14
12
  x?: ComputedXAxis;
15
13
  y?: ComputedYAxis;
16
14
  rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
17
15
  radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
18
- geo?: GeoTooltipPosition;
19
16
  }
20
17
  export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
21
18
  series: ProcessedSeries<SeriesType>;
@@ -31,4 +28,18 @@ export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (par
31
28
  }) => {
32
29
  x: number;
33
30
  y: number;
31
+ } | null;
32
+ /**
33
+ * Computes the anchor position of an item tooltip from the chart state. Series
34
+ * types whose position depends on state the core tooltip plugin doesn't track
35
+ * (e.g. the geo projection for map series) provide one of these instead of a
36
+ * `tooltipItemPositionGetter`, so the dependency is memoized correctly and the
37
+ * feature-specific code stays out of the core bundle.
38
+ * @param {ChartState} state The chart state.
39
+ * @param {'top' | 'bottom' | 'left' | 'right' | undefined} position The preferred placement of the tooltip.
40
+ * @returns {{ x: number; y: number } | null} The tooltip anchor position, or `null` when it cannot be computed.
41
+ */
42
+ export type TooltipItemPositionSelector = (state: ChartState<[UseChartCartesianAxisSignature, UseChartInteractionSignature, UseChartTooltipSignature]>, position: 'top' | 'bottom' | 'left' | 'right' | undefined) => {
43
+ x: number;
44
+ y: number;
34
45
  } | null;
@@ -1,21 +1,18 @@
1
- import type { ExtendedFeatureCollection, GeoProjection } from '@mui/x-charts-vendor/d3-geo';
2
1
  import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.js";
3
2
  import type { ChartSeriesType } from "../../../../../models/seriesType/config.js";
4
- import { type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.js";
5
- import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
6
- import { type ProcessedSeries, type SeriesLayout } from "../../useChartSeries/index.js";
7
- import { type ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.js";
8
- export type GeoTooltipPosition = {
9
- geoData: ExtendedFeatureCollection | null;
10
- projection: GeoProjection | null;
11
- featureIndexesByName: ReadonlyMap<string, number[]>;
12
- };
3
+ import type { ChartsRotationAxisProps, ChartsRadiusAxisProps, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.js";
4
+ import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
5
+ import type { ProcessedSeries, SeriesLayout } from "../../useChartSeries/index.js";
6
+ import type { ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.js";
7
+ import type { ChartState } from "../../../models/index.js";
8
+ import type { UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.js";
9
+ import type { UseChartInteractionSignature } from "../../../featurePlugins/useChartInteraction/index.js";
10
+ import type { UseChartTooltipSignature } from "../../../featurePlugins/useChartTooltip/index.js";
13
11
  export interface TooltipPositionGetterAxesConfig {
14
12
  x?: ComputedXAxis;
15
13
  y?: ComputedYAxis;
16
14
  rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
17
15
  radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
18
- geo?: GeoTooltipPosition;
19
16
  }
20
17
  export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
21
18
  series: ProcessedSeries<SeriesType>;
@@ -31,4 +28,18 @@ export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (par
31
28
  }) => {
32
29
  x: number;
33
30
  y: number;
31
+ } | null;
32
+ /**
33
+ * Computes the anchor position of an item tooltip from the chart state. Series
34
+ * types whose position depends on state the core tooltip plugin doesn't track
35
+ * (e.g. the geo projection for map series) provide one of these instead of a
36
+ * `tooltipItemPositionGetter`, so the dependency is memoized correctly and the
37
+ * feature-specific code stays out of the core bundle.
38
+ * @param {ChartState} state The chart state.
39
+ * @param {'top' | 'bottom' | 'left' | 'right' | undefined} position The preferred placement of the tooltip.
40
+ * @returns {{ x: number; y: number } | null} The tooltip anchor position, or `null` when it cannot be computed.
41
+ */
42
+ export type TooltipItemPositionSelector = (state: ChartState<[UseChartCartesianAxisSignature, UseChartInteractionSignature, UseChartTooltipSignature]>, position: 'top' | 'bottom' | 'left' | 'right' | undefined) => {
43
+ x: number;
44
+ y: number;
34
45
  } | null;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
2
- import { type UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
+ import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
3
3
  export declare const useChartSeriesConfig: ChartPlugin<UseChartSeriesConfigSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
2
- import { type UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
+ import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
3
3
  export declare const useChartSeriesConfig: ChartPlugin<UseChartSeriesConfigSignature>;
@@ -1,5 +1,5 @@
1
- import { type ChartRootSelector } from "../../utils/selectors.mjs";
2
- import { type UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
1
+ import type { ChartRootSelector } from "../../utils/selectors.mjs";
2
+ import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
3
3
  export declare const selectorChartSeriesConfigState: ChartRootSelector<UseChartSeriesConfigSignature>;
4
4
  export declare const selectorChartSeriesConfig: (args_0: import("../useChartId/useChartId.types.mjs").UseChartIdState & import("./useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../useChartInteractionListener/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
5
5
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
@@ -1,5 +1,5 @@
1
- import { type ChartRootSelector } from "../../utils/selectors.js";
2
- import { type UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
1
+ import type { ChartRootSelector } from "../../utils/selectors.js";
2
+ import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
3
3
  export declare const selectorChartSeriesConfigState: ChartRootSelector<UseChartSeriesConfigSignature>;
4
4
  export declare const selectorChartSeriesConfig: (args_0: import("../useChartId/useChartId.types.js").UseChartIdState & import("./useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../useChartInteractionListener/index.js").UseChartInteractionListenerState & Partial<{}> & {
5
5
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
@@ -1,8 +1,8 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
2
- import { type ChartSeriesConfig } from "./types/seriesConfig.types.mjs";
3
- import { type ChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
- import { type HighlightItemIdentifierWithType, type SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
5
- import { type VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
+ import type { ChartSeriesConfig } from "./types/seriesConfig.types.mjs";
3
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
+ import type { HighlightItemIdentifierWithType, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
5
+ import type { VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.mjs";
6
6
  export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
7
7
  /**
8
8
  * The configuration for the series types.
@@ -1,8 +1,8 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
2
- import { type ChartSeriesConfig } from "./types/seriesConfig.types.js";
3
- import { type ChartSeriesType } from "../../../../models/seriesType/config.js";
4
- import { type HighlightItemIdentifierWithType, type SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.js";
5
- import { type VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
+ import type { ChartSeriesConfig } from "./types/seriesConfig.types.js";
3
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
4
+ import type { HighlightItemIdentifierWithType, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.js";
5
+ import type { VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.js";
6
6
  export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
7
7
  /**
8
8
  * The configuration for the series types.
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.mjs";
2
- import { type UseChartBrushSignature } from "./useChartBrush.types.mjs";
1
+ import type { ChartPlugin } from "../../models/index.mjs";
2
+ import type { UseChartBrushSignature } from "./useChartBrush.types.mjs";
3
3
  export declare const useChartBrush: ChartPlugin<UseChartBrushSignature>;
@@ -1,3 +1,3 @@
1
- import { type ChartPlugin } from "../../models/index.js";
2
- import { type UseChartBrushSignature } from "./useChartBrush.types.js";
1
+ import type { ChartPlugin } from "../../models/index.js";
2
+ import type { UseChartBrushSignature } from "./useChartBrush.types.js";
3
3
  export declare const useChartBrush: ChartPlugin<UseChartBrushSignature>;
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.mjs";
1
+ import type { ChartPluginSignature } from "../../models/index.mjs";
2
2
  export type Point = {
3
3
  x: number;
4
4
  y: number;
@@ -1,4 +1,4 @@
1
- import { type ChartPluginSignature } from "../../models/index.js";
1
+ import type { ChartPluginSignature } from "../../models/index.js";
2
2
  export type Point = {
3
3
  x: number;
4
4
  y: number;
@@ -1,5 +1,5 @@
1
1
  import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
2
- import { type DomainDefinition } from "./domain.mjs";
2
+ import type { DomainDefinition } from "./domain.mjs";
3
3
  interface ComputeAxisAutoSizeOptions {
4
4
  axis: DefaultedXAxis | DefaultedYAxis;
5
5
  direction: 'x' | 'y';
@@ -1,5 +1,5 @@
1
1
  import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
2
- import { type DomainDefinition } from "./domain.js";
2
+ import type { DomainDefinition } from "./domain.js";
3
3
  interface ComputeAxisAutoSizeOptions {
4
4
  axis: DefaultedXAxis | DefaultedYAxis;
5
5
  direction: 'x' | 'y';
@@ -1,12 +1,12 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type ScaleName } from "../../../../models/index.mjs";
3
- import { type ChartsXAxisProps, type ChartsAxisProps, type ChartsYAxisProps, type AxisId, type DefaultedXAxis, type DefaultedYAxis, type DefaultedAxis, type D3Scale } from "../../../../models/axis.mjs";
4
- import { type ChartSeriesType } from "../../../../models/seriesType/config.mjs";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { ScaleName } from "../../../../models/index.mjs";
3
+ import type { ChartsXAxisProps, ChartsAxisProps, ChartsYAxisProps, AxisId, DefaultedXAxis, DefaultedYAxis, DefaultedAxis, D3Scale } from "../../../../models/axis.mjs";
4
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
5
5
  import type { ChartDrawingArea } from "../../../../hooks/index.mjs";
6
- import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
7
- import { type ComputedAxisConfig } from "./useChartCartesianAxis.types.mjs";
8
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
9
- import { type ZoomData } from "./zoom.types.mjs";
6
+ import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
7
+ import type { ComputedAxisConfig } from "./useChartCartesianAxis.types.mjs";
8
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
9
+ import type { ZoomData } from "./zoom.types.mjs";
10
10
  export declare function resolveAxisSize(axis: DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>, autoSizes: Record<AxisId, number> | undefined, direction: 'x' | 'y'): number;
11
11
  export type ComputeResult<T extends ChartsAxisProps> = {
12
12
  axis: ComputedAxisConfig<T>;
@@ -1,12 +1,12 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type ScaleName } from "../../../../models/index.js";
3
- import { type ChartsXAxisProps, type ChartsAxisProps, type ChartsYAxisProps, type AxisId, type DefaultedXAxis, type DefaultedYAxis, type DefaultedAxis, type D3Scale } from "../../../../models/axis.js";
4
- import { type ChartSeriesType } from "../../../../models/seriesType/config.js";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { ScaleName } from "../../../../models/index.js";
3
+ import type { ChartsXAxisProps, ChartsAxisProps, ChartsYAxisProps, AxisId, DefaultedXAxis, DefaultedYAxis, DefaultedAxis, D3Scale } from "../../../../models/axis.js";
4
+ import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
5
5
  import type { ChartDrawingArea } from "../../../../hooks/index.js";
6
- import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
7
- import { type ComputedAxisConfig } from "./useChartCartesianAxis.types.js";
8
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
9
- import { type ZoomData } from "./zoom.types.js";
6
+ import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
7
+ import type { ComputedAxisConfig } from "./useChartCartesianAxis.types.js";
8
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
9
+ import type { ZoomData } from "./zoom.types.js";
10
10
  export declare function resolveAxisSize(axis: DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>, autoSizes: Record<AxisId, number> | undefined, direction: 'x' | 'y'): number;
11
11
  export type ComputeResult<T extends ChartsAxisProps> = {
12
12
  axis: ComputedAxisConfig<T>;
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig } from "../../../../models/index.mjs";
3
- import { type ExtremumFilter } from "./useChartCartesianAxis.types.mjs";
4
- import { type GetZoomAxisFilters, type ZoomAxisFilters } from "./zoom.types.mjs";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig } from "../../../../models/index.mjs";
3
+ import type { ExtremumFilter } from "./useChartCartesianAxis.types.mjs";
4
+ import type { GetZoomAxisFilters, ZoomAxisFilters } from "./zoom.types.mjs";
5
5
  export declare function createDiscreteScaleGetAxisFilter(axisData: AxisConfig['data'], zoomStart: number, zoomEnd: number, direction: 'x' | 'y'): ExtremumFilter;
6
6
  export declare function createContinuousScaleGetAxisFilter(domain: readonly NumberValue[], zoomStart: number, zoomEnd: number, direction: 'x' | 'y', axisData: AxisConfig['data']): ExtremumFilter;
7
7
  export declare const createGetAxisFilters: (filters: ZoomAxisFilters) => GetZoomAxisFilters;
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig } from "../../../../models/index.js";
3
- import { type ExtremumFilter } from "./useChartCartesianAxis.types.js";
4
- import { type GetZoomAxisFilters, type ZoomAxisFilters } from "./zoom.types.js";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig } from "../../../../models/index.js";
3
+ import type { ExtremumFilter } from "./useChartCartesianAxis.types.js";
4
+ import type { GetZoomAxisFilters, ZoomAxisFilters } from "./zoom.types.js";
5
5
  export declare function createDiscreteScaleGetAxisFilter(axisData: AxisConfig['data'], zoomStart: number, zoomEnd: number, direction: 'x' | 'y'): ExtremumFilter;
6
6
  export declare function createContinuousScaleGetAxisFilter(domain: readonly NumberValue[], zoomStart: number, zoomEnd: number, direction: 'x' | 'y', axisData: AxisConfig['data']): ExtremumFilter;
7
7
  export declare const createGetAxisFilters: (filters: ZoomAxisFilters) => GetZoomAxisFilters;
@@ -1,4 +1,4 @@
1
1
  import type { AxisConfig, ScaleName } from "../../../../models/index.mjs";
2
2
  import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.mjs";
3
- import { type DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
3
+ import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
4
4
  export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
@@ -1,4 +1,4 @@
1
1
  import type { AxisConfig, ScaleName } from "../../../../models/index.js";
2
2
  import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.js";
3
- import { type DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
3
+ import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
4
4
  export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
@@ -1,7 +1,7 @@
1
- import { type ZoomOptions } from "./zoom.types.mjs";
2
- import { type XAxis, type YAxis } from "../../../../models/index.mjs";
3
- import { type DefaultedXAxis, type DefaultedYAxis } from "../../../../models/axis.mjs";
4
- import { type DatasetType } from "../../../../models/seriesType/config.mjs";
1
+ import type { ZoomOptions } from "./zoom.types.mjs";
2
+ import type { XAxis, YAxis } from "../../../../models/index.mjs";
3
+ import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
4
+ import type { DatasetType } from "../../../../models/seriesType/config.mjs";
5
5
  type InXAxis = XAxis & {
6
6
  zoom?: boolean | ZoomOptions;
7
7
  };
@@ -1,7 +1,7 @@
1
- import { type ZoomOptions } from "./zoom.types.js";
2
- import { type XAxis, type YAxis } from "../../../../models/index.js";
3
- import { type DefaultedXAxis, type DefaultedYAxis } from "../../../../models/axis.js";
4
- import { type DatasetType } from "../../../../models/seriesType/config.js";
1
+ import type { ZoomOptions } from "./zoom.types.js";
2
+ import type { XAxis, YAxis } from "../../../../models/index.js";
3
+ import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
4
+ import type { DatasetType } from "../../../../models/seriesType/config.js";
5
5
  type InXAxis = XAxis & {
6
6
  zoom?: boolean | ZoomOptions;
7
7
  };
@@ -1,6 +1,6 @@
1
- import { type AxisId, type ScaleName } from "../../../../models/axis.mjs";
2
- import { type DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
3
- import { type ZoomOptions } from "./zoom.types.mjs";
1
+ import type { AxisId, ScaleName } from "../../../../models/axis.mjs";
2
+ import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
3
+ import type { ZoomOptions } from "./zoom.types.mjs";
4
4
  /**
5
5
  * Ordinal Y axes (band/point) render with `domain[0]` at the top of the chart
6
6
  * (see the `range.reverse()` applied in `selectorChartYScales`), which is the
@@ -1,6 +1,6 @@
1
- import { type AxisId, type ScaleName } from "../../../../models/axis.js";
2
- import { type DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
3
- import { type ZoomOptions } from "./zoom.types.js";
1
+ import type { AxisId, ScaleName } from "../../../../models/axis.js";
2
+ import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
3
+ import type { ZoomOptions } from "./zoom.types.js";
4
4
  /**
5
5
  * Ordinal Y axes (band/point) render with `domain[0]` at the top of the chart
6
6
  * (see the `range.reverse()` applied in `selectorChartYScales`), which is the
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisId, type ContinuousScaleName, type DefaultedAxis, type DefaultedXAxis, type DefaultedYAxis } from "../../../../models/axis.mjs";
3
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
4
- import { type TickParams } from "../../../../hooks/useTicks.mjs";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisId, ContinuousScaleName, DefaultedAxis, DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
3
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
4
+ import type { TickParams } from "../../../../hooks/useTicks.mjs";
5
5
  /**
6
6
  * Calculates the final domain for an axis.
7
7
  * After this step, the domain can be used to create the axis scale.
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisId, type ContinuousScaleName, type DefaultedAxis, type DefaultedXAxis, type DefaultedYAxis } from "../../../../models/axis.js";
3
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
4
- import { type TickParams } from "../../../../hooks/useTicks.js";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisId, ContinuousScaleName, DefaultedAxis, DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
3
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
4
+ import type { TickParams } from "../../../../hooks/useTicks.js";
5
5
  /**
6
6
  * Calculates the final domain for an axis.
7
7
  * After this step, the domain can be used to create the axis scale.
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig } from "../../../../models/axis.mjs";
3
- import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig } from "../../../../models/axis.mjs";
3
+ import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
5
5
  export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, "id" | "domainLimit">, axisDirection: "x" | "y", axisIndex: number, formattedSeries: ProcessedSeries<T | "line">) => "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
6
6
  min: NumberValue;
7
7
  max: NumberValue;
@@ -1,7 +1,7 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig } from "../../../../models/axis.js";
3
- import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
4
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig } from "../../../../models/axis.js";
3
+ import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
4
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
5
5
  export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, "id" | "domainLimit">, axisDirection: "x" | "y", axisIndex: number, formattedSeries: ProcessedSeries<T | "line">) => "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
6
6
  min: NumberValue;
7
7
  max: NumberValue;
@@ -1,6 +1,6 @@
1
- import { type AxisConfig } from "../../../../models/index.mjs";
2
- import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
3
- import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
4
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
5
- import { type GetZoomAxisFilters } from "./zoom.types.mjs";
1
+ import type { AxisConfig } from "../../../../models/index.mjs";
2
+ import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
3
+ import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
4
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
5
+ import type { GetZoomAxisFilters } from "./zoom.types.mjs";
6
6
  export declare function getAxisExtrema<T extends CartesianChartSeriesType>(axis: AxisConfig, axisDirection: 'x' | 'y', seriesConfig: ChartSeriesConfig<T>, axisIndex: number, formattedSeries: ProcessedSeries<T>, getFilters?: GetZoomAxisFilters): [number, number];
@@ -1,6 +1,6 @@
1
- import { type AxisConfig } from "../../../../models/index.js";
2
- import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
3
- import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
4
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
5
- import { type GetZoomAxisFilters } from "./zoom.types.js";
1
+ import type { AxisConfig } from "../../../../models/index.js";
2
+ import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
3
+ import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
4
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
5
+ import type { GetZoomAxisFilters } from "./zoom.types.js";
6
6
  export declare function getAxisExtrema<T extends CartesianChartSeriesType>(axis: AxisConfig, axisDirection: 'x' | 'y', seriesConfig: ChartSeriesConfig<T>, axisIndex: number, formattedSeries: ProcessedSeries<T>, getFilters?: GetZoomAxisFilters): [number, number];
@@ -1,5 +1,5 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig, type ChartsAxisProps, type D3Scale, type DefaultedAxis, type ScaleName } from "../../../../models/axis.mjs";
3
- import { type ChartDrawingArea } from "../../../../hooks/useDrawingArea.mjs";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig, ChartsAxisProps, D3Scale, DefaultedAxis, ScaleName } from "../../../../models/axis.mjs";
3
+ import type { ChartDrawingArea } from "../../../../hooks/useDrawingArea.mjs";
4
4
  export declare function getRange(drawingArea: ChartDrawingArea, axisDirection: 'x' | 'y', axis: AxisConfig<ScaleName, any, ChartsAxisProps>): [number, number];
5
5
  export declare function getNormalizedAxisScale(axis: Readonly<DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>>, domain: ReadonlyArray<NumberValue | string>): D3Scale;
@@ -1,5 +1,5 @@
1
- import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { type AxisConfig, type ChartsAxisProps, type D3Scale, type DefaultedAxis, type ScaleName } from "../../../../models/axis.js";
3
- import { type ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
1
+ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
+ import type { AxisConfig, ChartsAxisProps, D3Scale, DefaultedAxis, ScaleName } from "../../../../models/axis.js";
3
+ import type { ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
4
4
  export declare function getRange(drawingArea: ChartDrawingArea, axisDirection: 'x' | 'y', axis: AxisConfig<ScaleName, any, ChartsAxisProps>): [number, number];
5
5
  export declare function getNormalizedAxisScale(axis: Readonly<DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>>, domain: ReadonlyArray<NumberValue | string>): D3Scale;
@@ -1,5 +1,5 @@
1
- import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
2
- import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
3
- import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
4
- import { type AxisId } from "../../../../models/axis.mjs";
1
+ import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
2
+ import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
3
+ import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
4
+ import type { AxisId } from "../../../../models/axis.mjs";
5
5
  export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: "x" | "y", seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;