@mui/x-charts 9.0.0-alpha.3 → 9.0.0-alpha.4
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.
- package/BarChart/BarChart.d.mts +2 -2
- package/BarChart/BarChart.d.ts +2 -2
- package/BarChart/BarChart.js +36 -6
- package/BarChart/BarChart.mjs +36 -6
- package/BarChart/BarElement.js +1 -3
- package/BarChart/BarElement.mjs +1 -3
- package/BarChart/BarLabel/BarLabel.js +1 -11
- package/BarChart/BarLabel/BarLabel.mjs +1 -11
- package/BarChart/BarLabel/BarLabelItem.js +1 -3
- package/BarChart/BarLabel/BarLabelItem.mjs +1 -3
- package/BarChart/BarLabel/index.d.mts +1 -3
- package/BarChart/BarLabel/index.d.ts +1 -3
- package/BarChart/BarLabel/index.js +1 -14
- package/BarChart/BarLabel/index.mjs +1 -2
- package/BarChart/BarPlot.d.mts +4 -0
- package/BarChart/BarPlot.d.ts +4 -0
- package/BarChart/BarPlot.js +8 -2
- package/BarChart/BarPlot.mjs +8 -2
- package/BarChart/BatchBarPlot/BatchBarPlot.js +3 -3
- package/BarChart/BatchBarPlot/BatchBarPlot.mjs +3 -3
- package/BarChart/index.d.mts +0 -1
- package/BarChart/index.d.ts +0 -1
- package/BarChart/index.js +0 -12
- package/BarChart/index.mjs +0 -1
- package/BarChart/seriesConfig/bar/legend.js +2 -21
- package/BarChart/seriesConfig/bar/legend.mjs +2 -21
- package/BarChart/useBarChartProps.d.mts +2 -2
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +2 -2
- package/BarChart/useBarChartProps.mjs +2 -2
- package/BarChart/useRegisterItemClickHandlers.js +2 -2
- package/BarChart/useRegisterItemClickHandlers.mjs +2 -2
- package/CHANGELOG.md +123 -0
- package/ChartsAxis/index.d.mts +2 -1
- package/ChartsAxis/index.d.ts +2 -1
- package/ChartsAxis/index.js +11 -11
- package/ChartsAxis/index.mjs +1 -1
- package/ChartsAxisHighlight/index.d.mts +2 -1
- package/ChartsAxisHighlight/index.d.ts +2 -1
- package/ChartsAxisHighlight/index.js +12 -10
- package/ChartsAxisHighlight/index.mjs +1 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -9
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +12 -9
- package/ChartsContainer/ChartsContainer.js +49 -15
- package/ChartsContainer/ChartsContainer.mjs +49 -15
- package/ChartsContainer/useChartsContainerProps.d.mts +2 -2
- package/ChartsContainer/useChartsContainerProps.d.ts +2 -2
- package/ChartsContainer/useChartsContainerProps.js +8 -8
- package/ChartsContainer/useChartsContainerProps.mjs +8 -8
- package/ChartsDataProvider/ChartsDataProvider.js +0 -6
- package/ChartsDataProvider/ChartsDataProvider.mjs +0 -6
- package/ChartsDataProvider/useChartsDataProviderProps.js +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.mjs +1 -1
- package/ChartsGrid/ChartsGrid.d.mts +4 -0
- package/ChartsGrid/ChartsGrid.d.ts +4 -0
- package/ChartsGrid/ChartsGrid.js +4 -2
- package/ChartsGrid/ChartsGrid.mjs +4 -2
- package/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.mjs +2 -2
- package/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/ChartsGrid/ChartsVerticalGrid.mjs +2 -2
- package/ChartsGrid/index.d.mts +2 -1
- package/ChartsGrid/index.d.ts +2 -1
- package/ChartsGrid/index.js +11 -11
- package/ChartsGrid/index.mjs +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.d.mts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.d.ts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.js +49 -9
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +50 -10
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.mts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.ts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.js +21 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.mjs +13 -0
- package/ChartsLegend/ChartsLegend.js +2 -2
- package/ChartsLegend/ChartsLegend.mjs +2 -2
- package/ChartsLegend/legendContext.types.d.mts +0 -6
- package/ChartsLegend/legendContext.types.d.ts +0 -6
- package/ChartsLegend/onClickContextBuilder.js +0 -1
- package/ChartsLegend/onClickContextBuilder.mjs +0 -1
- package/ChartsOverlay/ChartsLoadingOverlay.js +2 -8
- package/ChartsOverlay/ChartsLoadingOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.js +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsOverlay.d.mts +0 -6
- package/ChartsOverlay/ChartsOverlay.d.ts +0 -6
- package/ChartsReferenceLine/index.d.mts +2 -1
- package/ChartsReferenceLine/index.d.ts +2 -1
- package/ChartsReferenceLine/index.js +11 -11
- package/ChartsReferenceLine/index.mjs +1 -2
- package/ChartsSurface/ChartsSurface.d.mts +2 -3
- package/ChartsSurface/ChartsSurface.d.ts +2 -3
- package/ChartsSurface/ChartsSurface.js +14 -2
- package/ChartsSurface/ChartsSurface.mjs +14 -2
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.js +9 -31
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +9 -31
- package/ChartsTooltip/ChartsAxisTooltipContent.js +45 -31
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +45 -31
- package/ChartsTooltip/ChartsItemTooltipContent.js +77 -41
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +76 -41
- package/ChartsTooltip/ChartsTooltipContainer.js +5 -1
- package/ChartsTooltip/ChartsTooltipContainer.mjs +5 -1
- package/ChartsTooltip/index.d.mts +1 -2
- package/ChartsTooltip/index.d.ts +1 -2
- package/ChartsTooltip/index.js +1 -16
- package/ChartsTooltip/index.mjs +1 -2
- package/ChartsTooltip/useAxesTooltip.d.mts +2 -3
- package/ChartsTooltip/useAxesTooltip.d.ts +2 -3
- package/ChartsTooltip/useItemTooltip.d.mts +2 -4
- package/ChartsTooltip/useItemTooltip.d.ts +2 -4
- package/ChartsTooltip/utils.d.mts +0 -4
- package/ChartsTooltip/utils.d.ts +0 -4
- package/ChartsTooltip/utils.js +0 -39
- package/ChartsTooltip/utils.mjs +0 -38
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +2 -2
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -2
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +2 -2
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +2 -2
- package/ChartsXAxis/ChartsXAxisImpl.js +3 -1
- package/ChartsXAxis/ChartsXAxisImpl.mjs +3 -1
- package/ChartsXAxis/useAxisTicksProps.d.mts +81 -0
- package/ChartsXAxis/useAxisTicksProps.d.ts +81 -0
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +2 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +2 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +3 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +3 -1
- package/ChartsYAxis/useAxisTicksProps.d.mts +81 -0
- package/ChartsYAxis/useAxisTicksProps.d.ts +81 -0
- package/Gauge/Gauge.js +12 -0
- package/Gauge/Gauge.mjs +12 -0
- package/Gauge/GaugeContainer.d.mts +1 -1
- package/Gauge/GaugeContainer.d.ts +1 -1
- package/Gauge/GaugeContainer.js +14 -2
- package/Gauge/GaugeContainer.mjs +14 -2
- package/Gauge/index.d.mts +2 -1
- package/Gauge/index.d.ts +2 -1
- package/Gauge/index.js +7 -11
- package/Gauge/index.mjs +1 -1
- package/LineChart/AreaElement.d.mts +2 -35
- package/LineChart/AreaElement.d.ts +2 -35
- package/LineChart/AreaElement.js +3 -41
- package/LineChart/AreaElement.mjs +3 -41
- package/LineChart/CircleMarkElement.d.mts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/CircleMarkElement.js +3 -11
- package/LineChart/CircleMarkElement.mjs +4 -12
- package/LineChart/LineChart.d.mts +2 -2
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChart/LineChart.js +33 -9
- package/LineChart/LineChart.mjs +33 -9
- package/LineChart/LineElement.d.mts +2 -35
- package/LineChart/LineElement.d.ts +2 -35
- package/LineChart/LineElement.js +3 -41
- package/LineChart/LineElement.mjs +3 -41
- package/LineChart/LineHighlightElement.d.mts +0 -20
- package/LineChart/LineHighlightElement.d.ts +0 -20
- package/LineChart/LineHighlightElement.js +2 -39
- package/LineChart/LineHighlightElement.mjs +2 -39
- package/LineChart/LineHighlightPlot.js +2 -2
- package/LineChart/LineHighlightPlot.mjs +2 -2
- package/LineChart/MarkElement.d.mts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkElement.js +3 -4
- package/LineChart/MarkElement.mjs +4 -5
- package/LineChart/MarkPlot.js +2 -2
- package/LineChart/MarkPlot.mjs +2 -2
- package/LineChart/index.d.mts +0 -2
- package/LineChart/index.d.ts +0 -2
- package/LineChart/index.js +0 -15
- package/LineChart/index.mjs +0 -1
- package/LineChart/seriesConfig/seriesProcessor.js +8 -5
- package/LineChart/seriesConfig/seriesProcessor.mjs +8 -5
- package/LineChart/useLineChartProps.d.mts +2 -2
- package/LineChart/useLineChartProps.d.ts +2 -2
- package/LineChart/useLineChartProps.js +2 -2
- package/LineChart/useLineChartProps.mjs +2 -2
- package/LineChart/useMarkPlotData.js +2 -2
- package/LineChart/useMarkPlotData.mjs +2 -2
- package/PieChart/FocusedPieArc.js +1 -4
- package/PieChart/FocusedPieArc.mjs +2 -4
- package/PieChart/PieArc.d.mts +0 -37
- package/PieChart/PieArc.d.ts +0 -37
- package/PieChart/PieArc.js +3 -42
- package/PieChart/PieArc.mjs +3 -42
- package/PieChart/PieArcLabel.d.mts +2 -43
- package/PieChart/PieArcLabel.d.ts +2 -43
- package/PieChart/PieArcLabel.js +3 -46
- package/PieChart/PieArcLabel.mjs +5 -48
- package/PieChart/PieArcLabelPlot.js +0 -2
- package/PieChart/PieArcLabelPlot.mjs +0 -2
- package/PieChart/PieChart.d.mts +2 -2
- package/PieChart/PieChart.d.ts +2 -2
- package/PieChart/PieChart.js +17 -5
- package/PieChart/PieChart.mjs +17 -5
- package/PieChart/index.d.mts +1 -1
- package/PieChart/index.d.ts +1 -1
- package/PieChart/seriesConfig/legend.js +0 -2
- package/PieChart/seriesConfig/legend.mjs +0 -2
- package/RadarChart/RadarAxis/RadarAxis.d.mts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.js +7 -5
- package/RadarChart/RadarAxis/RadarAxis.mjs +6 -4
- package/RadarChart/RadarAxis/index.d.mts +1 -2
- package/RadarChart/RadarAxis/index.d.ts +1 -2
- package/RadarChart/RadarAxis/index.js +1 -13
- package/RadarChart/RadarAxis/index.mjs +1 -2
- package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
- package/RadarChart/RadarAxis/useRadarAxis.mjs +2 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +9 -14
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +8 -13
- package/RadarChart/RadarAxisHighlight/index.d.mts +1 -2
- package/RadarChart/RadarAxisHighlight/index.d.ts +1 -2
- package/RadarChart/RadarAxisHighlight/index.mjs +1 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +2 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.mjs +2 -2
- package/RadarChart/RadarChart.js +15 -0
- package/RadarChart/RadarChart.mjs +15 -0
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.js +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/RadarGrid.js +2 -2
- package/RadarChart/RadarGrid/RadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/RadarGrid.types.d.mts +6 -7
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +6 -7
- package/RadarChart/RadarGrid/SharpRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/SharpRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/SharpRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/index.d.mts +1 -2
- package/RadarChart/RadarGrid/index.d.ts +1 -2
- package/RadarChart/RadarGrid/useRadarGridData.js +2 -2
- package/RadarChart/RadarGrid/useRadarGridData.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +6 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +6 -4
- package/RadarChart/RadarSeriesPlot/index.d.mts +1 -3
- package/RadarChart/RadarSeriesPlot/index.d.ts +1 -3
- package/RadarChart/RadarSeriesPlot/index.js +2 -10
- package/RadarChart/RadarSeriesPlot/index.mjs +1 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.js +2 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +2 -2
- package/RadarChart/index.d.mts +3 -1
- package/RadarChart/index.d.ts +3 -1
- package/RadarChart/index.js +9 -1
- package/RadarChart/index.mjs +2 -1
- package/RadarChart/radarClasses.d.mts +30 -0
- package/RadarChart/radarClasses.d.ts +30 -0
- package/RadarChart/radarClasses.js +33 -0
- package/RadarChart/radarClasses.mjs +24 -0
- package/RadarChart/seriesConfig/legend.js +2 -21
- package/RadarChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/BatchScatter.js +3 -3
- package/ScatterChart/BatchScatter.mjs +3 -3
- package/ScatterChart/Scatter.js +3 -3
- package/ScatterChart/Scatter.mjs +3 -3
- package/ScatterChart/ScatterChart.d.mts +15 -3
- package/ScatterChart/ScatterChart.d.ts +15 -3
- package/ScatterChart/ScatterChart.js +55 -13
- package/ScatterChart/ScatterChart.mjs +55 -13
- package/ScatterChart/seriesConfig/legend.js +2 -21
- package/ScatterChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/useScatterChartProps.d.mts +2 -2
- package/ScatterChart/useScatterChartProps.d.ts +2 -2
- package/ScatterChart/useScatterChartProps.js +9 -8
- package/ScatterChart/useScatterChartProps.mjs +9 -8
- package/SparkLineChart/SparkLineChart.d.mts +2 -2
- package/SparkLineChart/SparkLineChart.d.ts +2 -2
- package/SparkLineChart/SparkLineChart.js +40 -10
- package/SparkLineChart/SparkLineChart.mjs +40 -10
- package/context/useChartApiContext.d.mts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/context/useChartApiContext.js +3 -3
- package/context/useChartApiContext.mjs +3 -3
- package/hooks/animation/useAnimatePieArcLabel.d.mts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.js +6 -10
- package/hooks/animation/useAnimatePieArcLabel.mjs +6 -10
- package/hooks/useChartRootRef.js +2 -2
- package/hooks/useChartRootRef.mjs +2 -2
- package/hooks/useChartsLayerContainerRef.js +2 -2
- package/hooks/useChartsLayerContainerRef.mjs +2 -2
- package/hooks/useDataset.js +1 -1
- package/hooks/useDataset.mjs +2 -2
- package/hooks/useInteractionItemProps.js +2 -2
- package/hooks/useInteractionItemProps.mjs +2 -2
- package/hooks/useTicks.js +2 -2
- package/hooks/useTicks.mjs +2 -2
- package/index.d.mts +0 -3
- package/index.d.ts +0 -3
- package/index.js +2 -22
- package/index.mjs +1 -3
- package/internals/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -1
- package/internals/identifierCleaner.d.mts +5 -5
- package/internals/identifierCleaner.d.ts +5 -5
- package/internals/identifierCleaner.js +0 -1
- package/internals/identifierCleaner.mjs +0 -1
- package/internals/index.d.mts +2 -3
- package/internals/index.d.ts +2 -3
- package/internals/index.js +27 -36
- package/internals/index.mjs +2 -3
- package/internals/legendUtils.d.mts +11 -0
- package/internals/legendUtils.d.ts +11 -0
- package/internals/legendUtils.js +28 -0
- package/internals/legendUtils.mjs +22 -0
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +2 -2
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.js +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.mjs +1 -3
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -6
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +24 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +24 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +24 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +23 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +11 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +16 -37
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +16 -37
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +2 -2
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +4 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +4 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +8 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +8 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +3 -3
- package/internals/seriesSelectorOfType.d.mts +3 -3
- package/internals/seriesSelectorOfType.d.ts +3 -3
- package/internals/store/useStore.js +2 -2
- package/internals/store/useStore.mjs +2 -2
- package/locales/elGR.d.mts +4 -0
- package/locales/elGR.d.ts +4 -0
- package/locales/elGR.js +6 -0
- package/locales/elGR.mjs +6 -0
- package/locales/enUS.d.mts +4 -0
- package/locales/enUS.d.ts +4 -0
- package/locales/enUS.js +6 -1
- package/locales/enUS.mjs +6 -1
- package/locales/frFR.d.mts +4 -0
- package/locales/frFR.d.ts +4 -0
- package/locales/frFR.js +6 -1
- package/locales/frFR.mjs +6 -1
- package/locales/nbNO.d.mts +4 -0
- package/locales/nbNO.d.ts +4 -0
- package/locales/nbNO.js +6 -0
- package/locales/nbNO.mjs +6 -0
- package/locales/ptBR.d.mts +4 -0
- package/locales/ptBR.d.ts +4 -0
- package/locales/ptBR.js +6 -0
- package/locales/ptBR.mjs +6 -0
- package/locales/ptPT.d.mts +4 -0
- package/locales/ptPT.d.ts +4 -0
- package/locales/ptPT.js +102 -99
- package/locales/ptPT.mjs +102 -99
- package/locales/svSE.d.mts +4 -0
- package/locales/svSE.d.ts +4 -0
- package/locales/svSE.js +6 -0
- package/locales/svSE.mjs +6 -0
- package/locales/utils/chartsLocaleTextApi.d.mts +16 -0
- package/locales/utils/chartsLocaleTextApi.d.ts +16 -0
- package/locales/utils/getChartsLocalization.d.mts +4 -0
- package/locales/utils/getChartsLocalization.d.ts +4 -0
- package/models/axis.d.mts +4 -0
- package/models/axis.d.ts +4 -0
- package/models/seriesType/composition.d.mts +1 -1
- package/models/seriesType/composition.d.ts +1 -1
- package/models/seriesType/composition.js +1 -1
- package/models/seriesType/composition.mjs +1 -1
- package/models/seriesType/line.d.mts +2 -1
- package/models/seriesType/line.d.ts +2 -1
- package/models/seriesType/scatter.d.mts +0 -7
- package/models/seriesType/scatter.d.ts +0 -7
- package/package.json +87 -115
- package/themeAugmentation/components.d.mts +5 -25
- package/themeAugmentation/components.d.ts +5 -25
- package/themeAugmentation/overrides.d.mts +3 -15
- package/themeAugmentation/overrides.d.ts +3 -15
- package/themeAugmentation/props.d.mts +0 -2
- package/themeAugmentation/props.d.ts +0 -2
- package/BarChart/BarLabel/barLabelClasses.d.mts +0 -41
- package/BarChart/BarLabel/barLabelClasses.d.ts +0 -41
- package/BarChart/BarLabel/barLabelClasses.js +0 -49
- package/BarChart/BarLabel/barLabelClasses.mjs +0 -40
- package/BarChart/barElementClasses.d.mts +0 -40
- package/BarChart/barElementClasses.d.ts +0 -40
- package/BarChart/barElementClasses.js +0 -48
- package/BarChart/barElementClasses.mjs +0 -39
- package/ChartContainer/ChartContainer.d.mts +0 -22
- package/ChartContainer/ChartContainer.d.ts +0 -22
- package/ChartContainer/ChartContainer.js +0 -24
- package/ChartContainer/ChartContainer.mjs +0 -20
- package/ChartContainer/index.d.mts +0 -1
- package/ChartContainer/index.d.ts +0 -1
- package/ChartContainer/index.js +0 -16
- package/ChartContainer/index.mjs +0 -1
- package/ChartContainer/useChartContainerProps.d.mts +0 -13
- package/ChartContainer/useChartContainerProps.d.ts +0 -13
- package/ChartContainer/useChartContainerProps.js +0 -19
- package/ChartContainer/useChartContainerProps.mjs +0 -14
- package/ChartDataProvider/ChartDataProvider.d.mts +0 -20
- package/ChartDataProvider/ChartDataProvider.d.ts +0 -20
- package/ChartDataProvider/ChartDataProvider.js +0 -24
- package/ChartDataProvider/ChartDataProvider.mjs +0 -20
- package/ChartDataProvider/index.d.mts +0 -1
- package/ChartDataProvider/index.d.ts +0 -1
- package/ChartDataProvider/index.js +0 -16
- package/ChartDataProvider/index.mjs +0 -1
- package/ChartDataProvider/useChartDataProviderProps.d.mts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.d.ts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.js +0 -12
- package/ChartDataProvider/useChartDataProviderProps.mjs +0 -8
- package/LineChart/markElementClasses.d.mts +0 -42
- package/LineChart/markElementClasses.d.ts +0 -42
- package/LineChart/markElementClasses.js +0 -48
- package/LineChart/markElementClasses.mjs +0 -40
- package/RadarChart/RadarAxis/radarAxisClasses.d.mts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.d.ts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.js +0 -25
- package/RadarChart/RadarAxis/radarAxisClasses.mjs +0 -15
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.mts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -14
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.mjs +0 -6
- package/RadarChart/RadarGrid/radarGridClasses.d.mts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.d.ts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.js +0 -25
- package/RadarChart/RadarGrid/radarGridClasses.mjs +0 -15
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.mts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -26
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.mjs +0 -17
- package/context/ChartProvider/ChartContext.d.mts +0 -5
- package/context/ChartProvider/ChartContext.d.ts +0 -5
- package/context/ChartProvider/ChartContext.js +0 -13
- package/context/ChartProvider/ChartContext.mjs +0 -9
- package/context/ChartProvider/ChartProvider.d.mts +0 -5
- package/context/ChartProvider/ChartProvider.d.ts +0 -5
- package/context/ChartProvider/ChartProvider.js +0 -12
- package/context/ChartProvider/ChartProvider.mjs +0 -8
- package/context/ChartProvider/ChartProvider.types.d.mts +0 -15
- package/context/ChartProvider/ChartProvider.types.d.ts +0 -15
- package/context/ChartProvider/index.d.mts +0 -3
- package/context/ChartProvider/index.d.ts +0 -3
- package/context/ChartProvider/index.js +0 -38
- package/context/ChartProvider/index.mjs +0 -3
- package/context/ChartProvider/useChartContext.d.mts +0 -4
- package/context/ChartProvider/useChartContext.d.ts +0 -4
- package/context/ChartProvider/useChartContext.js +0 -12
- package/context/ChartProvider/useChartContext.mjs +0 -8
- package/tests/constants.js +0 -7
- package/tests/constants.mjs +0 -1
- /package/{context/ChartProvider/ChartProvider.types.js → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.js} +0 -0
- /package/{context/ChartProvider/ChartProvider.types.mjs → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.mjs} +0 -0
|
@@ -3,7 +3,7 @@ import { type ChartsSurfaceProps } from "../ChartsSurface/index.js";
|
|
|
3
3
|
import { type GaugeProviderProps } from "./GaugeProvider.js";
|
|
4
4
|
import { type MergeSignaturesProperty } from "../internals/plugins/models/index.js";
|
|
5
5
|
import { type ChartCorePluginSignatures } from "../internals/plugins/corePlugins/index.js";
|
|
6
|
-
export interface GaugeContainerProps extends Omit<ChartsSurfaceProps, 'children'>, Omit<MergeSignaturesProperty<ChartCorePluginSignatures, 'params'>, 'series' | 'dataset' | 'colors' | 'theme' | '
|
|
6
|
+
export interface GaugeContainerProps extends Omit<ChartsSurfaceProps, 'children'>, Omit<MergeSignaturesProperty<ChartCorePluginSignatures, 'params'>, 'series' | 'dataset' | 'colors' | 'theme' | 'seriesConfig'>, Omit<GaugeProviderProps, 'children'>, Omit<React.SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare const GaugeContainer: React.ForwardRefExoticComponent<Omit<GaugeContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/Gauge/GaugeContainer.js
CHANGED
|
@@ -14,7 +14,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
14
14
|
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _ChartsSurface = require("../ChartsSurface");
|
|
16
16
|
var _GaugeProvider = require("./GaugeProvider");
|
|
17
|
-
var
|
|
17
|
+
var _ChartsProvider = require("../context/ChartsProvider");
|
|
18
18
|
var _defaultizeMargin = require("../internals/defaultizeMargin");
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
20
|
const _excluded = ["width", "height", "margin", "title", "desc", "value", "valueMin", "valueMax", "startAngle", "endAngle", "outerRadius", "innerRadius", "cornerRadius", "cx", "cy", "children"];
|
|
@@ -48,7 +48,7 @@ const GaugeContainer = exports.GaugeContainer = /*#__PURE__*/React.forwardRef(fu
|
|
|
48
48
|
children
|
|
49
49
|
} = props,
|
|
50
50
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
51
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
51
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsProvider.ChartsProvider, {
|
|
52
52
|
pluginParams: {
|
|
53
53
|
width: inWidth,
|
|
54
54
|
height: inHeight,
|
|
@@ -116,12 +116,20 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
116
116
|
* The '100%' is the height the drawing area.
|
|
117
117
|
*/
|
|
118
118
|
cy: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
119
|
+
/**
|
|
120
|
+
* The description of the chart.
|
|
121
|
+
* Used to provide an accessible description for the chart.
|
|
122
|
+
*/
|
|
119
123
|
desc: _propTypes.default.string,
|
|
120
124
|
/**
|
|
121
125
|
* The end angle (deg).
|
|
122
126
|
* @default 360
|
|
123
127
|
*/
|
|
124
128
|
endAngle: _propTypes.default.number,
|
|
129
|
+
/**
|
|
130
|
+
* Options to enable features planned for the next major.
|
|
131
|
+
*/
|
|
132
|
+
experimentalFeatures: _propTypes.default.object,
|
|
125
133
|
/**
|
|
126
134
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
127
135
|
*/
|
|
@@ -168,6 +176,10 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
168
176
|
*/
|
|
169
177
|
startAngle: _propTypes.default.number,
|
|
170
178
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
179
|
+
/**
|
|
180
|
+
* The title of the chart.
|
|
181
|
+
* Used to provide an accessible label for the chart.
|
|
182
|
+
*/
|
|
171
183
|
title: _propTypes.default.string,
|
|
172
184
|
/**
|
|
173
185
|
* The value of the gauge.
|
package/Gauge/GaugeContainer.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { ChartsSurface } from "../ChartsSurface/index.mjs";
|
|
10
10
|
import { GaugeProvider } from "./GaugeProvider.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { ChartsProvider } from "../context/ChartsProvider/index.mjs";
|
|
12
12
|
import { defaultizeMargin } from "../internals/defaultizeMargin.mjs";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const GStyled = styled('g', {
|
|
@@ -41,7 +41,7 @@ const GaugeContainer = /*#__PURE__*/React.forwardRef(function GaugeContainer(pro
|
|
|
41
41
|
children
|
|
42
42
|
} = props,
|
|
43
43
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
44
|
-
return /*#__PURE__*/_jsx(
|
|
44
|
+
return /*#__PURE__*/_jsx(ChartsProvider, {
|
|
45
45
|
pluginParams: {
|
|
46
46
|
width: inWidth,
|
|
47
47
|
height: inHeight,
|
|
@@ -109,12 +109,20 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
109
109
|
* The '100%' is the height the drawing area.
|
|
110
110
|
*/
|
|
111
111
|
cy: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
112
|
+
/**
|
|
113
|
+
* The description of the chart.
|
|
114
|
+
* Used to provide an accessible description for the chart.
|
|
115
|
+
*/
|
|
112
116
|
desc: PropTypes.string,
|
|
113
117
|
/**
|
|
114
118
|
* The end angle (deg).
|
|
115
119
|
* @default 360
|
|
116
120
|
*/
|
|
117
121
|
endAngle: PropTypes.number,
|
|
122
|
+
/**
|
|
123
|
+
* Options to enable features planned for the next major.
|
|
124
|
+
*/
|
|
125
|
+
experimentalFeatures: PropTypes.object,
|
|
118
126
|
/**
|
|
119
127
|
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
120
128
|
*/
|
|
@@ -161,6 +169,10 @@ process.env.NODE_ENV !== "production" ? GaugeContainer.propTypes = {
|
|
|
161
169
|
*/
|
|
162
170
|
startAngle: PropTypes.number,
|
|
163
171
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
172
|
+
/**
|
|
173
|
+
* The title of the chart.
|
|
174
|
+
* Used to provide an accessible label for the chart.
|
|
175
|
+
*/
|
|
164
176
|
title: PropTypes.string,
|
|
165
177
|
/**
|
|
166
178
|
* The value of the gauge.
|
package/Gauge/index.d.mts
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./GaugeContainer.mjs";
|
|
|
3
3
|
export * from "./GaugeValueText.mjs";
|
|
4
4
|
export * from "./GaugeValueArc.mjs";
|
|
5
5
|
export * from "./GaugeReferenceArc.mjs";
|
|
6
|
-
export
|
|
6
|
+
export { gaugeClasses } from "./gaugeClasses.mjs";
|
|
7
|
+
export type { GaugeClasses, GaugeClassKey } from "./gaugeClasses.mjs";
|
|
7
8
|
export { useGaugeState } from "./GaugeProvider.mjs";
|
package/Gauge/index.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./GaugeContainer.js";
|
|
|
3
3
|
export * from "./GaugeValueText.js";
|
|
4
4
|
export * from "./GaugeValueArc.js";
|
|
5
5
|
export * from "./GaugeReferenceArc.js";
|
|
6
|
-
export
|
|
6
|
+
export { gaugeClasses } from "./gaugeClasses.js";
|
|
7
|
+
export type { GaugeClasses, GaugeClassKey } from "./gaugeClasses.js";
|
|
7
8
|
export { useGaugeState } from "./GaugeProvider.js";
|
package/Gauge/index.js
CHANGED
|
@@ -4,8 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
+
gaugeClasses: true,
|
|
7
8
|
useGaugeState: true
|
|
8
9
|
};
|
|
10
|
+
Object.defineProperty(exports, "gaugeClasses", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _gaugeClasses.gaugeClasses;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
9
16
|
Object.defineProperty(exports, "useGaugeState", {
|
|
10
17
|
enumerable: true,
|
|
11
18
|
get: function () {
|
|
@@ -73,15 +80,4 @@ Object.keys(_GaugeReferenceArc).forEach(function (key) {
|
|
|
73
80
|
});
|
|
74
81
|
});
|
|
75
82
|
var _gaugeClasses = require("./gaugeClasses");
|
|
76
|
-
Object.keys(_gaugeClasses).forEach(function (key) {
|
|
77
|
-
if (key === "default" || key === "__esModule") return;
|
|
78
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
79
|
-
if (key in exports && exports[key] === _gaugeClasses[key]) return;
|
|
80
|
-
Object.defineProperty(exports, key, {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function () {
|
|
83
|
-
return _gaugeClasses[key];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
83
|
var _GaugeProvider = require("./GaugeProvider");
|
package/Gauge/index.mjs
CHANGED
|
@@ -3,5 +3,5 @@ export * from "./GaugeContainer.mjs";
|
|
|
3
3
|
export * from "./GaugeValueText.mjs";
|
|
4
4
|
export * from "./GaugeValueArc.mjs";
|
|
5
5
|
export * from "./GaugeReferenceArc.mjs";
|
|
6
|
-
export
|
|
6
|
+
export { gaugeClasses } from "./gaugeClasses.mjs";
|
|
7
7
|
export { useGaugeState } from "./GaugeProvider.mjs";
|
|
@@ -2,48 +2,15 @@ import * as React from 'react';
|
|
|
2
2
|
import { type SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
3
|
import { type AnimatedAreaProps } from "./AnimatedArea.mjs";
|
|
4
4
|
import { type SeriesId } from "../models/seriesType/common.mjs";
|
|
5
|
-
|
|
6
|
-
* @deprecated Use `LineClasses` from `./lineClasses` instead.
|
|
7
|
-
*/
|
|
8
|
-
export interface AreaElementClasses {
|
|
9
|
-
/** Styles applied to the root element. */
|
|
10
|
-
root: string;
|
|
11
|
-
/**
|
|
12
|
-
* Styles applied to the root element when highlighted.
|
|
13
|
-
* @deprecated Use `[data-highlighted]` selector instead.
|
|
14
|
-
*/
|
|
15
|
-
highlighted: string;
|
|
16
|
-
/**
|
|
17
|
-
* Styles applied to the root element when faded.
|
|
18
|
-
* @deprecated Use `[data-faded]` selector instead.
|
|
19
|
-
*/
|
|
20
|
-
faded: string;
|
|
21
|
-
/**
|
|
22
|
-
* Styles applied to the root element for a specified series.
|
|
23
|
-
* Needs to be suffixed with the series ID: `.${areaElementClasses.series}-${seriesId}`.
|
|
24
|
-
*/
|
|
25
|
-
series: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Use `LineClassKey` from `./lineClasses` instead.
|
|
29
|
-
*/
|
|
30
|
-
export type AreaElementClassKey = keyof AreaElementClasses;
|
|
5
|
+
import { type LineClasses } from "./lineClasses.mjs";
|
|
31
6
|
export interface AreaElementOwnerState {
|
|
32
7
|
seriesId: SeriesId;
|
|
33
8
|
color: string;
|
|
34
9
|
gradientId?: string;
|
|
35
10
|
isFaded: boolean;
|
|
36
11
|
isHighlighted: boolean;
|
|
37
|
-
classes?: Partial<
|
|
12
|
+
classes?: Partial<LineClasses>;
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated Use `getLineUtilityClass` from `./lineClasses` instead.
|
|
41
|
-
*/
|
|
42
|
-
export declare function getAreaElementUtilityClass(slot: string): string;
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Use `lineClasses` from `./lineClasses` instead.
|
|
45
|
-
*/
|
|
46
|
-
export declare const areaElementClasses: AreaElementClasses;
|
|
47
14
|
export interface AreaElementSlots {
|
|
48
15
|
/**
|
|
49
16
|
* The component that renders the area.
|
|
@@ -2,48 +2,15 @@ import * as React from 'react';
|
|
|
2
2
|
import { type SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
3
|
import { type AnimatedAreaProps } from "./AnimatedArea.js";
|
|
4
4
|
import { type SeriesId } from "../models/seriesType/common.js";
|
|
5
|
-
|
|
6
|
-
* @deprecated Use `LineClasses` from `./lineClasses` instead.
|
|
7
|
-
*/
|
|
8
|
-
export interface AreaElementClasses {
|
|
9
|
-
/** Styles applied to the root element. */
|
|
10
|
-
root: string;
|
|
11
|
-
/**
|
|
12
|
-
* Styles applied to the root element when highlighted.
|
|
13
|
-
* @deprecated Use `[data-highlighted]` selector instead.
|
|
14
|
-
*/
|
|
15
|
-
highlighted: string;
|
|
16
|
-
/**
|
|
17
|
-
* Styles applied to the root element when faded.
|
|
18
|
-
* @deprecated Use `[data-faded]` selector instead.
|
|
19
|
-
*/
|
|
20
|
-
faded: string;
|
|
21
|
-
/**
|
|
22
|
-
* Styles applied to the root element for a specified series.
|
|
23
|
-
* Needs to be suffixed with the series ID: `.${areaElementClasses.series}-${seriesId}`.
|
|
24
|
-
*/
|
|
25
|
-
series: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Use `LineClassKey` from `./lineClasses` instead.
|
|
29
|
-
*/
|
|
30
|
-
export type AreaElementClassKey = keyof AreaElementClasses;
|
|
5
|
+
import { type LineClasses } from "./lineClasses.js";
|
|
31
6
|
export interface AreaElementOwnerState {
|
|
32
7
|
seriesId: SeriesId;
|
|
33
8
|
color: string;
|
|
34
9
|
gradientId?: string;
|
|
35
10
|
isFaded: boolean;
|
|
36
11
|
isHighlighted: boolean;
|
|
37
|
-
classes?: Partial<
|
|
12
|
+
classes?: Partial<LineClasses>;
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated Use `getLineUtilityClass` from `./lineClasses` instead.
|
|
41
|
-
*/
|
|
42
|
-
export declare function getAreaElementUtilityClass(slot: string): string;
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Use `lineClasses` from `./lineClasses` instead.
|
|
45
|
-
*/
|
|
46
|
-
export declare const areaElementClasses: AreaElementClasses;
|
|
47
14
|
export interface AreaElementSlots {
|
|
48
15
|
/**
|
|
49
16
|
* The component that renders the area.
|
package/LineChart/AreaElement.js
CHANGED
|
@@ -7,55 +7,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.AreaElement = AreaElement;
|
|
10
|
-
exports.areaElementClasses = void 0;
|
|
11
|
-
exports.getAreaElementUtilityClass = getAreaElementUtilityClass;
|
|
12
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
11
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
14
12
|
var React = _interopRequireWildcard(require("react"));
|
|
15
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
16
|
-
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
17
14
|
var _useSlotProps = _interopRequireDefault(require("@mui/utils/useSlotProps"));
|
|
18
|
-
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
19
|
-
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
20
15
|
var _useInteractionItemProps = require("../hooks/useInteractionItemProps");
|
|
21
16
|
var _useItemHighlightState = require("../hooks/useItemHighlightState");
|
|
22
17
|
var _AnimatedArea = require("./AnimatedArea");
|
|
23
18
|
var _lineClasses = require("./lineClasses");
|
|
24
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
20
|
const _excluded = ["seriesId", "classes", "color", "gradientId", "slots", "slotProps", "onClick"];
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Use `LineClasses` from `./lineClasses` instead.
|
|
28
|
-
*/
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Use `LineClassKey` from `./lineClasses` instead.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use `getLineUtilityClass` from `./lineClasses` instead.
|
|
34
|
-
*/
|
|
35
|
-
function getAreaElementUtilityClass(slot) {
|
|
36
|
-
return (0, _generateUtilityClass.default)('MuiAreaElement', slot);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated Use `lineClasses` from `./lineClasses` instead.
|
|
41
|
-
*/
|
|
42
|
-
const areaElementClasses = exports.areaElementClasses = (0, _generateUtilityClasses.default)('MuiAreaElement', ['root', 'highlighted', 'faded', 'series']);
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use `useUtilityClasses` from `./lineClasses` instead.
|
|
46
|
-
*/
|
|
47
|
-
const useDeprecatedUtilityClasses = ownerState => {
|
|
48
|
-
const {
|
|
49
|
-
classes,
|
|
50
|
-
seriesId,
|
|
51
|
-
isFaded,
|
|
52
|
-
isHighlighted
|
|
53
|
-
} = ownerState;
|
|
54
|
-
const slots = {
|
|
55
|
-
root: ['root', `series-${seriesId}`, isHighlighted && 'highlighted', isFaded && 'faded']
|
|
56
|
-
};
|
|
57
|
-
return (0, _composeClasses.default)(slots, getAreaElementUtilityClass, classes);
|
|
58
|
-
};
|
|
59
21
|
/**
|
|
60
22
|
* Demos:
|
|
61
23
|
*
|
|
@@ -94,7 +56,6 @@ function AreaElement(props) {
|
|
|
94
56
|
isHighlighted
|
|
95
57
|
};
|
|
96
58
|
const classes = (0, _lineClasses.useUtilityClasses)();
|
|
97
|
-
const deprecatedClasses = useDeprecatedUtilityClasses(ownerState);
|
|
98
59
|
const Area = slots?.area ?? _AnimatedArea.AnimatedArea;
|
|
99
60
|
const areaProps = (0, _useSlotProps.default)({
|
|
100
61
|
elementType: Area,
|
|
@@ -104,9 +65,10 @@ function AreaElement(props) {
|
|
|
104
65
|
cursor: onClick ? 'pointer' : 'unset',
|
|
105
66
|
'data-highlighted': isHighlighted || undefined,
|
|
106
67
|
'data-faded': isFaded || undefined,
|
|
107
|
-
'data-series-id': seriesId
|
|
68
|
+
'data-series-id': seriesId,
|
|
69
|
+
'data-series': seriesId
|
|
108
70
|
}),
|
|
109
|
-
className:
|
|
71
|
+
className: classes.area,
|
|
110
72
|
ownerState
|
|
111
73
|
});
|
|
112
74
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Area, (0, _extends2.default)({}, other, areaProps));
|
|
@@ -5,50 +5,12 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
5
5
|
const _excluded = ["seriesId", "classes", "color", "gradientId", "slots", "slotProps", "onClick"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import composeClasses from '@mui/utils/composeClasses';
|
|
9
8
|
import useSlotProps from '@mui/utils/useSlotProps';
|
|
10
|
-
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
11
|
-
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
12
9
|
import { useInteractionItemProps } from "../hooks/useInteractionItemProps.mjs";
|
|
13
10
|
import { useItemHighlightState } from "../hooks/useItemHighlightState.mjs";
|
|
14
11
|
import { AnimatedArea } from "./AnimatedArea.mjs";
|
|
15
12
|
import { useUtilityClasses as useLineUtilityClasses } from "./lineClasses.mjs";
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use `LineClasses` from `./lineClasses` instead.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use `LineClassKey` from `./lineClasses` instead.
|
|
23
|
-
*/
|
|
24
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated Use `getLineUtilityClass` from `./lineClasses` instead.
|
|
27
|
-
*/
|
|
28
|
-
export function getAreaElementUtilityClass(slot) {
|
|
29
|
-
return generateUtilityClass('MuiAreaElement', slot);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use `lineClasses` from `./lineClasses` instead.
|
|
34
|
-
*/
|
|
35
|
-
export const areaElementClasses = generateUtilityClasses('MuiAreaElement', ['root', 'highlighted', 'faded', 'series']);
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use `useUtilityClasses` from `./lineClasses` instead.
|
|
39
|
-
*/
|
|
40
|
-
const useDeprecatedUtilityClasses = ownerState => {
|
|
41
|
-
const {
|
|
42
|
-
classes,
|
|
43
|
-
seriesId,
|
|
44
|
-
isFaded,
|
|
45
|
-
isHighlighted
|
|
46
|
-
} = ownerState;
|
|
47
|
-
const slots = {
|
|
48
|
-
root: ['root', `series-${seriesId}`, isHighlighted && 'highlighted', isFaded && 'faded']
|
|
49
|
-
};
|
|
50
|
-
return composeClasses(slots, getAreaElementUtilityClass, classes);
|
|
51
|
-
};
|
|
52
14
|
/**
|
|
53
15
|
* Demos:
|
|
54
16
|
*
|
|
@@ -87,7 +49,6 @@ function AreaElement(props) {
|
|
|
87
49
|
isHighlighted
|
|
88
50
|
};
|
|
89
51
|
const classes = useLineUtilityClasses();
|
|
90
|
-
const deprecatedClasses = useDeprecatedUtilityClasses(ownerState);
|
|
91
52
|
const Area = slots?.area ?? AnimatedArea;
|
|
92
53
|
const areaProps = useSlotProps({
|
|
93
54
|
elementType: Area,
|
|
@@ -97,9 +58,10 @@ function AreaElement(props) {
|
|
|
97
58
|
cursor: onClick ? 'pointer' : 'unset',
|
|
98
59
|
'data-highlighted': isHighlighted || undefined,
|
|
99
60
|
'data-faded': isFaded || undefined,
|
|
100
|
-
'data-series-id': seriesId
|
|
61
|
+
'data-series-id': seriesId,
|
|
62
|
+
'data-series': seriesId
|
|
101
63
|
}),
|
|
102
|
-
className:
|
|
64
|
+
className: classes.area,
|
|
103
65
|
ownerState
|
|
104
66
|
});
|
|
105
67
|
return /*#__PURE__*/_jsx(Area, _extends({}, other, areaProps));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type MarkElementOwnerState } from "./
|
|
2
|
+
import { type MarkElementOwnerState } from "./lineClasses.mjs";
|
|
3
3
|
export type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlighted'> & Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
4
4
|
/**
|
|
5
5
|
* If `true`, the marker is hidden.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type MarkElementOwnerState } from "./
|
|
2
|
+
import { type MarkElementOwnerState } from "./lineClasses.js";
|
|
3
3
|
export type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlighted'> & Omit<React.SVGProps<SVGPathElement>, 'ref'> & {
|
|
4
4
|
/**
|
|
5
5
|
* If `true`, the marker is hidden.
|
|
@@ -14,7 +14,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
14
14
|
var _styles = require("@mui/material/styles");
|
|
15
15
|
var _animation = require("../internals/animation/animation");
|
|
16
16
|
var _useInteractionItemProps = require("../hooks/useInteractionItemProps");
|
|
17
|
-
var _markElementClasses = require("./markElementClasses");
|
|
18
17
|
var _lineClasses = require("./lineClasses");
|
|
19
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
19
|
const _excluded = ["x", "y", "seriesId", "classes", "color", "dataIndex", "onClick", "skipAnimation", "isFaded", "isHighlighted", "shape", "hidden"];
|
|
@@ -22,7 +21,7 @@ const Circle = (0, _styles.styled)('circle', {
|
|
|
22
21
|
slot: 'internal',
|
|
23
22
|
shouldForwardProp: undefined
|
|
24
23
|
})({
|
|
25
|
-
[`&.${
|
|
24
|
+
[`&.${_lineClasses.lineClasses.markAnimate}`]: {
|
|
26
25
|
transitionDuration: `${_animation.ANIMATION_DURATION_MS}ms`,
|
|
27
26
|
transitionProperty: 'cx, cy, opacity',
|
|
28
27
|
transitionTimingFunction: _animation.ANIMATION_TIMING_FUNCTION
|
|
@@ -65,18 +64,10 @@ function CircleMarkElement(props) {
|
|
|
65
64
|
seriesId,
|
|
66
65
|
dataIndex
|
|
67
66
|
});
|
|
68
|
-
const ownerState = {
|
|
69
|
-
seriesId,
|
|
70
|
-
classes: innerClasses,
|
|
71
|
-
isHighlighted,
|
|
72
|
-
isFaded,
|
|
73
|
-
skipAnimation
|
|
74
|
-
};
|
|
75
67
|
const classes = (0, _lineClasses.useUtilityClasses)({
|
|
76
68
|
skipAnimation,
|
|
77
69
|
classes: innerClasses
|
|
78
70
|
});
|
|
79
|
-
const deprecatedClasses = (0, _markElementClasses.useUtilityClasses)(ownerState);
|
|
80
71
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Circle, (0, _extends2.default)({}, other, {
|
|
81
72
|
cx: x,
|
|
82
73
|
cy: y,
|
|
@@ -84,7 +75,7 @@ function CircleMarkElement(props) {
|
|
|
84
75
|
fill: (theme.vars || theme).palette.background.paper,
|
|
85
76
|
stroke: color,
|
|
86
77
|
strokeWidth: 2,
|
|
87
|
-
className:
|
|
78
|
+
className: classes.mark,
|
|
88
79
|
onClick: onClick,
|
|
89
80
|
cursor: onClick ? 'pointer' : 'unset',
|
|
90
81
|
pointerEvents: hidden ? 'none' : undefined
|
|
@@ -92,6 +83,7 @@ function CircleMarkElement(props) {
|
|
|
92
83
|
"data-highlighted": isHighlighted || undefined,
|
|
93
84
|
"data-faded": isFaded || undefined,
|
|
94
85
|
"data-series-id": seriesId,
|
|
86
|
+
"data-series": seriesId,
|
|
95
87
|
"data-index": dataIndex,
|
|
96
88
|
opacity: hidden ? 0 : 1
|
|
97
89
|
}));
|
|
@@ -8,14 +8,13 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import { styled, useTheme } from '@mui/material/styles';
|
|
9
9
|
import { ANIMATION_DURATION_MS, ANIMATION_TIMING_FUNCTION } from "../internals/animation/animation.mjs";
|
|
10
10
|
import { useInteractionItemProps } from "../hooks/useInteractionItemProps.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { useUtilityClasses as useLineUtilityClasses } from "./lineClasses.mjs";
|
|
11
|
+
import { lineClasses, useUtilityClasses as useLineUtilityClasses } from "./lineClasses.mjs";
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
13
|
const Circle = styled('circle', {
|
|
15
14
|
slot: 'internal',
|
|
16
15
|
shouldForwardProp: undefined
|
|
17
16
|
})({
|
|
18
|
-
[`&.${
|
|
17
|
+
[`&.${lineClasses.markAnimate}`]: {
|
|
19
18
|
transitionDuration: `${ANIMATION_DURATION_MS}ms`,
|
|
20
19
|
transitionProperty: 'cx, cy, opacity',
|
|
21
20
|
transitionTimingFunction: ANIMATION_TIMING_FUNCTION
|
|
@@ -58,18 +57,10 @@ function CircleMarkElement(props) {
|
|
|
58
57
|
seriesId,
|
|
59
58
|
dataIndex
|
|
60
59
|
});
|
|
61
|
-
const ownerState = {
|
|
62
|
-
seriesId,
|
|
63
|
-
classes: innerClasses,
|
|
64
|
-
isHighlighted,
|
|
65
|
-
isFaded,
|
|
66
|
-
skipAnimation
|
|
67
|
-
};
|
|
68
60
|
const classes = useLineUtilityClasses({
|
|
69
61
|
skipAnimation,
|
|
70
62
|
classes: innerClasses
|
|
71
63
|
});
|
|
72
|
-
const deprecatedClasses = useDeprecatedUtilityClasses(ownerState);
|
|
73
64
|
return /*#__PURE__*/_jsx(Circle, _extends({}, other, {
|
|
74
65
|
cx: x,
|
|
75
66
|
cy: y,
|
|
@@ -77,7 +68,7 @@ function CircleMarkElement(props) {
|
|
|
77
68
|
fill: (theme.vars || theme).palette.background.paper,
|
|
78
69
|
stroke: color,
|
|
79
70
|
strokeWidth: 2,
|
|
80
|
-
className:
|
|
71
|
+
className: classes.mark,
|
|
81
72
|
onClick: onClick,
|
|
82
73
|
cursor: onClick ? 'pointer' : 'unset',
|
|
83
74
|
pointerEvents: hidden ? 'none' : undefined
|
|
@@ -85,6 +76,7 @@ function CircleMarkElement(props) {
|
|
|
85
76
|
"data-highlighted": isHighlighted || undefined,
|
|
86
77
|
"data-faded": isFaded || undefined,
|
|
87
78
|
"data-series-id": seriesId,
|
|
79
|
+
"data-series": seriesId,
|
|
88
80
|
"data-index": dataIndex,
|
|
89
81
|
opacity: hidden ? 0 : 1
|
|
90
82
|
}));
|
|
@@ -3,7 +3,7 @@ import { type MakeOptional } from '@mui/x-internals/types';
|
|
|
3
3
|
import { type ChartsSlots, type ChartsSlotProps } from "../internals/material/index.mjs";
|
|
4
4
|
import { type AreaPlotProps, type AreaPlotSlotProps, type AreaPlotSlots } from "./AreaPlot.mjs";
|
|
5
5
|
import { type LinePlotProps, type LinePlotSlotProps, type LinePlotSlots } from "./LinePlot.mjs";
|
|
6
|
-
import { type
|
|
6
|
+
import { type ChartsContainerProps } from "../ChartsContainer/index.mjs";
|
|
7
7
|
import { type MarkPlotProps, type MarkPlotSlotProps, type MarkPlotSlots } from "./MarkPlot.mjs";
|
|
8
8
|
import { type ChartsAxisProps } from "../ChartsAxis/ChartsAxis.mjs";
|
|
9
9
|
import { type LineSeriesType } from "../models/seriesType/line.mjs";
|
|
@@ -19,7 +19,7 @@ import type { ChartsToolbarSlots, ChartsToolbarSlotProps } from "../Toolbar/inde
|
|
|
19
19
|
export interface LineChartSlots extends ChartsAxisSlots, AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
20
20
|
export interface LineChartSlotProps extends ChartsAxisSlotProps, AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, ChartsTooltipSlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
|
|
21
21
|
export type LineSeries = MakeOptional<LineSeriesType, 'type'>;
|
|
22
|
-
export interface LineChartProps extends Omit<
|
|
22
|
+
export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
|
|
23
23
|
/**
|
|
24
24
|
* The series to display in the line chart.
|
|
25
25
|
* An array of [[LineSeries]] objects.
|
package/LineChart/LineChart.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { type MakeOptional } from '@mui/x-internals/types';
|
|
|
3
3
|
import { type ChartsSlots, type ChartsSlotProps } from "../internals/material/index.js";
|
|
4
4
|
import { type AreaPlotProps, type AreaPlotSlotProps, type AreaPlotSlots } from "./AreaPlot.js";
|
|
5
5
|
import { type LinePlotProps, type LinePlotSlotProps, type LinePlotSlots } from "./LinePlot.js";
|
|
6
|
-
import { type
|
|
6
|
+
import { type ChartsContainerProps } from "../ChartsContainer/index.js";
|
|
7
7
|
import { type MarkPlotProps, type MarkPlotSlotProps, type MarkPlotSlots } from "./MarkPlot.js";
|
|
8
8
|
import { type ChartsAxisProps } from "../ChartsAxis/ChartsAxis.js";
|
|
9
9
|
import { type LineSeriesType } from "../models/seriesType/line.js";
|
|
@@ -19,7 +19,7 @@ import type { ChartsToolbarSlots, ChartsToolbarSlotProps } from "../Toolbar/inde
|
|
|
19
19
|
export interface LineChartSlots extends ChartsAxisSlots, AreaPlotSlots, LinePlotSlots, MarkPlotSlots, LineHighlightPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
20
20
|
export interface LineChartSlotProps extends ChartsAxisSlotProps, AreaPlotSlotProps, LinePlotSlotProps, MarkPlotSlotProps, LineHighlightPlotSlotProps, ChartsLegendSlotProps, ChartsOverlaySlotProps, ChartsTooltipSlotProps, ChartsToolbarSlotProps, Partial<ChartsSlotProps> {}
|
|
21
21
|
export type LineSeries = MakeOptional<LineSeriesType, 'type'>;
|
|
22
|
-
export interface LineChartProps extends Omit<
|
|
22
|
+
export interface LineChartProps extends Omit<ChartsContainerProps<'line', LineChartPluginSignatures>, 'series' | 'plugins' | 'zAxis'>, Omit<ChartsAxisProps, 'slots' | 'slotProps'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
|
|
23
23
|
/**
|
|
24
24
|
* The series to display in the line chart.
|
|
25
25
|
* An array of [[LineSeries]] objects.
|