@mui/x-charts 9.0.0 → 9.0.2

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 (124) hide show
  1. package/BarChart/BarChart.js +27 -9
  2. package/BarChart/BarChart.mjs +27 -9
  3. package/BarChart/BarElement.js +1 -5
  4. package/BarChart/BarElement.mjs +1 -5
  5. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +1 -0
  6. package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -0
  7. package/BarChart/seriesConfig/bar/seriesProcessor.js +37 -13
  8. package/BarChart/seriesConfig/bar/seriesProcessor.mjs +37 -13
  9. package/CHANGELOG.md +215 -6891
  10. package/ChartsContainer/ChartsContainer.js +59 -30
  11. package/ChartsContainer/ChartsContainer.mjs +59 -30
  12. package/ChartsDataProvider/useChartsDataProviderProps.js +1 -6
  13. package/ChartsDataProvider/useChartsDataProviderProps.mjs +1 -6
  14. package/ChartsGrid/styledComponents.js +2 -2
  15. package/ChartsGrid/styledComponents.mjs +2 -2
  16. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +38 -0
  17. package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +38 -0
  18. package/ChartsRadialDataProvider/ChartsRadialDataProvider.js +115 -0
  19. package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +109 -0
  20. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.mts +9 -0
  21. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.ts +9 -0
  22. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.js +13 -0
  23. package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.mjs +7 -0
  24. package/ChartsRadialDataProvider/index.d.mts +2 -0
  25. package/ChartsRadialDataProvider/index.d.ts +2 -0
  26. package/ChartsRadialDataProvider/index.js +27 -0
  27. package/ChartsRadialDataProvider/index.mjs +2 -0
  28. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +13 -0
  29. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +13 -0
  30. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.js +46 -0
  31. package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.mjs +39 -0
  32. package/ChartsRadialGrid/ChartsRadialGrid.d.mts +33 -0
  33. package/ChartsRadialGrid/ChartsRadialGrid.d.ts +33 -0
  34. package/ChartsRadialGrid/ChartsRadialGrid.js +99 -0
  35. package/ChartsRadialGrid/ChartsRadialGrid.mjs +94 -0
  36. package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +13 -0
  37. package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +13 -0
  38. package/ChartsRadialGrid/ChartsRadiusGrid.js +73 -0
  39. package/ChartsRadialGrid/ChartsRadiusGrid.mjs +66 -0
  40. package/ChartsRadialGrid/ChartsRotationGrid.d.mts +13 -0
  41. package/ChartsRadialGrid/ChartsRotationGrid.d.ts +13 -0
  42. package/ChartsRadialGrid/ChartsRotationGrid.js +65 -0
  43. package/ChartsRadialGrid/ChartsRotationGrid.mjs +58 -0
  44. package/ChartsRadialGrid/chartsRadialGridClasses.d.mts +13 -0
  45. package/ChartsRadialGrid/chartsRadialGridClasses.d.ts +13 -0
  46. package/ChartsRadialGrid/chartsRadialGridClasses.js +14 -0
  47. package/ChartsRadialGrid/chartsRadialGridClasses.mjs +6 -0
  48. package/ChartsRadialGrid/index.d.mts +3 -0
  49. package/ChartsRadialGrid/index.d.ts +3 -0
  50. package/ChartsRadialGrid/index.js +19 -0
  51. package/ChartsRadialGrid/index.mjs +2 -0
  52. package/ChartsRadialGrid/styledComponents.d.mts +4 -0
  53. package/ChartsRadialGrid/styledComponents.d.ts +4 -0
  54. package/ChartsRadialGrid/styledComponents.js +50 -0
  55. package/ChartsRadialGrid/styledComponents.mjs +44 -0
  56. package/ChartsXAxis/useAxisTicksProps.d.mts +407 -326
  57. package/ChartsXAxis/useAxisTicksProps.d.ts +407 -326
  58. package/ChartsYAxis/useAxisTicksProps.d.mts +407 -326
  59. package/ChartsYAxis/useAxisTicksProps.d.ts +407 -326
  60. package/LineChart/LineChart.d.mts +1 -2
  61. package/LineChart/LineChart.d.ts +1 -2
  62. package/LineChart/LineChart.js +27 -9
  63. package/LineChart/LineChart.mjs +27 -9
  64. package/LineChart/seriesConfig/seriesProcessor.js +37 -13
  65. package/LineChart/seriesConfig/seriesProcessor.mjs +37 -13
  66. package/RadarChart/RadarAxis/useRadarAxis.d.mts +1 -1
  67. package/RadarChart/RadarAxis/useRadarAxis.d.ts +1 -1
  68. package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
  69. package/RadarChart/RadarAxis/useRadarAxis.mjs +2 -2
  70. package/ScatterChart/Scatter.d.mts +11 -0
  71. package/ScatterChart/Scatter.d.ts +11 -0
  72. package/ScatterChart/Scatter.js +11 -0
  73. package/ScatterChart/Scatter.mjs +14 -0
  74. package/ScatterChart/ScatterChart.js +29 -10
  75. package/ScatterChart/ScatterChart.mjs +29 -10
  76. package/ScatterChart/seriesConfig/seriesProcessor.js +9 -4
  77. package/ScatterChart/seriesConfig/seriesProcessor.mjs +9 -4
  78. package/SparkLineChart/SparkLineChart.js +27 -9
  79. package/SparkLineChart/SparkLineChart.mjs +27 -9
  80. package/hooks/useTicks.d.mts +1 -1
  81. package/hooks/useTicks.d.ts +1 -1
  82. package/hooks/useTicks.js +21 -3
  83. package/hooks/useTicks.mjs +21 -3
  84. package/index.d.mts +2 -0
  85. package/index.d.ts +2 -0
  86. package/index.js +25 -1
  87. package/index.mjs +3 -1
  88. package/internals/material/index.js +6 -1
  89. package/internals/material/index.mjs +6 -1
  90. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +8 -12
  91. package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +8 -12
  92. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +1 -0
  93. package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +1 -0
  94. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +7 -4
  95. package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +8 -5
  96. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +3 -3
  97. package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.mjs +3 -3
  98. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +3 -3
  99. package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.mjs +3 -3
  100. package/models/axis.d.mts +11 -2
  101. package/models/axis.d.ts +11 -2
  102. package/models/seriesType/bar.d.mts +9 -0
  103. package/models/seriesType/bar.d.ts +9 -0
  104. package/models/seriesType/line.d.mts +9 -0
  105. package/models/seriesType/line.d.ts +9 -0
  106. package/models/seriesType/scatter.d.mts +9 -0
  107. package/models/seriesType/scatter.d.ts +9 -0
  108. package/models/slots/chartsBaseSlotProps.d.mts +17 -0
  109. package/models/slots/chartsBaseSlotProps.d.ts +17 -0
  110. package/models/slots/chartsBaseSlots.d.mts +7 -1
  111. package/models/slots/chartsBaseSlots.d.ts +7 -1
  112. package/models/z-axis.d.mts +9 -0
  113. package/models/z-axis.d.ts +9 -0
  114. package/package.json +31 -3
  115. package/themeAugmentation/components.d.mts +4 -0
  116. package/themeAugmentation/components.d.ts +4 -0
  117. package/themeAugmentation/overrides.d.mts +2 -0
  118. package/themeAugmentation/overrides.d.ts +2 -0
  119. package/themeAugmentation/props.d.mts +2 -0
  120. package/themeAugmentation/props.d.ts +2 -0
  121. package/utils/epsilon.d.mts +1 -0
  122. package/utils/epsilon.d.ts +1 -0
  123. package/utils/epsilon.js +7 -0
  124. package/utils/epsilon.mjs +1 -0
@@ -5,7 +5,6 @@ import { type AreaPlotProps, type AreaPlotSlotProps, type AreaPlotSlots } from "
5
5
  import { type LinePlotProps, type LinePlotSlotProps, type LinePlotSlots } from "./LinePlot.mjs";
6
6
  import { type ChartsContainerProps } from "../ChartsContainer/index.mjs";
7
7
  import { type MarkPlotProps, type MarkPlotSlotProps, type MarkPlotSlots } from "./MarkPlot.mjs";
8
- import { type ChartsAxisProps } from "../ChartsAxis/ChartsAxis.mjs";
9
8
  import { type LineSeriesType } from "../models/seriesType/line.mjs";
10
9
  import { type ChartsTooltipSlots, type ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.mjs";
11
10
  import { type ChartsLegendSlotProps, type ChartsLegendSlots } from "../ChartsLegend/index.mjs";
@@ -19,7 +18,7 @@ import type { ChartsToolbarSlots, ChartsToolbarSlotProps } from "../Toolbar/inde
19
18
  export interface LineChartSlots extends ChartsAxisSlots, AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
20
19
  export interface LineChartSlotProps extends ChartsAxisSlotProps, AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, ChartsTooltipSlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
21
20
  export type LineSeries = MakeOptional<LineSeriesType, 'type'>;
22
- export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
21
+ export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
23
22
  /**
24
23
  * The series to display in the line chart.
25
24
  * An array of [[LineSeries]] objects.
@@ -5,7 +5,6 @@ import { type AreaPlotProps, type AreaPlotSlotProps, type AreaPlotSlots } from "
5
5
  import { type LinePlotProps, type LinePlotSlotProps, type LinePlotSlots } from "./LinePlot.js";
6
6
  import { type ChartsContainerProps } from "../ChartsContainer/index.js";
7
7
  import { type MarkPlotProps, type MarkPlotSlotProps, type MarkPlotSlots } from "./MarkPlot.js";
8
- import { type ChartsAxisProps } from "../ChartsAxis/ChartsAxis.js";
9
8
  import { type LineSeriesType } from "../models/seriesType/line.js";
10
9
  import { type ChartsTooltipSlots, type ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
11
10
  import { type ChartsLegendSlotProps, type ChartsLegendSlots } from "../ChartsLegend/index.js";
@@ -19,7 +18,7 @@ import type { ChartsToolbarSlots, ChartsToolbarSlotProps } from "../Toolbar/inde
19
18
  export interface LineChartSlots extends ChartsAxisSlots, AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
20
19
  export interface LineChartSlotProps extends ChartsAxisSlotProps, AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, ChartsTooltipSlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
21
20
  export type LineSeries = MakeOptional<LineSeriesType, 'type'>;
22
- export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
21
+ export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
23
22
  /**
24
23
  * The series to display in the line chart.
25
24
  * An array of [[LineSeries]] objects.
@@ -440,7 +440,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
440
440
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
441
441
  tickSize: _propTypes.default.number,
442
442
  tickSpacing: _propTypes.default.number,
443
- valueFormatter: _propTypes.default.func
443
+ valueFormatter: _propTypes.default.func,
444
+ valueGetter: _propTypes.default.func
444
445
  }), _propTypes.default.shape({
445
446
  axis: _propTypes.default.oneOf(['x']),
446
447
  classes: _propTypes.default.object,
@@ -499,7 +500,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
499
500
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
500
501
  tickSize: _propTypes.default.number,
501
502
  tickSpacing: _propTypes.default.number,
502
- valueFormatter: _propTypes.default.func
503
+ valueFormatter: _propTypes.default.func,
504
+ valueGetter: _propTypes.default.func
503
505
  }), _propTypes.default.shape({
504
506
  axis: _propTypes.default.oneOf(['x']),
505
507
  classes: _propTypes.default.object,
@@ -545,7 +547,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
545
547
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
546
548
  tickSize: _propTypes.default.number,
547
549
  tickSpacing: _propTypes.default.number,
548
- valueFormatter: _propTypes.default.func
550
+ valueFormatter: _propTypes.default.func,
551
+ valueGetter: _propTypes.default.func
549
552
  }), _propTypes.default.shape({
550
553
  axis: _propTypes.default.oneOf(['x']),
551
554
  classes: _propTypes.default.object,
@@ -592,7 +595,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
592
595
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
593
596
  tickSize: _propTypes.default.number,
594
597
  tickSpacing: _propTypes.default.number,
595
- valueFormatter: _propTypes.default.func
598
+ valueFormatter: _propTypes.default.func,
599
+ valueGetter: _propTypes.default.func
596
600
  }), _propTypes.default.shape({
597
601
  axis: _propTypes.default.oneOf(['x']),
598
602
  classes: _propTypes.default.object,
@@ -638,7 +642,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
638
642
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
639
643
  tickSize: _propTypes.default.number,
640
644
  tickSpacing: _propTypes.default.number,
641
- valueFormatter: _propTypes.default.func
645
+ valueFormatter: _propTypes.default.func,
646
+ valueGetter: _propTypes.default.func
642
647
  }), _propTypes.default.shape({
643
648
  axis: _propTypes.default.oneOf(['x']),
644
649
  classes: _propTypes.default.object,
@@ -684,7 +689,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
684
689
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
685
690
  tickSize: _propTypes.default.number,
686
691
  tickSpacing: _propTypes.default.number,
687
- valueFormatter: _propTypes.default.func
692
+ valueFormatter: _propTypes.default.func,
693
+ valueGetter: _propTypes.default.func
688
694
  }), _propTypes.default.shape({
689
695
  axis: _propTypes.default.oneOf(['x']),
690
696
  classes: _propTypes.default.object,
@@ -734,7 +740,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
734
740
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
735
741
  tickSize: _propTypes.default.number,
736
742
  tickSpacing: _propTypes.default.number,
737
- valueFormatter: _propTypes.default.func
743
+ valueFormatter: _propTypes.default.func,
744
+ valueGetter: _propTypes.default.func
738
745
  }), _propTypes.default.shape({
739
746
  axis: _propTypes.default.oneOf(['x']),
740
747
  classes: _propTypes.default.object,
@@ -784,7 +791,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
784
791
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
785
792
  tickSize: _propTypes.default.number,
786
793
  tickSpacing: _propTypes.default.number,
787
- valueFormatter: _propTypes.default.func
794
+ valueFormatter: _propTypes.default.func,
795
+ valueGetter: _propTypes.default.func
788
796
  }), _propTypes.default.shape({
789
797
  axis: _propTypes.default.oneOf(['x']),
790
798
  classes: _propTypes.default.object,
@@ -830,7 +838,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
830
838
  tickPlacement: _propTypes.default.oneOf(['end', 'extremities', 'middle', 'start']),
831
839
  tickSize: _propTypes.default.number,
832
840
  tickSpacing: _propTypes.default.number,
833
- valueFormatter: _propTypes.default.func
841
+ valueFormatter: _propTypes.default.func,
842
+ valueGetter: _propTypes.default.func
834
843
  })]).isRequired),
835
844
  /**
836
845
  * The configuration of the y-axes.
@@ -896,6 +905,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
896
905
  tickSize: _propTypes.default.number,
897
906
  tickSpacing: _propTypes.default.number,
898
907
  valueFormatter: _propTypes.default.func,
908
+ valueGetter: _propTypes.default.func,
899
909
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
900
910
  }), _propTypes.default.shape({
901
911
  axis: _propTypes.default.oneOf(['y']),
@@ -954,6 +964,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
954
964
  tickSize: _propTypes.default.number,
955
965
  tickSpacing: _propTypes.default.number,
956
966
  valueFormatter: _propTypes.default.func,
967
+ valueGetter: _propTypes.default.func,
957
968
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
958
969
  }), _propTypes.default.shape({
959
970
  axis: _propTypes.default.oneOf(['y']),
@@ -999,6 +1010,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
999
1010
  tickSize: _propTypes.default.number,
1000
1011
  tickSpacing: _propTypes.default.number,
1001
1012
  valueFormatter: _propTypes.default.func,
1013
+ valueGetter: _propTypes.default.func,
1002
1014
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1003
1015
  }), _propTypes.default.shape({
1004
1016
  axis: _propTypes.default.oneOf(['y']),
@@ -1045,6 +1057,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1045
1057
  tickSize: _propTypes.default.number,
1046
1058
  tickSpacing: _propTypes.default.number,
1047
1059
  valueFormatter: _propTypes.default.func,
1060
+ valueGetter: _propTypes.default.func,
1048
1061
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1049
1062
  }), _propTypes.default.shape({
1050
1063
  axis: _propTypes.default.oneOf(['y']),
@@ -1090,6 +1103,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1090
1103
  tickSize: _propTypes.default.number,
1091
1104
  tickSpacing: _propTypes.default.number,
1092
1105
  valueFormatter: _propTypes.default.func,
1106
+ valueGetter: _propTypes.default.func,
1093
1107
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1094
1108
  }), _propTypes.default.shape({
1095
1109
  axis: _propTypes.default.oneOf(['y']),
@@ -1135,6 +1149,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1135
1149
  tickSize: _propTypes.default.number,
1136
1150
  tickSpacing: _propTypes.default.number,
1137
1151
  valueFormatter: _propTypes.default.func,
1152
+ valueGetter: _propTypes.default.func,
1138
1153
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1139
1154
  }), _propTypes.default.shape({
1140
1155
  axis: _propTypes.default.oneOf(['y']),
@@ -1184,6 +1199,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1184
1199
  tickSize: _propTypes.default.number,
1185
1200
  tickSpacing: _propTypes.default.number,
1186
1201
  valueFormatter: _propTypes.default.func,
1202
+ valueGetter: _propTypes.default.func,
1187
1203
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1188
1204
  }), _propTypes.default.shape({
1189
1205
  axis: _propTypes.default.oneOf(['y']),
@@ -1233,6 +1249,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1233
1249
  tickSize: _propTypes.default.number,
1234
1250
  tickSpacing: _propTypes.default.number,
1235
1251
  valueFormatter: _propTypes.default.func,
1252
+ valueGetter: _propTypes.default.func,
1236
1253
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1237
1254
  }), _propTypes.default.shape({
1238
1255
  axis: _propTypes.default.oneOf(['y']),
@@ -1278,6 +1295,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1278
1295
  tickSize: _propTypes.default.number,
1279
1296
  tickSpacing: _propTypes.default.number,
1280
1297
  valueFormatter: _propTypes.default.func,
1298
+ valueGetter: _propTypes.default.func,
1281
1299
  width: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number])
1282
1300
  })]).isRequired)
1283
1301
  } : void 0;
@@ -433,7 +433,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
433
433
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
434
434
  tickSize: PropTypes.number,
435
435
  tickSpacing: PropTypes.number,
436
- valueFormatter: PropTypes.func
436
+ valueFormatter: PropTypes.func,
437
+ valueGetter: PropTypes.func
437
438
  }), PropTypes.shape({
438
439
  axis: PropTypes.oneOf(['x']),
439
440
  classes: PropTypes.object,
@@ -492,7 +493,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
492
493
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
493
494
  tickSize: PropTypes.number,
494
495
  tickSpacing: PropTypes.number,
495
- valueFormatter: PropTypes.func
496
+ valueFormatter: PropTypes.func,
497
+ valueGetter: PropTypes.func
496
498
  }), PropTypes.shape({
497
499
  axis: PropTypes.oneOf(['x']),
498
500
  classes: PropTypes.object,
@@ -538,7 +540,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
538
540
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
539
541
  tickSize: PropTypes.number,
540
542
  tickSpacing: PropTypes.number,
541
- valueFormatter: PropTypes.func
543
+ valueFormatter: PropTypes.func,
544
+ valueGetter: PropTypes.func
542
545
  }), PropTypes.shape({
543
546
  axis: PropTypes.oneOf(['x']),
544
547
  classes: PropTypes.object,
@@ -585,7 +588,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
585
588
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
586
589
  tickSize: PropTypes.number,
587
590
  tickSpacing: PropTypes.number,
588
- valueFormatter: PropTypes.func
591
+ valueFormatter: PropTypes.func,
592
+ valueGetter: PropTypes.func
589
593
  }), PropTypes.shape({
590
594
  axis: PropTypes.oneOf(['x']),
591
595
  classes: PropTypes.object,
@@ -631,7 +635,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
631
635
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
632
636
  tickSize: PropTypes.number,
633
637
  tickSpacing: PropTypes.number,
634
- valueFormatter: PropTypes.func
638
+ valueFormatter: PropTypes.func,
639
+ valueGetter: PropTypes.func
635
640
  }), PropTypes.shape({
636
641
  axis: PropTypes.oneOf(['x']),
637
642
  classes: PropTypes.object,
@@ -677,7 +682,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
677
682
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
678
683
  tickSize: PropTypes.number,
679
684
  tickSpacing: PropTypes.number,
680
- valueFormatter: PropTypes.func
685
+ valueFormatter: PropTypes.func,
686
+ valueGetter: PropTypes.func
681
687
  }), PropTypes.shape({
682
688
  axis: PropTypes.oneOf(['x']),
683
689
  classes: PropTypes.object,
@@ -727,7 +733,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
727
733
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
728
734
  tickSize: PropTypes.number,
729
735
  tickSpacing: PropTypes.number,
730
- valueFormatter: PropTypes.func
736
+ valueFormatter: PropTypes.func,
737
+ valueGetter: PropTypes.func
731
738
  }), PropTypes.shape({
732
739
  axis: PropTypes.oneOf(['x']),
733
740
  classes: PropTypes.object,
@@ -777,7 +784,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
777
784
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
778
785
  tickSize: PropTypes.number,
779
786
  tickSpacing: PropTypes.number,
780
- valueFormatter: PropTypes.func
787
+ valueFormatter: PropTypes.func,
788
+ valueGetter: PropTypes.func
781
789
  }), PropTypes.shape({
782
790
  axis: PropTypes.oneOf(['x']),
783
791
  classes: PropTypes.object,
@@ -823,7 +831,8 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
823
831
  tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
824
832
  tickSize: PropTypes.number,
825
833
  tickSpacing: PropTypes.number,
826
- valueFormatter: PropTypes.func
834
+ valueFormatter: PropTypes.func,
835
+ valueGetter: PropTypes.func
827
836
  })]).isRequired),
828
837
  /**
829
838
  * The configuration of the y-axes.
@@ -889,6 +898,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
889
898
  tickSize: PropTypes.number,
890
899
  tickSpacing: PropTypes.number,
891
900
  valueFormatter: PropTypes.func,
901
+ valueGetter: PropTypes.func,
892
902
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
893
903
  }), PropTypes.shape({
894
904
  axis: PropTypes.oneOf(['y']),
@@ -947,6 +957,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
947
957
  tickSize: PropTypes.number,
948
958
  tickSpacing: PropTypes.number,
949
959
  valueFormatter: PropTypes.func,
960
+ valueGetter: PropTypes.func,
950
961
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
951
962
  }), PropTypes.shape({
952
963
  axis: PropTypes.oneOf(['y']),
@@ -992,6 +1003,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
992
1003
  tickSize: PropTypes.number,
993
1004
  tickSpacing: PropTypes.number,
994
1005
  valueFormatter: PropTypes.func,
1006
+ valueGetter: PropTypes.func,
995
1007
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
996
1008
  }), PropTypes.shape({
997
1009
  axis: PropTypes.oneOf(['y']),
@@ -1038,6 +1050,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1038
1050
  tickSize: PropTypes.number,
1039
1051
  tickSpacing: PropTypes.number,
1040
1052
  valueFormatter: PropTypes.func,
1053
+ valueGetter: PropTypes.func,
1041
1054
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1042
1055
  }), PropTypes.shape({
1043
1056
  axis: PropTypes.oneOf(['y']),
@@ -1083,6 +1096,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1083
1096
  tickSize: PropTypes.number,
1084
1097
  tickSpacing: PropTypes.number,
1085
1098
  valueFormatter: PropTypes.func,
1099
+ valueGetter: PropTypes.func,
1086
1100
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1087
1101
  }), PropTypes.shape({
1088
1102
  axis: PropTypes.oneOf(['y']),
@@ -1128,6 +1142,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1128
1142
  tickSize: PropTypes.number,
1129
1143
  tickSpacing: PropTypes.number,
1130
1144
  valueFormatter: PropTypes.func,
1145
+ valueGetter: PropTypes.func,
1131
1146
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1132
1147
  }), PropTypes.shape({
1133
1148
  axis: PropTypes.oneOf(['y']),
@@ -1177,6 +1192,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1177
1192
  tickSize: PropTypes.number,
1178
1193
  tickSpacing: PropTypes.number,
1179
1194
  valueFormatter: PropTypes.func,
1195
+ valueGetter: PropTypes.func,
1180
1196
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1181
1197
  }), PropTypes.shape({
1182
1198
  axis: PropTypes.oneOf(['y']),
@@ -1226,6 +1242,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1226
1242
  tickSize: PropTypes.number,
1227
1243
  tickSpacing: PropTypes.number,
1228
1244
  valueFormatter: PropTypes.func,
1245
+ valueGetter: PropTypes.func,
1229
1246
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1230
1247
  }), PropTypes.shape({
1231
1248
  axis: PropTypes.oneOf(['y']),
@@ -1271,6 +1288,7 @@ process.env.NODE_ENV !== "production" ? LineChart.propTypes = {
1271
1288
  tickSize: PropTypes.number,
1272
1289
  tickSpacing: PropTypes.number,
1273
1290
  valueFormatter: PropTypes.func,
1291
+ valueGetter: PropTypes.func,
1274
1292
  width: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number])
1275
1293
  })]).isRequired)
1276
1294
  } : void 0;
@@ -38,22 +38,36 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
38
38
  d3Dataset[dataIndex][id] = value;
39
39
  }
40
40
  });
41
+ } else if (series[id].valueGetter && dataset) {
42
+ // When valueGetter is used without dataKey, populate d3Dataset with the series id as key
43
+ dataset.forEach((entry, dataIndex) => {
44
+ const value = series[id].valueGetter(entry);
45
+ if (d3Dataset.length <= dataIndex) {
46
+ d3Dataset.push({
47
+ [id]: value
48
+ });
49
+ } else {
50
+ d3Dataset[dataIndex][id] = value;
51
+ }
52
+ });
41
53
  } else if (dataset === undefined && process.env.NODE_ENV !== 'production') {
42
54
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: Line series with id="${id}" has no data. ` + 'The chart cannot render this series without data. ' + 'Provide a data property to the series or use the dataset prop.' : (0, _formatErrorMessage2.default)(27, id));
43
55
  }
44
56
  if (process.env.NODE_ENV !== 'production') {
45
57
  if (!data && dataset) {
46
58
  const dataKey = series[id].dataKey;
47
- if (!dataKey) {
48
- throw new Error(`MUI X Charts: Line series with id="${id}" has no data and no dataKey. ` + 'When using the dataset prop, each series must have a dataKey to identify which dataset column to use. ' + 'Add a dataKey property to the series configuration.');
59
+ if (!dataKey && !series[id].valueGetter) {
60
+ throw new Error(`MUI X Charts: Line series with id="${id}" has no data, no dataKey, and no valueGetter. ` + 'When using the dataset prop, each series must have a dataKey or valueGetter to identify which dataset values to use. ' + 'Add a dataKey or valueGetter property to the series configuration.');
49
61
  }
50
- dataset.forEach((entry, index) => {
51
- const value = entry[dataKey];
52
- if (value != null && typeof value !== 'number') {
53
- (0, _warning.warnOnce)(`MUI X Charts: your dataset key "${dataKey}" is used for plotting lines, but the dataset contains the non-null non-numerical element "${value}" at index ${index}.
62
+ if (dataKey) {
63
+ dataset.forEach((entry, index) => {
64
+ const value = entry[dataKey];
65
+ if (value != null && typeof value !== 'number') {
66
+ (0, _warning.warnOnce)(`MUI X Charts: your dataset key "${dataKey}" is used for plotting lines, but the dataset contains the non-null non-numerical element "${value}" at index ${index}.
54
67
  Line plots only support numeric and null values.`);
55
- }
56
- });
68
+ }
69
+ });
70
+ }
57
71
  }
58
72
  }
59
73
  });
@@ -88,11 +102,21 @@ Line plots only support numeric and null values.`);
88
102
  return d[key] ?? 0;
89
103
  }).order(fixedOrder).offset(stackingOffset)(d3Dataset);
90
104
  ids.forEach((id, index) => {
91
- const dataKey = series[id].dataKey;
92
- const data = dataKey ? dataset.map(d => {
93
- const value = d[dataKey];
94
- return typeof value === 'number' ? value : null;
95
- }) : series[id].data;
105
+ const {
106
+ dataKey,
107
+ valueGetter
108
+ } = series[id];
109
+ let data;
110
+ if (valueGetter) {
111
+ data = dataset.map(d => valueGetter(d));
112
+ } else if (dataKey) {
113
+ data = dataset.map(d => {
114
+ const value = d[dataKey];
115
+ return typeof value === 'number' ? value : null;
116
+ });
117
+ } else {
118
+ data = series[id].data;
119
+ }
96
120
  const hidden = !isItemVisible?.({
97
121
  type: 'line',
98
122
  seriesId: id
@@ -31,22 +31,36 @@ const seriesProcessor = (params, dataset, isItemVisible) => {
31
31
  d3Dataset[dataIndex][id] = value;
32
32
  }
33
33
  });
34
+ } else if (series[id].valueGetter && dataset) {
35
+ // When valueGetter is used without dataKey, populate d3Dataset with the series id as key
36
+ dataset.forEach((entry, dataIndex) => {
37
+ const value = series[id].valueGetter(entry);
38
+ if (d3Dataset.length <= dataIndex) {
39
+ d3Dataset.push({
40
+ [id]: value
41
+ });
42
+ } else {
43
+ d3Dataset[dataIndex][id] = value;
44
+ }
45
+ });
34
46
  } else if (dataset === undefined && process.env.NODE_ENV !== 'production') {
35
47
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI X Charts: Line series with id="${id}" has no data. ` + 'The chart cannot render this series without data. ' + 'Provide a data property to the series or use the dataset prop.' : _formatErrorMessage(27, id));
36
48
  }
37
49
  if (process.env.NODE_ENV !== 'production') {
38
50
  if (!data && dataset) {
39
51
  const dataKey = series[id].dataKey;
40
- if (!dataKey) {
41
- throw new Error(`MUI X Charts: Line series with id="${id}" has no data and no dataKey. ` + 'When using the dataset prop, each series must have a dataKey to identify which dataset column to use. ' + 'Add a dataKey property to the series configuration.');
52
+ if (!dataKey && !series[id].valueGetter) {
53
+ throw new Error(`MUI X Charts: Line series with id="${id}" has no data, no dataKey, and no valueGetter. ` + 'When using the dataset prop, each series must have a dataKey or valueGetter to identify which dataset values to use. ' + 'Add a dataKey or valueGetter property to the series configuration.');
42
54
  }
43
- dataset.forEach((entry, index) => {
44
- const value = entry[dataKey];
45
- if (value != null && typeof value !== 'number') {
46
- warnOnce(`MUI X Charts: your dataset key "${dataKey}" is used for plotting lines, but the dataset contains the non-null non-numerical element "${value}" at index ${index}.
55
+ if (dataKey) {
56
+ dataset.forEach((entry, index) => {
57
+ const value = entry[dataKey];
58
+ if (value != null && typeof value !== 'number') {
59
+ warnOnce(`MUI X Charts: your dataset key "${dataKey}" is used for plotting lines, but the dataset contains the non-null non-numerical element "${value}" at index ${index}.
47
60
  Line plots only support numeric and null values.`);
48
- }
49
- });
61
+ }
62
+ });
63
+ }
50
64
  }
51
65
  }
52
66
  });
@@ -81,11 +95,21 @@ Line plots only support numeric and null values.`);
81
95
  return d[key] ?? 0;
82
96
  }).order(fixedOrder).offset(stackingOffset)(d3Dataset);
83
97
  ids.forEach((id, index) => {
84
- const dataKey = series[id].dataKey;
85
- const data = dataKey ? dataset.map(d => {
86
- const value = d[dataKey];
87
- return typeof value === 'number' ? value : null;
88
- }) : series[id].data;
98
+ const {
99
+ dataKey,
100
+ valueGetter
101
+ } = series[id];
102
+ let data;
103
+ if (valueGetter) {
104
+ data = dataset.map(d => valueGetter(d));
105
+ } else if (dataKey) {
106
+ data = dataset.map(d => {
107
+ const value = d[dataKey];
108
+ return typeof value === 'number' ? value : null;
109
+ });
110
+ } else {
111
+ data = series[id].data;
112
+ }
89
113
  const hidden = !isItemVisible?.({
90
114
  type: 'line',
91
115
  seriesId: id
@@ -16,7 +16,7 @@ export interface UseRadarAxisParams {
16
16
  divisions?: number;
17
17
  }
18
18
  /**
19
- * Returns an array with on item par metrics with the different point to label.
19
+ * Returns an array with one item per metric with the different points to label.
20
20
  */
21
21
  export declare function useRadarAxis(params: UseRadarAxisParams): {
22
22
  metric: string;
@@ -16,7 +16,7 @@ export interface UseRadarAxisParams {
16
16
  divisions?: number;
17
17
  }
18
18
  /**
19
- * Returns an array with on item par metrics with the different point to label.
19
+ * Returns an array with one item per metric with the different points to label.
20
20
  */
21
21
  export declare function useRadarAxis(params: UseRadarAxisParams): {
22
22
  metric: string;
@@ -14,7 +14,7 @@ var _degToRad = require("../../internals/degToRad");
14
14
  var _clampAngle = require("../../internals/clampAngle");
15
15
  var _angleConversion = require("../../internals/angleConversion");
16
16
  /**
17
- * Returns an array with on item par metrics with the different point to label.
17
+ * Returns an array with one item per metric with the different points to label.
18
18
  */
19
19
  function useRadarAxis(params) {
20
20
  const {
@@ -39,7 +39,7 @@ function useRadarAxis(params) {
39
39
  }
40
40
  const existingMetrics = rotationScale.domain();
41
41
  if (!existingMetrics.includes(metric)) {
42
- (0, _warning.warnOnce)([`MUI X Charts: You radar axis try displaying values for the metric "${metric}" which does nto exist.`, `either add this metric to your radar, or pick one from the existing metrics: ${existingMetrics.join(', ')}`]);
42
+ (0, _warning.warnOnce)([`MUI X Charts: Your radar axis tries to display values for the metric "${metric}" which does not exist.`, `Either add this metric to your radar, or pick one from the existing metrics: ${existingMetrics.join(', ')}`]);
43
43
  }
44
44
  const anglesWithDefault = angle !== undefined ? (0, _degToRad.degToRad)(angle) : rotationScale(metric) ?? 0;
45
45
  const radiusRatio = Array.from({
@@ -8,7 +8,7 @@ import { degToRad } from "../../internals/degToRad.mjs";
8
8
  import { clampAngle } from "../../internals/clampAngle.mjs";
9
9
  import { rad2deg } from "../../internals/angleConversion.mjs";
10
10
  /**
11
- * Returns an array with on item par metrics with the different point to label.
11
+ * Returns an array with one item per metric with the different points to label.
12
12
  */
13
13
  export function useRadarAxis(params) {
14
14
  const {
@@ -33,7 +33,7 @@ export function useRadarAxis(params) {
33
33
  }
34
34
  const existingMetrics = rotationScale.domain();
35
35
  if (!existingMetrics.includes(metric)) {
36
- warnOnce([`MUI X Charts: You radar axis try displaying values for the metric "${metric}" which does nto exist.`, `either add this metric to your radar, or pick one from the existing metrics: ${existingMetrics.join(', ')}`]);
36
+ warnOnce([`MUI X Charts: Your radar axis tries to display values for the metric "${metric}" which does not exist.`, `Either add this metric to your radar, or pick one from the existing metrics: ${existingMetrics.join(', ')}`]);
37
37
  }
38
38
  const anglesWithDefault = angle !== undefined ? degToRad(angle) : rotationScale(metric) ?? 0;
39
39
  const radiusRatio = Array.from({
@@ -4,6 +4,9 @@ import { type DefaultizedScatterSeriesType, type ScatterItemIdentifier } from ".
4
4
  import { type D3Scale } from "../models/axis.mjs";
5
5
  import { type ColorGetter } from "../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
6
6
  import type { ScatterClasses } from "./scatterClasses.mjs";
7
+ /**
8
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
9
+ */
7
10
  export interface ScatterProps {
8
11
  series: DefaultizedScatterSeriesType;
9
12
  xScale: D3Scale;
@@ -25,9 +28,17 @@ export interface ScatterProps {
25
28
  slots?: ScatterSlots;
26
29
  slotProps?: ScatterSlotProps;
27
30
  }
31
+ /**
32
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
33
+ */
28
34
  export interface ScatterSlots extends ScatterMarkerSlots {}
35
+ /**
36
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
37
+ */
29
38
  export interface ScatterSlotProps extends ScatterMarkerSlotProps {}
30
39
  /**
40
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
41
+ *
31
42
  * Demos:
32
43
  *
33
44
  * - [Scatter](https://mui.com/x/react-charts/scatter/)
@@ -4,6 +4,9 @@ import { type DefaultizedScatterSeriesType, type ScatterItemIdentifier } from ".
4
4
  import { type D3Scale } from "../models/axis.js";
5
5
  import { type ColorGetter } from "../internals/plugins/corePlugins/useChartSeriesConfig/index.js";
6
6
  import type { ScatterClasses } from "./scatterClasses.js";
7
+ /**
8
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
9
+ */
7
10
  export interface ScatterProps {
8
11
  series: DefaultizedScatterSeriesType;
9
12
  xScale: D3Scale;
@@ -25,9 +28,17 @@ export interface ScatterProps {
25
28
  slots?: ScatterSlots;
26
29
  slotProps?: ScatterSlotProps;
27
30
  }
31
+ /**
32
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
33
+ */
28
34
  export interface ScatterSlots extends ScatterMarkerSlots {}
35
+ /**
36
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
37
+ */
29
38
  export interface ScatterSlotProps extends ScatterMarkerSlotProps {}
30
39
  /**
40
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
41
+ *
31
42
  * Demos:
32
43
  *
33
44
  * - [Scatter](https://mui.com/x/react-charts/scatter/)
@@ -24,6 +24,17 @@ var _ChartsProvider = require("../context/ChartsProvider");
24
24
  var _jsxRuntime = require("react/jsx-runtime");
25
25
  const _excluded = ["ownerState"];
26
26
  /**
27
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
28
+ */
29
+ /**
30
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
31
+ */
32
+ /**
33
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
34
+ */
35
+ /**
36
+ * @deprecated The `Scatter` component is an internal implementation detail of `ScatterPlot` and will be removed from the public API in v10. Use `ScatterPlot` instead.
37
+ *
27
38
  * Demos:
28
39
  *
29
40
  * - [Scatter](https://mui.com/x/react-charts/scatter/)