@mui/x-charts 8.16.0 → 8.17.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 (469) hide show
  1. package/BarChart/AnimatedBarElement.d.ts +1 -1
  2. package/BarChart/BarChart.js +1 -0
  3. package/BarChart/BarClipPath.d.ts +1 -1
  4. package/BarChart/BarElement.d.ts +1 -1
  5. package/BarChart/BarElement.js +6 -8
  6. package/BarChart/BarLabel/BarLabel.d.ts +1 -1
  7. package/BarChart/BarLabel/BarLabelItem.d.ts +1 -1
  8. package/BarChart/BarLabel/BarLabelPlot.d.ts +2 -3
  9. package/BarChart/BarLabel/BarLabelPlot.js +41 -36
  10. package/BarChart/BarPlot.d.ts +13 -3
  11. package/BarChart/BarPlot.js +3 -3
  12. package/BarChart/seriesConfig/{extremums.d.ts → bar/extremums.d.ts} +1 -1
  13. package/BarChart/seriesConfig/{extremums.js → bar/extremums.js} +1 -1
  14. package/BarChart/seriesConfig/bar/getColor.d.ts +3 -0
  15. package/BarChart/seriesConfig/{getColor.js → bar/getColor.js} +28 -5
  16. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +3 -0
  17. package/BarChart/seriesConfig/bar/legend.d.ts +3 -0
  18. package/BarChart/seriesConfig/{legend.js → bar/legend.js} +1 -1
  19. package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +3 -0
  20. package/BarChart/seriesConfig/{seriesProcessor.js → bar/seriesProcessor.js} +1 -1
  21. package/BarChart/seriesConfig/bar/tooltip.d.ts +4 -0
  22. package/BarChart/seriesConfig/{tooltip.js → bar/tooltip.js} +1 -1
  23. package/BarChart/seriesConfig/bar/tooltipPosition.d.ts +3 -0
  24. package/BarChart/seriesConfig/{tooltipPosition.js → bar/tooltipPosition.js} +1 -1
  25. package/BarChart/seriesConfig/index.d.ts +1 -1
  26. package/BarChart/seriesConfig/index.js +9 -9
  27. package/BarChart/types.d.ts +1 -0
  28. package/BarChart/useBarPlotData.js +2 -1
  29. package/CHANGELOG.md +108 -1
  30. package/ChartDataProvider/ChartDataProvider.d.ts +1 -1
  31. package/ChartsAxis/ChartsAxis.d.ts +1 -2
  32. package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -2
  33. package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +1 -2
  34. package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +1 -2
  35. package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +1 -2
  36. package/ChartsClipPath/ChartsClipPath.d.ts +1 -2
  37. package/ChartsClipPath/ChartsClipPath.js +0 -2
  38. package/ChartsGrid/ChartsGrid.d.ts +1 -2
  39. package/ChartsGrid/ChartsGrid.js +0 -2
  40. package/ChartsGrid/ChartsHorizontalGrid.d.ts +1 -2
  41. package/ChartsGrid/ChartsVerticalGrid.d.ts +1 -2
  42. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  43. package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
  44. package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -2
  45. package/ChartsOverlay/ChartsLoadingOverlay.js +0 -2
  46. package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -2
  47. package/ChartsOverlay/ChartsNoDataOverlay.js +0 -2
  48. package/ChartsOverlay/ChartsOverlay.d.ts +1 -1
  49. package/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -2
  50. package/ChartsReferenceLine/ChartsReferenceLine.js +0 -2
  51. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -2
  52. package/ChartsReferenceLine/ChartsXReferenceLine.js +0 -2
  53. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -2
  54. package/ChartsReferenceLine/ChartsYReferenceLine.js +0 -2
  55. package/ChartsSurface/ChartsSurface.js +8 -9
  56. package/ChartsSurface/chartsSurfaceClasses.d.ts +6 -0
  57. package/ChartsSurface/chartsSurfaceClasses.js +21 -0
  58. package/ChartsSurface/index.d.ts +2 -1
  59. package/ChartsSurface/index.js +12 -1
  60. package/ChartsText/ChartsText.d.ts +1 -1
  61. package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -2
  62. package/ChartsTooltip/ChartsAxisTooltipContent.js +0 -2
  63. package/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -2
  64. package/ChartsTooltip/ChartsItemTooltipContent.js +0 -2
  65. package/ChartsTooltip/ChartsTooltip.d.ts +1 -2
  66. package/ChartsTooltip/ChartsTooltip.js +0 -2
  67. package/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
  68. package/ChartsTooltip/ChartsTooltipContainer.js +13 -14
  69. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  70. package/ChartsWrapper/ChartsWrapper.d.ts +1 -1
  71. package/ChartsWrapper/ChartsWrapper.js +3 -5
  72. package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -2
  73. package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +1 -2
  74. package/ChartsXAxis/ChartsXAxis.d.ts +1 -2
  75. package/ChartsXAxis/ChartsXAxis.js +0 -2
  76. package/ChartsXAxis/ChartsXAxisImpl.d.ts +1 -2
  77. package/ChartsXAxis/useAxisTicksProps.d.ts +32 -32
  78. package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -2
  79. package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +1 -2
  80. package/ChartsYAxis/ChartsYAxis.d.ts +1 -2
  81. package/ChartsYAxis/ChartsYAxis.js +0 -2
  82. package/ChartsYAxis/ChartsYAxisImpl.d.ts +1 -2
  83. package/ChartsYAxis/useAxisTicksProps.d.ts +32 -32
  84. package/Gauge/GaugeProvider.d.ts +1 -1
  85. package/Gauge/GaugeReferenceArc.d.ts +1 -1
  86. package/Gauge/GaugeValueArc.d.ts +1 -1
  87. package/Gauge/GaugeValueText.d.ts +1 -2
  88. package/Gauge/GaugeValueText.js +0 -2
  89. package/LineChart/AnimatedArea.d.ts +1 -1
  90. package/LineChart/AppearingMask.d.ts +1 -1
  91. package/LineChart/AreaElement.d.ts +1 -1
  92. package/LineChart/AreaPlot.d.ts +1 -1
  93. package/LineChart/CircleMarkElement.d.ts +1 -1
  94. package/LineChart/FocusedMark.d.ts +1 -2
  95. package/LineChart/FocusedMark.js +0 -2
  96. package/LineChart/LineElement.d.ts +1 -1
  97. package/LineChart/LineHighlightElement.d.ts +1 -1
  98. package/LineChart/LineHighlightPlot.d.ts +1 -1
  99. package/LineChart/LinePlot.d.ts +1 -1
  100. package/LineChart/MarkElement.d.ts +1 -1
  101. package/LineChart/MarkPlot.d.ts +1 -1
  102. package/LineChart/seriesConfig/getColor.js +28 -5
  103. package/LineChart/seriesConfig/index.d.ts +1 -1
  104. package/LineChart/seriesConfig/index.js +2 -2
  105. package/PieChart/PieArcLabelPlot.d.ts +1 -1
  106. package/PieChart/PieArcPlot.d.ts +1 -1
  107. package/PieChart/PiePlot.d.ts +1 -2
  108. package/PieChart/PiePlot.js +0 -2
  109. package/PieChart/seriesConfig/index.d.ts +1 -1
  110. package/PieChart/seriesConfig/index.js +2 -2
  111. package/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
  112. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +2 -2
  113. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -2
  114. package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +7 -3
  115. package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -2
  116. package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -2
  117. package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -2
  118. package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -2
  119. package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -2
  120. package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -2
  121. package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +1 -2
  122. package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +1 -1
  123. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +1 -1
  124. package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +1 -2
  125. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -2
  126. package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +1 -3
  127. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -0
  128. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -1
  129. package/RadarChart/seriesConfig/getColor.js +12 -1
  130. package/ScatterChart/BatchScatter.d.ts +1 -2
  131. package/ScatterChart/BatchScatter.js +4 -4
  132. package/ScatterChart/Scatter.d.ts +7 -2
  133. package/ScatterChart/Scatter.js +7 -3
  134. package/ScatterChart/ScatterMarker.d.ts +1 -1
  135. package/ScatterChart/ScatterPlot.d.ts +1 -1
  136. package/ScatterChart/ScatterPlot.js +1 -1
  137. package/ScatterChart/seriesConfig/getColor.js +36 -7
  138. package/ScatterChart/seriesConfig/index.d.ts +1 -1
  139. package/ScatterChart/seriesConfig/index.js +2 -2
  140. package/context/ChartProvider/ChartProvider.d.ts +1 -1
  141. package/context/ChartProvider/ChartProvider.js +4 -4
  142. package/context/ChartProvider/ChartProvider.types.d.ts +3 -3
  143. package/context/ChartsSlotsContext.d.ts +1 -1
  144. package/esm/BarChart/AnimatedBarElement.d.ts +1 -1
  145. package/esm/BarChart/BarChart.js +1 -0
  146. package/esm/BarChart/BarClipPath.d.ts +1 -1
  147. package/esm/BarChart/BarElement.d.ts +1 -1
  148. package/esm/BarChart/BarElement.js +6 -8
  149. package/esm/BarChart/BarLabel/BarLabel.d.ts +1 -1
  150. package/esm/BarChart/BarLabel/BarLabelItem.d.ts +1 -1
  151. package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +2 -3
  152. package/esm/BarChart/BarLabel/BarLabelPlot.js +41 -36
  153. package/esm/BarChart/BarPlot.d.ts +13 -3
  154. package/esm/BarChart/BarPlot.js +3 -3
  155. package/esm/BarChart/seriesConfig/{extremums.d.ts → bar/extremums.d.ts} +1 -1
  156. package/esm/BarChart/seriesConfig/{extremums.js → bar/extremums.js} +1 -1
  157. package/esm/BarChart/seriesConfig/bar/getColor.d.ts +3 -0
  158. package/esm/BarChart/seriesConfig/{getColor.js → bar/getColor.js} +28 -5
  159. package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +3 -0
  160. package/esm/BarChart/seriesConfig/bar/legend.d.ts +3 -0
  161. package/esm/BarChart/seriesConfig/{legend.js → bar/legend.js} +1 -1
  162. package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +3 -0
  163. package/esm/BarChart/seriesConfig/{seriesProcessor.js → bar/seriesProcessor.js} +1 -1
  164. package/esm/BarChart/seriesConfig/bar/tooltip.d.ts +4 -0
  165. package/esm/BarChart/seriesConfig/{tooltip.js → bar/tooltip.js} +1 -1
  166. package/esm/BarChart/seriesConfig/bar/tooltipPosition.d.ts +3 -0
  167. package/esm/BarChart/seriesConfig/{tooltipPosition.js → bar/tooltipPosition.js} +1 -1
  168. package/esm/BarChart/seriesConfig/index.d.ts +1 -1
  169. package/esm/BarChart/seriesConfig/index.js +8 -8
  170. package/esm/BarChart/types.d.ts +1 -0
  171. package/esm/BarChart/useBarPlotData.js +2 -1
  172. package/esm/ChartDataProvider/ChartDataProvider.d.ts +1 -1
  173. package/esm/ChartsAxis/ChartsAxis.d.ts +1 -2
  174. package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -2
  175. package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +1 -2
  176. package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +1 -2
  177. package/esm/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +1 -2
  178. package/esm/ChartsClipPath/ChartsClipPath.d.ts +1 -2
  179. package/esm/ChartsClipPath/ChartsClipPath.js +0 -1
  180. package/esm/ChartsGrid/ChartsGrid.d.ts +1 -2
  181. package/esm/ChartsGrid/ChartsGrid.js +0 -1
  182. package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +1 -2
  183. package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +1 -2
  184. package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  185. package/esm/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
  186. package/esm/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -2
  187. package/esm/ChartsOverlay/ChartsLoadingOverlay.js +0 -1
  188. package/esm/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -2
  189. package/esm/ChartsOverlay/ChartsNoDataOverlay.js +0 -1
  190. package/esm/ChartsOverlay/ChartsOverlay.d.ts +1 -1
  191. package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -2
  192. package/esm/ChartsReferenceLine/ChartsReferenceLine.js +0 -1
  193. package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -2
  194. package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +0 -1
  195. package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -2
  196. package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +0 -1
  197. package/esm/ChartsSurface/ChartsSurface.js +9 -10
  198. package/esm/ChartsSurface/chartsSurfaceClasses.d.ts +6 -0
  199. package/esm/ChartsSurface/chartsSurfaceClasses.js +13 -0
  200. package/esm/ChartsSurface/index.d.ts +2 -1
  201. package/esm/ChartsSurface/index.js +2 -1
  202. package/esm/ChartsText/ChartsText.d.ts +1 -1
  203. package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -2
  204. package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +0 -1
  205. package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -2
  206. package/esm/ChartsTooltip/ChartsItemTooltipContent.js +0 -1
  207. package/esm/ChartsTooltip/ChartsTooltip.d.ts +1 -2
  208. package/esm/ChartsTooltip/ChartsTooltip.js +0 -1
  209. package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
  210. package/esm/ChartsTooltip/ChartsTooltipContainer.js +13 -14
  211. package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  212. package/esm/ChartsWrapper/ChartsWrapper.d.ts +1 -1
  213. package/esm/ChartsWrapper/ChartsWrapper.js +4 -6
  214. package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -2
  215. package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +1 -2
  216. package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -2
  217. package/esm/ChartsXAxis/ChartsXAxis.js +0 -1
  218. package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +1 -2
  219. package/esm/ChartsXAxis/useAxisTicksProps.d.ts +32 -32
  220. package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -2
  221. package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +1 -2
  222. package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -2
  223. package/esm/ChartsYAxis/ChartsYAxis.js +0 -1
  224. package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +1 -2
  225. package/esm/ChartsYAxis/useAxisTicksProps.d.ts +32 -32
  226. package/esm/Gauge/GaugeProvider.d.ts +1 -1
  227. package/esm/Gauge/GaugeReferenceArc.d.ts +1 -1
  228. package/esm/Gauge/GaugeValueArc.d.ts +1 -1
  229. package/esm/Gauge/GaugeValueText.d.ts +1 -2
  230. package/esm/Gauge/GaugeValueText.js +0 -1
  231. package/esm/LineChart/AnimatedArea.d.ts +1 -1
  232. package/esm/LineChart/AppearingMask.d.ts +1 -1
  233. package/esm/LineChart/AreaElement.d.ts +1 -1
  234. package/esm/LineChart/AreaPlot.d.ts +1 -1
  235. package/esm/LineChart/CircleMarkElement.d.ts +1 -1
  236. package/esm/LineChart/FocusedMark.d.ts +1 -2
  237. package/esm/LineChart/FocusedMark.js +0 -1
  238. package/esm/LineChart/LineElement.d.ts +1 -1
  239. package/esm/LineChart/LineHighlightElement.d.ts +1 -1
  240. package/esm/LineChart/LineHighlightPlot.d.ts +1 -1
  241. package/esm/LineChart/LinePlot.d.ts +1 -1
  242. package/esm/LineChart/MarkElement.d.ts +1 -1
  243. package/esm/LineChart/MarkPlot.d.ts +1 -1
  244. package/esm/LineChart/seriesConfig/getColor.js +28 -5
  245. package/esm/LineChart/seriesConfig/index.d.ts +1 -1
  246. package/esm/LineChart/seriesConfig/index.js +1 -1
  247. package/esm/PieChart/PieArcLabelPlot.d.ts +1 -1
  248. package/esm/PieChart/PieArcPlot.d.ts +1 -1
  249. package/esm/PieChart/PiePlot.d.ts +1 -2
  250. package/esm/PieChart/PiePlot.js +0 -1
  251. package/esm/PieChart/seriesConfig/index.d.ts +1 -1
  252. package/esm/PieChart/seriesConfig/index.js +1 -1
  253. package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
  254. package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +2 -2
  255. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -2
  256. package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +7 -2
  257. package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -2
  258. package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -2
  259. package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -2
  260. package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -2
  261. package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -2
  262. package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -2
  263. package/esm/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +1 -2
  264. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +1 -1
  265. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +1 -1
  266. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +1 -2
  267. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -2
  268. package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +1 -2
  269. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -0
  270. package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -1
  271. package/esm/RadarChart/seriesConfig/getColor.js +12 -1
  272. package/esm/ScatterChart/BatchScatter.d.ts +1 -2
  273. package/esm/ScatterChart/BatchScatter.js +4 -4
  274. package/esm/ScatterChart/Scatter.d.ts +7 -2
  275. package/esm/ScatterChart/Scatter.js +7 -3
  276. package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
  277. package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
  278. package/esm/ScatterChart/ScatterPlot.js +1 -1
  279. package/esm/ScatterChart/seriesConfig/getColor.js +36 -7
  280. package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
  281. package/esm/ScatterChart/seriesConfig/index.js +1 -1
  282. package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
  283. package/esm/context/ChartProvider/ChartProvider.js +4 -4
  284. package/esm/context/ChartProvider/ChartProvider.types.d.ts +3 -3
  285. package/esm/context/ChartsSlotsContext.d.ts +1 -1
  286. package/esm/hooks/index.d.ts +1 -0
  287. package/esm/hooks/index.js +1 -0
  288. package/esm/hooks/useDataset.d.ts +6 -0
  289. package/esm/hooks/useDataset.js +13 -0
  290. package/esm/hooks/useInteractionItemProps.js +2 -5
  291. package/esm/hooks/useIsItemFocused.js +5 -3
  292. package/esm/hooks/useItemHighlighted.js +2 -2
  293. package/esm/hooks/useItemHighlightedGetter.js +0 -1
  294. package/esm/index.js +1 -1
  295. package/esm/internals/colorScale.d.ts +1 -1
  296. package/esm/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +1 -2
  297. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -2
  298. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -1
  299. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -2
  300. package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -1
  301. package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -2
  302. package/esm/internals/createSeriesSelectorOfType.js +5 -3
  303. package/esm/internals/getSeriesColorFn.d.ts +5 -0
  304. package/esm/internals/getSeriesColorFn.js +3 -0
  305. package/esm/internals/index.d.ts +1 -1
  306. package/esm/internals/index.js +1 -1
  307. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +7 -15
  308. package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +2 -4
  309. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +28 -36
  310. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +11 -17
  311. package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +27 -21
  312. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.js +1 -6
  313. package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
  314. package/esm/internals/plugins/corePlugins/useChartId/useChartId.js +6 -10
  315. package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -4
  316. package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +1 -3
  317. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +10 -10
  318. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -7
  319. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +8 -1
  320. package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +1 -0
  321. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +19 -35
  322. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +29 -57
  323. package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
  324. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +15 -15
  325. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +21 -5
  326. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +11 -17
  327. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +12 -4
  328. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +15 -9
  329. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +62 -86
  330. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +69 -45
  331. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +14 -26
  332. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +3 -2
  333. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +17 -33
  334. package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +23 -22
  335. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +9 -15
  336. package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +2 -4
  337. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +12 -16
  338. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -21
  339. package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +8 -7
  340. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +29 -43
  341. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +14 -28
  342. package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +7 -9
  343. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +47 -53
  344. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +22 -36
  345. package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +3 -0
  346. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +3 -5
  347. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +11 -21
  348. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +14 -26
  349. package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +11 -10
  350. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -3
  351. package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +3 -5
  352. package/esm/internals/plugins/models/plugin.d.ts +3 -2
  353. package/esm/internals/plugins/utils/selectors.d.ts +13 -17
  354. package/esm/internals/plugins/utils/selectors.js +3 -35
  355. package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +2 -2
  356. package/esm/internals/plugins/utils/useLazySelectorEffect.js +2 -2
  357. package/esm/internals/store/useCharts.d.ts +3 -4
  358. package/esm/internals/store/useCharts.js +2 -2
  359. package/esm/internals/store/useSelector.d.ts +2 -4
  360. package/esm/internals/store/useSelector.js +2 -8
  361. package/esm/internals/store/useStore.d.ts +3 -5
  362. package/esm/locales/index.d.ts +2 -1
  363. package/esm/locales/index.js +1 -0
  364. package/esm/locales/nbNO.d.ts +115 -0
  365. package/esm/locales/nbNO.js +113 -0
  366. package/esm/models/seriesType/bar.d.ts +9 -0
  367. package/esm/models/seriesType/common.d.ts +22 -6
  368. package/esm/models/seriesType/config.d.ts +7 -16
  369. package/hooks/index.d.ts +1 -0
  370. package/hooks/index.js +12 -0
  371. package/hooks/useDataset.d.ts +6 -0
  372. package/hooks/useDataset.js +18 -0
  373. package/hooks/useInteractionItemProps.js +2 -5
  374. package/hooks/useIsItemFocused.js +5 -3
  375. package/hooks/useItemHighlighted.js +2 -2
  376. package/index.js +1 -1
  377. package/internals/colorScale.d.ts +1 -1
  378. package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +1 -2
  379. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -2
  380. package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -2
  381. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -2
  382. package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -2
  383. package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -2
  384. package/internals/createSeriesSelectorOfType.js +6 -3
  385. package/internals/getSeriesColorFn.d.ts +5 -0
  386. package/internals/getSeriesColorFn.js +9 -0
  387. package/internals/index.d.ts +1 -1
  388. package/internals/index.js +1 -1
  389. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +7 -15
  390. package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +2 -4
  391. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +28 -36
  392. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +11 -17
  393. package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +27 -21
  394. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.js +1 -6
  395. package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
  396. package/internals/plugins/corePlugins/useChartId/useChartId.js +6 -10
  397. package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -4
  398. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +1 -3
  399. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +10 -10
  400. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -7
  401. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +9 -2
  402. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +1 -0
  403. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +19 -35
  404. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +29 -57
  405. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
  406. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +15 -15
  407. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +22 -6
  408. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +11 -17
  409. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +12 -4
  410. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +14 -8
  411. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +62 -86
  412. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +70 -46
  413. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +14 -26
  414. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +3 -2
  415. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +17 -33
  416. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +23 -23
  417. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +9 -15
  418. package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +2 -4
  419. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +12 -16
  420. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -21
  421. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +8 -7
  422. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +29 -43
  423. package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +14 -28
  424. package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +7 -9
  425. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +47 -53
  426. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +22 -36
  427. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +4 -1
  428. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +3 -5
  429. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +11 -21
  430. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +14 -26
  431. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +12 -10
  432. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -3
  433. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +3 -5
  434. package/internals/plugins/models/plugin.d.ts +3 -2
  435. package/internals/plugins/utils/selectors.d.ts +13 -17
  436. package/internals/plugins/utils/selectors.js +3 -35
  437. package/internals/plugins/utils/useLazySelectorEffect.d.ts +2 -2
  438. package/internals/plugins/utils/useLazySelectorEffect.js +2 -2
  439. package/internals/store/useCharts.d.ts +3 -4
  440. package/internals/store/useCharts.js +2 -2
  441. package/internals/store/useSelector.d.ts +2 -4
  442. package/internals/store/useSelector.js +2 -10
  443. package/internals/store/useStore.d.ts +3 -5
  444. package/locales/index.d.ts +2 -1
  445. package/locales/index.js +11 -0
  446. package/locales/nbNO.d.ts +115 -0
  447. package/locales/nbNO.js +119 -0
  448. package/models/seriesType/bar.d.ts +9 -0
  449. package/models/seriesType/common.d.ts +22 -6
  450. package/models/seriesType/config.d.ts +7 -16
  451. package/package.json +4 -4
  452. package/BarChart/seriesConfig/getColor.d.ts +0 -3
  453. package/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  454. package/BarChart/seriesConfig/legend.d.ts +0 -3
  455. package/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
  456. package/BarChart/seriesConfig/tooltip.d.ts +0 -4
  457. package/BarChart/seriesConfig/tooltipPosition.d.ts +0 -3
  458. package/esm/BarChart/seriesConfig/getColor.d.ts +0 -3
  459. package/esm/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
  460. package/esm/BarChart/seriesConfig/legend.d.ts +0 -3
  461. package/esm/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
  462. package/esm/BarChart/seriesConfig/tooltip.d.ts +0 -4
  463. package/esm/BarChart/seriesConfig/tooltipPosition.d.ts +0 -3
  464. package/esm/internals/plugins/utils/ChartStore.d.ts +0 -13
  465. package/esm/internals/plugins/utils/ChartStore.js +0 -22
  466. package/internals/plugins/utils/ChartStore.d.ts +0 -13
  467. package/internals/plugins/utils/ChartStore.js +0 -29
  468. /package/BarChart/seriesConfig/{getSeriesWithDefaultValues.js → bar/getSeriesWithDefaultValues.js} +0 -0
  469. /package/esm/BarChart/seriesConfig/{getSeriesWithDefaultValues.js → bar/getSeriesWithDefaultValues.js} +0 -0
@@ -7,100 +7,82 @@ export declare const createZoomMap: (zoom: readonly ZoomData[]) => Map<AxisId, Z
7
7
  /**
8
8
  * Following selectors are not exported because they exist in the MIT chart only to ba able to reuse the Zoom state from the pro.
9
9
  */
10
- export declare const selectorChartZoomIsInteracting: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
10
+ export declare const selectorChartZoomIsInteracting: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
11
11
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
12
- } & {
13
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
14
- }, boolean | undefined, []>;
15
- export declare const selectorChartZoomMap: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
16
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
17
- } & {
12
+ }) => boolean | undefined;
13
+ export declare const selectorChartZoomMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
18
14
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
19
- }, Map<AxisId, ZoomData> | undefined, []>;
20
- export declare const selectorChartAxisZoomData: import("reselect").Selector<any, ZoomData | undefined, [axisId: AxisId]>;
21
- export declare const selectorChartZoomOptionsLookup: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
15
+ }) => Map<AxisId, ZoomData> | undefined;
16
+ export declare const selectorChartAxisZoomData: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
22
17
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
23
- } & {
18
+ }, axisId: AxisId) => ZoomData | undefined;
19
+ export declare const selectorChartZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
24
20
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
25
- }, {
21
+ }) => {
26
22
  [x: string]: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
27
23
  [x: number]: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
28
- }, []>;
29
- export declare const selectorChartAxisZoomOptionsLookup: import("reselect").Selector<any, import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions, [axisId: AxisId]>;
30
- export declare const selectorDefaultXAxisTickNumber: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
31
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
32
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
24
+ };
25
+ export declare const selectorChartAxisZoomOptionsLookup: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
33
26
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
34
- }, number, []>;
35
- export declare const selectorDefaultYAxisTickNumber: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
27
+ }, axisId: AxisId) => import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions;
28
+ export declare const selectorDefaultXAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
36
29
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
37
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
30
+ }) => number;
31
+ export declare const selectorDefaultYAxisTickNumber: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
38
32
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
39
- }, number, []>;
33
+ }) => number;
40
34
  type DomainDefinition = {
41
35
  domain: ReadonlyArray<string | NumberValue>;
42
36
  tickNumber?: number;
43
37
  };
44
- export declare const selectorChartXDomains: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
45
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
46
- } & Partial<{}> & {
47
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
48
- }, Record<AxisId, DomainDefinition>, []>;
49
- export declare const selectorChartYDomains: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
50
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
51
- } & Partial<{}> & {
52
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
53
- }, Record<AxisId, DomainDefinition>, []>;
54
- export declare const selectorChartZoomAxisFilters: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
38
+ export declare const selectorChartXAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
55
39
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
56
- } & {
57
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
58
- } & Partial<{}>, import("./zoom.types.js").GetZoomAxisFilters | undefined, []>;
59
- export declare const selectorChartFilteredXDomains: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
60
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
61
- } & Partial<{}> & {
62
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
63
- }, Record<AxisId, readonly (string | NumberValue)[]>, []>;
64
- export declare const selectorChartFilteredYDomains: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
65
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
66
- } & Partial<{}> & {
67
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
68
- }, Record<AxisId, readonly (string | NumberValue)[]>, []>;
69
- export declare const selectorChartNormalizedXScales: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
40
+ }) => {
41
+ axes: import("../../../index.js").DefaultedXAxis[] | undefined;
42
+ domains: Record<AxisId, DomainDefinition>;
43
+ };
44
+ export declare const selectorChartYAxisWithDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
70
45
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
71
- } & Partial<{}> & {
46
+ }) => {
47
+ axes: import("../../../index.js").DefaultedYAxis[] | undefined;
48
+ domains: Record<AxisId, DomainDefinition>;
49
+ };
50
+ export declare const selectorChartZoomAxisFilters: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
72
51
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
73
- }, Record<AxisId, D3Scale>, []>;
74
- export declare const selectorChartNormalizedYScales: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
52
+ }) => import("./zoom.types.js").GetZoomAxisFilters | undefined;
53
+ export declare const selectorChartFilteredXDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
75
54
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
76
- } & Partial<{}> & {
55
+ }) => Record<AxisId, readonly (string | NumberValue)[]>;
56
+ export declare const selectorChartFilteredYDomains: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
77
57
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
78
- }, Record<AxisId, D3Scale>, []>;
79
- export declare const selectorChartXScales: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
58
+ }) => Record<AxisId, readonly (string | NumberValue)[]>;
59
+ export declare const selectorChartNormalizedXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
80
60
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
81
- } & Partial<{}> & {
61
+ }) => Record<AxisId, D3Scale>;
62
+ export declare const selectorChartNormalizedYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
82
63
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
83
- }, Record<AxisId, D3Scale>, []>;
84
- export declare const selectorChartYScales: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
64
+ }) => Record<AxisId, D3Scale>;
65
+ export declare const selectorChartXScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
85
66
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
86
- } & Partial<{}> & {
67
+ }) => Record<AxisId, D3Scale>;
68
+ export declare const selectorChartYScales: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
87
69
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
88
- }, Record<AxisId, D3Scale>, []>;
70
+ }) => Record<AxisId, D3Scale>;
89
71
  /**
90
72
  * The only interesting selectors that merge axis data and zoom if provided.
91
73
  */
92
- export declare const selectorChartXAxis: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
74
+ export declare const selectorChartXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
93
75
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
94
- } & Partial<{}> & {
76
+ }) => import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsXAxisProps>;
77
+ export declare const selectorChartYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
95
78
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
96
- }, import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsXAxisProps>, []>;
97
- export declare const selectorChartYAxis: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
79
+ }) => import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsYAxisProps>;
80
+ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
98
81
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
99
- } & Partial<{}> & {
82
+ }, axisId: AxisId) => import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("../../../index.js").ChartsXAxisProps>;
83
+ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
100
84
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
101
- }, import("./computeAxisValue.js").ComputeResult<import("../../../index.js").ChartsYAxisProps>, []>;
102
- export declare const selectorChartAxis: import("reselect").Selector<any, import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("../../../index.js").ChartsXAxisProps>, [axisId: AxisId]>;
103
- export declare const selectorChartRawAxis: import("reselect").Selector<any, ({
85
+ }, axisId: AxisId) => ({
104
86
  offset?: number;
105
87
  } & {
106
88
  id: AxisId;
@@ -118,14 +100,14 @@ export declare const selectorChartRawAxis: import("reselect").Selector<any, ({
118
100
  scaleType: "time";
119
101
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
120
102
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
121
- } | {
122
- scaleType: "linear";
123
- scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
124
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
125
103
  } | {
126
104
  scaleType: "log";
127
105
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
128
106
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
107
+ } | {
108
+ scaleType: "linear";
109
+ scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
110
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
129
111
  } | {
130
112
  scaleType: "symlog";
131
113
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number>;
@@ -180,14 +162,14 @@ export declare const selectorChartRawAxis: import("reselect").Selector<any, ({
180
162
  scaleType: "time";
181
163
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
182
164
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
183
- } | {
184
- scaleType: "linear";
185
- scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
186
- colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
187
165
  } | {
188
166
  scaleType: "log";
189
167
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
190
168
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
169
+ } | {
170
+ scaleType: "linear";
171
+ scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
172
+ colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
191
173
  } | {
192
174
  scaleType: "symlog";
193
175
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number>;
@@ -224,21 +206,15 @@ export declare const selectorChartRawAxis: import("reselect").Selector<any, ({
224
206
  width?: number;
225
207
  } & import("../../../../hooks/useTicks.js").TickParams & import("../../../index.js").AxisConfigExtension & {
226
208
  zoom: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions | undefined;
227
- }) | undefined, [axisId: AxisId]>;
228
- export declare const selectorChartDefaultXAxisId: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
229
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
230
- } & {
231
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
232
- }, AxisId, []>;
233
- export declare const selectorChartDefaultYAxisId: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
209
+ }) | undefined;
210
+ export declare const selectorChartDefaultXAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
234
211
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
235
- } & {
212
+ }) => AxisId;
213
+ export declare const selectorChartDefaultYAxisId: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
236
214
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
237
- }, AxisId, []>;
215
+ }) => AxisId;
238
216
  export declare const selectorChartSeriesEmptyFlatbushMap: () => Map<SeriesId, Flatbush>;
239
- export declare const selectorChartSeriesFlatbushMap: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
240
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
241
- } & {
217
+ export declare const selectorChartSeriesFlatbushMap: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
242
218
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
243
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState>, Map<SeriesId, Flatbush>, any[]>;
219
+ }) => Map<SeriesId, Flatbush>;
244
220
  export {};
@@ -1,5 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
- import { isDeepEqual } from '@mui/x-internals/isDeepEqual';
2
+ import { createSelectorMemoized } from '@mui/x-internals/store';
3
3
  import { selectorChartDrawingArea } from "../../corePlugins/useChartDimensions/index.js";
4
4
  import { selectorChartSeriesConfig, selectorChartSeriesProcessed } from "../../corePlugins/useChartSeries/index.js";
5
5
  import { createSelector } from "../../utils/selectors.js";
@@ -30,17 +30,21 @@ const selectorChartZoomState = state => state.zoom;
30
30
  */
31
31
 
32
32
  export const selectorChartZoomIsInteracting = createSelector([selectorChartZoomState], zoom => zoom?.isInteracting);
33
- export const selectorChartZoomMap = createSelector([selectorChartZoomState], zoom => zoom?.zoomData && createZoomMap(zoom?.zoomData));
34
- export const selectorChartAxisZoomData = createSelector([selectorChartZoomMap, (_, axisId) => axisId], (zoomMap, axisId) => zoomMap?.get(axisId));
35
- export const selectorChartZoomOptionsLookup = createSelector([selectorChartRawXAxis, selectorChartRawYAxis], (xAxis, yAxis) => _extends({}, createZoomLookup('x')(xAxis), createZoomLookup('y')(yAxis)));
36
- export const selectorChartAxisZoomOptionsLookup = createSelector([selectorChartZoomOptionsLookup, (_, axisId) => axisId], (axisLookup, axisId) => axisLookup[axisId]);
33
+ export const selectorChartZoomMap = createSelectorMemoized(selectorChartZoomState, function selectorChartZoomMap(zoom) {
34
+ return zoom?.zoomData && createZoomMap(zoom?.zoomData);
35
+ });
36
+ export const selectorChartAxisZoomData = createSelector([selectorChartZoomMap], (zoomMap, axisId) => zoomMap?.get(axisId));
37
+ export const selectorChartZoomOptionsLookup = createSelectorMemoized(selectorChartRawXAxis, selectorChartRawYAxis, function selectorChartZoomOptionsLookup(xAxis, yAxis) {
38
+ return _extends({}, createZoomLookup('x')(xAxis), createZoomLookup('y')(yAxis));
39
+ });
40
+ export const selectorChartAxisZoomOptionsLookup = createSelector([selectorChartZoomOptionsLookup], (axisLookup, axisId) => axisLookup[axisId]);
37
41
  export const selectorDefaultXAxisTickNumber = createSelector([selectorChartDrawingArea], function selectorDefaultXAxisTickNumber(drawingArea) {
38
42
  return getDefaultTickNumber(drawingArea.width);
39
43
  });
40
44
  export const selectorDefaultYAxisTickNumber = createSelector([selectorChartDrawingArea], function selectorDefaultYAxisTickNumber(drawingArea) {
41
45
  return getDefaultTickNumber(drawingArea.height);
42
46
  });
43
- export const selectorChartXDomains = createSelector([selectorChartRawXAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorPreferStrictDomainInLineCharts, selectorDefaultXAxisTickNumber], function selectorChartXDomains(axes, formattedSeries, seriesConfig, preferStrictDomainInLineCharts, defaultTickNumber) {
47
+ export const selectorChartXAxisWithDomains = createSelectorMemoized(selectorChartRawXAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorPreferStrictDomainInLineCharts, selectorDefaultXAxisTickNumber, function selectorChartXAxisWithDomains(axes, formattedSeries, seriesConfig, preferStrictDomainInLineCharts, defaultTickNumber) {
44
48
  const axisDirection = 'x';
45
49
  const domains = {};
46
50
  axes?.forEach((eachAxis, axisIndex) => {
@@ -54,9 +58,12 @@ export const selectorChartXDomains = createSelector([selectorChartRawXAxis, sele
54
58
  const axisExtrema = getAxisExtrema(axis, axisDirection, seriesConfig, axisIndex, formattedSeries);
55
59
  domains[axis.id] = calculateInitialDomainAndTickNumber(axis, 'x', axisIndex, formattedSeries, axisExtrema, defaultTickNumber, preferStrictDomainInLineCharts);
56
60
  });
57
- return domains;
61
+ return {
62
+ axes,
63
+ domains
64
+ };
58
65
  });
59
- export const selectorChartYDomains = createSelector([selectorChartRawYAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorPreferStrictDomainInLineCharts, selectorDefaultYAxisTickNumber], function selectorChartYDomains(axes, formattedSeries, seriesConfig, preferStrictDomainInLineCharts, defaultTickNumber) {
66
+ export const selectorChartYAxisWithDomains = createSelectorMemoized(selectorChartRawYAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorPreferStrictDomainInLineCharts, selectorDefaultYAxisTickNumber, function selectorChartYAxisWithDomains(axes, formattedSeries, seriesConfig, preferStrictDomainInLineCharts, defaultTickNumber) {
60
67
  const axisDirection = 'y';
61
68
  const domains = {};
62
69
  axes?.forEach((eachAxis, axisIndex) => {
@@ -70,9 +77,18 @@ export const selectorChartYDomains = createSelector([selectorChartRawYAxis, sele
70
77
  const axisExtrema = getAxisExtrema(axis, axisDirection, seriesConfig, axisIndex, formattedSeries);
71
78
  domains[axis.id] = calculateInitialDomainAndTickNumber(axis, 'y', axisIndex, formattedSeries, axisExtrema, defaultTickNumber, preferStrictDomainInLineCharts);
72
79
  });
73
- return domains;
80
+ return {
81
+ axes,
82
+ domains
83
+ };
74
84
  });
75
- export const selectorChartZoomAxisFilters = createSelector([selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartRawXAxis, selectorChartRawYAxis, selectorChartXDomains, selectorChartYDomains], (zoomMap, zoomOptions, xAxis, yAxis, xDomains, yDomains) => {
85
+ export const selectorChartZoomAxisFilters = createSelectorMemoized(selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartXAxisWithDomains, selectorChartYAxisWithDomains, function selectorChartZoomAxisFilters(zoomMap, zoomOptions, {
86
+ axes: xAxis,
87
+ domains: xDomains
88
+ }, {
89
+ axes: yAxis,
90
+ domains: yDomains
91
+ }) {
76
92
  if (!zoomMap || !zoomOptions) {
77
93
  return undefined;
78
94
  }
@@ -107,7 +123,10 @@ export const selectorChartZoomAxisFilters = createSelector([selectorChartZoomMap
107
123
  }
108
124
  return createGetAxisFilters(filters);
109
125
  });
110
- export const selectorChartFilteredXDomains = createSelector([selectorChartRawXAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartZoomAxisFilters, selectorPreferStrictDomainInLineCharts, selectorChartXDomains], (axes, formattedSeries, seriesConfig, zoomMap, zoomOptions, getFilters, preferStrictDomainInLineCharts, domains) => {
126
+ export const selectorChartFilteredXDomains = createSelectorMemoized(selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartZoomAxisFilters, selectorPreferStrictDomainInLineCharts, selectorChartXAxisWithDomains, function selectorChartFilteredXDomains(formattedSeries, seriesConfig, zoomMap, zoomOptions, getFilters, preferStrictDomainInLineCharts, {
127
+ axes,
128
+ domains
129
+ }) {
111
130
  const filteredDomains = {};
112
131
  axes?.forEach((axis, axisIndex) => {
113
132
  const domain = domains[axis.id].domain;
@@ -128,12 +147,11 @@ export const selectorChartFilteredXDomains = createSelector([selectorChartRawXAx
128
147
  filteredDomains[axis.id] = calculateFinalDomain(axis, 'x', axisIndex, formattedSeries, axisExtrema, rawTickNumber, preferStrictDomainInLineCharts);
129
148
  });
130
149
  return filteredDomains;
131
- }, {
132
- memoizeOptions: {
133
- resultEqualityCheck: (a, b) => isDeepEqual(a, b)
134
- }
135
150
  });
136
- export const selectorChartFilteredYDomains = createSelector([selectorChartRawYAxis, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartZoomAxisFilters, selectorPreferStrictDomainInLineCharts, selectorChartYDomains], (axes, formattedSeries, seriesConfig, zoomMap, zoomOptions, getFilters, preferStrictDomainInLineCharts, domains) => {
151
+ export const selectorChartFilteredYDomains = createSelectorMemoized(selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartZoomOptionsLookup, selectorChartZoomAxisFilters, selectorPreferStrictDomainInLineCharts, selectorChartYAxisWithDomains, function selectorChartFilteredYDomains(formattedSeries, seriesConfig, zoomMap, zoomOptions, getFilters, preferStrictDomainInLineCharts, {
152
+ axes,
153
+ domains
154
+ }) {
137
155
  const filteredDomains = {};
138
156
  axes?.forEach((axis, axisIndex) => {
139
157
  const domain = domains[axis.id].domain;
@@ -154,12 +172,8 @@ export const selectorChartFilteredYDomains = createSelector([selectorChartRawYAx
154
172
  filteredDomains[axis.id] = calculateFinalDomain(axis, 'y', axisIndex, formattedSeries, axisExtrema, rawTickNumber, preferStrictDomainInLineCharts);
155
173
  });
156
174
  return filteredDomains;
157
- }, {
158
- memoizeOptions: {
159
- resultEqualityCheck: (a, b) => isDeepEqual(a, b)
160
- }
161
175
  });
162
- export const selectorChartNormalizedXScales = createSelector([selectorChartRawXAxis, selectorChartFilteredXDomains], function selectorChartNormalizedXScales(axes, filteredDomains) {
176
+ export const selectorChartNormalizedXScales = createSelectorMemoized(selectorChartRawXAxis, selectorChartFilteredXDomains, function selectorChartNormalizedXScales(axes, filteredDomains) {
163
177
  const scales = {};
164
178
  axes?.forEach(eachAxis => {
165
179
  const axis = eachAxis;
@@ -168,7 +182,7 @@ export const selectorChartNormalizedXScales = createSelector([selectorChartRawXA
168
182
  });
169
183
  return scales;
170
184
  });
171
- export const selectorChartNormalizedYScales = createSelector([selectorChartRawYAxis, selectorChartFilteredYDomains], function selectorChartNormalizedYScales(axes, filteredDomains) {
185
+ export const selectorChartNormalizedYScales = createSelectorMemoized(selectorChartRawYAxis, selectorChartFilteredYDomains, function selectorChartNormalizedYScales(axes, filteredDomains) {
172
186
  const scales = {};
173
187
  axes?.forEach(eachAxis => {
174
188
  const axis = eachAxis;
@@ -177,7 +191,7 @@ export const selectorChartNormalizedYScales = createSelector([selectorChartRawYA
177
191
  });
178
192
  return scales;
179
193
  });
180
- export const selectorChartXScales = createSelector([selectorChartRawXAxis, selectorChartNormalizedXScales, selectorChartDrawingArea, selectorChartZoomMap], function selectorChartXScales(axes, normalizedScales, drawingArea, zoomMap) {
194
+ export const selectorChartXScales = createSelectorMemoized(selectorChartRawXAxis, selectorChartNormalizedXScales, selectorChartDrawingArea, selectorChartZoomMap, function selectorChartXScales(axes, normalizedScales, drawingArea, zoomMap) {
181
195
  const scales = {};
182
196
  axes?.forEach(eachAxis => {
183
197
  const axis = eachAxis;
@@ -191,7 +205,7 @@ export const selectorChartXScales = createSelector([selectorChartRawXAxis, selec
191
205
  });
192
206
  return scales;
193
207
  });
194
- export const selectorChartYScales = createSelector([selectorChartRawYAxis, selectorChartNormalizedYScales, selectorChartDrawingArea, selectorChartZoomMap], function selectorChartYScales(axes, normalizedScales, drawingArea, zoomMap) {
208
+ export const selectorChartYScales = createSelectorMemoized(selectorChartRawYAxis, selectorChartNormalizedYScales, selectorChartDrawingArea, selectorChartZoomMap, function selectorChartYScales(axes, normalizedScales, drawingArea, zoomMap) {
195
209
  const scales = {};
196
210
  axes?.forEach(eachAxis => {
197
211
  const axis = eachAxis;
@@ -211,28 +225,38 @@ export const selectorChartYScales = createSelector([selectorChartRawYAxis, selec
211
225
  * The only interesting selectors that merge axis data and zoom if provided.
212
226
  */
213
227
 
214
- export const selectorChartXAxis = createSelector([selectorChartRawXAxis, selectorChartDrawingArea, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartXDomains, selectorChartXScales], (axis, drawingArea, formattedSeries, seriesConfig, zoomMap, domains, scales) => computeAxisValue({
215
- scales,
216
- drawingArea,
217
- formattedSeries,
218
- axis,
219
- seriesConfig,
220
- axisDirection: 'x',
221
- zoomMap,
228
+ export const selectorChartXAxis = createSelectorMemoized(selectorChartDrawingArea, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartXAxisWithDomains, selectorChartXScales, function selectorChartXAxis(drawingArea, formattedSeries, seriesConfig, zoomMap, {
229
+ axes,
222
230
  domains
223
- }));
224
- export const selectorChartYAxis = createSelector([selectorChartRawYAxis, selectorChartDrawingArea, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartYDomains, selectorChartYScales], (axis, drawingArea, formattedSeries, seriesConfig, zoomMap, domains, scales) => computeAxisValue({
225
- scales,
226
- drawingArea,
227
- formattedSeries,
228
- axis,
229
- seriesConfig,
230
- axisDirection: 'y',
231
- zoomMap,
231
+ }, scales) {
232
+ return computeAxisValue({
233
+ scales,
234
+ drawingArea,
235
+ formattedSeries,
236
+ axis: axes,
237
+ seriesConfig,
238
+ axisDirection: 'x',
239
+ zoomMap,
240
+ domains
241
+ });
242
+ });
243
+ export const selectorChartYAxis = createSelectorMemoized(selectorChartDrawingArea, selectorChartSeriesProcessed, selectorChartSeriesConfig, selectorChartZoomMap, selectorChartYAxisWithDomains, selectorChartYScales, function selectorChartYAxis(drawingArea, formattedSeries, seriesConfig, zoomMap, {
244
+ axes,
232
245
  domains
233
- }));
234
- export const selectorChartAxis = createSelector([selectorChartXAxis, selectorChartYAxis, (_, axisId) => axisId], (xAxes, yAxes, axisId) => xAxes?.axis[axisId] ?? yAxes?.axis[axisId]);
235
- export const selectorChartRawAxis = createSelector([selectorChartRawXAxis, selectorChartRawYAxis, (state, axisId) => axisId], (xAxes, yAxes, axisId) => {
246
+ }, scales) {
247
+ return computeAxisValue({
248
+ scales,
249
+ drawingArea,
250
+ formattedSeries,
251
+ axis: axes,
252
+ seriesConfig,
253
+ axisDirection: 'y',
254
+ zoomMap,
255
+ domains
256
+ });
257
+ });
258
+ export const selectorChartAxis = createSelector([selectorChartXAxis, selectorChartYAxis], (xAxes, yAxes, axisId) => xAxes?.axis[axisId] ?? yAxes?.axis[axisId]);
259
+ export const selectorChartRawAxis = createSelector([selectorChartRawXAxis, selectorChartRawYAxis], (xAxes, yAxes, axisId) => {
236
260
  const axis = xAxes?.find(a => a.id === axisId) ?? yAxes?.find(a => a.id === axisId) ?? null;
237
261
  if (!axis) {
238
262
  return undefined;
@@ -243,7 +267,7 @@ export const selectorChartDefaultXAxisId = createSelector([selectorChartRawXAxis
243
267
  export const selectorChartDefaultYAxisId = createSelector([selectorChartRawYAxis], yAxes => yAxes[0].id);
244
268
  const EMPTY_MAP = new Map();
245
269
  export const selectorChartSeriesEmptyFlatbushMap = () => EMPTY_MAP;
246
- export const selectorChartSeriesFlatbushMap = createSelector([selectorChartSeriesProcessed, selectorChartNormalizedXScales, selectorChartNormalizedYScales, selectorChartDefaultXAxisId, selectorChartDefaultYAxisId], function selectChartSeriesFlatbushMap(allSeries, xAxesScaleMap, yAxesScaleMap, defaultXAxisId, defaultYAxisId) {
270
+ export const selectorChartSeriesFlatbushMap = createSelectorMemoized(selectorChartSeriesProcessed, selectorChartNormalizedXScales, selectorChartNormalizedYScales, selectorChartDefaultXAxisId, selectorChartDefaultYAxisId, function selectChartSeriesFlatbushMap(allSeries, xAxesScaleMap, yAxesScaleMap, defaultXAxisId, defaultYAxisId) {
247
271
  // FIXME: Do we want to support non-scatter series here?
248
272
  const validSeries = allSeries.scatter;
249
273
  const flatbushMap = new Map();
@@ -1,19 +1,13 @@
1
1
  import { AxisItemIdentifier, ChartsAxisProps } from "../../../../models/axis.js";
2
- export declare const selectorChartsHighlightXAxisIndex: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
2
+ export declare const selectorChartsHighlightXAxisIndex: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
3
3
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
4
- } & {
4
+ }) => AxisItemIdentifier[];
5
+ export declare const selectorChartsHighlightYAxisIndex: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
5
6
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
6
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & Partial<{}> & Partial<import("../useChartBrush/index.js").UseChartBrushState>, AxisItemIdentifier[], [id?: import("../../../index.js").AxisId | undefined]>;
7
- export declare const selectorChartsHighlightYAxisIndex: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
7
+ }) => AxisItemIdentifier[];
8
+ export declare const selectorChartsHighlightXAxisValue: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
8
9
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
9
- } & {
10
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
11
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & Partial<{}> & Partial<import("../useChartBrush/index.js").UseChartBrushState>, AxisItemIdentifier[], [id?: import("../../../index.js").AxisId | undefined]>;
12
- export declare const selectorChartsHighlightXAxisValue: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
13
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
14
- } & {
15
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
16
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & Partial<{}> & Partial<import("../useChartKeyboardNavigation/useChartKeyboardNavigation.types.js").UseChartKeyboardNavigationState> & Partial<import("../useChartBrush/index.js").UseChartBrushState>, {
10
+ }) => {
17
11
  value: any;
18
12
  axisId: import("../../../index.js").AxisId;
19
13
  dataIndex: number;
@@ -21,12 +15,10 @@ export declare const selectorChartsHighlightXAxisValue: import("reselect").Selec
21
15
  axisId: import("../../../index.js").AxisId;
22
16
  dataIndex: number | null;
23
17
  value: number | Date;
24
- }[], [id?: import("../../../index.js").AxisId | undefined]>;
25
- export declare const selectorChartsHighlightYAxisValue: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
18
+ }[];
19
+ export declare const selectorChartsHighlightYAxisValue: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartInteraction/useChartInteraction.types.js").UseChartInteractionState> & {
26
20
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
27
- } & {
28
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
29
- } & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & Partial<{}> & Partial<import("../useChartKeyboardNavigation/useChartKeyboardNavigation.types.js").UseChartKeyboardNavigationState> & Partial<import("../useChartBrush/index.js").UseChartBrushState>, {
21
+ }) => {
30
22
  value: any;
31
23
  axisId: import("../../../index.js").AxisId;
32
24
  dataIndex: number;
@@ -34,14 +26,10 @@ export declare const selectorChartsHighlightYAxisValue: import("reselect").Selec
34
26
  axisId: import("../../../index.js").AxisId;
35
27
  dataIndex: number | null;
36
28
  value: number | Date;
37
- }[], [id?: import("../../../index.js").AxisId | undefined]>;
38
- export declare const selectorChartsHighlightXAxis: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
39
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
40
- } & Partial<{}> & {
41
- cacheKey: import("../../models/index.js").ChartStateCacheKey;
42
- }, import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>[], []>;
43
- export declare const selectorChartsHighlightYAxis: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
29
+ }[];
30
+ export declare const selectorChartsHighlightXAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
44
31
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
45
- } & Partial<{}> & {
32
+ }) => import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>[];
33
+ export declare const selectorChartsHighlightYAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
46
34
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
47
- }, import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>[], []>;
35
+ }) => import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, ChartsAxisProps>[];