@mui/x-charts 9.9.0 → 9.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/BarChart/barClasses.d.mts +1 -1
  2. package/BarChart/barClasses.d.ts +1 -1
  3. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +10 -10
  4. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +10 -10
  5. package/BarChart/seriesConfig/bar/keyboardFocusHandler.js +3 -1
  6. package/BarChart/seriesConfig/bar/keyboardFocusHandler.mjs +3 -1
  7. package/CHANGELOG.md +217 -0
  8. package/ChartsAxisHighlight/getSampledBandHighlight.d.mts +1 -1
  9. package/ChartsAxisHighlight/getSampledBandHighlight.d.ts +1 -1
  10. package/ChartsAxisHighlight/getSampledBandHighlight.js +15 -3
  11. package/ChartsAxisHighlight/getSampledBandHighlight.mjs +15 -3
  12. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +1 -1
  13. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +1 -1
  14. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.mts +1 -1
  15. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.ts +1 -1
  16. package/ChartsDataProvider/useChartsDataProviderProps.d.mts +1 -1
  17. package/ChartsDataProvider/useChartsDataProviderProps.d.ts +1 -1
  18. package/ChartsLabel/labelGradientClasses.d.mts +1 -1
  19. package/ChartsLabel/labelGradientClasses.d.ts +1 -1
  20. package/ChartsLabel/labelMarkClasses.d.mts +1 -1
  21. package/ChartsLabel/labelMarkClasses.d.ts +1 -1
  22. package/ChartsLegend/chartsLegend.types.d.mts +2 -1
  23. package/ChartsLegend/chartsLegend.types.d.ts +2 -1
  24. package/ChartsLegend/chartsLegendClasses.d.mts +1 -1
  25. package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
  26. package/ChartsLegend/continuousColorLegendClasses.d.mts +1 -1
  27. package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
  28. package/ChartsLegend/piecewiseColorLegendClasses.d.mts +1 -1
  29. package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -1
  30. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +1 -1
  31. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +1 -1
  32. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
  33. package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
  34. package/ChartsRadiusAxis/createGetLabelTextAnchors.d.mts +6 -6
  35. package/ChartsRadiusAxis/createGetLabelTextAnchors.d.ts +6 -6
  36. package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +1 -1
  37. package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
  38. package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +1 -1
  39. package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
  40. package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
  41. package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
  42. package/ChartsTooltip/ChartTooltip.types.d.mts +2 -1
  43. package/ChartsTooltip/ChartTooltip.types.d.ts +2 -1
  44. package/ChartsTooltip/ChartsTooltipContainer.d.mts +4 -1
  45. package/ChartsTooltip/ChartsTooltipContainer.d.ts +4 -1
  46. package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
  47. package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
  48. package/ChartsTooltip/chartsTooltipClasses.d.mts +1 -1
  49. package/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
  50. package/ChartsTooltip/useItemTooltip.d.mts +1 -1
  51. package/ChartsTooltip/useItemTooltip.d.ts +1 -1
  52. package/ChartsXAxis/useAxisTicksProps.d.mts +2573 -2573
  53. package/ChartsXAxis/useAxisTicksProps.d.ts +2573 -2573
  54. package/ChartsXAxis/utilities.d.mts +1 -1
  55. package/ChartsXAxis/utilities.d.ts +1 -1
  56. package/ChartsYAxis/useAxisTicksProps.d.mts +2573 -2573
  57. package/ChartsYAxis/useAxisTicksProps.d.ts +2573 -2573
  58. package/ChartsYAxis/utilities.d.mts +1 -1
  59. package/ChartsYAxis/utilities.d.ts +1 -1
  60. package/LineChart/AreaPlot.d.mts +3 -3
  61. package/LineChart/AreaPlot.d.ts +3 -3
  62. package/LineChart/AreaPlot.js +4 -5
  63. package/LineChart/AreaPlot.mjs +4 -5
  64. package/LineChart/LinePlot.d.mts +3 -3
  65. package/LineChart/LinePlot.d.ts +3 -3
  66. package/LineChart/LinePlot.js +4 -5
  67. package/LineChart/LinePlot.mjs +4 -5
  68. package/LineChart/MarkPlot.d.mts +5 -4
  69. package/LineChart/MarkPlot.d.ts +5 -4
  70. package/LineChart/MarkPlot.js +1 -1
  71. package/LineChart/MarkPlot.mjs +1 -1
  72. package/LineChart/lineClasses.d.mts +1 -1
  73. package/LineChart/lineClasses.d.ts +1 -1
  74. package/LineChart/seriesConfig/keyboardFocusHandler.js +3 -1
  75. package/LineChart/seriesConfig/keyboardFocusHandler.mjs +3 -1
  76. package/LineChart/useLineItemClickHandler.d.mts +12 -0
  77. package/LineChart/useLineItemClickHandler.d.ts +12 -0
  78. package/LineChart/useLineItemClickHandler.js +54 -0
  79. package/LineChart/useLineItemClickHandler.mjs +48 -0
  80. package/PieChart/PieArcLabelPlot.d.mts +2 -1
  81. package/PieChart/PieArcLabelPlot.d.ts +2 -1
  82. package/PieChart/PieArcPlot.d.mts +2 -1
  83. package/PieChart/PieArcPlot.d.ts +2 -1
  84. package/PieChart/pieClasses.d.mts +1 -1
  85. package/PieChart/pieClasses.d.ts +1 -1
  86. package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +4 -4
  87. package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +4 -4
  88. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
  89. package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
  90. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +12 -12
  91. package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +12 -12
  92. package/RadarChart/radarClasses.d.mts +1 -1
  93. package/RadarChart/radarClasses.d.ts +1 -1
  94. package/RadarChart/seriesConfig/keyboardFocusHandler.js +3 -1
  95. package/RadarChart/seriesConfig/keyboardFocusHandler.mjs +3 -1
  96. package/RadarChart/useRadarChartProps.d.mts +1 -1
  97. package/RadarChart/useRadarChartProps.d.ts +1 -1
  98. package/ScatterChart/ScatterChart.d.mts +2 -1
  99. package/ScatterChart/ScatterChart.d.ts +2 -1
  100. package/ScatterChart/ScatterMarker.types.d.mts +2 -1
  101. package/ScatterChart/ScatterMarker.types.d.ts +2 -1
  102. package/ScatterChart/scatterClasses.d.mts +1 -1
  103. package/ScatterChart/scatterClasses.d.ts +1 -1
  104. package/ScatterChart/useScatterPlotData.d.mts +1 -1
  105. package/ScatterChart/useScatterPlotData.d.ts +1 -1
  106. package/SparkLineChart/SparkLineChart.d.mts +1 -1
  107. package/SparkLineChart/SparkLineChart.d.ts +1 -1
  108. package/Toolbar/Toolbar.types.d.mts +2 -1
  109. package/Toolbar/Toolbar.types.d.ts +2 -1
  110. package/hooks/animation/useAnimatePieArc.js +2 -1
  111. package/hooks/animation/useAnimatePieArc.mjs +2 -1
  112. package/index.js +1 -1
  113. package/index.mjs +1 -1
  114. package/internals/colorScale.d.mts +1 -1
  115. package/internals/colorScale.d.ts +1 -1
  116. package/internals/commonNextFocusItem.d.mts +2 -2
  117. package/internals/commonNextFocusItem.d.ts +2 -2
  118. package/internals/commonNextFocusItem.js +4 -4
  119. package/internals/commonNextFocusItem.mjs +4 -4
  120. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +1 -0
  121. package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +1 -0
  122. package/internals/configInit.d.mts +1 -1
  123. package/internals/configInit.d.ts +1 -1
  124. package/internals/consumeSlots.d.mts +1 -1
  125. package/internals/consumeSlots.d.ts +1 -1
  126. package/internals/consumeThemeProps.d.mts +1 -1
  127. package/internals/consumeThemeProps.d.ts +1 -1
  128. package/internals/createCommonKeyboardFocusHandler.d.mts +1 -1
  129. package/internals/createCommonKeyboardFocusHandler.d.ts +1 -1
  130. package/internals/createGetBarDimensions.js +10 -5
  131. package/internals/createGetBarDimensions.mjs +10 -5
  132. package/internals/getGraphemeCount.d.mts +2 -2
  133. package/internals/getGraphemeCount.d.ts +2 -2
  134. package/internals/getGroupingConfig.d.mts +1 -1
  135. package/internals/getGroupingConfig.d.ts +1 -1
  136. package/internals/getSampledBucketRegion.d.mts +12 -0
  137. package/internals/getSampledBucketRegion.d.ts +12 -0
  138. package/internals/getSampledBucketRegion.js +23 -0
  139. package/internals/getSampledBucketRegion.mjs +17 -0
  140. package/internals/identifierCleaner.d.mts +1 -1
  141. package/internals/identifierCleaner.d.ts +1 -1
  142. package/internals/invertScale.d.mts +1 -1
  143. package/internals/invertScale.d.ts +1 -1
  144. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +1 -1
  145. package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
  146. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +2 -2
  147. package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
  148. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.mts +3 -3
  149. package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +3 -3
  150. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
  151. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
  152. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +2 -2
  153. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -2
  154. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +1 -1
  155. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
  156. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
  157. package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
  158. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +70 -70
  159. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +70 -70
  160. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +78 -78
  161. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +78 -78
  162. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +7 -7
  163. package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +7 -7
  164. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.mts +1 -1
  165. package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.ts +1 -1
  166. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex.d.mts +3 -0
  167. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex.d.ts +3 -0
  168. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex.js +3 -0
  169. package/internals/plugins/featurePlugins/useChartKeyboardNavigation/utils/findVisibleDataIndex.mjs +3 -0
  170. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
  171. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
  172. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
  173. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
  174. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
  175. package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
  176. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +1 -1
  177. package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +1 -1
  178. package/internals/seriesSelectorOfType.d.mts +6 -6
  179. package/internals/seriesSelectorOfType.d.ts +6 -6
  180. package/internals/sizeScale.d.mts +1 -1
  181. package/internals/sizeScale.d.ts +1 -1
  182. package/internals/sliceUntil.d.mts +2 -2
  183. package/internals/sliceUntil.d.ts +2 -2
  184. package/internals/snapEndAngleToFullCircle.d.mts +20 -0
  185. package/internals/snapEndAngleToFullCircle.d.ts +20 -0
  186. package/internals/snapEndAngleToFullCircle.js +47 -0
  187. package/internals/snapEndAngleToFullCircle.mjs +41 -0
  188. package/models/axis.d.mts +5 -4
  189. package/models/axis.d.ts +5 -4
  190. package/models/seriesType/config.d.mts +2 -2
  191. package/models/seriesType/config.d.ts +2 -2
  192. package/models/seriesType/index.d.mts +1 -1
  193. package/models/seriesType/index.d.ts +1 -1
  194. package/models/seriesType/line.d.mts +14 -1
  195. package/models/seriesType/line.d.ts +14 -1
  196. package/package.json +3 -3
@@ -1,5 +1,6 @@
1
1
  import { findMinMax } from "./findMinMax.mjs";
2
2
  import { getBandSize } from "./getBandSize.mjs";
3
+ import { getSampledBucketRegion } from "./getSampledBucketRegion.mjs";
3
4
 
4
5
  /** Minimum on-screen gap (px) kept between merged (sampled) bars so they stay distinguishable. */
5
6
  const MIN_SAMPLED_BAR_GAP_PX = 2;
@@ -72,9 +73,12 @@ export function createGetBucketBarDimensions(params) {
72
73
  const step = baseScale.step();
73
74
  const valueScale = verticalLayout ? yAxisConfig.scale : xAxisConfig.scale;
74
75
  return function getBucketBarDimensions(startIndex, endIndex, min, max, groupIndex) {
75
- const spanStart = baseScale(baseScaleConfig.data[startIndex]);
76
+ // Region matches the axis highlight (see `getSampledBandHighlight`) so bar and highlight stay in sync.
77
+ const {
78
+ regionStart,
79
+ regionSize: bucketStride
80
+ } = getSampledBucketRegion(baseScale, baseScaleConfig.data, startIndex, endIndex);
76
81
  const bucketCount = endIndex - startIndex + 1;
77
- const bucketStride = bucketCount * step;
78
82
 
79
83
  // Keep the gap between buckets proportional to the bucket (same ratio as an unsampled chart),
80
84
  // but never thinner than MIN_SAMPLED_BAR_GAP_PX so it stays visible at every level and zoom.
@@ -83,7 +87,8 @@ export function createGetBucketBarDimensions(params) {
83
87
  barWidth,
84
88
  offset
85
89
  } = getBandSize(bucketStride - gap, numberOfGroups, baseScaleConfig.barGapRatio);
86
- const barOffset = groupIndex * (barWidth + offset);
90
+ // Center the bars in the region (split the gap to both sides) so they sit under the highlight.
91
+ const barOffset = gap / 2 + groupIndex * (barWidth + offset);
87
92
  const valueCoordinates = [valueScale(min), valueScale(max)];
88
93
  const [minValueCoord, maxValueCoord] = findMinMax(valueCoordinates).map(v => Math.round(v));
89
94
  let barSize = maxValueCoord - minValueCoord;
@@ -91,8 +96,8 @@ export function createGetBucketBarDimensions(params) {
91
96
  barSize = Math.max(series.minBarSize, barSize);
92
97
  }
93
98
  return {
94
- x: verticalLayout ? spanStart + barOffset : minValueCoord,
95
- y: verticalLayout ? minValueCoord : spanStart + barOffset,
99
+ x: verticalLayout ? regionStart + barOffset : minValueCoord,
100
+ y: verticalLayout ? minValueCoord : regionStart + barOffset,
96
101
  height: verticalLayout ? barSize : barWidth,
97
102
  width: verticalLayout ? barWidth : barSize
98
103
  };
@@ -1,4 +1,4 @@
1
- declare function getGraphemeCountModern(text: string): number;
1
+ declare function getGraphemeCountFallback(text: string): number;
2
2
  /** Returns the number of graphemes (basically characters) present in {@link text}. */
3
- export declare const getGraphemeCount: typeof getGraphemeCountModern;
3
+ export declare const getGraphemeCount: typeof getGraphemeCountFallback;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- declare function getGraphemeCountModern(text: string): number;
1
+ declare function getGraphemeCountFallback(text: string): number;
2
2
  /** Returns the number of graphemes (basically characters) present in {@link text}. */
3
- export declare const getGraphemeCount: typeof getGraphemeCountModern;
3
+ export declare const getGraphemeCount: typeof getGraphemeCountFallback;
4
4
  export {};
@@ -2,5 +2,5 @@ import type { AxisGroup } from "../models/axis.mjs";
2
2
  export declare const getGroupingConfig: (groups: AxisGroup[], groupIndex: number, tickSize: number | undefined, computedGroupTickSizes?: number[]) => {
3
3
  tickSize: number;
4
4
  getValue: (value: any, dataIndex: number) => string | number | Date;
5
- tickLabelStyle?: import("../index.mjs").ChartsTextProps["style"];
5
+ tickLabelStyle?: import("../index.mjs").ChartsTextProps['style'];
6
6
  };
@@ -2,5 +2,5 @@ import type { AxisGroup } from "../models/axis.js";
2
2
  export declare const getGroupingConfig: (groups: AxisGroup[], groupIndex: number, tickSize: number | undefined, computedGroupTickSizes?: number[]) => {
3
3
  tickSize: number;
4
4
  getValue: (value: any, dataIndex: number) => string | number | Date;
5
- tickLabelStyle?: import("../index.js").ChartsTextProps["style"];
5
+ tickLabelStyle?: import("../index.js").ChartsTextProps['style'];
6
6
  };
@@ -0,0 +1,12 @@
1
+ import type { D3OrdinalScale } from "../models/axis.mjs";
2
+ /**
3
+ * Computes the band region covered by a sampled bucket spanning `data[startIndex..endIndex]`.
4
+ *
5
+ * The region is anchored at its left-most slot and spans whole steps, so both the rendered bar
6
+ * (see `createGetBucketBarDimensions`) and the axis highlight (see `getSampledBandHighlight`)
7
+ * stay in sync — on a reversed axis `startIndex` maps to the right, hence the `Math.min`.
8
+ */
9
+ export declare function getSampledBucketRegion(scale: D3OrdinalScale, data: readonly any[], startIndex: number, endIndex: number): {
10
+ regionStart: number;
11
+ regionSize: number;
12
+ };
@@ -0,0 +1,12 @@
1
+ import type { D3OrdinalScale } from "../models/axis.js";
2
+ /**
3
+ * Computes the band region covered by a sampled bucket spanning `data[startIndex..endIndex]`.
4
+ *
5
+ * The region is anchored at its left-most slot and spans whole steps, so both the rendered bar
6
+ * (see `createGetBucketBarDimensions`) and the axis highlight (see `getSampledBandHighlight`)
7
+ * stay in sync — on a reversed axis `startIndex` maps to the right, hence the `Math.min`.
8
+ */
9
+ export declare function getSampledBucketRegion(scale: D3OrdinalScale, data: readonly any[], startIndex: number, endIndex: number): {
10
+ regionStart: number;
11
+ regionSize: number;
12
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getSampledBucketRegion = getSampledBucketRegion;
7
+ /**
8
+ * Computes the band region covered by a sampled bucket spanning `data[startIndex..endIndex]`.
9
+ *
10
+ * The region is anchored at its left-most slot and spans whole steps, so both the rendered bar
11
+ * (see `createGetBucketBarDimensions`) and the axis highlight (see `getSampledBandHighlight`)
12
+ * stay in sync — on a reversed axis `startIndex` maps to the right, hence the `Math.min`.
13
+ */
14
+ function getSampledBucketRegion(scale, data, startIndex, endIndex) {
15
+ const step = scale.step();
16
+ const halfPadding = (step - scale.bandwidth()) / 2;
17
+ const startPos = scale(data[startIndex]);
18
+ const endPos = scale(data[endIndex]);
19
+ return {
20
+ regionStart: Math.min(startPos, endPos) - halfPadding,
21
+ regionSize: (endIndex - startIndex + 1) * step
22
+ };
23
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Computes the band region covered by a sampled bucket spanning `data[startIndex..endIndex]`.
3
+ *
4
+ * The region is anchored at its left-most slot and spans whole steps, so both the rendered bar
5
+ * (see `createGetBucketBarDimensions`) and the axis highlight (see `getSampledBandHighlight`)
6
+ * stay in sync — on a reversed axis `startIndex` maps to the right, hence the `Math.min`.
7
+ */
8
+ export function getSampledBucketRegion(scale, data, startIndex, endIndex) {
9
+ const step = scale.step();
10
+ const halfPadding = (step - scale.bandwidth()) / 2;
11
+ const startPos = scale(data[startIndex]);
12
+ const endPos = scale(data[endIndex]);
13
+ return {
14
+ regionStart: Math.min(startPos, endPos) - halfPadding,
15
+ regionSize: (endIndex - startIndex + 1) * step
16
+ };
17
+ }
@@ -12,4 +12,4 @@ export declare const identifierCleanerSeriesIdDataIndex: <T extends {
12
12
  type: ChartSeriesType;
13
13
  seriesId: SeriesId;
14
14
  dataIndex?: number;
15
- }>(identifier: T) => Pick<T, "type" | "seriesId" | "dataIndex">;
15
+ }>(identifier: T) => Pick<T, 'type' | 'seriesId' | 'dataIndex'>;
@@ -12,4 +12,4 @@ export declare const identifierCleanerSeriesIdDataIndex: <T extends {
12
12
  type: ChartSeriesType;
13
13
  seriesId: SeriesId;
14
14
  dataIndex?: number;
15
- }>(identifier: T) => Pick<T, "type" | "seriesId" | "dataIndex">;
15
+ }>(identifier: T) => Pick<T, 'type' | 'seriesId' | 'dataIndex'>;
@@ -1,5 +1,5 @@
1
1
  import type { D3OrdinalScale, D3Scale } from "../models/axis.mjs";
2
- export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | Date | T;
2
+ export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | T | Date;
3
3
  /**
4
4
  * Get the data index for a given value on an ordinal scale.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { D3OrdinalScale, D3Scale } from "../models/axis.js";
2
- export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | Date | T;
2
+ export declare function invertScale<T>(scale: D3Scale, data: readonly T[], value: number): number | T | Date;
3
3
  /**
4
4
  * Get the data index for a given value on an ordinal scale.
5
5
  */
@@ -19,7 +19,7 @@ export declare const defaultizeSeries: <SeriesType extends ChartSeriesType>({
19
19
  }: {
20
20
  series: Readonly<AllSeriesType<SeriesType>[]>;
21
21
  colors: readonly string[];
22
- theme: "light" | "dark";
22
+ theme: 'light' | 'dark';
23
23
  seriesConfig: ChartSeriesConfig<SeriesType>;
24
24
  }) => {
25
25
  defaultizedSeries: DefaultizedSeriesGroups<SeriesType>;
@@ -19,7 +19,7 @@ export declare const defaultizeSeries: <SeriesType extends ChartSeriesType>({
19
19
  }: {
20
20
  series: Readonly<AllSeriesType<SeriesType>[]>;
21
21
  colors: readonly string[];
22
- theme: "light" | "dark";
22
+ theme: 'light' | 'dark';
23
23
  seriesConfig: ChartSeriesConfig<SeriesType>;
24
24
  }) => {
25
25
  defaultizedSeries: DefaultizedSeriesGroups<SeriesType>;
@@ -25,7 +25,7 @@ export declare const selectorChartSeriesProcessed: (args_0: import("../useChartI
25
25
  */
26
26
  export declare const selectorChartSeriesConfigGetter: (args_0: import("../useChartId/useChartId.types.mjs").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("./useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../useChartInteractionListener/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
27
27
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
28
- }) => (seriesId: SeriesId) => import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"line"> | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"bar"> | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"scatter"> | {
28
+ }) => (seriesId: SeriesId) => {
29
29
  seriesProcessor: import("../useChartSeriesConfig/index.mjs").SeriesProcessor<"pie">;
30
30
  seriesLayout?: import("../useChartSeriesConfig/index.mjs").SeriesLayoutGetter<"pie"> | undefined;
31
31
  colorProcessor: import("../useChartSeriesConfig/index.mjs").ColorProcessor<"pie">;
@@ -42,4 +42,4 @@ export declare const selectorChartSeriesConfigGetter: (args_0: import("../useCha
42
42
  descriptionGetter: import("../useChartSeriesConfig/index.mjs").DescriptionGetter<"pie">;
43
43
  isHighlightedCreator: import("../../featurePlugins/useChartHighlight/highlightCreator.types.mjs").HighlightCreator<"pie">;
44
44
  isFadedCreator: import("../../featurePlugins/useChartHighlight/highlightCreator.types.mjs").HighlightCreator<"pie">;
45
- } | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"radar"> | null;
45
+ } | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"bar"> | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"line"> | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"radar"> | import("../useChartSeriesConfig/index.mjs").ChartSeriesTypeConfig<"scatter"> | null;
@@ -25,7 +25,7 @@ export declare const selectorChartSeriesProcessed: (args_0: import("../useChartI
25
25
  */
26
26
  export declare const selectorChartSeriesConfigGetter: (args_0: import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../useChartInteractionListener/index.js").UseChartInteractionListenerState & Partial<{}> & {
27
27
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
28
- }) => (seriesId: SeriesId) => import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"line"> | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"bar"> | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"scatter"> | {
28
+ }) => (seriesId: SeriesId) => {
29
29
  seriesProcessor: import("../useChartSeriesConfig/index.js").SeriesProcessor<"pie">;
30
30
  seriesLayout?: import("../useChartSeriesConfig/index.js").SeriesLayoutGetter<"pie"> | undefined;
31
31
  colorProcessor: import("../useChartSeriesConfig/index.js").ColorProcessor<"pie">;
@@ -42,4 +42,4 @@ export declare const selectorChartSeriesConfigGetter: (args_0: import("../useCha
42
42
  descriptionGetter: import("../useChartSeriesConfig/index.js").DescriptionGetter<"pie">;
43
43
  isHighlightedCreator: import("../../featurePlugins/useChartHighlight/highlightCreator.types.js").HighlightCreator<"pie">;
44
44
  isFadedCreator: import("../../featurePlugins/useChartHighlight/highlightCreator.types.js").HighlightCreator<"pie">;
45
- } | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"radar"> | null;
45
+ } | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"bar"> | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"line"> | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"radar"> | import("../useChartSeriesConfig/index.js").ChartSeriesTypeConfig<"scatter"> | null;
@@ -33,13 +33,13 @@ export declare const selectorBrushState: (args_0: import("../../corePlugins/useC
33
33
  } | null;
34
34
  export declare const selectorBrushConfigNoZoom: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<{}> & {
35
35
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
36
- }) => "x" | "y" | "xy";
36
+ }) => "x" | "xy" | "y";
37
37
  export declare const selectorBrushConfigZoom: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("../useChartCartesianAxis/index.mjs").UseChartCartesianAxisState> & {
38
38
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
39
- }) => "x" | "y" | "xy" | null;
39
+ }) => "x" | "xy" | "y" | null;
40
40
  export declare const selectorBrushConfig: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<{}> & {
41
41
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
42
- }) => "x" | "y" | "xy";
42
+ }) => "x" | "xy" | "y";
43
43
  export declare const selectorIsBrushEnabled: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartBrush.types.mjs").UseChartBrushState> & {
44
44
  cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
45
45
  }) => boolean | undefined;
@@ -33,13 +33,13 @@ export declare const selectorBrushState: (args_0: import("../../corePlugins/useC
33
33
  } | null;
34
34
  export declare const selectorBrushConfigNoZoom: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
35
35
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
36
- }) => "x" | "y" | "xy";
36
+ }) => "x" | "xy" | "y";
37
37
  export declare const selectorBrushConfigZoom: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("../useChartCartesianAxis/index.js").UseChartCartesianAxisState> & {
38
38
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
39
- }) => "x" | "y" | "xy" | null;
39
+ }) => "x" | "xy" | "y" | null;
40
40
  export declare const selectorBrushConfig: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<{}> & {
41
41
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
42
- }) => "x" | "y" | "xy";
42
+ }) => "x" | "xy" | "y";
43
43
  export declare const selectorIsBrushEnabled: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartBrush.types.js").UseChartBrushState> & {
44
44
  cacheKey: import("../../models/index.js").ChartStateCacheKey;
45
45
  }) => boolean | undefined;
@@ -1,4 +1,4 @@
1
1
  import type { AxisConfig, ScaleName } from "../../../../models/index.mjs";
2
2
  import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.mjs";
3
3
  import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
4
- export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
4
+ export declare const createZoomLookup: (axisDirection: 'x' | 'y') => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
@@ -1,4 +1,4 @@
1
1
  import type { AxisConfig, ScaleName } from "../../../../models/index.js";
2
2
  import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.js";
3
3
  import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
4
- export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
4
+ export declare const createZoomLookup: (axisDirection: 'x' | 'y') => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
@@ -9,7 +9,7 @@ import type { ZoomOptions } from "./zoom.types.mjs";
9
9
  * Returns the `reverse` flag the zoom handlers should use so that pan/wheel
10
10
  * gestures follow the visual direction of the axis.
11
11
  */
12
- export declare const getEffectiveZoomReverse: (axisDirection: "x" | "y", scaleType: ScaleName | undefined, reverse: boolean | undefined) => boolean;
12
+ export declare const getEffectiveZoomReverse: (axisDirection: 'x' | 'y', scaleType: ScaleName | undefined, reverse: boolean | undefined) => boolean;
13
13
  export declare const defaultZoomOptions: {
14
14
  minStart: number;
15
15
  maxEnd: number;
@@ -26,4 +26,4 @@ export declare const defaultZoomOptions: {
26
26
  showTooltip: import("./zoom.types.mjs").ZoomSliderShowTooltip;
27
27
  };
28
28
  };
29
- export declare const defaultizeZoom: (zoom: boolean | ZoomOptions | undefined, axisId: AxisId, axisDirection: "x" | "y", reverse?: boolean) => DefaultizedZoomOptions | undefined;
29
+ export declare const defaultizeZoom: (zoom: boolean | ZoomOptions | undefined, axisId: AxisId, axisDirection: 'x' | 'y', reverse?: boolean) => DefaultizedZoomOptions | undefined;
@@ -9,7 +9,7 @@ import type { ZoomOptions } from "./zoom.types.js";
9
9
  * Returns the `reverse` flag the zoom handlers should use so that pan/wheel
10
10
  * gestures follow the visual direction of the axis.
11
11
  */
12
- export declare const getEffectiveZoomReverse: (axisDirection: "x" | "y", scaleType: ScaleName | undefined, reverse: boolean | undefined) => boolean;
12
+ export declare const getEffectiveZoomReverse: (axisDirection: 'x' | 'y', scaleType: ScaleName | undefined, reverse: boolean | undefined) => boolean;
13
13
  export declare const defaultZoomOptions: {
14
14
  minStart: number;
15
15
  maxEnd: number;
@@ -26,4 +26,4 @@ export declare const defaultZoomOptions: {
26
26
  showTooltip: import("./zoom.types.js").ZoomSliderShowTooltip;
27
27
  };
28
28
  };
29
- export declare const defaultizeZoom: (zoom: boolean | ZoomOptions | undefined, axisId: AxisId, axisDirection: "x" | "y", reverse?: boolean) => DefaultizedZoomOptions | undefined;
29
+ export declare const defaultizeZoom: (zoom: boolean | ZoomOptions | undefined, axisId: AxisId, axisDirection: 'x' | 'y', reverse?: boolean) => DefaultizedZoomOptions | undefined;
@@ -2,7 +2,7 @@ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
2
  import type { AxisConfig } from "../../../../models/axis.mjs";
3
3
  import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
4
  import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
5
- export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, "id" | "domainLimit">, axisDirection: "x" | "y", axisIndex: number, formattedSeries: ProcessedSeries<T | "line">) => "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
5
+ export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, 'id' | 'domainLimit'>, axisDirection: 'x' | 'y', axisIndex: number, formattedSeries: ProcessedSeries<T | 'line'>) => 'nice' | 'strict' | ((min: NumberValue, max: NumberValue) => {
6
6
  min: NumberValue;
7
7
  max: NumberValue;
8
8
  });
@@ -2,7 +2,7 @@ import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
2
2
  import type { AxisConfig } from "../../../../models/axis.js";
3
3
  import type { CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
4
4
  import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
5
- export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, "id" | "domainLimit">, axisDirection: "x" | "y", axisIndex: number, formattedSeries: ProcessedSeries<T | "line">) => "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
5
+ export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, 'id' | 'domainLimit'>, axisDirection: 'x' | 'y', axisIndex: number, formattedSeries: ProcessedSeries<T | 'line'>) => 'nice' | 'strict' | ((min: NumberValue, max: NumberValue) => {
6
6
  min: NumberValue;
7
7
  max: NumberValue;
8
8
  });
@@ -2,4 +2,4 @@ import type { CartesianChartSeriesType } from "../../../../models/seriesType/con
2
2
  import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
3
3
  import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
4
4
  import type { AxisId } from "../../../../models/axis.mjs";
5
- export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: "x" | "y", seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;
5
+ export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: 'x' | 'y', seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;
@@ -2,4 +2,4 @@ import type { CartesianChartSeriesType } from "../../../../models/seriesType/con
2
2
  import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
3
3
  import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
4
4
  import type { AxisId } from "../../../../models/axis.js";
5
- export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: "x" | "y", seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;
5
+ export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: 'x' | 'y', seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;