@mui/x-charts 9.0.4 → 9.1.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 (157) hide show
  1. package/BarChart/BarChart.d.mts +1 -2
  2. package/BarChart/BarChart.d.ts +1 -2
  3. package/BarChart/BarChart.js +2 -913
  4. package/BarChart/BarChart.mjs +2 -913
  5. package/BarChart/seriesConfig/bar/seriesProcessor.js +2 -0
  6. package/BarChart/seriesConfig/bar/seriesProcessor.mjs +2 -0
  7. package/CHANGELOG.md +133 -0
  8. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +55 -0
  9. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +55 -0
  10. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.js +94 -0
  11. package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +88 -0
  12. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +13 -0
  13. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +13 -0
  14. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.js +86 -0
  15. package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.mjs +80 -0
  16. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.mts +18 -0
  17. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.ts +18 -0
  18. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.js +26 -0
  19. package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.mjs +16 -0
  20. package/ChartsAxisHighlightValue/index.d.mts +1 -0
  21. package/ChartsAxisHighlightValue/index.d.ts +1 -0
  22. package/ChartsAxisHighlightValue/index.js +16 -0
  23. package/ChartsAxisHighlightValue/index.mjs +1 -0
  24. package/ChartsAxisHighlightValue/useAxisHighlightValue.d.mts +14 -0
  25. package/ChartsAxisHighlightValue/useAxisHighlightValue.d.ts +14 -0
  26. package/ChartsAxisHighlightValue/useAxisHighlightValue.js +130 -0
  27. package/ChartsAxisHighlightValue/useAxisHighlightValue.mjs +124 -0
  28. package/ChartsContainer/ChartsContainer.js +4 -1431
  29. package/ChartsContainer/ChartsContainer.mjs +4 -1431
  30. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +15 -0
  31. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +15 -0
  32. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.js +56 -0
  33. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.mjs +50 -0
  34. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.types.d.mts +6 -0
  35. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.types.d.ts +6 -0
  36. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.types.js +5 -0
  37. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.types.mjs +1 -0
  38. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.d.mts +11 -0
  39. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.d.ts +11 -0
  40. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.js +70 -0
  41. package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlightPath.mjs +64 -0
  42. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +9 -0
  43. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +9 -0
  44. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.js +87 -0
  45. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.mjs +81 -0
  46. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +9 -0
  47. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +9 -0
  48. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.js +98 -0
  49. package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.mjs +92 -0
  50. package/ChartsRadialAxisHighlight/chartsRadialAxisHighlightClasses.d.mts +7 -0
  51. package/ChartsRadialAxisHighlight/chartsRadialAxisHighlightClasses.d.ts +7 -0
  52. package/ChartsRadialAxisHighlight/chartsRadialAxisHighlightClasses.js +14 -0
  53. package/ChartsRadialAxisHighlight/chartsRadialAxisHighlightClasses.mjs +6 -0
  54. package/ChartsRadialAxisHighlight/index.d.mts +5 -0
  55. package/ChartsRadialAxisHighlight/index.d.ts +5 -0
  56. package/ChartsRadialAxisHighlight/index.js +47 -0
  57. package/ChartsRadialAxisHighlight/index.mjs +4 -0
  58. package/ChartsRadiusAxis/index.d.mts +3 -2
  59. package/ChartsRadiusAxis/index.d.ts +3 -2
  60. package/ChartsRadiusAxis/index.mjs +3 -1
  61. package/ChartsRotationAxis/index.d.mts +3 -2
  62. package/ChartsRotationAxis/index.d.ts +3 -2
  63. package/ChartsRotationAxis/index.mjs +3 -1
  64. package/ChartsXAxis/useAxisTicksProps.d.mts +162 -81
  65. package/ChartsXAxis/useAxisTicksProps.d.ts +162 -81
  66. package/ChartsYAxis/useAxisTicksProps.d.mts +162 -81
  67. package/ChartsYAxis/useAxisTicksProps.d.ts +162 -81
  68. package/LICENSE +2 -0
  69. package/LineChart/LineChart.js +2 -913
  70. package/LineChart/LineChart.mjs +2 -913
  71. package/LineChart/seriesConfig/curveEvaluation.d.mts +19 -1
  72. package/LineChart/seriesConfig/curveEvaluation.d.ts +19 -1
  73. package/LineChart/seriesConfig/curveEvaluation.js +132 -0
  74. package/LineChart/seriesConfig/curveEvaluation.mjs +131 -0
  75. package/LineChart/seriesConfig/getSeriesWithDefaultValues.js +2 -1
  76. package/LineChart/seriesConfig/getSeriesWithDefaultValues.mjs +2 -1
  77. package/LineChart/seriesConfig/seriesProcessor.js +4 -0
  78. package/LineChart/seriesConfig/seriesProcessor.mjs +4 -0
  79. package/LineChart/useAreaPlotData.js +4 -0
  80. package/LineChart/useAreaPlotData.mjs +4 -0
  81. package/LineChart/useLinePlotData.js +2 -0
  82. package/LineChart/useLinePlotData.mjs +2 -0
  83. package/LineChart/useMarkPlotData.js +2 -0
  84. package/LineChart/useMarkPlotData.mjs +2 -0
  85. package/ScatterChart/FocusedScatterMark.js +10 -24
  86. package/ScatterChart/FocusedScatterMark.mjs +10 -24
  87. package/ScatterChart/HighlightedScatterMark.d.mts +11 -0
  88. package/ScatterChart/HighlightedScatterMark.d.ts +11 -0
  89. package/ScatterChart/HighlightedScatterMark.js +68 -0
  90. package/ScatterChart/HighlightedScatterMark.mjs +62 -0
  91. package/ScatterChart/ScatterChart.d.mts +1 -2
  92. package/ScatterChart/ScatterChart.d.ts +1 -2
  93. package/ScatterChart/ScatterChart.js +2 -913
  94. package/ScatterChart/ScatterChart.mjs +2 -913
  95. package/ScatterChart/index.d.mts +1 -0
  96. package/ScatterChart/index.d.ts +1 -0
  97. package/ScatterChart/index.js +12 -0
  98. package/ScatterChart/index.mjs +1 -0
  99. package/ScatterChart/scatterClasses.d.mts +3 -1
  100. package/ScatterChart/scatterClasses.d.ts +3 -1
  101. package/ScatterChart/scatterClasses.js +3 -2
  102. package/ScatterChart/scatterClasses.mjs +3 -2
  103. package/ScatterChart/useScatterChartProps.js +3 -1
  104. package/ScatterChart/useScatterChartProps.mjs +3 -1
  105. package/ScatterChart/useScatterItemPosition.d.mts +16 -0
  106. package/ScatterChart/useScatterItemPosition.d.ts +16 -0
  107. package/ScatterChart/useScatterItemPosition.js +47 -0
  108. package/ScatterChart/useScatterItemPosition.mjs +41 -0
  109. package/SparkLineChart/SparkLineChart.js +2 -913
  110. package/SparkLineChart/SparkLineChart.mjs +2 -913
  111. package/hooks/useAxis.d.mts +3 -3
  112. package/hooks/useAxis.d.ts +3 -3
  113. package/hooks/useAxisSystem.d.mts +1 -1
  114. package/hooks/useAxisSystem.d.ts +1 -1
  115. package/hooks/useAxisSystem.js +1 -1
  116. package/hooks/useAxisSystem.mjs +1 -1
  117. package/index.d.mts +2 -0
  118. package/index.d.ts +2 -0
  119. package/index.js +25 -1
  120. package/index.mjs +3 -1
  121. package/internals/index.d.mts +5 -0
  122. package/internals/index.d.ts +5 -0
  123. package/internals/index.js +48 -0
  124. package/internals/index.mjs +5 -0
  125. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +4 -2
  126. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +4 -2
  127. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +2 -2
  128. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +2 -2
  129. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +3 -2
  130. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +3 -2
  131. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +4 -7
  132. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +4 -7
  133. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -2
  134. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -2
  135. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +2 -2
  136. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +2 -2
  137. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.mts +2 -2
  138. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +2 -2
  139. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +20 -4
  140. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.mjs +20 -4
  141. package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.mts +2 -1
  142. package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +2 -1
  143. package/internals/plugins/featurePlugins/useChartPolarAxis/index.js +12 -0
  144. package/internals/plugins/featurePlugins/useChartPolarAxis/index.mjs +2 -1
  145. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +4 -4
  146. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +4 -4
  147. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +3 -3
  148. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -3
  149. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.mts +1 -1
  150. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
  151. package/models/axis.d.mts +28 -28
  152. package/models/axis.d.ts +28 -28
  153. package/models/axis.js +5 -1
  154. package/models/axis.mjs +5 -1
  155. package/models/seriesType/line.d.mts +6 -6
  156. package/models/seriesType/line.d.ts +6 -6
  157. package/package.json +31 -3
@@ -1,4 +1,4 @@
1
- import { type AxisId, type ChartsRadiusAxisProps, type ChartsRotationAxisProps, type PolarAxisDefaultized, type ScaleName, type AxisScaleConfig, type ChartsXAxisProps, type ChartsYAxisProps, type ComputedAxis } from "../models/axis.mjs";
1
+ import { type AxisId, type ChartsRadiusAxisProps, type ChartsRotationAxisProps, type ScaleName, type AxisScaleConfig, type ChartsXAxisProps, type ChartsYAxisProps, type ComputedAxis } from "../models/axis.mjs";
2
2
  /**
3
3
  * Get all the x-axes.
4
4
  *
@@ -128,7 +128,7 @@ export declare function useRadiusAxes(): {
128
128
  * // Get a specific rotation axis by string ID
129
129
  * const rotationAxis = useRotationAxis('categories');
130
130
  */
131
- export declare function useRotationAxis(axisId?: AxisId): PolarAxisDefaultized<ScaleName, any, ChartsRotationAxisProps> | undefined;
131
+ export declare function useRotationAxis(axisId?: AxisId): ComputedAxis<ScaleName, any, ChartsRotationAxisProps> | undefined;
132
132
  /**
133
133
  * Get a specific radius axis or the default radius axis for polar charts.
134
134
  *
@@ -148,4 +148,4 @@ export declare function useRotationAxis(axisId?: AxisId): PolarAxisDefaultized<S
148
148
  * // Get a specific radius axis by string ID
149
149
  * const radiusAxis = useRadiusAxis('magnitude');
150
150
  */
151
- export declare function useRadiusAxis(axisId?: AxisId): PolarAxisDefaultized<ScaleName, any, ChartsRadiusAxisProps> | undefined;
151
+ export declare function useRadiusAxis(axisId?: AxisId): ComputedAxis<ScaleName, any, ChartsRadiusAxisProps> | undefined;
@@ -1,4 +1,4 @@
1
- import { type AxisId, type ChartsRadiusAxisProps, type ChartsRotationAxisProps, type PolarAxisDefaultized, type ScaleName, type AxisScaleConfig, type ChartsXAxisProps, type ChartsYAxisProps, type ComputedAxis } from "../models/axis.js";
1
+ import { type AxisId, type ChartsRadiusAxisProps, type ChartsRotationAxisProps, type ScaleName, type AxisScaleConfig, type ChartsXAxisProps, type ChartsYAxisProps, type ComputedAxis } from "../models/axis.js";
2
2
  /**
3
3
  * Get all the x-axes.
4
4
  *
@@ -128,7 +128,7 @@ export declare function useRadiusAxes(): {
128
128
  * // Get a specific rotation axis by string ID
129
129
  * const rotationAxis = useRotationAxis('categories');
130
130
  */
131
- export declare function useRotationAxis(axisId?: AxisId): PolarAxisDefaultized<ScaleName, any, ChartsRotationAxisProps> | undefined;
131
+ export declare function useRotationAxis(axisId?: AxisId): ComputedAxis<ScaleName, any, ChartsRotationAxisProps> | undefined;
132
132
  /**
133
133
  * Get a specific radius axis or the default radius axis for polar charts.
134
134
  *
@@ -148,4 +148,4 @@ export declare function useRotationAxis(axisId?: AxisId): PolarAxisDefaultized<S
148
148
  * // Get a specific radius axis by string ID
149
149
  * const radiusAxis = useRadiusAxis('magnitude');
150
150
  */
151
- export declare function useRadiusAxis(axisId?: AxisId): PolarAxisDefaultized<ScaleName, any, ChartsRadiusAxisProps> | undefined;
151
+ export declare function useRadiusAxis(axisId?: AxisId): ComputedAxis<ScaleName, any, ChartsRadiusAxisProps> | undefined;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @internals
2
+ * @internal
3
3
  *
4
4
  * Get the coordinate system implemented.
5
5
  * The hook assumes polar and cartesian are never implemented at the same time.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @internals
2
+ * @internal
3
3
  *
4
4
  * Get the coordinate system implemented.
5
5
  * The hook assumes polar and cartesian are never implemented at the same time.
@@ -9,7 +9,7 @@ var _useChartCartesianAxis = require("../internals/plugins/featurePlugins/useCha
9
9
  var _useChartPolarAxis = require("../internals/plugins/featurePlugins/useChartPolarAxis");
10
10
  var _useStore = require("../internals/store/useStore");
11
11
  /**
12
- * @internals
12
+ * @internal
13
13
  *
14
14
  * Get the coordinate system implemented.
15
15
  * The hook assumes polar and cartesian are never implemented at the same time.
@@ -5,7 +5,7 @@ import { selectorChartRawRotationAxis } from "../internals/plugins/featurePlugin
5
5
  import { useStore } from "../internals/store/useStore.mjs";
6
6
 
7
7
  /**
8
- * @internals
8
+ * @internal
9
9
  *
10
10
  * Get the coordinate system implemented.
11
11
  * The hook assumes polar and cartesian are never implemented at the same time.
package/index.d.mts CHANGED
@@ -7,6 +7,7 @@ export * from "./models/index.mjs";
7
7
  export * from "./ChartsClipPath/index.mjs";
8
8
  export * from "./ChartsReferenceLine/index.mjs";
9
9
  export * from "./ChartsAxis/index.mjs";
10
+ export * from "./ChartsAxisHighlightValue/index.mjs";
10
11
  export * from "./ChartsXAxis/index.mjs";
11
12
  export * from "./ChartsYAxis/index.mjs";
12
13
  export * from "./ChartsGrid/index.mjs";
@@ -29,6 +30,7 @@ export type { ChartsContainerProps, ChartsContainerSlots, ChartsContainerSlotPro
29
30
  export * from "./ChartsDataProvider/index.mjs";
30
31
  export * from "./ChartsRadialDataProvider/index.mjs";
31
32
  export * from "./ChartsRadialGrid/index.mjs";
33
+ export * from "./ChartsRadialAxisHighlight/index.mjs";
32
34
  export * from "./ChartsRadiusAxis/index.mjs";
33
35
  export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from "./ChartsRotationAxis/index.mjs";
34
36
  export * from "./Toolbar/index.mjs";
package/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./models/index.js";
7
7
  export * from "./ChartsClipPath/index.js";
8
8
  export * from "./ChartsReferenceLine/index.js";
9
9
  export * from "./ChartsAxis/index.js";
10
+ export * from "./ChartsAxisHighlightValue/index.js";
10
11
  export * from "./ChartsXAxis/index.js";
11
12
  export * from "./ChartsYAxis/index.js";
12
13
  export * from "./ChartsGrid/index.js";
@@ -29,6 +30,7 @@ export type { ChartsContainerProps, ChartsContainerSlots, ChartsContainerSlotPro
29
30
  export * from "./ChartsDataProvider/index.js";
30
31
  export * from "./ChartsRadialDataProvider/index.js";
31
32
  export * from "./ChartsRadialGrid/index.js";
33
+ export * from "./ChartsRadialAxisHighlight/index.js";
32
34
  export * from "./ChartsRadiusAxis/index.js";
33
35
  export { type ChartsRotationAxisProps, Unstable_ChartsRotationAxis } from "./ChartsRotationAxis/index.js";
34
36
  export * from "./Toolbar/index.js";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v9.0.4
2
+ * @mui/x-charts v9.1.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -134,6 +134,18 @@ Object.keys(_ChartsAxis).forEach(function (key) {
134
134
  }
135
135
  });
136
136
  });
137
+ var _ChartsAxisHighlightValue = require("./ChartsAxisHighlightValue");
138
+ Object.keys(_ChartsAxisHighlightValue).forEach(function (key) {
139
+ if (key === "default" || key === "__esModule") return;
140
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
141
+ if (key in exports && exports[key] === _ChartsAxisHighlightValue[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _ChartsAxisHighlightValue[key];
146
+ }
147
+ });
148
+ });
137
149
  var _ChartsXAxis = require("./ChartsXAxis");
138
150
  Object.keys(_ChartsXAxis).forEach(function (key) {
139
151
  if (key === "default" || key === "__esModule") return;
@@ -375,6 +387,18 @@ Object.keys(_ChartsRadialGrid).forEach(function (key) {
375
387
  }
376
388
  });
377
389
  });
390
+ var _ChartsRadialAxisHighlight = require("./ChartsRadialAxisHighlight");
391
+ Object.keys(_ChartsRadialAxisHighlight).forEach(function (key) {
392
+ if (key === "default" || key === "__esModule") return;
393
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
394
+ if (key in exports && exports[key] === _ChartsRadialAxisHighlight[key]) return;
395
+ Object.defineProperty(exports, key, {
396
+ enumerable: true,
397
+ get: function () {
398
+ return _ChartsRadialAxisHighlight[key];
399
+ }
400
+ });
401
+ });
378
402
  var _ChartsRadiusAxis = require("./ChartsRadiusAxis");
379
403
  Object.keys(_ChartsRadiusAxis).forEach(function (key) {
380
404
  if (key === "default" || key === "__esModule") return;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-charts v9.0.4
2
+ * @mui/x-charts v9.1.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -14,6 +14,7 @@ export * from "./models/index.mjs";
14
14
  export * from "./ChartsClipPath/index.mjs";
15
15
  export * from "./ChartsReferenceLine/index.mjs";
16
16
  export * from "./ChartsAxis/index.mjs";
17
+ export * from "./ChartsAxisHighlightValue/index.mjs";
17
18
  export * from "./ChartsXAxis/index.mjs";
18
19
  export * from "./ChartsYAxis/index.mjs";
19
20
  export * from "./ChartsGrid/index.mjs";
@@ -35,6 +36,7 @@ export { ChartsContainer } from "./ChartsContainer/index.mjs";
35
36
  export * from "./ChartsDataProvider/index.mjs";
36
37
  export * from "./ChartsRadialDataProvider/index.mjs";
37
38
  export * from "./ChartsRadialGrid/index.mjs";
39
+ export * from "./ChartsRadialAxisHighlight/index.mjs";
38
40
  export * from "./ChartsRadiusAxis/index.mjs";
39
41
  export { Unstable_ChartsRotationAxis } from "./ChartsRotationAxis/index.mjs";
40
42
  export * from "./Toolbar/index.mjs";
@@ -40,6 +40,7 @@ export * from "./plugins/featurePlugins/useChartItemClick/index.mjs";
40
40
  export * from "./plugins/utils/selectors.mjs";
41
41
  export { getAxisTriggerTooltip as getCartesianAxisTriggerTooltip } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.mjs";
42
42
  export { getAxisIndex as getCartesianAxisIndex } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisValue.mjs";
43
+ export { getAxisIndex as getPolarAxisIndex } from "./plugins/featurePlugins/useChartPolarAxis/getAxisIndex.mjs";
43
44
  export * from "./store/useCharts.mjs";
44
45
  export * from "./store/useStore.mjs";
45
46
  export * from "../BarChart/BarChart.plugins.mjs";
@@ -48,11 +49,13 @@ export * from "../ScatterChart/ScatterChart.plugins.mjs";
48
49
  export * from "../RadarChart/RadarChart.plugins.mjs";
49
50
  export * from "../PieChart/PieChart.plugins.mjs";
50
51
  export * from "./configInit.mjs";
52
+ export * from "./clampAngle.mjs";
51
53
  export * from "./getLabel.mjs";
52
54
  export * from "./legendUtils.mjs";
53
55
  export * from "./getChartPoint.mjs";
54
56
  export * from "./isDefined.mjs";
55
57
  export * from "./getScale.mjs";
58
+ export * from "./getAsNumber.mjs";
56
59
  export * from "./stacking/index.mjs";
57
60
  export * from "./getCurve.mjs";
58
61
  export * from "./getSymbol.mjs";
@@ -71,6 +74,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.mjs";
71
74
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.mjs";
72
75
  export { getBandSize } from "./getBandSize.mjs";
73
76
  export * from "./plugins/utils/defaultSeriesConfig.mjs";
77
+ export { EPSILON } from "../utils/epsilon.mjs";
74
78
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.mjs";
75
79
  export { getAxisExtrema } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.mjs";
76
80
  export * from "../context/ChartsProvider/index.mjs";
@@ -89,4 +93,5 @@ export * from "./constants.mjs";
89
93
  export * from "./scales/index.mjs";
90
94
  export * from "./identifierSerializer.mjs";
91
95
  export * from "./identifierCleaner.mjs";
96
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.mjs";
92
97
  export { default as getLineItemAtPosition } from "../LineChart/seriesConfig/getItemAtPosition.mjs";
@@ -40,6 +40,7 @@ export * from "./plugins/featurePlugins/useChartItemClick/index.js";
40
40
  export * from "./plugins/utils/selectors.js";
41
41
  export { getAxisTriggerTooltip as getCartesianAxisTriggerTooltip } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.js";
42
42
  export { getAxisIndex as getCartesianAxisIndex } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js";
43
+ export { getAxisIndex as getPolarAxisIndex } from "./plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js";
43
44
  export * from "./store/useCharts.js";
44
45
  export * from "./store/useStore.js";
45
46
  export * from "../BarChart/BarChart.plugins.js";
@@ -48,11 +49,13 @@ export * from "../ScatterChart/ScatterChart.plugins.js";
48
49
  export * from "../RadarChart/RadarChart.plugins.js";
49
50
  export * from "../PieChart/PieChart.plugins.js";
50
51
  export * from "./configInit.js";
52
+ export * from "./clampAngle.js";
51
53
  export * from "./getLabel.js";
52
54
  export * from "./legendUtils.js";
53
55
  export * from "./getChartPoint.js";
54
56
  export * from "./isDefined.js";
55
57
  export * from "./getScale.js";
58
+ export * from "./getAsNumber.js";
56
59
  export * from "./stacking/index.js";
57
60
  export * from "./getCurve.js";
58
61
  export * from "./getSymbol.js";
@@ -71,6 +74,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.js";
71
74
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.js";
72
75
  export { getBandSize } from "./getBandSize.js";
73
76
  export * from "./plugins/utils/defaultSeriesConfig.js";
77
+ export { EPSILON } from "../utils/epsilon.js";
74
78
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.js";
75
79
  export { getAxisExtrema } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.js";
76
80
  export * from "../context/ChartsProvider/index.js";
@@ -89,4 +93,5 @@ export * from "./constants.js";
89
93
  export * from "./scales/index.js";
90
94
  export * from "./identifierSerializer.js";
91
95
  export * from "./identifierCleaner.js";
96
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.js";
92
97
  export { default as getLineItemAtPosition } from "../LineChart/seriesConfig/getItemAtPosition.js";
@@ -20,15 +20,24 @@ var _exportNames = {
20
20
  useRegisterPointerInteractions: true,
21
21
  getCartesianAxisTriggerTooltip: true,
22
22
  getCartesianAxisIndex: true,
23
+ getPolarAxisIndex: true,
23
24
  createCommonKeyboardFocusHandler: true,
24
25
  getSeriesColorFn: true,
25
26
  checkBarChartScaleErrors: true,
26
27
  getBandSize: true,
28
+ EPSILON: true,
27
29
  useChartsTooltipUtilityClasses: true,
28
30
  getChartsTooltipUtilityClass: true,
29
31
  getAxisExtrema: true,
32
+ evaluateCurveAtAngle: true,
30
33
  getLineItemAtPosition: true
31
34
  };
35
+ Object.defineProperty(exports, "EPSILON", {
36
+ enumerable: true,
37
+ get: function () {
38
+ return _epsilon.EPSILON;
39
+ }
40
+ });
32
41
  Object.defineProperty(exports, "checkBarChartScaleErrors", {
33
42
  enumerable: true,
34
43
  get: function () {
@@ -41,6 +50,12 @@ Object.defineProperty(exports, "createCommonKeyboardFocusHandler", {
41
50
  return _createCommonKeyboardFocusHandler.createCommonKeyboardFocusHandler;
42
51
  }
43
52
  });
53
+ Object.defineProperty(exports, "evaluateCurveAtAngle", {
54
+ enumerable: true,
55
+ get: function () {
56
+ return _curveEvaluation.evaluateCurveAtAngle;
57
+ }
58
+ });
44
59
  Object.defineProperty(exports, "getAxisExtrema", {
45
60
  enumerable: true,
46
61
  get: function () {
@@ -77,6 +92,12 @@ Object.defineProperty(exports, "getLineItemAtPosition", {
77
92
  return _getItemAtPosition.default;
78
93
  }
79
94
  });
95
+ Object.defineProperty(exports, "getPolarAxisIndex", {
96
+ enumerable: true,
97
+ get: function () {
98
+ return _getAxisIndex.getAxisIndex;
99
+ }
100
+ });
80
101
  Object.defineProperty(exports, "getSeriesColorFn", {
81
102
  enumerable: true,
82
103
  get: function () {
@@ -506,6 +527,7 @@ Object.keys(_selectors).forEach(function (key) {
506
527
  });
507
528
  var _getAxisTriggerTooltip = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip");
508
529
  var _getAxisValue = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisValue");
530
+ var _getAxisIndex = require("./plugins/featurePlugins/useChartPolarAxis/getAxisIndex");
509
531
  var _useCharts = require("./store/useCharts");
510
532
  Object.keys(_useCharts).forEach(function (key) {
511
533
  if (key === "default" || key === "__esModule") return;
@@ -602,6 +624,18 @@ Object.keys(_configInit).forEach(function (key) {
602
624
  }
603
625
  });
604
626
  });
627
+ var _clampAngle = require("./clampAngle");
628
+ Object.keys(_clampAngle).forEach(function (key) {
629
+ if (key === "default" || key === "__esModule") return;
630
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
631
+ if (key in exports && exports[key] === _clampAngle[key]) return;
632
+ Object.defineProperty(exports, key, {
633
+ enumerable: true,
634
+ get: function () {
635
+ return _clampAngle[key];
636
+ }
637
+ });
638
+ });
605
639
  var _getLabel = require("./getLabel");
606
640
  Object.keys(_getLabel).forEach(function (key) {
607
641
  if (key === "default" || key === "__esModule") return;
@@ -662,6 +696,18 @@ Object.keys(_getScale).forEach(function (key) {
662
696
  }
663
697
  });
664
698
  });
699
+ var _getAsNumber = require("./getAsNumber");
700
+ Object.keys(_getAsNumber).forEach(function (key) {
701
+ if (key === "default" || key === "__esModule") return;
702
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
703
+ if (key in exports && exports[key] === _getAsNumber[key]) return;
704
+ Object.defineProperty(exports, key, {
705
+ enumerable: true,
706
+ get: function () {
707
+ return _getAsNumber[key];
708
+ }
709
+ });
710
+ });
665
711
  var _stacking = require("./stacking");
666
712
  Object.keys(_stacking).forEach(function (key) {
667
713
  if (key === "default" || key === "__esModule") return;
@@ -834,6 +880,7 @@ Object.keys(_defaultSeriesConfig).forEach(function (key) {
834
880
  }
835
881
  });
836
882
  });
883
+ var _epsilon = require("../utils/epsilon");
837
884
  var _chartsTooltipClasses = require("../ChartsTooltip/chartsTooltipClasses");
838
885
  var _getAxisExtrema = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema");
839
886
  var _ChartsProvider = require("../context/ChartsProvider");
@@ -1028,4 +1075,5 @@ Object.keys(_identifierCleaner).forEach(function (key) {
1028
1075
  }
1029
1076
  });
1030
1077
  });
1078
+ var _curveEvaluation = require("../LineChart/seriesConfig/curveEvaluation");
1031
1079
  var _getItemAtPosition = _interopRequireDefault(require("../LineChart/seriesConfig/getItemAtPosition"));
@@ -45,6 +45,7 @@ export * from "./plugins/featurePlugins/useChartItemClick/index.mjs";
45
45
  export * from "./plugins/utils/selectors.mjs";
46
46
  export { getAxisTriggerTooltip as getCartesianAxisTriggerTooltip } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.mjs";
47
47
  export { getAxisIndex as getCartesianAxisIndex } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisValue.mjs";
48
+ export { getAxisIndex as getPolarAxisIndex } from "./plugins/featurePlugins/useChartPolarAxis/getAxisIndex.mjs";
48
49
  export * from "./store/useCharts.mjs";
49
50
  export * from "./store/useStore.mjs";
50
51
 
@@ -57,11 +58,13 @@ export * from "../PieChart/PieChart.plugins.mjs";
57
58
 
58
59
  // utils
59
60
  export * from "./configInit.mjs";
61
+ export * from "./clampAngle.mjs";
60
62
  export * from "./getLabel.mjs";
61
63
  export * from "./legendUtils.mjs";
62
64
  export * from "./getChartPoint.mjs";
63
65
  export * from "./isDefined.mjs";
64
66
  export * from "./getScale.mjs";
67
+ export * from "./getAsNumber.mjs";
65
68
  export * from "./stacking/index.mjs";
66
69
  export * from "./getCurve.mjs";
67
70
  export * from "./getSymbol.mjs";
@@ -80,6 +83,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.mjs";
80
83
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.mjs";
81
84
  export { getBandSize } from "./getBandSize.mjs";
82
85
  export * from "./plugins/utils/defaultSeriesConfig.mjs";
86
+ export { EPSILON } from "../utils/epsilon.mjs";
83
87
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.mjs";
84
88
 
85
89
  // contexts
@@ -102,4 +106,5 @@ export * from "./constants.mjs";
102
106
  export * from "./scales/index.mjs";
103
107
  export * from "./identifierSerializer.mjs";
104
108
  export * from "./identifierCleaner.mjs";
109
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.mjs";
105
110
  export { default as getLineItemAtPosition } from "../LineChart/seriesConfig/getItemAtPosition.mjs";
@@ -52,10 +52,12 @@ const useChartInteractionListener = ({
52
52
  }), new _core.TurnWheelGesture({
53
53
  name: 'zoomTurnWheel',
54
54
  sensitivity: 0.01,
55
- initialDelta: 1
55
+ initialDelta: 1,
56
+ passive: false
56
57
  }), new _core.TurnWheelGesture({
57
58
  name: 'panTurnWheel',
58
- sensitivity: 0.5
59
+ sensitivity: 0.5,
60
+ passive: false
59
61
  }), new _core.TapAndDragGesture({
60
62
  name: 'zoomTapAndDrag',
61
63
  dragThreshold: 10
@@ -46,10 +46,12 @@ export const useChartInteractionListener = ({
46
46
  }), new TurnWheelGesture({
47
47
  name: 'zoomTurnWheel',
48
48
  sensitivity: 0.01,
49
- initialDelta: 1
49
+ initialDelta: 1,
50
+ passive: false
50
51
  }), new TurnWheelGesture({
51
52
  name: 'panTurnWheel',
52
- sensitivity: 0.5
53
+ sensitivity: 0.5,
54
+ passive: false
53
55
  }), new TapAndDragGesture({
54
56
  name: 'zoomTapAndDrag',
55
57
  dragThreshold: 10
@@ -1,9 +1,9 @@
1
1
  import type { PolarChartSeriesType, ChartSeriesDefaultized } from "../../../../../models/seriesType/config.mjs";
2
- import type { AxisConfig } from "../../../../../models/axis.mjs";
2
+ import type { PolarAxisConfig } from "../../../../../models/axis.mjs";
3
3
  import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
4
4
  type PolarExtremumGetterParams<SeriesType extends PolarChartSeriesType> = {
5
5
  series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>;
6
- axis: AxisConfig;
6
+ axis: PolarAxisConfig;
7
7
  axisIndex: number;
8
8
  isDefaultAxis: boolean;
9
9
  };
@@ -1,9 +1,9 @@
1
1
  import type { PolarChartSeriesType, ChartSeriesDefaultized } from "../../../../../models/seriesType/config.js";
2
- import type { AxisConfig } from "../../../../../models/axis.js";
2
+ import type { PolarAxisConfig } from "../../../../../models/axis.js";
3
3
  import type { SeriesId } from "../../../../../models/seriesType/common.js";
4
4
  type PolarExtremumGetterParams<SeriesType extends PolarChartSeriesType> = {
5
5
  series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>;
6
- axis: AxisConfig;
6
+ axis: PolarAxisConfig;
7
7
  axisIndex: number;
8
8
  isDefaultAxis: boolean;
9
9
  };
@@ -138,8 +138,9 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
138
138
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
139
139
  colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
140
140
  }, "scale">> & {
141
- position?: "left" | "right" | "none";
142
- width?: number | "auto";
141
+ position?: "none" | "left" | "right" | undefined;
142
+ height?: undefined;
143
+ width?: number | "auto" | undefined;
143
144
  } & import("../../../../hooks/useTicks.mjs").TickParams & import("../../../index.mjs").AxisConfigExtension & {
144
145
  zoom: import("./useChartCartesianAxis.types.mjs").DefaultizedZoomOptions | undefined;
145
146
  }) | undefined;
@@ -138,8 +138,9 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
138
138
  scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
139
139
  colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
140
140
  }, "scale">> & {
141
- position?: "left" | "right" | "none";
142
- width?: number | "auto";
141
+ position?: "none" | "left" | "right" | undefined;
142
+ height?: undefined;
143
+ width?: number | "auto" | undefined;
143
144
  } & import("../../../../hooks/useTicks.js").TickParams & import("../../../index.js").AxisConfigExtension & {
144
145
  zoom: import("./useChartCartesianAxis.types.js").DefaultizedZoomOptions | undefined;
145
146
  }) | undefined;
@@ -1,13 +1,10 @@
1
- import type { AxisConfig, ScaleName } from "../../../../models/index.mjs";
2
- import { type ChartsAxisProps, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type AxisId } from "../../../../models/axis.mjs";
1
+ import type { ScaleName } from "../../../../models/index.mjs";
2
+ import { type ChartsAxisProps, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisConfig } from "../../../../models/axis.mjs";
3
3
  import { type ChartSeriesType } from "../../../../models/seriesType/config.mjs";
4
4
  import type { ChartDrawingArea } from "../../../../hooks/index.mjs";
5
5
  import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
6
6
  import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
7
7
  import { type ComputedAxisConfig } from "../useChartCartesianAxis/index.mjs";
8
- export type DefaultizedAxisConfig<AxisProps extends ChartsRotationAxisProps | ChartsRadiusAxisProps> = {
9
- [axisId: AxisId]: PolarAxisDefaultized<ScaleName, any, AxisProps>;
10
- };
11
8
  export type ComputeResult<T extends ChartsAxisProps> = {
12
9
  axis: ComputedAxisConfig<T>;
13
10
  axisIds: string[];
@@ -18,11 +15,11 @@ type ComputeCommonParams<SeriesType extends ChartSeriesType = ChartSeriesType> =
18
15
  seriesConfig: ChartSeriesConfig<SeriesType>;
19
16
  };
20
17
  export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
21
- axis?: AxisConfig<'linear', any, ChartsRadiusAxisProps>[];
18
+ axis?: PolarAxisConfig<ScaleName, any, ChartsRadiusAxisProps>[];
22
19
  axisDirection: 'radius';
23
20
  }): ComputeResult<ChartsRadiusAxisProps>;
24
21
  export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
25
- axis?: AxisConfig<ScaleName, any, ChartsRotationAxisProps>[];
22
+ axis?: PolarAxisConfig<ScaleName, any, ChartsRotationAxisProps>[];
26
23
  axisDirection: 'rotation';
27
24
  }): ComputeResult<ChartsRotationAxisProps>;
28
25
  export {};
@@ -1,13 +1,10 @@
1
- import type { AxisConfig, ScaleName } from "../../../../models/index.js";
2
- import { type ChartsAxisProps, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type AxisId } from "../../../../models/axis.js";
1
+ import type { ScaleName } from "../../../../models/index.js";
2
+ import { type ChartsAxisProps, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisConfig } from "../../../../models/axis.js";
3
3
  import { type ChartSeriesType } from "../../../../models/seriesType/config.js";
4
4
  import type { ChartDrawingArea } from "../../../../hooks/index.js";
5
5
  import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
6
6
  import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
7
7
  import { type ComputedAxisConfig } from "../useChartCartesianAxis/index.js";
8
- export type DefaultizedAxisConfig<AxisProps extends ChartsRotationAxisProps | ChartsRadiusAxisProps> = {
9
- [axisId: AxisId]: PolarAxisDefaultized<ScaleName, any, AxisProps>;
10
- };
11
8
  export type ComputeResult<T extends ChartsAxisProps> = {
12
9
  axis: ComputedAxisConfig<T>;
13
10
  axisIds: string[];
@@ -18,11 +15,11 @@ type ComputeCommonParams<SeriesType extends ChartSeriesType = ChartSeriesType> =
18
15
  seriesConfig: ChartSeriesConfig<SeriesType>;
19
16
  };
20
17
  export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
21
- axis?: AxisConfig<'linear', any, ChartsRadiusAxisProps>[];
18
+ axis?: PolarAxisConfig<ScaleName, any, ChartsRadiusAxisProps>[];
22
19
  axisDirection: 'radius';
23
20
  }): ComputeResult<ChartsRadiusAxisProps>;
24
21
  export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
25
- axis?: AxisConfig<ScaleName, any, ChartsRotationAxisProps>[];
22
+ axis?: PolarAxisConfig<ScaleName, any, ChartsRotationAxisProps>[];
26
23
  axisDirection: 'rotation';
27
24
  }): ComputeResult<ChartsRotationAxisProps>;
28
25
  export {};
@@ -1,5 +1,6 @@
1
1
  import { type MakeOptional } from '@mui/x-internals/types';
2
2
  import { type ScaleName } from "../../../../models/index.mjs";
3
- import { type PolarAxisConfig } from "../../../../models/axis.mjs";
3
+ import type { ChartsRotationAxisProps, PolarAxisConfig, ChartsRadiusAxisProps } from "../../../../models/axis.mjs";
4
4
  import { type DatasetType } from "../../../../models/seriesType/config.mjs";
5
- export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'rotation' | 'radius'): PolarAxisConfig<TScale, any>[];
5
+ export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'rotation'): PolarAxisConfig<TScale, any, ChartsRotationAxisProps>[];
6
+ export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'radius'): PolarAxisConfig<TScale, any, ChartsRadiusAxisProps>[];
@@ -1,5 +1,6 @@
1
1
  import { type MakeOptional } from '@mui/x-internals/types';
2
2
  import { type ScaleName } from "../../../../models/index.js";
3
- import { type PolarAxisConfig } from "../../../../models/axis.js";
3
+ import type { ChartsRotationAxisProps, PolarAxisConfig, ChartsRadiusAxisProps } from "../../../../models/axis.js";
4
4
  import { type DatasetType } from "../../../../models/seriesType/config.js";
5
- export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'rotation' | 'radius'): PolarAxisConfig<TScale, any>[];
5
+ export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'rotation'): PolarAxisConfig<TScale, any, ChartsRotationAxisProps>[];
6
+ export declare function defaultizeAxis<TScale extends ScaleName = ScaleName>(inAxis: MakeOptional<PolarAxisConfig<TScale, any>, 'id'>[] | undefined, dataset: Readonly<DatasetType> | undefined, axisName: 'radius'): PolarAxisConfig<TScale, any, ChartsRadiusAxisProps>[];
@@ -1,5 +1,5 @@
1
- import { type AxisConfig } from "../../../../models/axis.mjs";
1
+ import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ScaleName, PolarAxisConfig } from "../../../../models/axis.mjs";
2
2
  import { type PolarChartSeriesType } from "../../../../models/seriesType/config.mjs";
3
3
  import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
4
4
  import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
5
- export declare const getAxisExtremum: <SeriesType extends PolarChartSeriesType>(axis: AxisConfig, axisDirection: "rotation" | "radius", seriesConfig: ChartSeriesConfig<SeriesType>, axisIndex: number, formattedSeries: ProcessedSeries<SeriesType>) => number[];
5
+ export declare const getAxisExtremum: <SeriesType extends PolarChartSeriesType>(axis: PolarAxisConfig<ScaleName, any, ChartsRotationAxisProps | ChartsRadiusAxisProps>, axisDirection: "rotation" | "radius", seriesConfig: ChartSeriesConfig<SeriesType>, axisIndex: number, formattedSeries: ProcessedSeries<SeriesType>) => number[];
@@ -1,5 +1,5 @@
1
- import { type AxisConfig } from "../../../../models/axis.js";
1
+ import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ScaleName, PolarAxisConfig } from "../../../../models/axis.js";
2
2
  import { type PolarChartSeriesType } from "../../../../models/seriesType/config.js";
3
3
  import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
4
4
  import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
5
- export declare const getAxisExtremum: <SeriesType extends PolarChartSeriesType>(axis: AxisConfig, axisDirection: "rotation" | "radius", seriesConfig: ChartSeriesConfig<SeriesType>, axisIndex: number, formattedSeries: ProcessedSeries<SeriesType>) => number[];
5
+ export declare const getAxisExtremum: <SeriesType extends PolarChartSeriesType>(axis: PolarAxisConfig<ScaleName, any, ChartsRotationAxisProps | ChartsRadiusAxisProps>, axisDirection: "rotation" | "radius", seriesConfig: ChartSeriesConfig<SeriesType>, axisIndex: number, formattedSeries: ProcessedSeries<SeriesType>) => number[];
@@ -1,6 +1,6 @@
1
- import { type PolarAxisDefaultized } from "../../../../models/axis.mjs";
1
+ import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ComputedAxis, ScaleName } from "../../../../models/axis.mjs";
2
2
  /**
3
3
  * For a pointer coordinate, this function returns the value and dataIndex associated.
4
4
  * Returns `-1` if the coordinate does not match a value.
5
5
  */
6
- export declare function getAxisIndex(axisConfig: PolarAxisDefaultized, pointerValue: number): number;
6
+ export declare function getAxisIndex(axisConfig: ComputedAxis<ScaleName, any, ChartsRadiusAxisProps> | ComputedAxis<ScaleName, any, ChartsRotationAxisProps>, pointerValue: number): number;
@@ -1,6 +1,6 @@
1
- import { type PolarAxisDefaultized } from "../../../../models/axis.js";
1
+ import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ComputedAxis, ScaleName } from "../../../../models/axis.js";
2
2
  /**
3
3
  * For a pointer coordinate, this function returns the value and dataIndex associated.
4
4
  * Returns `-1` if the coordinate does not match a value.
5
5
  */
6
- export declare function getAxisIndex(axisConfig: PolarAxisDefaultized, pointerValue: number): number;
6
+ export declare function getAxisIndex(axisConfig: ComputedAxis<ScaleName, any, ChartsRadiusAxisProps> | ComputedAxis<ScaleName, any, ChartsRotationAxisProps>, pointerValue: number): number;