@mui/x-charts 9.0.4 → 9.2.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 (195) 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 +236 -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 +104 -0
  45. package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.mjs +98 -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/ChartsRadiusAxis.d.mts +1 -47
  59. package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +1 -47
  60. package/ChartsRadiusAxis/ChartsRadiusAxis.js +20 -16
  61. package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +21 -15
  62. package/ChartsRadiusAxis/index.d.mts +3 -2
  63. package/ChartsRadiusAxis/index.d.ts +3 -2
  64. package/ChartsRadiusAxis/index.mjs +3 -1
  65. package/ChartsRotationAxis/ChartsRotationAxis.d.mts +1 -47
  66. package/ChartsRotationAxis/ChartsRotationAxis.d.ts +1 -47
  67. package/ChartsRotationAxis/ChartsRotationAxis.js +16 -19
  68. package/ChartsRotationAxis/ChartsRotationAxis.mjs +17 -18
  69. package/ChartsRotationAxis/index.d.mts +3 -2
  70. package/ChartsRotationAxis/index.d.ts +3 -2
  71. package/ChartsRotationAxis/index.mjs +3 -1
  72. package/ChartsTooltip/useAxesTooltip.d.mts +1 -1
  73. package/ChartsTooltip/useAxesTooltip.d.ts +1 -1
  74. package/ChartsTooltip/useAxesTooltip.js +11 -2
  75. package/ChartsTooltip/useAxesTooltip.mjs +12 -3
  76. package/ChartsXAxis/useAxisTicksProps.d.mts +162 -81
  77. package/ChartsXAxis/useAxisTicksProps.d.ts +162 -81
  78. package/ChartsYAxis/useAxisTicksProps.d.mts +162 -81
  79. package/ChartsYAxis/useAxisTicksProps.d.ts +162 -81
  80. package/LICENSE +2 -0
  81. package/LineChart/LineChart.js +2 -913
  82. package/LineChart/LineChart.mjs +2 -913
  83. package/LineChart/seriesConfig/curveEvaluation.d.mts +19 -1
  84. package/LineChart/seriesConfig/curveEvaluation.d.ts +19 -1
  85. package/LineChart/seriesConfig/curveEvaluation.js +132 -0
  86. package/LineChart/seriesConfig/curveEvaluation.mjs +131 -0
  87. package/LineChart/seriesConfig/getSeriesWithDefaultValues.js +2 -1
  88. package/LineChart/seriesConfig/getSeriesWithDefaultValues.mjs +2 -1
  89. package/LineChart/seriesConfig/seriesProcessor.js +4 -0
  90. package/LineChart/seriesConfig/seriesProcessor.mjs +4 -0
  91. package/LineChart/useAreaPlotData.js +4 -0
  92. package/LineChart/useAreaPlotData.mjs +4 -0
  93. package/LineChart/useLinePlotData.js +2 -0
  94. package/LineChart/useLinePlotData.mjs +2 -0
  95. package/LineChart/useMarkPlotData.js +2 -0
  96. package/LineChart/useMarkPlotData.mjs +2 -0
  97. package/RadarChart/RadarGrid/CircularRadarStripes.js +2 -3
  98. package/RadarChart/RadarGrid/CircularRadarStripes.mjs +2 -3
  99. package/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +1 -1
  100. package/RadarChart/RadarSeriesPlot/useRadarRotationIndex.mjs +2 -2
  101. package/ScatterChart/FocusedScatterMark.js +10 -24
  102. package/ScatterChart/FocusedScatterMark.mjs +10 -24
  103. package/ScatterChart/HighlightedScatterMark.d.mts +11 -0
  104. package/ScatterChart/HighlightedScatterMark.d.ts +11 -0
  105. package/ScatterChart/HighlightedScatterMark.js +68 -0
  106. package/ScatterChart/HighlightedScatterMark.mjs +62 -0
  107. package/ScatterChart/ScatterChart.d.mts +1 -2
  108. package/ScatterChart/ScatterChart.d.ts +1 -2
  109. package/ScatterChart/ScatterChart.js +2 -913
  110. package/ScatterChart/ScatterChart.mjs +2 -913
  111. package/ScatterChart/index.d.mts +1 -0
  112. package/ScatterChart/index.d.ts +1 -0
  113. package/ScatterChart/index.js +12 -0
  114. package/ScatterChart/index.mjs +1 -0
  115. package/ScatterChart/scatterClasses.d.mts +3 -1
  116. package/ScatterChart/scatterClasses.d.ts +3 -1
  117. package/ScatterChart/scatterClasses.js +3 -2
  118. package/ScatterChart/scatterClasses.mjs +3 -2
  119. package/ScatterChart/useScatterChartProps.js +3 -1
  120. package/ScatterChart/useScatterChartProps.mjs +3 -1
  121. package/ScatterChart/useScatterItemPosition.d.mts +16 -0
  122. package/ScatterChart/useScatterItemPosition.d.ts +16 -0
  123. package/ScatterChart/useScatterItemPosition.js +47 -0
  124. package/ScatterChart/useScatterItemPosition.mjs +41 -0
  125. package/SparkLineChart/SparkLineChart.js +2 -913
  126. package/SparkLineChart/SparkLineChart.mjs +2 -913
  127. package/hooks/useAxis.d.mts +3 -3
  128. package/hooks/useAxis.d.ts +3 -3
  129. package/hooks/useAxisSystem.d.mts +1 -1
  130. package/hooks/useAxisSystem.d.ts +1 -1
  131. package/hooks/useAxisSystem.js +1 -1
  132. package/hooks/useAxisSystem.mjs +1 -1
  133. package/index.d.mts +2 -0
  134. package/index.d.ts +2 -0
  135. package/index.js +25 -1
  136. package/index.mjs +3 -1
  137. package/internals/getRingPath.d.mts +16 -0
  138. package/internals/getRingPath.d.ts +16 -0
  139. package/internals/getRingPath.js +39 -0
  140. package/internals/getRingPath.mjs +33 -0
  141. package/internals/index.d.mts +8 -1
  142. package/internals/index.d.ts +8 -1
  143. package/internals/index.js +67 -0
  144. package/internals/index.mjs +7 -1
  145. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +4 -2
  146. package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +4 -2
  147. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +2 -2
  148. package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +2 -2
  149. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +3 -3
  150. package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
  151. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +1 -0
  152. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
  153. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +8 -0
  154. package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +1 -0
  155. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.d.mts +6 -1
  156. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.d.ts +6 -1
  157. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.js +48 -36
  158. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPosition.selectors.mjs +47 -36
  159. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +77 -3
  160. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +77 -3
  161. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +152 -2
  162. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +152 -2
  163. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +2 -2
  164. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
  165. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +4 -7
  166. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +4 -7
  167. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -2
  168. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -2
  169. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +2 -2
  170. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +2 -2
  171. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.mts +7 -2
  172. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +7 -2
  173. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +56 -6
  174. package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.mjs +54 -5
  175. package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.mts +2 -1
  176. package/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +2 -1
  177. package/internals/plugins/featurePlugins/useChartPolarAxis/index.js +12 -0
  178. package/internals/plugins/featurePlugins/useChartPolarAxis/index.mjs +2 -1
  179. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +1 -1
  180. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.mjs +2 -2
  181. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +4 -4
  182. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +4 -4
  183. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +3 -3
  184. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -3
  185. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.mts +23 -3
  186. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +23 -3
  187. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +73 -12
  188. package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +74 -12
  189. package/models/axis.d.mts +79 -31
  190. package/models/axis.d.ts +79 -31
  191. package/models/axis.js +5 -1
  192. package/models/axis.mjs +5 -1
  193. package/models/seriesType/line.d.mts +6 -6
  194. package/models/seriesType/line.d.ts +6 -6
  195. package/package.json +32 -4
@@ -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.2.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.2.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";
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Get the SVG path to display a ring (a donut shape) defined by an outer radius and an inner radius.
3
+ *
4
+ * @param center - The center of the ring.
5
+ * @param outerRadius - The outer radius of the ring.
6
+ * @param innerRadius - The inner radius of the ring.
7
+ * @param angles - The start and end angles of the ring in radians. If not provided, it defaults to a full circle.
8
+ * @returns The SVG path string to display the ring.
9
+ */
10
+ export declare function getRingPath(center: {
11
+ x: number;
12
+ y: number;
13
+ }, outerRadius: number, innerRadius: number, angles?: {
14
+ start: number;
15
+ end: number;
16
+ } | undefined): string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Get the SVG path to display a ring (a donut shape) defined by an outer radius and an inner radius.
3
+ *
4
+ * @param center - The center of the ring.
5
+ * @param outerRadius - The outer radius of the ring.
6
+ * @param innerRadius - The inner radius of the ring.
7
+ * @param angles - The start and end angles of the ring in radians. If not provided, it defaults to a full circle.
8
+ * @returns The SVG path string to display the ring.
9
+ */
10
+ export declare function getRingPath(center: {
11
+ x: number;
12
+ y: number;
13
+ }, outerRadius: number, innerRadius: number, angles?: {
14
+ start: number;
15
+ end: number;
16
+ } | undefined): string;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getRingPath = getRingPath;
7
+ /**
8
+ * Get the SVG path to display a ring (a donut shape) defined by an outer radius and an inner radius.
9
+ *
10
+ * @param center - The center of the ring.
11
+ * @param outerRadius - The outer radius of the ring.
12
+ * @param innerRadius - The inner radius of the ring.
13
+ * @param angles - The start and end angles of the ring in radians. If not provided, it defaults to a full circle.
14
+ * @returns The SVG path string to display the ring.
15
+ */
16
+ function getRingPath(center, outerRadius, innerRadius, angles) {
17
+ if (!angles) {
18
+ return [`M ${center.x - outerRadius} ${center.y}`, `A ${outerRadius} ${outerRadius} 0 1 0 ${center.x + outerRadius} ${center.y}`, `A ${outerRadius} ${outerRadius} 0 1 0 ${center.x - outerRadius} ${center.y} Z`, `M ${center.x - innerRadius} ${center.y}`, `A ${innerRadius} ${innerRadius} 0 1 0 ${center.x + innerRadius} ${center.y}`, `A ${innerRadius} ${innerRadius} 0 1 0 ${center.x - innerRadius} ${center.y} Z`].join('');
19
+ }
20
+ const isLargeArc = Math.abs(angles.end - angles.start) > Math.PI;
21
+ const isDirectArc = angles.end > angles.start;
22
+ const startOuterPoint = {
23
+ x: center.x + outerRadius * Math.sin(angles.start),
24
+ y: center.y - outerRadius * Math.cos(angles.start)
25
+ };
26
+ const endOuterPoint = {
27
+ x: center.x + outerRadius * Math.sin(angles.end),
28
+ y: center.y - outerRadius * Math.cos(angles.end)
29
+ };
30
+ const startInnerPoint = {
31
+ x: center.x + innerRadius * Math.sin(angles.start),
32
+ y: center.y - innerRadius * Math.cos(angles.start)
33
+ };
34
+ const endInnerPoint = {
35
+ x: center.x + innerRadius * Math.sin(angles.end),
36
+ y: center.y - innerRadius * Math.cos(angles.end)
37
+ };
38
+ return [`M ${startOuterPoint.x} ${startOuterPoint.y}`, `A ${outerRadius} ${outerRadius} 0 ${isLargeArc ? 1 : 0} ${isDirectArc ? 1 : 0} ${endOuterPoint.x} ${endOuterPoint.y}`, `L ${endInnerPoint.x} ${endInnerPoint.y}`, `A ${innerRadius} ${innerRadius} 0 ${isLargeArc ? 1 : 0} ${!isDirectArc ? 1 : 0} ${startInnerPoint.x} ${startInnerPoint.y} Z`].join('');
39
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Get the SVG path to display a ring (a donut shape) defined by an outer radius and an inner radius.
3
+ *
4
+ * @param center - The center of the ring.
5
+ * @param outerRadius - The outer radius of the ring.
6
+ * @param innerRadius - The inner radius of the ring.
7
+ * @param angles - The start and end angles of the ring in radians. If not provided, it defaults to a full circle.
8
+ * @returns The SVG path string to display the ring.
9
+ */
10
+ export function getRingPath(center, outerRadius, innerRadius, angles) {
11
+ if (!angles) {
12
+ return [`M ${center.x - outerRadius} ${center.y}`, `A ${outerRadius} ${outerRadius} 0 1 0 ${center.x + outerRadius} ${center.y}`, `A ${outerRadius} ${outerRadius} 0 1 0 ${center.x - outerRadius} ${center.y} Z`, `M ${center.x - innerRadius} ${center.y}`, `A ${innerRadius} ${innerRadius} 0 1 0 ${center.x + innerRadius} ${center.y}`, `A ${innerRadius} ${innerRadius} 0 1 0 ${center.x - innerRadius} ${center.y} Z`].join('');
13
+ }
14
+ const isLargeArc = Math.abs(angles.end - angles.start) > Math.PI;
15
+ const isDirectArc = angles.end > angles.start;
16
+ const startOuterPoint = {
17
+ x: center.x + outerRadius * Math.sin(angles.start),
18
+ y: center.y - outerRadius * Math.cos(angles.start)
19
+ };
20
+ const endOuterPoint = {
21
+ x: center.x + outerRadius * Math.sin(angles.end),
22
+ y: center.y - outerRadius * Math.cos(angles.end)
23
+ };
24
+ const startInnerPoint = {
25
+ x: center.x + innerRadius * Math.sin(angles.start),
26
+ y: center.y - innerRadius * Math.cos(angles.start)
27
+ };
28
+ const endInnerPoint = {
29
+ x: center.x + innerRadius * Math.sin(angles.end),
30
+ y: center.y - innerRadius * Math.cos(angles.end)
31
+ };
32
+ return [`M ${startOuterPoint.x} ${startOuterPoint.y}`, `A ${outerRadius} ${outerRadius} 0 ${isLargeArc ? 1 : 0} ${isDirectArc ? 1 : 0} ${endOuterPoint.x} ${endOuterPoint.y}`, `L ${endInnerPoint.x} ${endInnerPoint.y}`, `A ${innerRadius} ${innerRadius} 0 ${isLargeArc ? 1 : 0} ${!isDirectArc ? 1 : 0} ${startInnerPoint.x} ${startInnerPoint.y} Z`].join('');
33
+ }
@@ -13,7 +13,8 @@ export { useLineChartProps } from "../LineChart/useLineChartProps.mjs";
13
13
  export { useAreaPlotData } from "../LineChart/useAreaPlotData.mjs";
14
14
  export { useLinePlotData } from "../LineChart/useLinePlotData.mjs";
15
15
  export * from "../BarChart/useBarChartProps.mjs";
16
- export { processBarDataForPlot } from "../BarChart/useBarPlotData.mjs";
16
+ export { processBarDataForPlot, useBarPlotData } from "../BarChart/useBarPlotData.mjs";
17
+ export type { BorderRadiusSide, MaskData, ProcessedBarData, ProcessedBarSeriesData } from "../BarChart/types.mjs";
17
18
  export { useRadarChartProps } from "../RadarChart/useRadarChartProps.mjs";
18
19
  export * from "../ChartsContainer/useChartsContainerProps.mjs";
19
20
  export * from "../ChartsDataProvider/useChartsDataProviderProps.mjs";
@@ -40,6 +41,7 @@ export * from "./plugins/featurePlugins/useChartItemClick/index.mjs";
40
41
  export * from "./plugins/utils/selectors.mjs";
41
42
  export { getAxisTriggerTooltip as getCartesianAxisTriggerTooltip } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.mjs";
42
43
  export { getAxisIndex as getCartesianAxisIndex } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisValue.mjs";
44
+ export { getRotationAxisIndex } from "./plugins/featurePlugins/useChartPolarAxis/getAxisIndex.mjs";
43
45
  export * from "./store/useCharts.mjs";
44
46
  export * from "./store/useStore.mjs";
45
47
  export * from "../BarChart/BarChart.plugins.mjs";
@@ -48,11 +50,14 @@ export * from "../ScatterChart/ScatterChart.plugins.mjs";
48
50
  export * from "../RadarChart/RadarChart.plugins.mjs";
49
51
  export * from "../PieChart/PieChart.plugins.mjs";
50
52
  export * from "./configInit.mjs";
53
+ export * from "./clampAngle.mjs";
51
54
  export * from "./getLabel.mjs";
52
55
  export * from "./legendUtils.mjs";
53
56
  export * from "./getChartPoint.mjs";
57
+ export * from "./plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.mjs";
54
58
  export * from "./isDefined.mjs";
55
59
  export * from "./getScale.mjs";
60
+ export * from "./getAsNumber.mjs";
56
61
  export * from "./stacking/index.mjs";
57
62
  export * from "./getCurve.mjs";
58
63
  export * from "./getSymbol.mjs";
@@ -71,6 +76,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.mjs";
71
76
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.mjs";
72
77
  export { getBandSize } from "./getBandSize.mjs";
73
78
  export * from "./plugins/utils/defaultSeriesConfig.mjs";
79
+ export { EPSILON } from "../utils/epsilon.mjs";
74
80
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.mjs";
75
81
  export { getAxisExtrema } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.mjs";
76
82
  export * from "../context/ChartsProvider/index.mjs";
@@ -89,4 +95,5 @@ export * from "./constants.mjs";
89
95
  export * from "./scales/index.mjs";
90
96
  export * from "./identifierSerializer.mjs";
91
97
  export * from "./identifierCleaner.mjs";
98
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.mjs";
92
99
  export { default as getLineItemAtPosition } from "../LineChart/seriesConfig/getItemAtPosition.mjs";
@@ -13,7 +13,8 @@ export { useLineChartProps } from "../LineChart/useLineChartProps.js";
13
13
  export { useAreaPlotData } from "../LineChart/useAreaPlotData.js";
14
14
  export { useLinePlotData } from "../LineChart/useLinePlotData.js";
15
15
  export * from "../BarChart/useBarChartProps.js";
16
- export { processBarDataForPlot } from "../BarChart/useBarPlotData.js";
16
+ export { processBarDataForPlot, useBarPlotData } from "../BarChart/useBarPlotData.js";
17
+ export type { BorderRadiusSide, MaskData, ProcessedBarData, ProcessedBarSeriesData } from "../BarChart/types.js";
17
18
  export { useRadarChartProps } from "../RadarChart/useRadarChartProps.js";
18
19
  export * from "../ChartsContainer/useChartsContainerProps.js";
19
20
  export * from "../ChartsDataProvider/useChartsDataProviderProps.js";
@@ -40,6 +41,7 @@ export * from "./plugins/featurePlugins/useChartItemClick/index.js";
40
41
  export * from "./plugins/utils/selectors.js";
41
42
  export { getAxisTriggerTooltip as getCartesianAxisTriggerTooltip } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.js";
42
43
  export { getAxisIndex as getCartesianAxisIndex } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js";
44
+ export { getRotationAxisIndex } from "./plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js";
43
45
  export * from "./store/useCharts.js";
44
46
  export * from "./store/useStore.js";
45
47
  export * from "../BarChart/BarChart.plugins.js";
@@ -48,11 +50,14 @@ export * from "../ScatterChart/ScatterChart.plugins.js";
48
50
  export * from "../RadarChart/RadarChart.plugins.js";
49
51
  export * from "../PieChart/PieChart.plugins.js";
50
52
  export * from "./configInit.js";
53
+ export * from "./clampAngle.js";
51
54
  export * from "./getLabel.js";
52
55
  export * from "./legendUtils.js";
53
56
  export * from "./getChartPoint.js";
57
+ export * from "./plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.js";
54
58
  export * from "./isDefined.js";
55
59
  export * from "./getScale.js";
60
+ export * from "./getAsNumber.js";
56
61
  export * from "./stacking/index.js";
57
62
  export * from "./getCurve.js";
58
63
  export * from "./getSymbol.js";
@@ -71,6 +76,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.js";
71
76
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.js";
72
77
  export { getBandSize } from "./getBandSize.js";
73
78
  export * from "./plugins/utils/defaultSeriesConfig.js";
79
+ export { EPSILON } from "../utils/epsilon.js";
74
80
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.js";
75
81
  export { getAxisExtrema } from "./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.js";
76
82
  export * from "../context/ChartsProvider/index.js";
@@ -89,4 +95,5 @@ export * from "./constants.js";
89
95
  export * from "./scales/index.js";
90
96
  export * from "./identifierSerializer.js";
91
97
  export * from "./identifierCleaner.js";
98
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.js";
92
99
  export { default as getLineItemAtPosition } from "../LineChart/seriesConfig/getItemAtPosition.js";
@@ -15,20 +15,30 @@ var _exportNames = {
15
15
  useAreaPlotData: true,
16
16
  useLinePlotData: true,
17
17
  processBarDataForPlot: true,
18
+ useBarPlotData: true,
18
19
  useRadarChartProps: true,
19
20
  useSkipAnimation: true,
20
21
  useRegisterPointerInteractions: true,
21
22
  getCartesianAxisTriggerTooltip: true,
22
23
  getCartesianAxisIndex: true,
24
+ getRotationAxisIndex: true,
23
25
  createCommonKeyboardFocusHandler: true,
24
26
  getSeriesColorFn: true,
25
27
  checkBarChartScaleErrors: true,
26
28
  getBandSize: true,
29
+ EPSILON: true,
27
30
  useChartsTooltipUtilityClasses: true,
28
31
  getChartsTooltipUtilityClass: true,
29
32
  getAxisExtrema: true,
33
+ evaluateCurveAtAngle: true,
30
34
  getLineItemAtPosition: true
31
35
  };
36
+ Object.defineProperty(exports, "EPSILON", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _epsilon.EPSILON;
40
+ }
41
+ });
32
42
  Object.defineProperty(exports, "checkBarChartScaleErrors", {
33
43
  enumerable: true,
34
44
  get: function () {
@@ -41,6 +51,12 @@ Object.defineProperty(exports, "createCommonKeyboardFocusHandler", {
41
51
  return _createCommonKeyboardFocusHandler.createCommonKeyboardFocusHandler;
42
52
  }
43
53
  });
54
+ Object.defineProperty(exports, "evaluateCurveAtAngle", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _curveEvaluation.evaluateCurveAtAngle;
58
+ }
59
+ });
44
60
  Object.defineProperty(exports, "getAxisExtrema", {
45
61
  enumerable: true,
46
62
  get: function () {
@@ -77,6 +93,12 @@ Object.defineProperty(exports, "getLineItemAtPosition", {
77
93
  return _getItemAtPosition.default;
78
94
  }
79
95
  });
96
+ Object.defineProperty(exports, "getRotationAxisIndex", {
97
+ enumerable: true,
98
+ get: function () {
99
+ return _getAxisIndex.getRotationAxisIndex;
100
+ }
101
+ });
80
102
  Object.defineProperty(exports, "getSeriesColorFn", {
81
103
  enumerable: true,
82
104
  get: function () {
@@ -101,6 +123,12 @@ Object.defineProperty(exports, "useAreaPlotData", {
101
123
  return _useAreaPlotData.useAreaPlotData;
102
124
  }
103
125
  });
126
+ Object.defineProperty(exports, "useBarPlotData", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _useBarPlotData.useBarPlotData;
130
+ }
131
+ });
104
132
  Object.defineProperty(exports, "useChartsTooltipUtilityClasses", {
105
133
  enumerable: true,
106
134
  get: function () {
@@ -506,6 +534,7 @@ Object.keys(_selectors).forEach(function (key) {
506
534
  });
507
535
  var _getAxisTriggerTooltip = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip");
508
536
  var _getAxisValue = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisValue");
537
+ var _getAxisIndex = require("./plugins/featurePlugins/useChartPolarAxis/getAxisIndex");
509
538
  var _useCharts = require("./store/useCharts");
510
539
  Object.keys(_useCharts).forEach(function (key) {
511
540
  if (key === "default" || key === "__esModule") return;
@@ -602,6 +631,18 @@ Object.keys(_configInit).forEach(function (key) {
602
631
  }
603
632
  });
604
633
  });
634
+ var _clampAngle = require("./clampAngle");
635
+ Object.keys(_clampAngle).forEach(function (key) {
636
+ if (key === "default" || key === "__esModule") return;
637
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
638
+ if (key in exports && exports[key] === _clampAngle[key]) return;
639
+ Object.defineProperty(exports, key, {
640
+ enumerable: true,
641
+ get: function () {
642
+ return _clampAngle[key];
643
+ }
644
+ });
645
+ });
605
646
  var _getLabel = require("./getLabel");
606
647
  Object.keys(_getLabel).forEach(function (key) {
607
648
  if (key === "default" || key === "__esModule") return;
@@ -638,6 +679,18 @@ Object.keys(_getChartPoint).forEach(function (key) {
638
679
  }
639
680
  });
640
681
  });
682
+ var _coordinateTransformation = require("./plugins/featurePlugins/useChartPolarAxis/coordinateTransformation");
683
+ Object.keys(_coordinateTransformation).forEach(function (key) {
684
+ if (key === "default" || key === "__esModule") return;
685
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
686
+ if (key in exports && exports[key] === _coordinateTransformation[key]) return;
687
+ Object.defineProperty(exports, key, {
688
+ enumerable: true,
689
+ get: function () {
690
+ return _coordinateTransformation[key];
691
+ }
692
+ });
693
+ });
641
694
  var _isDefined = require("./isDefined");
642
695
  Object.keys(_isDefined).forEach(function (key) {
643
696
  if (key === "default" || key === "__esModule") return;
@@ -662,6 +715,18 @@ Object.keys(_getScale).forEach(function (key) {
662
715
  }
663
716
  });
664
717
  });
718
+ var _getAsNumber = require("./getAsNumber");
719
+ Object.keys(_getAsNumber).forEach(function (key) {
720
+ if (key === "default" || key === "__esModule") return;
721
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
722
+ if (key in exports && exports[key] === _getAsNumber[key]) return;
723
+ Object.defineProperty(exports, key, {
724
+ enumerable: true,
725
+ get: function () {
726
+ return _getAsNumber[key];
727
+ }
728
+ });
729
+ });
665
730
  var _stacking = require("./stacking");
666
731
  Object.keys(_stacking).forEach(function (key) {
667
732
  if (key === "default" || key === "__esModule") return;
@@ -834,6 +899,7 @@ Object.keys(_defaultSeriesConfig).forEach(function (key) {
834
899
  }
835
900
  });
836
901
  });
902
+ var _epsilon = require("../utils/epsilon");
837
903
  var _chartsTooltipClasses = require("../ChartsTooltip/chartsTooltipClasses");
838
904
  var _getAxisExtrema = require("./plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema");
839
905
  var _ChartsProvider = require("../context/ChartsProvider");
@@ -1028,4 +1094,5 @@ Object.keys(_identifierCleaner).forEach(function (key) {
1028
1094
  }
1029
1095
  });
1030
1096
  });
1097
+ var _curveEvaluation = require("../LineChart/seriesConfig/curveEvaluation");
1031
1098
  var _getItemAtPosition = _interopRequireDefault(require("../LineChart/seriesConfig/getItemAtPosition"));
@@ -16,7 +16,7 @@ export { useLineChartProps } from "../LineChart/useLineChartProps.mjs";
16
16
  export { useAreaPlotData } from "../LineChart/useAreaPlotData.mjs";
17
17
  export { useLinePlotData } from "../LineChart/useLinePlotData.mjs";
18
18
  export * from "../BarChart/useBarChartProps.mjs";
19
- export { processBarDataForPlot } from "../BarChart/useBarPlotData.mjs";
19
+ export { processBarDataForPlot, useBarPlotData } from "../BarChart/useBarPlotData.mjs";
20
20
  export { useRadarChartProps } from "../RadarChart/useRadarChartProps.mjs";
21
21
  export * from "../ChartsContainer/useChartsContainerProps.mjs";
22
22
  export * from "../ChartsDataProvider/useChartsDataProviderProps.mjs";
@@ -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 { getRotationAxisIndex } 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,14 @@ 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";
65
+ export * from "./plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.mjs";
63
66
  export * from "./isDefined.mjs";
64
67
  export * from "./getScale.mjs";
68
+ export * from "./getAsNumber.mjs";
65
69
  export * from "./stacking/index.mjs";
66
70
  export * from "./getCurve.mjs";
67
71
  export * from "./getSymbol.mjs";
@@ -80,6 +84,7 @@ export { getSeriesColorFn } from "./getSeriesColorFn.mjs";
80
84
  export { checkBarChartScaleErrors } from "../BarChart/checkBarChartScaleErrors.mjs";
81
85
  export { getBandSize } from "./getBandSize.mjs";
82
86
  export * from "./plugins/utils/defaultSeriesConfig.mjs";
87
+ export { EPSILON } from "../utils/epsilon.mjs";
83
88
  export { useUtilityClasses as useChartsTooltipUtilityClasses, getChartsTooltipUtilityClass } from "../ChartsTooltip/chartsTooltipClasses.mjs";
84
89
 
85
90
  // contexts
@@ -102,4 +107,5 @@ export * from "./constants.mjs";
102
107
  export * from "./scales/index.mjs";
103
108
  export * from "./identifierSerializer.mjs";
104
109
  export * from "./identifierCleaner.mjs";
110
+ export { evaluateCurveAtAngle } from "../LineChart/seriesConfig/curveEvaluation.mjs";
105
111
  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
  };
@@ -1,4 +1,4 @@
1
- import { type AxisConfig, type ChartsXAxisProps, type ChartsYAxisProps, type ScaleName } from "../../../../models/index.mjs";
2
- import { type AxisId } from "../../../../models/axis.mjs";
1
+ import type { AxisConfig, ScaleName } from "../../../../models/index.mjs";
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, ChartsXAxisProps | ChartsYAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
4
+ export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;