@mui/x-charts 8.21.0 → 8.22.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 (868) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +2 -2
  2. package/BarChart/BarChart.d.ts +14 -14
  3. package/BarChart/BarChart.js +22 -1
  4. package/BarChart/BarChart.plugins.d.ts +9 -8
  5. package/BarChart/BarChart.plugins.js +2 -1
  6. package/BarChart/BarElement.d.ts +3 -3
  7. package/BarChart/BarElement.js +1 -2
  8. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  9. package/BarChart/BarLabel/BarLabel.js +12 -8
  10. package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  11. package/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
  12. package/BarChart/BarLabel/BarLabelPlot.d.ts +4 -4
  13. package/BarChart/BarLabel/getBarLabel.d.ts +3 -3
  14. package/BarChart/BarPlot.d.ts +4 -4
  15. package/BarChart/BarPlot.js +4 -1
  16. package/BarChart/FocusedBar.d.ts +2 -0
  17. package/BarChart/FocusedBar.js +68 -0
  18. package/BarChart/barElementClasses.d.ts +1 -1
  19. package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  20. package/BarChart/index.d.ts +1 -0
  21. package/BarChart/index.js +12 -0
  22. package/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  23. package/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  24. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
  25. package/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  26. package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  27. package/BarChart/seriesConfig/bar/tooltipPosition.js +2 -2
  28. package/BarChart/seriesConfig/index.d.ts +1 -1
  29. package/BarChart/useBarChartProps.d.ts +9 -9
  30. package/BarChart/useBarPlotData.d.ts +5 -20
  31. package/BarChart/useBarPlotData.js +2 -46
  32. package/CHANGELOG.md +137 -1
  33. package/ChartContainer/ChartContainer.d.ts +5 -5
  34. package/ChartContainer/ChartContainer.js +30 -0
  35. package/ChartContainer/useChartContainerProps.d.ts +6 -6
  36. package/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  37. package/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  38. package/ChartsAxis/ChartsAxis.d.ts +1 -1
  39. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  40. package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  41. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  42. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  43. package/ChartsGrid/ChartsGrid.d.ts +1 -1
  44. package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  45. package/ChartsGrid/ChartsHorizontalGrid.js +2 -1
  46. package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  47. package/ChartsGrid/ChartsVerticalGrid.js +2 -1
  48. package/ChartsLabel/ChartsLabel.d.ts +2 -2
  49. package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  50. package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  51. package/ChartsLegend/ChartsLegend.d.ts +2 -2
  52. package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  53. package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  54. package/ChartsLegend/chartsLegend.types.d.ts +3 -3
  55. package/ChartsLegend/colorLegend.types.d.ts +1 -1
  56. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  57. package/ChartsLegend/legend.types.d.ts +1 -1
  58. package/ChartsLegend/legendContext.types.d.ts +3 -3
  59. package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  60. package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  61. package/ChartsLegend/useAxis.d.ts +3 -3
  62. package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  63. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  64. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  65. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  66. package/ChartsReferenceLine/common.d.ts +3 -3
  67. package/ChartsSurface/ChartsSurface.d.ts +1 -1
  68. package/ChartsSurface/ChartsSurface.js +1 -13
  69. package/ChartsText/ChartsText.d.ts +1 -1
  70. package/ChartsText/defaultTextPlacement.d.ts +1 -1
  71. package/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  72. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  73. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  74. package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  75. package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  76. package/ChartsTooltip/ChartsTooltipContainer.js +3 -2
  77. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  78. package/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  79. package/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  80. package/ChartsTooltip/useItemTooltip.d.ts +2 -2
  81. package/ChartsTooltip/useItemTooltip.js +2 -2
  82. package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  83. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  84. package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  85. package/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
  86. package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  87. package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  88. package/ChartsXAxis/ChartsXAxisImpl.js +7 -3
  89. package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  90. package/ChartsXAxis/shortenLabels.d.ts +3 -3
  91. package/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
  92. package/ChartsXAxis/utilities.d.ts +1 -1
  93. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  94. package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  95. package/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
  96. package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  97. package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  98. package/ChartsYAxis/ChartsYAxisImpl.js +7 -3
  99. package/ChartsYAxis/shortenLabels.d.ts +3 -3
  100. package/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
  101. package/ChartsYAxis/utilities.d.ts +1 -1
  102. package/Gauge/Gauge.d.ts +3 -3
  103. package/Gauge/GaugeContainer.d.ts +4 -4
  104. package/Gauge/GaugeValueText.d.ts +1 -1
  105. package/LineChart/AppearingMask.d.ts +1 -1
  106. package/LineChart/AreaElement.d.ts +3 -3
  107. package/LineChart/AreaPlot.d.ts +2 -2
  108. package/LineChart/AreaPlot.js +4 -1
  109. package/LineChart/CircleMarkElement.d.ts +1 -1
  110. package/LineChart/CircleMarkElement.js +1 -1
  111. package/LineChart/FocusedLineMark.d.ts +1 -0
  112. package/LineChart/{FocusedMark.js → FocusedLineMark.js} +2 -2
  113. package/LineChart/LineChart.d.ts +17 -17
  114. package/LineChart/LineChart.js +22 -2
  115. package/LineChart/LineChart.plugins.d.ts +9 -8
  116. package/LineChart/LineChart.plugins.js +2 -1
  117. package/LineChart/LineElement.d.ts +3 -3
  118. package/LineChart/LineHighlightElement.d.ts +1 -1
  119. package/LineChart/LineHighlightPlot.d.ts +2 -2
  120. package/LineChart/LinePlot.d.ts +2 -2
  121. package/LineChart/LinePlot.js +4 -1
  122. package/LineChart/MarkElement.d.ts +1 -1
  123. package/LineChart/MarkElement.js +1 -1
  124. package/LineChart/MarkPlot.d.ts +3 -3
  125. package/LineChart/MarkPlot.js +44 -114
  126. package/LineChart/index.d.ts +1 -0
  127. package/LineChart/index.js +12 -0
  128. package/LineChart/markElementClasses.d.ts +1 -1
  129. package/LineChart/seriesConfig/extremums.d.ts +1 -1
  130. package/LineChart/seriesConfig/getColor.d.ts +1 -1
  131. package/LineChart/seriesConfig/index.d.ts +1 -1
  132. package/LineChart/seriesConfig/legend.d.ts +1 -1
  133. package/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  134. package/LineChart/seriesConfig/seriesProcessor.js +3 -3
  135. package/LineChart/useAreaPlotData.d.ts +3 -3
  136. package/LineChart/useLineChartProps.d.ts +12 -12
  137. package/LineChart/useLinePlotData.d.ts +3 -3
  138. package/LineChart/useMarkPlotData.d.ts +18 -0
  139. package/LineChart/useMarkPlotData.js +105 -0
  140. package/PieChart/PieArc.d.ts +1 -1
  141. package/PieChart/PieArcLabel.d.ts +1 -1
  142. package/PieChart/PieArcLabel.js +4 -1
  143. package/PieChart/PieArcLabelPlot.d.ts +2 -2
  144. package/PieChart/PieArcPlot.d.ts +2 -2
  145. package/PieChart/PieChart.d.ts +11 -11
  146. package/PieChart/PieChart.plugins.d.ts +6 -5
  147. package/PieChart/PieChart.plugins.js +2 -1
  148. package/PieChart/PiePlot.d.ts +2 -2
  149. package/PieChart/PiePlot.js +9 -53
  150. package/PieChart/dataTransform/useTransformData.d.ts +1 -1
  151. package/PieChart/getPieCoordinates.d.ts +2 -2
  152. package/PieChart/seriesConfig/getColor.d.ts +1 -1
  153. package/PieChart/seriesConfig/index.d.ts +1 -1
  154. package/PieChart/seriesConfig/index.js +2 -0
  155. package/PieChart/seriesConfig/legend.d.ts +1 -1
  156. package/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  157. package/PieChart/seriesConfig/seriesLayout.js +48 -0
  158. package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  159. package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  160. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  161. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  162. package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  163. package/RadarChart/RadarChart.d.ts +11 -11
  164. package/RadarChart/RadarChart.plugins.d.ts +6 -5
  165. package/RadarChart/RadarChart.plugins.js +2 -1
  166. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  167. package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  168. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  169. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  170. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  171. package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  172. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  173. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  174. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  175. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  176. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  177. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  178. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  179. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  180. package/RadarChart/seriesConfig/extremums.d.ts +1 -1
  181. package/RadarChart/seriesConfig/getColor.d.ts +1 -1
  182. package/RadarChart/seriesConfig/index.d.ts +1 -1
  183. package/RadarChart/seriesConfig/index.js +2 -2
  184. package/RadarChart/seriesConfig/legend.d.ts +1 -1
  185. package/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  186. package/RadarChart/seriesConfig/seriesProcessor.js +29 -0
  187. package/RadarChart/useRadarChartProps.d.ts +7 -7
  188. package/RadarChart/useRadarChartProps.js +3 -1
  189. package/ScatterChart/BatchScatter.d.ts +4 -4
  190. package/ScatterChart/FocusedScatterMark.d.ts +2 -0
  191. package/ScatterChart/FocusedScatterMark.js +51 -0
  192. package/ScatterChart/Scatter.d.ts +5 -5
  193. package/ScatterChart/Scatter.js +1 -9
  194. package/ScatterChart/ScatterChart.d.ts +16 -16
  195. package/ScatterChart/ScatterChart.js +22 -1
  196. package/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  197. package/ScatterChart/ScatterChart.plugins.js +2 -1
  198. package/ScatterChart/ScatterMarker.d.ts +1 -1
  199. package/ScatterChart/ScatterMarker.types.d.ts +1 -1
  200. package/ScatterChart/ScatterPlot.d.ts +1 -1
  201. package/ScatterChart/index.d.ts +1 -0
  202. package/ScatterChart/index.js +12 -0
  203. package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  204. package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  205. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  206. package/ScatterChart/seriesConfig/legend.d.ts +1 -1
  207. package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  208. package/ScatterChart/useScatterChartProps.d.ts +7 -7
  209. package/ScatterChart/useScatterPlotData.d.ts +3 -3
  210. package/SparkLineChart/SparkLineChart.d.ts +12 -12
  211. package/SparkLineChart/SparkLineChart.js +22 -2
  212. package/Toolbar/Toolbar.d.ts +1 -1
  213. package/Toolbar/Toolbar.types.d.ts +1 -1
  214. package/Toolbar/ToolbarButton.d.ts +2 -2
  215. package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  216. package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  217. package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  218. package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  219. package/colorPalettes/sequential/blue.d.ts +1 -1
  220. package/colorPalettes/sequential/cyan.d.ts +1 -1
  221. package/colorPalettes/sequential/green.d.ts +1 -1
  222. package/colorPalettes/sequential/orange.d.ts +1 -1
  223. package/colorPalettes/sequential/pink.d.ts +1 -1
  224. package/colorPalettes/sequential/purple.d.ts +1 -1
  225. package/colorPalettes/sequential/red.d.ts +1 -1
  226. package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  227. package/colorPalettes/sequential/yellow.d.ts +1 -1
  228. package/context/ChartProvider/ChartProvider.d.ts +3 -3
  229. package/context/ChartProvider/ChartProvider.js +2 -1
  230. package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  231. package/context/ChartProvider/useChartContext.d.ts +2 -2
  232. package/context/ChartsSlotsContext.d.ts +1 -1
  233. package/context/useChartApiContext.d.ts +1 -1
  234. package/esm/BarChart/AnimatedBarElement.d.ts +2 -2
  235. package/esm/BarChart/BarChart.d.ts +14 -14
  236. package/esm/BarChart/BarChart.js +22 -1
  237. package/esm/BarChart/BarChart.plugins.d.ts +9 -8
  238. package/esm/BarChart/BarChart.plugins.js +2 -1
  239. package/esm/BarChart/BarElement.d.ts +3 -3
  240. package/esm/BarChart/BarElement.js +1 -2
  241. package/esm/BarChart/BarLabel/BarLabel.d.ts +1 -1
  242. package/esm/BarChart/BarLabel/BarLabel.js +12 -8
  243. package/esm/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
  244. package/esm/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
  245. package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +4 -4
  246. package/esm/BarChart/BarLabel/getBarLabel.d.ts +3 -3
  247. package/esm/BarChart/BarPlot.d.ts +4 -4
  248. package/esm/BarChart/BarPlot.js +4 -1
  249. package/esm/BarChart/FocusedBar.d.ts +2 -0
  250. package/esm/BarChart/FocusedBar.js +61 -0
  251. package/esm/BarChart/barElementClasses.d.ts +1 -1
  252. package/esm/BarChart/checkBarChartScaleErrors.d.ts +2 -2
  253. package/esm/BarChart/index.d.ts +1 -0
  254. package/esm/BarChart/index.js +1 -0
  255. package/esm/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
  256. package/esm/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
  257. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
  258. package/esm/BarChart/seriesConfig/bar/legend.d.ts +1 -1
  259. package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
  260. package/esm/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
  261. package/esm/BarChart/seriesConfig/index.d.ts +1 -1
  262. package/esm/BarChart/useBarChartProps.d.ts +9 -9
  263. package/esm/BarChart/useBarPlotData.d.ts +5 -20
  264. package/esm/BarChart/useBarPlotData.js +1 -44
  265. package/esm/ChartContainer/ChartContainer.d.ts +5 -5
  266. package/esm/ChartContainer/ChartContainer.js +30 -0
  267. package/esm/ChartContainer/useChartContainerProps.d.ts +6 -6
  268. package/esm/ChartDataProvider/ChartDataProvider.d.ts +6 -6
  269. package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
  270. package/esm/ChartsAxis/ChartsAxis.d.ts +1 -1
  271. package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
  272. package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
  273. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
  274. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
  275. package/esm/ChartsGrid/ChartsGrid.d.ts +1 -1
  276. package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
  277. package/esm/ChartsGrid/ChartsHorizontalGrid.js +2 -1
  278. package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
  279. package/esm/ChartsGrid/ChartsVerticalGrid.js +2 -1
  280. package/esm/ChartsLabel/ChartsLabel.d.ts +2 -2
  281. package/esm/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
  282. package/esm/ChartsLabel/ChartsLabelMark.d.ts +2 -2
  283. package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
  284. package/esm/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
  285. package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
  286. package/esm/ChartsLegend/chartsLegend.types.d.ts +3 -3
  287. package/esm/ChartsLegend/colorLegend.types.d.ts +1 -1
  288. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  289. package/esm/ChartsLegend/legend.types.d.ts +1 -1
  290. package/esm/ChartsLegend/legendContext.types.d.ts +3 -3
  291. package/esm/ChartsLegend/onClickContextBuilder.d.ts +1 -1
  292. package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
  293. package/esm/ChartsLegend/useAxis.d.ts +3 -3
  294. package/esm/ChartsOverlay/ChartsOverlay.d.ts +2 -2
  295. package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
  296. package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
  297. package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
  298. package/esm/ChartsReferenceLine/common.d.ts +3 -3
  299. package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
  300. package/esm/ChartsSurface/ChartsSurface.js +1 -13
  301. package/esm/ChartsText/ChartsText.d.ts +1 -1
  302. package/esm/ChartsText/defaultTextPlacement.d.ts +1 -1
  303. package/esm/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
  304. package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
  305. package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
  306. package/esm/ChartsTooltip/ChartsTooltip.d.ts +2 -2
  307. package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
  308. package/esm/ChartsTooltip/ChartsTooltipContainer.js +2 -1
  309. package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  310. package/esm/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  311. package/esm/ChartsTooltip/useAxisTooltip.d.ts +4 -4
  312. package/esm/ChartsTooltip/useItemTooltip.d.ts +2 -2
  313. package/esm/ChartsTooltip/useItemTooltip.js +1 -1
  314. package/esm/ChartsWrapper/ChartsWrapper.d.ts +3 -3
  315. package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
  316. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
  317. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
  318. package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -1
  319. package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
  320. package/esm/ChartsXAxis/ChartsXAxisImpl.js +7 -3
  321. package/esm/ChartsXAxis/getVisibleLabels.d.ts +2 -2
  322. package/esm/ChartsXAxis/shortenLabels.d.ts +3 -3
  323. package/esm/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
  324. package/esm/ChartsXAxis/utilities.d.ts +1 -1
  325. package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
  326. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
  327. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
  328. package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -1
  329. package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
  330. package/esm/ChartsYAxis/ChartsYAxisImpl.js +7 -3
  331. package/esm/ChartsYAxis/shortenLabels.d.ts +3 -3
  332. package/esm/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
  333. package/esm/ChartsYAxis/utilities.d.ts +1 -1
  334. package/esm/Gauge/Gauge.d.ts +3 -3
  335. package/esm/Gauge/GaugeContainer.d.ts +4 -4
  336. package/esm/Gauge/GaugeValueText.d.ts +1 -1
  337. package/esm/LineChart/AppearingMask.d.ts +1 -1
  338. package/esm/LineChart/AreaElement.d.ts +3 -3
  339. package/esm/LineChart/AreaPlot.d.ts +2 -2
  340. package/esm/LineChart/AreaPlot.js +4 -1
  341. package/esm/LineChart/CircleMarkElement.d.ts +1 -1
  342. package/esm/LineChart/CircleMarkElement.js +1 -1
  343. package/esm/LineChart/FocusedLineMark.d.ts +1 -0
  344. package/esm/LineChart/{FocusedMark.js → FocusedLineMark.js} +1 -1
  345. package/esm/LineChart/LineChart.d.ts +17 -17
  346. package/esm/LineChart/LineChart.js +22 -2
  347. package/esm/LineChart/LineChart.plugins.d.ts +9 -8
  348. package/esm/LineChart/LineChart.plugins.js +2 -1
  349. package/esm/LineChart/LineElement.d.ts +3 -3
  350. package/esm/LineChart/LineHighlightElement.d.ts +1 -1
  351. package/esm/LineChart/LineHighlightPlot.d.ts +2 -2
  352. package/esm/LineChart/LinePlot.d.ts +2 -2
  353. package/esm/LineChart/LinePlot.js +4 -1
  354. package/esm/LineChart/MarkElement.d.ts +1 -1
  355. package/esm/LineChart/MarkElement.js +1 -1
  356. package/esm/LineChart/MarkPlot.d.ts +3 -3
  357. package/esm/LineChart/MarkPlot.js +44 -114
  358. package/esm/LineChart/index.d.ts +1 -0
  359. package/esm/LineChart/index.js +1 -0
  360. package/esm/LineChart/markElementClasses.d.ts +1 -1
  361. package/esm/LineChart/seriesConfig/extremums.d.ts +1 -1
  362. package/esm/LineChart/seriesConfig/getColor.d.ts +1 -1
  363. package/esm/LineChart/seriesConfig/index.d.ts +1 -1
  364. package/esm/LineChart/seriesConfig/legend.d.ts +1 -1
  365. package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
  366. package/esm/LineChart/seriesConfig/seriesProcessor.js +3 -3
  367. package/esm/LineChart/useAreaPlotData.d.ts +3 -3
  368. package/esm/LineChart/useLineChartProps.d.ts +12 -12
  369. package/esm/LineChart/useLinePlotData.d.ts +3 -3
  370. package/esm/LineChart/useMarkPlotData.d.ts +18 -0
  371. package/esm/LineChart/useMarkPlotData.js +97 -0
  372. package/esm/PieChart/PieArc.d.ts +1 -1
  373. package/esm/PieChart/PieArcLabel.d.ts +1 -1
  374. package/esm/PieChart/PieArcLabel.js +4 -1
  375. package/esm/PieChart/PieArcLabelPlot.d.ts +2 -2
  376. package/esm/PieChart/PieArcPlot.d.ts +2 -2
  377. package/esm/PieChart/PieChart.d.ts +11 -11
  378. package/esm/PieChart/PieChart.plugins.d.ts +6 -5
  379. package/esm/PieChart/PieChart.plugins.js +2 -1
  380. package/esm/PieChart/PiePlot.d.ts +2 -2
  381. package/esm/PieChart/PiePlot.js +10 -54
  382. package/esm/PieChart/dataTransform/useTransformData.d.ts +1 -1
  383. package/esm/PieChart/getPieCoordinates.d.ts +2 -2
  384. package/esm/PieChart/seriesConfig/getColor.d.ts +1 -1
  385. package/esm/PieChart/seriesConfig/index.d.ts +1 -1
  386. package/esm/PieChart/seriesConfig/index.js +2 -0
  387. package/esm/PieChart/seriesConfig/legend.d.ts +1 -1
  388. package/esm/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
  389. package/esm/PieChart/seriesConfig/seriesLayout.js +42 -0
  390. package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
  391. package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
  392. package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
  393. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
  394. package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
  395. package/esm/RadarChart/RadarChart.d.ts +11 -11
  396. package/esm/RadarChart/RadarChart.plugins.d.ts +6 -5
  397. package/esm/RadarChart/RadarChart.plugins.js +2 -1
  398. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
  399. package/esm/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
  400. package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
  401. package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
  402. package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
  403. package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
  404. package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
  405. package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
  406. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
  407. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
  408. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
  409. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
  410. package/esm/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  411. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
  412. package/esm/RadarChart/seriesConfig/extremums.d.ts +1 -1
  413. package/esm/RadarChart/seriesConfig/getColor.d.ts +1 -1
  414. package/esm/RadarChart/seriesConfig/index.d.ts +1 -1
  415. package/esm/RadarChart/seriesConfig/index.js +2 -2
  416. package/esm/RadarChart/seriesConfig/legend.d.ts +1 -1
  417. package/esm/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
  418. package/esm/RadarChart/seriesConfig/seriesProcessor.js +22 -0
  419. package/esm/RadarChart/useRadarChartProps.d.ts +7 -7
  420. package/esm/RadarChart/useRadarChartProps.js +3 -1
  421. package/esm/ScatterChart/BatchScatter.d.ts +4 -4
  422. package/esm/ScatterChart/FocusedScatterMark.d.ts +2 -0
  423. package/esm/ScatterChart/FocusedScatterMark.js +44 -0
  424. package/esm/ScatterChart/Scatter.d.ts +5 -5
  425. package/esm/ScatterChart/Scatter.js +1 -9
  426. package/esm/ScatterChart/ScatterChart.d.ts +16 -16
  427. package/esm/ScatterChart/ScatterChart.js +22 -1
  428. package/esm/ScatterChart/ScatterChart.plugins.d.ts +10 -9
  429. package/esm/ScatterChart/ScatterChart.plugins.js +2 -1
  430. package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
  431. package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
  432. package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
  433. package/esm/ScatterChart/index.d.ts +1 -0
  434. package/esm/ScatterChart/index.js +1 -0
  435. package/esm/ScatterChart/seriesConfig/extremums.d.ts +1 -1
  436. package/esm/ScatterChart/seriesConfig/getColor.d.ts +1 -1
  437. package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
  438. package/esm/ScatterChart/seriesConfig/legend.d.ts +1 -1
  439. package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
  440. package/esm/ScatterChart/useScatterChartProps.d.ts +7 -7
  441. package/esm/ScatterChart/useScatterPlotData.d.ts +3 -3
  442. package/esm/SparkLineChart/SparkLineChart.d.ts +12 -12
  443. package/esm/SparkLineChart/SparkLineChart.js +22 -2
  444. package/esm/Toolbar/Toolbar.d.ts +1 -1
  445. package/esm/Toolbar/Toolbar.types.d.ts +1 -1
  446. package/esm/Toolbar/ToolbarButton.d.ts +2 -2
  447. package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
  448. package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
  449. package/esm/colorPalettes/categorical/mangoFusion.d.ts +1 -1
  450. package/esm/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
  451. package/esm/colorPalettes/sequential/blue.d.ts +1 -1
  452. package/esm/colorPalettes/sequential/cyan.d.ts +1 -1
  453. package/esm/colorPalettes/sequential/green.d.ts +1 -1
  454. package/esm/colorPalettes/sequential/orange.d.ts +1 -1
  455. package/esm/colorPalettes/sequential/pink.d.ts +1 -1
  456. package/esm/colorPalettes/sequential/purple.d.ts +1 -1
  457. package/esm/colorPalettes/sequential/red.d.ts +1 -1
  458. package/esm/colorPalettes/sequential/strawberrySky.d.ts +1 -1
  459. package/esm/colorPalettes/sequential/yellow.d.ts +1 -1
  460. package/esm/context/ChartProvider/ChartProvider.d.ts +3 -3
  461. package/esm/context/ChartProvider/ChartProvider.js +2 -1
  462. package/esm/context/ChartProvider/ChartProvider.types.d.ts +2 -2
  463. package/esm/context/ChartProvider/useChartContext.d.ts +2 -2
  464. package/esm/context/ChartsSlotsContext.d.ts +1 -1
  465. package/esm/context/useChartApiContext.d.ts +1 -1
  466. package/esm/hooks/animation/useAnimate.d.ts +1 -1
  467. package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
  468. package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
  469. package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  470. package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  471. package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
  472. package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
  473. package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  474. package/esm/hooks/index.d.ts +1 -1
  475. package/esm/hooks/index.js +1 -1
  476. package/esm/hooks/useAxis.d.ts +1 -1
  477. package/esm/hooks/useBarSeries.d.ts +3 -3
  478. package/esm/hooks/useChartGradientId.d.ts +1 -1
  479. package/esm/hooks/useChartRootRef.d.ts +1 -1
  480. package/esm/hooks/useColorScale.d.ts +1 -1
  481. package/esm/hooks/useDataset.d.ts +1 -1
  482. package/esm/hooks/useFocusedItem.d.ts +2 -2
  483. package/esm/hooks/useInteractionItemProps.d.ts +7 -6
  484. package/esm/hooks/useInteractionItemProps.js +6 -8
  485. package/esm/hooks/useIsItemFocused.d.ts +1 -1
  486. package/esm/hooks/useIsItemFocusedGetter.d.ts +1 -1
  487. package/esm/hooks/useItemHighlighted.d.ts +1 -1
  488. package/esm/hooks/useLineSeries.d.ts +3 -3
  489. package/esm/hooks/usePieSeries.d.ts +10 -4
  490. package/esm/hooks/usePieSeries.js +13 -0
  491. package/esm/hooks/useRadarSeries.d.ts +3 -3
  492. package/esm/hooks/useScale.d.ts +1 -1
  493. package/esm/hooks/useScatterSeries.d.ts +3 -3
  494. package/esm/hooks/useSvgRef.d.ts +1 -1
  495. package/esm/hooks/useTicks.d.ts +9 -7
  496. package/esm/hooks/useTicks.js +94 -7
  497. package/esm/hooks/useTicksGrouped.d.ts +1 -1
  498. package/esm/index.js +1 -1
  499. package/esm/internals/Flatbush.d.ts +0 -1
  500. package/esm/internals/Flatbush.js +1 -1
  501. package/esm/internals/colorScale.d.ts +3 -3
  502. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  503. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  504. package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  505. package/esm/internals/components/NotRendered.d.ts +1 -1
  506. package/esm/internals/configInit.d.ts +1 -1
  507. package/esm/internals/createSvgIcon.d.ts +2 -2
  508. package/esm/internals/dateHelpers.d.ts +3 -3
  509. package/esm/internals/defaultValueFormatters.d.ts +1 -1
  510. package/esm/internals/domUtils.d.ts +1 -1
  511. package/esm/internals/findMinMax.d.ts +7 -0
  512. package/esm/internals/findMinMax.js +7 -0
  513. package/esm/internals/getBarDimensions.d.ts +17 -0
  514. package/esm/internals/getBarDimensions.js +44 -0
  515. package/esm/internals/getCurve.d.ts +1 -1
  516. package/esm/internals/getScale.d.ts +2 -2
  517. package/esm/internals/getSeriesColorFn.d.ts +1 -1
  518. package/esm/internals/getWordsByLines.d.ts +1 -1
  519. package/esm/internals/index.d.ts +1 -1
  520. package/esm/internals/index.js +1 -1
  521. package/esm/internals/invertScale.d.ts +1 -1
  522. package/esm/internals/invertTextAnchor.d.ts +1 -1
  523. package/esm/internals/isCartesian.d.ts +1 -1
  524. package/esm/internals/isPolar.d.ts +1 -1
  525. package/esm/internals/material/index.d.ts +2 -2
  526. package/esm/internals/plugins/allPlugins.d.ts +13 -12
  527. package/esm/internals/plugins/allPlugins.js +2 -1
  528. package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  529. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  530. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  531. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  532. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  533. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  534. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  535. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  536. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  537. package/esm/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  538. package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  539. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  540. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  541. package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  542. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  543. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -7
  544. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  545. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
  546. package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  547. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  548. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
  549. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  550. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  551. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  552. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  553. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  554. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  555. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  556. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  557. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  558. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  559. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  560. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  561. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  562. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  563. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  564. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  565. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  566. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +7 -1
  567. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  568. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  569. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  570. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  571. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  572. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +10 -6
  573. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  574. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  575. package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  576. package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  577. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  578. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +2 -2
  579. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  580. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  581. package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  582. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  583. package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +1 -2
  584. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  585. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  586. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  587. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -2
  588. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  589. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  590. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  591. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  592. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  593. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  594. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  595. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  596. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  597. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  598. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  599. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  600. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  601. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  602. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  603. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  604. package/esm/internals/plugins/featurePlugins/useChartTooltip/index.js +2 -0
  605. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  606. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +44 -0
  607. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  608. package/esm/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +6 -3
  609. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +29 -0
  610. package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +1 -0
  611. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  612. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  613. package/esm/internals/plugins/models/plugin.d.ts +4 -4
  614. package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
  615. package/esm/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
  616. package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -7
  617. package/esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +6 -6
  618. package/esm/internals/plugins/utils/selectors.d.ts +2 -2
  619. package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  620. package/esm/internals/scaleGuards.d.ts +1 -1
  621. package/esm/internals/scales/scaleSymlog.d.ts +1 -1
  622. package/esm/internals/seriesSelectorOfType.d.ts +5 -5
  623. package/esm/internals/stackSeries.d.ts +50 -4
  624. package/esm/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  625. package/esm/internals/store/useCharts.d.ts +4 -4
  626. package/esm/internals/store/useCharts.types.d.ts +2 -2
  627. package/esm/internals/store/useStore.d.ts +2 -2
  628. package/esm/locales/elGR.d.ts +1 -1
  629. package/esm/locales/enUS.d.ts +1 -1
  630. package/esm/locales/frFR.d.ts +1 -1
  631. package/esm/locales/nbNO.d.ts +1 -1
  632. package/esm/locales/ptBR.d.ts +1 -1
  633. package/esm/locales/ptPT.d.ts +1 -1
  634. package/esm/locales/svSE.d.ts +1 -1
  635. package/esm/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  636. package/esm/locales/utils/getChartsLocalization.d.ts +1 -1
  637. package/esm/models/axis.d.ts +15 -6
  638. package/esm/models/index.d.ts +2 -1
  639. package/esm/models/seriesType/bar.d.ts +3 -3
  640. package/esm/models/seriesType/common.d.ts +5 -2
  641. package/esm/models/seriesType/config.d.ts +8 -8
  642. package/esm/models/seriesType/index.d.ts +2 -2
  643. package/esm/models/seriesType/line.d.ts +3 -3
  644. package/esm/models/seriesType/pie.d.ts +39 -4
  645. package/esm/models/seriesType/radar.d.ts +2 -2
  646. package/esm/models/seriesType/scatter.d.ts +2 -2
  647. package/esm/models/slots/chartsBaseSlots.d.ts +2 -2
  648. package/esm/models/timeTicks.d.ts +37 -0
  649. package/esm/models/timeTicks.js +1 -0
  650. package/esm/models/z-axis.d.ts +1 -1
  651. package/esm/plugins/index.d.ts +1 -0
  652. package/esm/plugins/index.js +1 -0
  653. package/esm/themeAugmentation/components.d.ts +1 -1
  654. package/esm/themeAugmentation/overrides.d.ts +7 -7
  655. package/esm/themeAugmentation/props.d.ts +12 -12
  656. package/esm/utils/index.d.ts +2 -1
  657. package/esm/utils/index.js +2 -1
  658. package/esm/utils/niceDomain.d.ts +2 -2
  659. package/esm/utils/timeTicks.d.ts +2 -0
  660. package/esm/utils/timeTicks.js +62 -0
  661. package/hooks/animation/useAnimate.d.ts +1 -1
  662. package/hooks/animation/useAnimateArea.d.ts +1 -1
  663. package/hooks/animation/useAnimateBar.d.ts +1 -1
  664. package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
  665. package/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
  666. package/hooks/animation/useAnimateLine.d.ts +1 -1
  667. package/hooks/animation/useAnimatePieArc.d.ts +1 -1
  668. package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
  669. package/hooks/index.d.ts +1 -1
  670. package/hooks/index.js +14 -11
  671. package/hooks/useAxis.d.ts +1 -1
  672. package/hooks/useBarSeries.d.ts +3 -3
  673. package/hooks/useChartGradientId.d.ts +1 -1
  674. package/hooks/useChartRootRef.d.ts +1 -1
  675. package/hooks/useColorScale.d.ts +1 -1
  676. package/hooks/useDataset.d.ts +1 -1
  677. package/hooks/useFocusedItem.d.ts +2 -2
  678. package/hooks/useInteractionItemProps.d.ts +7 -6
  679. package/hooks/useInteractionItemProps.js +6 -8
  680. package/hooks/useIsItemFocused.d.ts +1 -1
  681. package/hooks/useIsItemFocusedGetter.d.ts +1 -1
  682. package/hooks/useItemHighlighted.d.ts +1 -1
  683. package/hooks/useLineSeries.d.ts +3 -3
  684. package/hooks/usePieSeries.d.ts +10 -4
  685. package/hooks/usePieSeries.js +14 -0
  686. package/hooks/useRadarSeries.d.ts +3 -3
  687. package/hooks/useScale.d.ts +1 -1
  688. package/hooks/useScatterSeries.d.ts +3 -3
  689. package/hooks/useSvgRef.d.ts +1 -1
  690. package/hooks/useTicks.d.ts +9 -7
  691. package/hooks/useTicks.js +95 -8
  692. package/hooks/useTicksGrouped.d.ts +1 -1
  693. package/index.js +1 -1
  694. package/internals/Flatbush.d.ts +0 -1
  695. package/internals/Flatbush.js +1 -1
  696. package/internals/colorScale.d.ts +3 -3
  697. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
  698. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
  699. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
  700. package/internals/components/NotRendered.d.ts +1 -1
  701. package/internals/configInit.d.ts +1 -1
  702. package/internals/createSvgIcon.d.ts +2 -2
  703. package/internals/dateHelpers.d.ts +3 -3
  704. package/internals/defaultValueFormatters.d.ts +1 -1
  705. package/internals/domUtils.d.ts +1 -1
  706. package/internals/findMinMax.d.ts +7 -0
  707. package/internals/findMinMax.js +7 -0
  708. package/internals/getBarDimensions.d.ts +17 -0
  709. package/internals/getBarDimensions.js +50 -0
  710. package/internals/getCurve.d.ts +1 -1
  711. package/internals/getScale.d.ts +2 -2
  712. package/internals/getSeriesColorFn.d.ts +1 -1
  713. package/internals/getWordsByLines.d.ts +1 -1
  714. package/internals/index.d.ts +1 -1
  715. package/internals/index.js +12 -12
  716. package/internals/invertScale.d.ts +1 -1
  717. package/internals/invertTextAnchor.d.ts +1 -1
  718. package/internals/isCartesian.d.ts +1 -1
  719. package/internals/isPolar.d.ts +1 -1
  720. package/internals/material/index.d.ts +2 -2
  721. package/internals/plugins/allPlugins.d.ts +13 -12
  722. package/internals/plugins/allPlugins.js +2 -1
  723. package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
  724. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
  725. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
  726. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
  727. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
  728. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
  729. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
  730. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
  731. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
  732. package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
  733. package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
  734. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
  735. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
  736. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
  737. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
  738. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -8
  739. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  740. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
  741. package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
  742. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
  743. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
  744. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
  745. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
  746. package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
  747. package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
  748. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  749. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
  750. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
  751. package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
  752. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
  753. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
  754. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
  755. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
  756. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
  757. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
  758. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
  759. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
  760. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
  761. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +6 -0
  762. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
  763. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  764. package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
  765. package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
  766. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
  767. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +10 -6
  768. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
  769. package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
  770. package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
  771. package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
  772. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
  773. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +2 -2
  774. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
  775. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
  776. package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
  777. package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
  778. package/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -12
  779. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
  780. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
  781. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
  782. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -3
  783. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
  784. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
  785. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
  786. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
  787. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
  788. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
  789. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
  790. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
  791. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
  792. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
  793. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
  794. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
  795. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
  796. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
  797. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  798. package/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
  799. package/internals/plugins/featurePlugins/useChartTooltip/index.js +27 -0
  800. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
  801. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +52 -0
  802. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
  803. package/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +7 -4
  804. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +29 -0
  805. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +5 -0
  806. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
  807. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
  808. package/internals/plugins/models/plugin.d.ts +4 -4
  809. package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
  810. package/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
  811. package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -7
  812. package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +6 -6
  813. package/internals/plugins/utils/selectors.d.ts +2 -2
  814. package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
  815. package/internals/scaleGuards.d.ts +1 -1
  816. package/internals/scales/scaleSymlog.d.ts +1 -1
  817. package/internals/seriesSelectorOfType.d.ts +5 -5
  818. package/internals/stackSeries.d.ts +50 -4
  819. package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
  820. package/internals/store/useCharts.d.ts +4 -4
  821. package/internals/store/useCharts.types.d.ts +2 -2
  822. package/internals/store/useStore.d.ts +2 -2
  823. package/locales/elGR.d.ts +1 -1
  824. package/locales/enUS.d.ts +1 -1
  825. package/locales/frFR.d.ts +1 -1
  826. package/locales/nbNO.d.ts +1 -1
  827. package/locales/ptBR.d.ts +1 -1
  828. package/locales/ptPT.d.ts +1 -1
  829. package/locales/svSE.d.ts +1 -1
  830. package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
  831. package/locales/utils/getChartsLocalization.d.ts +1 -1
  832. package/models/axis.d.ts +15 -6
  833. package/models/index.d.ts +2 -1
  834. package/models/seriesType/bar.d.ts +3 -3
  835. package/models/seriesType/common.d.ts +5 -2
  836. package/models/seriesType/config.d.ts +8 -8
  837. package/models/seriesType/index.d.ts +2 -2
  838. package/models/seriesType/line.d.ts +3 -3
  839. package/models/seriesType/pie.d.ts +39 -4
  840. package/models/seriesType/radar.d.ts +2 -2
  841. package/models/seriesType/scatter.d.ts +2 -2
  842. package/models/slots/chartsBaseSlots.d.ts +2 -2
  843. package/models/timeTicks.d.ts +37 -0
  844. package/models/timeTicks.js +5 -0
  845. package/models/z-axis.d.ts +1 -1
  846. package/package.json +3 -4
  847. package/plugins/index.d.ts +1 -0
  848. package/plugins/index.js +7 -0
  849. package/themeAugmentation/components.d.ts +1 -1
  850. package/themeAugmentation/overrides.d.ts +7 -7
  851. package/themeAugmentation/props.d.ts +12 -12
  852. package/utils/index.d.ts +2 -1
  853. package/utils/index.js +12 -1
  854. package/utils/niceDomain.d.ts +2 -2
  855. package/utils/timeTicks.d.ts +2 -0
  856. package/utils/timeTicks.js +68 -0
  857. package/LineChart/FocusedMark.d.ts +0 -1
  858. package/RadarChart/seriesConfig/formatter.d.ts +0 -3
  859. package/RadarChart/seriesConfig/formatter.js +0 -18
  860. package/esm/LineChart/FocusedMark.d.ts +0 -1
  861. package/esm/RadarChart/seriesConfig/formatter.d.ts +0 -3
  862. package/esm/RadarChart/seriesConfig/formatter.js +0 -12
  863. package/esm/internals/defaultizeValueFormatter.d.ts +0 -6
  864. package/esm/internals/defaultizeValueFormatter.js +0 -10
  865. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
  866. package/internals/defaultizeValueFormatter.d.ts +0 -6
  867. package/internals/defaultizeValueFormatter.js +0 -17
  868. package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
@@ -4,10 +4,10 @@ import type { ColorProcessor } from "./colorProcessor.types.js";
4
4
  import type { CartesianExtremumGetter } from "./cartesianExtremumGetter.types.js";
5
5
  import type { LegendGetter } from "./legendGetter.types.js";
6
6
  import type { AxisTooltipGetter, TooltipGetter } from "./tooltipGetter.types.js";
7
- import { PolarExtremumGetter } from "./polarExtremumGetter.types.js";
8
- import { GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.js";
9
- import { TooltipItemPositionGetter } from "./tooltipItemPositionGetter.types.js";
10
- import { SeriesLayoutGetter } from "./seriesLayout.types.js";
7
+ import { type PolarExtremumGetter } from "./polarExtremumGetter.types.js";
8
+ import { type GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.js";
9
+ import { type TooltipItemPositionGetter } from "./tooltipItemPositionGetter.types.js";
10
+ import { type SeriesLayoutGetter } from "./seriesLayout.types.js";
11
11
  export type ChartSeriesTypeConfig<TSeriesType extends ChartSeriesType> = {
12
12
  seriesProcessor: SeriesProcessor<TSeriesType>;
13
13
  /**
@@ -1,6 +1,6 @@
1
1
  import type { ChartSeriesType, ChartSeriesLayout } from "../../../../models/seriesType/config.js";
2
- import { 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 { SeriesProcessorResult } from "./seriesProcessor.types.js";
4
+ import { type SeriesProcessorResult } from "./seriesProcessor.types.js";
5
5
  export type SeriesLayoutGetterResult<TSeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<TSeriesType>>;
6
6
  export type SeriesLayoutGetter<TSeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<TSeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<TSeriesType>;
@@ -1,13 +1,13 @@
1
- import type { ChartItemIdentifierWithData, ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../models/seriesType/config.js";
2
- import { SeriesId } from "../../../../models/seriesType/common.js";
3
- import { AxisId, ChartsRotationAxisProps, ChartsRadiusAxisProps, PolarAxisDefaultized, ComputedXAxis, ComputedYAxis } from "../../../../models/axis.js";
4
- import { ChartsLabelMarkProps } from "../../../../ChartsLabel/ChartsLabelMark.js";
5
- import { ColorGetter } from "./colorProcessor.types.js";
1
+ import type { ChartItemIdentifier, ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../models/seriesType/config.js";
2
+ import { type SeriesId } from "../../../../models/seriesType/common.js";
3
+ import { type AxisId, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type ComputedXAxis, type ComputedYAxis } from "../../../../models/axis.js";
4
+ import { type ChartsLabelMarkProps } from "../../../../ChartsLabel/ChartsLabelMark.js";
5
+ import { type ColorGetter } from "./colorProcessor.types.js";
6
6
  export interface ItemTooltip<T extends ChartSeriesType> {
7
7
  /**
8
8
  * An object that identifies the item to display.
9
9
  */
10
- identifier: ChartItemIdentifierWithData<T>;
10
+ identifier: ChartItemIdentifier<T>;
11
11
  /**
12
12
  * The color associated with the item.
13
13
  */
@@ -59,7 +59,7 @@ export type TooltipGetter<TSeriesType extends ChartSeriesType> = (params: {
59
59
  series: ChartSeriesDefaultized<TSeriesType>;
60
60
  axesConfig: TooltipGetterAxesConfig;
61
61
  getColor: ColorGetter<TSeriesType>;
62
- identifier: ChartItemIdentifierWithData<TSeriesType> | null;
62
+ identifier: ChartItemIdentifier<TSeriesType> | null;
63
63
  }) => (TSeriesType extends 'radar' ? ItemTooltipWithMultipleValues<TSeriesType> : ItemTooltip<TSeriesType>) | null;
64
64
  /**
65
65
  * If `axisId` is set to undefined, the default axis will be used.
@@ -1,8 +1,8 @@
1
- import type { ChartItemIdentifierWithData, ChartSeriesType } from "../../../../models/seriesType/config.js";
2
- import { ChartsRotationAxisProps, ChartsRadiusAxisProps, ComputedXAxis, ComputedYAxis } from "../../../../models/axis.js";
3
- import { ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
4
- import { ProcessedSeries, SeriesLayout } from "../../corePlugins/useChartSeries/index.js";
5
- import { ComputeResult } from "../../featurePlugins/useChartPolarAxis/computeAxisValue.js";
1
+ import type { ChartItemIdentifier, ChartSeriesType } from "../../../../models/seriesType/config.js";
2
+ import { type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type ComputedXAxis, type ComputedYAxis } from "../../../../models/axis.js";
3
+ import { type ChartDrawingArea } from "../../../../hooks/useDrawingArea.js";
4
+ import { type ProcessedSeries, type SeriesLayout } from "../../corePlugins/useChartSeries/index.js";
5
+ import { type ComputeResult } from "../../featurePlugins/useChartPolarAxis/computeAxisValue.js";
6
6
  export interface TooltipPositionGetterAxesConfig {
7
7
  x?: ComputedXAxis;
8
8
  y?: ComputedYAxis;
@@ -13,7 +13,7 @@ export type TooltipItemPositionGetter<TSeriesType extends ChartSeriesType> = (pa
13
13
  series: ProcessedSeries<TSeriesType>;
14
14
  axesConfig: TooltipPositionGetterAxesConfig;
15
15
  drawingArea: ChartDrawingArea;
16
- identifier: ChartItemIdentifierWithData<TSeriesType> | null;
16
+ identifier: ChartItemIdentifier<TSeriesType> | null;
17
17
  seriesLayout: SeriesLayout<TSeriesType>;
18
18
  /**
19
19
  * The preferred placement of the tooltip related to the element.
@@ -1,5 +1,5 @@
1
1
  import type { Selector } from 'reselect';
2
- import { ChartAnyPluginSignature } from "../models/plugin.js";
3
- import { ChartState } from "../models/chart.js";
2
+ import { type ChartAnyPluginSignature } from "../models/plugin.js";
3
+ import { type ChartState } from "../models/chart.js";
4
4
  export type ChartRootSelector<TSignature extends ChartAnyPluginSignature, T extends keyof TSignature['state'] = keyof TSignature['state']> = Selector<ChartState<[TSignature]>, TSignature['state'][T]>;
5
5
  export type ChartOptionalRootSelector<TSignature extends ChartAnyPluginSignature> = Selector<ChartState<[], [TSignature]>, TSignature['state'][keyof TSignature['state']] | undefined>;
@@ -1,5 +1,5 @@
1
1
  import type { Store } from '@mui/x-internals/store';
2
- import { ChartAnyPluginSignature, ChartState } from "../models/index.js";
2
+ import { type ChartAnyPluginSignature, type ChartState } from "../models/index.js";
3
3
  export declare function useLazySelectorEffect<TSignatures extends readonly ChartAnyPluginSignature[], Value>(store: Store<ChartState<TSignatures>>, selector: (state: ChartState<TSignatures>) => Value, effect: (previous: Value, next: Value) => void,
4
4
  /**
5
5
  * If true, the selector will be ignored.
@@ -1,5 +1,5 @@
1
1
  import type { ScaleBand } from '@mui/x-charts-vendor/d3-scale';
2
- import { D3OrdinalScale, D3Scale } from "../models/axis.js";
2
+ import { type D3OrdinalScale, type D3Scale } from "../models/axis.js";
3
3
  export declare function isOrdinalScale<Domain extends {
4
4
  toString(): string;
5
5
  } = {
@@ -1,4 +1,4 @@
1
- import { NumberValue, ScaleSymLog } from '@mui/x-charts-vendor/d3-scale';
1
+ import { type NumberValue, type ScaleSymLog } from '@mui/x-charts-vendor/d3-scale';
2
2
  /**
3
3
  * Constructs a new continuous scale with the specified range, the constant 1, the default interpolator and clamping disabled.
4
4
  * The domain defaults to [0, 1].
@@ -1,12 +1,12 @@
1
- import { ChartSeriesDefaultized, ChartsSeriesConfig } from "../models/seriesType/config.js";
2
- import { SeriesId } from "../models/seriesType/common.js";
1
+ import { type ChartSeriesDefaultized, type ChartsSeriesConfig } from "../models/seriesType/config.js";
2
+ import { type SeriesId } from "../models/seriesType/common.js";
3
3
  import type { ProcessedSeries } from "./plugins/corePlugins/useChartSeries/index.js";
4
4
  export declare const selectorAllSeriesOfType: (args_0: import("./plugins/corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("./plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("./plugins/corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./plugins/corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("./index.js").UseChartInteractionListenerState & Partial<{}> & {
5
5
  cacheKey: import("./index.js").ChartStateCacheKey;
6
- }, seriesType: keyof ChartsSeriesConfig) => import("./index.js").SeriesProcessorResult<"line"> | {
6
+ }, seriesType: keyof ChartsSeriesConfig) => import("./index.js").SeriesProcessorResult<"line"> | import("./index.js").SeriesProcessorResult<"bar"> | {
7
7
  series: Record<SeriesId, import("../index.js").DefaultizedScatterSeriesType>;
8
8
  seriesOrder: SeriesId[];
9
- } | import("./index.js").SeriesProcessorResult<"bar"> | {
9
+ } | {
10
10
  series: Record<SeriesId, import("../index.js").DefaultizedPieSeriesType>;
11
11
  seriesOrder: SeriesId[];
12
12
  } | {
@@ -15,6 +15,6 @@ export declare const selectorAllSeriesOfType: (args_0: import("./plugins/corePlu
15
15
  } | undefined;
16
16
  export declare const selectorSeriesOfType: (args_0: import("./plugins/corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("./plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("./plugins/corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./plugins/corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("./index.js").UseChartInteractionListenerState & Partial<{}> & {
17
17
  cacheKey: import("./index.js").ChartStateCacheKey;
18
- }, seriesType: keyof ChartsSeriesConfig, ids?: SeriesId | SeriesId[] | undefined) => import("../index.js").DefaultizedRadarSeriesType | import("../index.js").DefaultizedLineSeriesType | import("../index.js").DefaultizedBarSeriesType | import("../index.js").DefaultizedScatterSeriesType | import("../index.js").DefaultizedPieSeriesType | (import("../index.js").DefaultizedRadarSeriesType | import("../index.js").DefaultizedLineSeriesType | import("../index.js").DefaultizedBarSeriesType | import("../index.js").DefaultizedScatterSeriesType | import("../index.js").DefaultizedPieSeriesType | undefined)[] | undefined;
18
+ }, seriesType: keyof ChartsSeriesConfig, ids?: SeriesId | SeriesId[] | undefined) => import("../index.js").DefaultizedLineSeriesType | import("../index.js").DefaultizedBarSeriesType | import("../index.js").DefaultizedScatterSeriesType | import("../index.js").DefaultizedPieSeriesType | import("../index.js").DefaultizedRadarSeriesType | (import("../index.js").DefaultizedLineSeriesType | import("../index.js").DefaultizedBarSeriesType | import("../index.js").DefaultizedScatterSeriesType | import("../index.js").DefaultizedPieSeriesType | import("../index.js").DefaultizedRadarSeriesType | undefined)[] | undefined;
19
19
  export declare const useAllSeriesOfType: <T extends keyof ChartsSeriesConfig>(seriesType: T) => ProcessedSeries[T];
20
20
  export declare const useSeriesOfType: <T extends keyof ChartsSeriesConfig>(seriesType: T, seriesId?: SeriesId | SeriesId[]) => ChartSeriesDefaultized<T> | ChartSeriesDefaultized<T>[] | undefined;
@@ -1,6 +1,6 @@
1
- import { Series } from '@mui/x-charts-vendor/d3-shape';
1
+ import { stackOrderAppearance as d3StackOrderAppearance, stackOrderAscending as d3StackOrderAscending, stackOrderDescending as d3StackOrderDescending, stackOrderInsideOut as d3StackOrderInsideOut, stackOrderNone as d3StackOrderNone, stackOrderReverse as d3StackOrderReverse, stackOffsetExpand as d3StackOffsetExpand, stackOffsetDiverging as d3StackOffsetDiverging, stackOffsetNone as d3StackOffsetNone, stackOffsetSilhouette as d3StackOffsetSilhouette, stackOffsetWiggle as d3StackOffsetWiggle, type Series } from '@mui/x-charts-vendor/d3-shape';
2
2
  import type { StackOffsetType, StackOrderType } from "../models/stacking.js";
3
- import { SeriesId, StackableSeriesType } from "../models/seriesType/common.js";
3
+ import { type SeriesId, type StackableSeriesType } from "../models/seriesType/common.js";
4
4
  type FormatterParams<T> = {
5
5
  series: Record<SeriesId, T>;
6
6
  seriesOrder: SeriesId[];
@@ -14,8 +14,54 @@ export type StackingGroupsType = {
14
14
  stackingOrder: (series: Series<any, any>) => number[];
15
15
  stackingOffset: (series: Series<any, any>, order: Iterable<number>) => void;
16
16
  }[];
17
- export declare const StackOrder: { [key in StackOrderType]: (series: Series<any, any>) => number[] };
18
- export declare const StackOffset: { [key in StackOffsetType]: (series: Series<any, any>, order: Iterable<number>) => void };
17
+ export declare const StackOrder: {
18
+ /**
19
+ * Series order such that the earliest series (according to the maximum value) is at the bottom.
20
+ * */
21
+ appearance: typeof d3StackOrderAppearance;
22
+ /**
23
+ * Series order such that the smallest series (according to the sum of values) is at the bottom.
24
+ * */
25
+ ascending: typeof d3StackOrderAscending;
26
+ /**
27
+ * Series order such that the largest series (according to the sum of values) is at the bottom.
28
+ */
29
+ descending: typeof d3StackOrderDescending;
30
+ /**
31
+ * Series order such that the earliest series (according to the maximum value) are on the inside and the later series are on the outside. This order is recommended for streamgraphs in conjunction with the wiggle offset. See Stacked Graphs—Geometry & Aesthetics by Byron & Wattenberg for more information.
32
+ */
33
+ insideOut: typeof d3StackOrderInsideOut;
34
+ /**
35
+ * Given series order [0, 1, … n - 1] where n is the number of elements in series. Thus, the stack order is given by the key accessor.
36
+ */
37
+ none: typeof d3StackOrderNone;
38
+ /**
39
+ * Reverse of the given series order [n - 1, n - 2, … 0] where n is the number of elements in series. Thus, the stack order is given by the reverse of the key accessor.
40
+ */
41
+ reverse: typeof d3StackOrderReverse;
42
+ };
43
+ export declare const StackOffset: {
44
+ /**
45
+ * Applies a zero baseline and normalizes the values for each point such that the topline is always one.
46
+ * */
47
+ expand: typeof d3StackOffsetExpand;
48
+ /**
49
+ * Positive values are stacked above zero, negative values are stacked below zero, and zero values are stacked at zero.
50
+ * */
51
+ diverging: typeof d3StackOffsetDiverging;
52
+ /**
53
+ * Applies a zero baseline.
54
+ * */
55
+ none: typeof d3StackOffsetNone;
56
+ /**
57
+ * Shifts the baseline down such that the center of the streamgraph is always at zero.
58
+ * */
59
+ silhouette: typeof d3StackOffsetSilhouette;
60
+ /**
61
+ * Shifts the baseline so as to minimize the weighted wiggle of layers. This offset is recommended for streamgraphs in conjunction with the inside-out order. See Stacked Graphs—Geometry & Aesthetics by Bryon & Wattenberg for more information.
62
+ * */
63
+ wiggle: typeof d3StackOffsetWiggle;
64
+ };
19
65
  /**
20
66
  * Takes a set of series and groups their ids
21
67
  * @param series the object of all bars series
@@ -1,6 +1,6 @@
1
- import { ChartCorePluginSignatures } from "../plugins/corePlugins/index.js";
2
- import { ChartPluginSignature, ConvertSignaturesIntoPlugins, MergeSignaturesProperty } from "../plugins/models/index.js";
3
- import { UseChartBaseProps } from "./useCharts.types.js";
1
+ import { type ChartCorePluginSignatures } from "../plugins/corePlugins/index.js";
2
+ import { type ChartPluginSignature, type ConvertSignaturesIntoPlugins, type MergeSignaturesProperty } from "../plugins/models/index.js";
3
+ import { type UseChartBaseProps } from "./useCharts.types.js";
4
4
  export declare const extractPluginParamsFromProps: <TSignatures extends readonly ChartPluginSignature<any>[], TProps extends Partial<UseChartBaseProps<TSignatures>>>({
5
5
  props: {
6
6
  apiRef,
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { Store } from '@mui/x-internals/store';
3
- import { ChartAnyPluginSignature, ChartInstance, ChartPublicAPI, ChartState, ConvertSignaturesIntoPlugins } from "../plugins/models/index.js";
4
- import { UseChartBaseProps } from "./useCharts.types.js";
5
- import { ChartSeriesType } from "../../models/seriesType/config.js";
6
- import { ChartSeriesConfig } from "../plugins/models/seriesConfig/index.js";
3
+ import { type ChartAnyPluginSignature, type ChartInstance, type ChartPublicAPI, type ChartState, type ConvertSignaturesIntoPlugins } from "../plugins/models/index.js";
4
+ import { type UseChartBaseProps } from "./useCharts.types.js";
5
+ import { type ChartSeriesType } from "../../models/seriesType/config.js";
6
+ import { type ChartSeriesConfig } from "../plugins/models/seriesConfig/index.js";
7
7
  /**
8
8
  * This is the main hook that setups the plugin system for the chart.
9
9
  *
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { ChartAnyPluginSignature, ChartPublicAPI } from "../plugins/models/index.js";
1
+ import type * as React from 'react';
2
+ import { type ChartAnyPluginSignature, type ChartPublicAPI } from "../plugins/models/index.js";
3
3
  export interface UseChartBaseProps<TSignatures extends readonly ChartAnyPluginSignature[]> {
4
4
  apiRef?: React.RefObject<ChartPublicAPI<TSignatures> | undefined>;
5
5
  }
@@ -1,3 +1,3 @@
1
- import { Store } from '@mui/x-internals/store';
2
- import { ChartAnyPluginSignature, ChartState } from "../plugins/models/index.js";
1
+ import { type Store } from '@mui/x-internals/store';
2
+ import { type ChartAnyPluginSignature, type ChartState } from "../plugins/models/index.js";
3
3
  export declare function useStore<TSignatures extends ChartAnyPluginSignature[] = []>(): Store<ChartState<TSignatures>>;
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const elGRLocaleText: Partial<ChartsLocaleText>;
3
3
  export declare const elGR: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const enUSLocaleText: ChartsLocaleText;
3
3
  export declare const DEFAULT_LOCALE: ChartsLocaleText;
4
4
  export declare const enUS: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const frFRLocalText: Partial<ChartsLocaleText>;
3
3
  export declare const frFR: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const nbNOLocaleText: Partial<ChartsLocaleText>;
3
3
  export declare const nbNO: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const ptBRLocaleText: Partial<ChartsLocaleText>;
3
3
  export declare const ptBR: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const ptPTLocaleText: Partial<ChartsLocaleText>;
3
3
  export declare const ptPT: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./utils/chartsLocaleTextApi.js";
2
2
  export declare const svSELocaleText: Partial<ChartsLocaleText>;
3
3
  export declare const svSE: {
4
4
  components: {
@@ -1,4 +1,4 @@
1
- import { ChartImageExportMimeType } from "./imageMimeTypes.js";
1
+ import { type ChartImageExportMimeType } from "./imageMimeTypes.js";
2
2
  export interface ChartsLocaleText {
3
3
  /**
4
4
  * Title displayed in the overlay if `loading` is `true`.
@@ -1,4 +1,4 @@
1
- import { ChartsLocaleText } from "./chartsLocaleTextApi.js";
1
+ import { type ChartsLocaleText } from "./chartsLocaleTextApi.js";
2
2
  /**
3
3
  * Helper to pass translation to all charts thanks to the MUI theme.
4
4
  * @param chartsTranslations The translation object.
@@ -1,11 +1,12 @@
1
1
  import type { ScaleBand, ScaleLinear, ScaleLogarithmic, ScaleOrdinal, ScalePoint, ScalePower, ScaleSequential, ScaleThreshold, ScaleTime, ScaleSymLog, NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
- import { SxProps } from '@mui/system/styleFunctionSx';
3
- import { type MakeOptional, MakeRequired } from '@mui/x-internals/types';
2
+ import { type SxProps } from '@mui/system/styleFunctionSx';
3
+ import { type MakeOptional, type MakeRequired } from '@mui/x-internals/types';
4
4
  import type { DefaultizedZoomOptions } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
5
- import { ChartsAxisClasses } from "../ChartsAxis/axisClasses.js";
5
+ import { type ChartsAxisClasses } from "../ChartsAxis/axisClasses.js";
6
6
  import type { TickParams } from "../hooks/useTicks.js";
7
- import { ChartsTextProps } from "../ChartsText/index.js";
8
- import { ContinuousColorConfig, OrdinalColorConfig, PiecewiseColorConfig } from "./colorMapping.js";
7
+ import type { ChartsTextProps } from "../ChartsText/index.js";
8
+ import type { ContinuousColorConfig, OrdinalColorConfig, PiecewiseColorConfig } from "./colorMapping.js";
9
+ import type { OrdinalTimeTicks } from "./timeTicks.js";
9
10
  export type AxisId = string | number;
10
11
  export type D3Scale<Domain extends {
11
12
  toString(): string;
@@ -229,6 +230,10 @@ export type AxisGroups = {
229
230
  export interface AxisScaleConfig {
230
231
  band: {
231
232
  scaleType: 'band';
233
+ /**
234
+ * Definition of the tick placements with date data.
235
+ */
236
+ ordinalTimeTicks?: OrdinalTimeTicks;
232
237
  scale: ScaleBand<{
233
238
  toString(): string;
234
239
  }>;
@@ -248,6 +253,10 @@ export interface AxisScaleConfig {
248
253
  } & AxisGroups & Pick<TickParams, 'tickPlacement' | 'tickLabelPlacement'>;
249
254
  point: {
250
255
  scaleType: 'point';
256
+ /**
257
+ * Definition of the tick placements with date data.
258
+ */
259
+ ordinalTimeTicks?: OrdinalTimeTicks;
251
260
  scale: ScalePoint<{
252
261
  toString(): string;
253
262
  }>;
@@ -542,7 +551,7 @@ export type DefaultedAxis<S extends ScaleName = ScaleName, V = any, AxisProps ex
542
551
  /**
543
552
  * The x-axis configuration with missing values filled with default values.
544
553
  */
545
- export type DefaultedXAxis<S extends ScaleName = ScaleName, V = any> = DefaultedAxis<S, V, ChartsXAxisProps>;
554
+ export type DefaultedXAxis<S extends ScaleName = ScaleName, V = any> = S extends ScaleName ? DefaultedAxis<S, V, ChartsXAxisProps> : never;
546
555
  /**
547
556
  * The y-axis configuration with missing values filled with default values.
548
557
  */
@@ -4,4 +4,5 @@ export * from "./slots/index.js";
4
4
  export type { AxisConfig, ChartsYAxisProps, ChartsXAxisProps, ScaleName, ContinuousScaleName, ChartsAxisData, XAxis, YAxis, RadiusAxis, RotationAxis, AxisItemIdentifier, AxisValueFormatterContext } from "./axis.js";
5
5
  export type { PropsFromSlot } from '@mui/x-internals/slots';
6
6
  export type { Position } from "./position.js";
7
- export type { CurveType } from "./curve.js";
7
+ export type { CurveType } from "./curve.js";
8
+ export type { TickFrequency, OrdinalTimeTicks, TickFrequencyDefinition } from "./timeTicks.js";
@@ -1,7 +1,7 @@
1
- import { DefaultizedProps } from '@mui/x-internals/types';
1
+ import { type DefaultizedProps } from '@mui/x-internals/types';
2
2
  import type { StackOffsetType } from "../stacking.js";
3
- import { CartesianSeriesType, CommonSeriesType, CommonDefaultizedProps, StackableSeriesType, SeriesId } from "./common.js";
4
- import { BarItem, BarLabelContext } from "../../BarChart/index.js";
3
+ import { type CartesianSeriesType, type CommonSeriesType, type CommonDefaultizedProps, type StackableSeriesType, type SeriesId } from "./common.js";
4
+ import { type BarItem, type BarLabelContext } from "../../BarChart/index.js";
5
5
  export type BarValueType = number;
6
6
  export interface BarSeriesType extends CommonSeriesType<BarValueType | null>, CartesianSeriesType, StackableSeriesType {
7
7
  type: 'bar';
@@ -1,7 +1,10 @@
1
- import { HighlightScope } from "../../internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js";
1
+ import { type HighlightScope } from "../../internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js";
2
2
  import type { StackOffsetType, StackOrderType } from "../stacking.js";
3
3
  import type { ChartsLabelMarkType } from "../../ChartsLabel/ChartsLabelMark.js";
4
- import { AxisId } from "../axis.js";
4
+ import { type AxisId } from "../axis.js";
5
+ /**
6
+ * The unique identifier of a series.
7
+ */
5
8
  export type SeriesId = number | string;
6
9
  export type SeriesValueFormatterContext = {
7
10
  /**
@@ -1,10 +1,10 @@
1
- import { DefaultizedProps, MakeOptional, MakeRequired } from '@mui/x-internals/types';
2
- import { ScatterSeriesType, DefaultizedScatterSeriesType, ScatterItemIdentifier, ScatterValueType } from "./scatter.js";
3
- import { LineSeriesType, DefaultizedLineSeriesType, LineItemIdentifier } from "./line.js";
4
- import { BarItemIdentifier, BarSeriesType, DefaultizedBarSeriesType } from "./bar.js";
5
- import { PieSeriesType, DefaultizedPieSeriesType, PieItemIdentifier, PieValueType, DefaultizedPieValueType } from "./pie.js";
6
- import { DefaultizedRadarSeriesType, RadarItemIdentifier, RadarSeriesType } from "./radar.js";
7
- import { SeriesColor } from "./common.js";
1
+ import type { DefaultizedProps, MakeOptional, MakeRequired } from '@mui/x-internals/types';
2
+ import type { ScatterSeriesType, DefaultizedScatterSeriesType, ScatterItemIdentifier, ScatterValueType } from "./scatter.js";
3
+ import type { LineSeriesType, DefaultizedLineSeriesType, LineItemIdentifier } from "./line.js";
4
+ import type { BarItemIdentifier, BarSeriesType, DefaultizedBarSeriesType } from "./bar.js";
5
+ import type { PieSeriesType, DefaultizedPieSeriesType, PieItemIdentifier, PieValueType, DefaultizedPieValueType, PieSeriesLayout } from "./pie.js";
6
+ import type { DefaultizedRadarSeriesType, RadarItemIdentifier, RadarSeriesType } from "./radar.js";
7
+ import type { SeriesColor } from "./common.js";
8
8
  export interface ChartsSeriesConfig {
9
9
  bar: {
10
10
  /**
@@ -56,7 +56,7 @@ export interface ChartsSeriesConfig {
56
56
  data: Array<MakeOptional<PieValueType, 'id'> & MakeRequired<SeriesColor<PieValueType | null>, 'color'>>;
57
57
  };
58
58
  series: DefaultizedPieSeriesType;
59
- seriesLayout: {};
59
+ seriesLayout: PieSeriesLayout;
60
60
  seriesProp: PieSeriesType<MakeOptional<PieValueType, 'id'>>;
61
61
  itemIdentifier: PieItemIdentifier;
62
62
  itemIdentifierWithData: PieItemIdentifier;
@@ -1,5 +1,5 @@
1
- import { BarSeriesType, DefaultizedBarSeriesType } from "./bar.js";
2
- import { CartesianChartSeriesType, ChartSeriesType, ChartsSeriesConfig, StackableChartSeriesType } from "./config.js";
1
+ import { type BarSeriesType, type DefaultizedBarSeriesType } from "./bar.js";
2
+ import { type CartesianChartSeriesType, type ChartSeriesType, type ChartsSeriesConfig, type StackableChartSeriesType } from "./config.js";
3
3
  type AllSeriesType<T extends ChartSeriesType = ChartSeriesType> = ChartsSeriesConfig[T]['seriesProp'];
4
4
  /**
5
5
  * @deprecated We do not use this type in v8. If it's useful for you use case, please open an issue explaining why.
@@ -1,7 +1,7 @@
1
- import { DefaultizedProps } from '@mui/x-internals/types';
1
+ import { type DefaultizedProps } from '@mui/x-internals/types';
2
2
  import type { StackOffsetType } from "../stacking.js";
3
- import { CartesianSeriesType, CommonDefaultizedProps, CommonSeriesType, SeriesId, StackableSeriesType } from "./common.js";
4
- import { CurveType } from "../curve.js";
3
+ import { type CartesianSeriesType, type CommonDefaultizedProps, type CommonSeriesType, type SeriesId, type StackableSeriesType } from "./common.js";
4
+ import { type CurveType } from "../curve.js";
5
5
  export interface ShowMarkParams<AxisValue = number | Date> {
6
6
  /**
7
7
  * The item index.
@@ -1,6 +1,6 @@
1
- import { PieArcDatum as D3PieArcDatum } from '@mui/x-charts-vendor/d3-shape';
2
- import { DefaultizedProps } from '@mui/x-internals/types';
3
- import { CommonDefaultizedProps, CommonSeriesType, SeriesId } from "./common.js";
1
+ import { type PieArcDatum as D3PieArcDatum } from '@mui/x-charts-vendor/d3-shape';
2
+ import { type DefaultizedProps } from '@mui/x-internals/types';
3
+ import { type CommonDefaultizedProps, type CommonSeriesType, type SeriesId } from "./common.js";
4
4
  import type { ChartsLabelMarkProps } from "../../ChartsLabel/index.js";
5
5
  export type PieItemId = string | number;
6
6
  export type PieValueType = {
@@ -163,4 +163,39 @@ export interface ComputedPieRadius {
163
163
  * @default (innerRadius - outerRadius) / 2
164
164
  */
165
165
  arcLabelRadius?: number;
166
- }
166
+ }
167
+ /**
168
+ * Layout information computed from the pie series and the drawing area.
169
+ */
170
+ export type PieSeriesLayout = {
171
+ /**
172
+ * The pie center coordinate in px.
173
+ */
174
+ center: {
175
+ x: number;
176
+ y: number;
177
+ };
178
+ /**
179
+ * The pie radius in px.
180
+ * Computed based on the drawing area and the center placement.
181
+ */
182
+ radius: {
183
+ /**
184
+ * The maximum available radius in px.
185
+ * Correspond to radius='100%'.
186
+ */
187
+ available: number;
188
+ /**
189
+ * The pie inner radius in px, except if overridden by item state (highlight/faded).
190
+ */
191
+ inner: number;
192
+ /**
193
+ * The pie outer radius in px, except if overridden by item state (highlight/faded).
194
+ */
195
+ outer: number;
196
+ /**
197
+ * The pie label radius in px, except if overridden by item state (highlight/faded).
198
+ */
199
+ label: number;
200
+ };
201
+ };
@@ -1,5 +1,5 @@
1
- import { DefaultizedProps } from '@mui/x-internals/types';
2
- import { CommonDefaultizedProps, CommonSeriesType, SeriesId } from "./common.js";
1
+ import { type DefaultizedProps } from '@mui/x-internals/types';
2
+ import { type CommonDefaultizedProps, type CommonSeriesType, type SeriesId } from "./common.js";
3
3
  export interface RadarSeriesType extends CommonSeriesType<number> {
4
4
  type: 'radar';
5
5
  data: number[];
@@ -1,5 +1,5 @@
1
- import { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
2
- import { CartesianSeriesType, CommonDefaultizedProps, CommonSeriesType, SeriesId } from "./common.js";
1
+ import { type DefaultizedProps, type MakeRequired } from '@mui/x-internals/types';
2
+ import { type CartesianSeriesType, type CommonDefaultizedProps, type CommonSeriesType, type SeriesId } from "./common.js";
3
3
  export type ScatterValueType = {
4
4
  x: number;
5
5
  y: number;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { ChartBaseButtonProps, ChartBaseIconButtonProps } from "./chartsBaseSlotProps.js";
1
+ import type * as React from 'react';
2
+ import { type ChartBaseButtonProps, type ChartBaseIconButtonProps } from "./chartsBaseSlotProps.js";
3
3
  export interface ChartsBaseSlots {
4
4
  baseButton: React.ComponentType<ChartBaseButtonProps>;
5
5
  baseIconButton: React.ComponentType<ChartBaseIconButtonProps>;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Definition of a tick frequency for time ordinal axes.
3
+ */
4
+ export type TickFrequencyDefinition = {
5
+ /**
6
+ * Returns the number of ticks in the given date range for this tick frequency.
7
+ * @param {Date} from The first date of the range.
8
+ * @param {Date} to The last date of the range.
9
+ * @returns {number} The number of ticks in the [from, to] range.
10
+ */
11
+ getTickNumber: (from: Date, to: Date) => number;
12
+ /**
13
+ * Decides if the current date should be shown as a tick.
14
+ * @param {Date} prev The date before the current date.
15
+ * @param {Date} value The current date to check.
16
+ * @returns {boolean} Whether the current date is a tick or not.
17
+ */
18
+ isTick: (prev: Date, value: Date) => boolean;
19
+ /**
20
+ * Format the tick value for display.
21
+ * @param {Date} date The tick value to format.
22
+ * @returns {string} The formatted date string.
23
+ */
24
+ format: (date: Date) => string;
25
+ };
26
+ /**
27
+ * The predefined tick frequencies for time ordinal axes.
28
+ * - 'years': displays the year, placing ticks at the start of each year
29
+ * - 'quarterly': displays the month, placing ticks at the start of each quarter
30
+ * - 'months': displays the month, placing ticks at the start of each month
31
+ * - 'biweekly': displays the day, placing ticks every two weeks
32
+ * - 'weeks': displays the day, placing ticks at the start of each week
33
+ * - 'days': displays the day, placing ticks at the start of each day
34
+ * - 'hours': displays the hour and minutes, placing ticks at the start of each hour
35
+ */
36
+ export type TickFrequency = 'years' | 'quarterly' | 'months' | 'biweekly' | 'weeks' | 'days' | 'hours';
37
+ export type OrdinalTimeTicks = (TickFrequencyDefinition | TickFrequency)[];
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { ScaleOrdinal, ScaleSequential, ScaleThreshold } from '@mui/x-charts-vendor/d3-scale';
2
- import { ContinuousColorConfig, OrdinalColorConfig, PiecewiseColorConfig } from "./colorMapping.js";
2
+ import { type ContinuousColorConfig, type OrdinalColorConfig, type PiecewiseColorConfig } from "./colorMapping.js";
3
3
  export interface ZAxisConfig<V = any> {
4
4
  id: string;
5
5
  data?: readonly V[];
@@ -1,5 +1,6 @@
1
1
  export { useChartCartesianAxis, type UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
2
2
  export { useChartHighlight, type UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
3
+ export { useChartTooltip, type UseChartTooltipSignature } from "../internals/plugins/featurePlugins/useChartTooltip/index.js";
3
4
  export { useChartInteraction, type UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
4
5
  export { useChartPolarAxis, type UseChartPolarAxisSignature } from "../internals/plugins/featurePlugins/useChartPolarAxis/index.js";
5
6
  export { useChartClosestPoint, type UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
@@ -6,6 +6,7 @@
6
6
  // Feature plugins
7
7
  export { useChartCartesianAxis } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
8
8
  export { useChartHighlight } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
9
+ export { useChartTooltip } from "../internals/plugins/featurePlugins/useChartTooltip/index.js";
9
10
  export { useChartInteraction } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
10
11
  export { useChartPolarAxis } from "../internals/plugins/featurePlugins/useChartPolarAxis/index.js";
11
12
  export { useChartClosestPoint } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
@@ -1,4 +1,4 @@
1
- import { ComponentsProps, ComponentsOverrides } from '@mui/material/styles';
1
+ import { type ComponentsProps, type ComponentsOverrides } from '@mui/material/styles';
2
2
  export interface ChartsComponents<Theme = unknown> {
3
3
  MuiChartsAxis?: {
4
4
  styleOverrides?: ComponentsOverrides<Theme>['MuiChartsAxis'];