@mui/x-charts 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/AnimatedBarElement.d.mts +2 -2
- package/BarChart/AnimatedBarElement.d.ts +2 -2
- package/BarChart/BarChart.d.mts +12 -12
- package/BarChart/BarChart.d.ts +12 -12
- package/BarChart/BarChart.plugins.d.mts +9 -9
- package/BarChart/BarChart.plugins.d.ts +9 -9
- package/BarChart/BarElement.d.mts +3 -3
- package/BarChart/BarElement.d.ts +3 -3
- package/BarChart/BarLabel/BarLabel.d.mts +1 -1
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
- package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
- package/BarChart/BarLabel/BarLabelItem.d.mts +4 -4
- package/BarChart/BarLabel/BarLabelItem.d.ts +4 -4
- package/BarChart/BarLabel/BarLabelPlot.d.mts +3 -3
- package/BarChart/BarLabel/BarLabelPlot.d.ts +3 -3
- package/BarChart/BarLabel/getBarLabel.d.mts +3 -3
- package/BarChart/BarLabel/getBarLabel.d.ts +3 -3
- package/BarChart/BarPlot.d.mts +4 -4
- package/BarChart/BarPlot.d.ts +4 -4
- package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +1 -1
- package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +1 -1
- package/BarChart/IndividualBarPlot.d.mts +3 -3
- package/BarChart/IndividualBarPlot.d.ts +3 -3
- package/BarChart/barClasses.d.mts +1 -1
- package/BarChart/barClasses.d.ts +1 -1
- package/BarChart/checkBarChartScaleErrors.d.mts +2 -2
- package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +1 -1
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +1 -1
- package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.mts +1 -1
- package/BarChart/seriesConfig/bar/keyboardFocusHandler.d.ts +1 -1
- package/BarChart/useBarChartProps.d.mts +10 -10
- package/BarChart/useBarChartProps.d.ts +10 -10
- package/BarChart/useBarPlotData.d.mts +5 -5
- package/BarChart/useBarPlotData.d.ts +5 -5
- package/BarChart/useRegisterItemClickHandlers.d.mts +1 -1
- package/BarChart/useRegisterItemClickHandlers.d.ts +1 -1
- package/CHANGELOG.md +111 -1
- package/ChartsAxis/ChartsAxis.d.mts +1 -1
- package/ChartsAxis/ChartsAxis.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.mts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +1 -1
- package/ChartsContainer/ChartsContainer.d.mts +5 -5
- package/ChartsContainer/ChartsContainer.d.ts +5 -5
- package/ChartsContainer/useChartsContainerProps.d.mts +5 -5
- package/ChartsContainer/useChartsContainerProps.d.ts +5 -5
- package/ChartsDataProvider/ChartsDataProvider.d.mts +6 -6
- package/ChartsDataProvider/ChartsDataProvider.d.ts +6 -6
- package/ChartsDataProvider/useChartsDataProviderProps.d.mts +5 -5
- package/ChartsDataProvider/useChartsDataProviderProps.d.ts +5 -5
- package/ChartsGrid/ChartsGrid.d.mts +1 -1
- package/ChartsGrid/ChartsGrid.d.ts +1 -1
- package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/ChartsLabel/ChartsLabel.d.mts +2 -2
- package/ChartsLabel/ChartsLabel.d.ts +2 -2
- package/ChartsLabel/ChartsLabelGradient.d.mts +2 -2
- package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.mts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
- package/ChartsLayerContainer/ChartsLayerContainer.d.mts +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.d.ts +1 -1
- package/ChartsLegend/ChartsLegend.d.mts +3 -3
- package/ChartsLegend/ChartsLegend.d.ts +3 -3
- package/ChartsLegend/ContinuousColorLegend.d.mts +6 -6
- package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
- package/ChartsLegend/PiecewiseColorLegend.d.mts +8 -8
- package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
- package/ChartsLegend/chartsLegend.types.d.mts +3 -3
- package/ChartsLegend/chartsLegend.types.d.ts +3 -3
- package/ChartsLegend/colorLegend.types.d.mts +1 -1
- package/ChartsLegend/colorLegend.types.d.ts +1 -1
- package/ChartsLegend/legend.types.d.mts +1 -1
- package/ChartsLegend/legend.types.d.ts +1 -1
- package/ChartsLegend/legendContext.types.d.mts +2 -2
- package/ChartsLegend/legendContext.types.d.ts +2 -2
- package/ChartsLegend/onClickContextBuilder.d.mts +1 -1
- package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.mts +1 -1
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
- package/ChartsLegend/useAxis.d.mts +3 -3
- package/ChartsLegend/useAxis.d.ts +3 -3
- package/ChartsOverlay/ChartsOverlay.d.mts +2 -2
- package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -2
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -2
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.mts +6 -6
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.plugins.d.ts +6 -6
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +5 -5
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.ts +5 -5
- package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
- package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
- package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -2
- package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -2
- package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -2
- package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -2
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.mts +3 -3
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
- package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/common.d.mts +3 -3
- package/ChartsReferenceLine/common.d.ts +3 -3
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
- package/ChartsSurface/ChartsSurface.d.mts +2 -2
- package/ChartsSurface/ChartsSurface.d.ts +2 -2
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +1 -1
- package/ChartsText/ChartsText.d.mts +1 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsText/defaultTextPlacement.d.mts +1 -1
- package/ChartsText/defaultTextPlacement.d.ts +1 -1
- package/ChartsTooltip/ChartTooltip.types.d.mts +2 -2
- package/ChartsTooltip/ChartTooltip.types.d.ts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.js +9 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +9 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.mts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltipContainer.d.mts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
- package/ChartsTooltip/useAxesTooltip.d.mts +4 -4
- package/ChartsTooltip/useAxesTooltip.d.ts +4 -4
- package/ChartsTooltip/useItemTooltip.d.mts +1 -1
- package/ChartsTooltip/useItemTooltip.d.ts +1 -1
- package/ChartsWrapper/ChartsWrapper.d.mts +3 -3
- package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/ChartsXAxis/getVisibleLabels.d.mts +2 -2
- package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
- package/ChartsXAxis/shortenLabels.d.mts +3 -3
- package/ChartsXAxis/shortenLabels.d.ts +3 -3
- package/ChartsXAxis/useAxisTicksProps.d.mts +3 -2
- package/ChartsXAxis/useAxisTicksProps.d.ts +3 -2
- package/ChartsXAxis/utilities.d.mts +1 -1
- package/ChartsXAxis/utilities.d.ts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
- package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/ChartsYAxis/shortenLabels.d.mts +3 -3
- package/ChartsYAxis/shortenLabels.d.ts +3 -3
- package/ChartsYAxis/useAxisTicksProps.d.mts +3 -2
- package/ChartsYAxis/useAxisTicksProps.d.ts +3 -2
- package/ChartsYAxis/utilities.d.mts +1 -1
- package/ChartsYAxis/utilities.d.ts +1 -1
- package/Gauge/Gauge.d.mts +3 -3
- package/Gauge/Gauge.d.ts +3 -3
- package/Gauge/GaugeContainer.d.mts +4 -4
- package/Gauge/GaugeContainer.d.ts +4 -4
- package/Gauge/GaugeValueText.d.mts +1 -1
- package/Gauge/GaugeValueText.d.ts +1 -1
- package/LineChart/AppearingMask.d.mts +1 -1
- package/LineChart/AppearingMask.d.ts +1 -1
- package/LineChart/AreaElement.d.mts +5 -5
- package/LineChart/AreaElement.d.ts +5 -5
- package/LineChart/AreaElement.js +1 -1
- package/LineChart/AreaElement.mjs +1 -1
- package/LineChart/AreaPlot.d.mts +2 -2
- package/LineChart/AreaPlot.d.ts +2 -2
- package/LineChart/CircleMarkElement.d.mts +2 -2
- package/LineChart/CircleMarkElement.d.ts +2 -2
- package/LineChart/LineChart.d.mts +14 -14
- package/LineChart/LineChart.d.ts +14 -14
- package/LineChart/LineChart.plugins.d.mts +9 -9
- package/LineChart/LineChart.plugins.d.ts +9 -9
- package/LineChart/LineElement.d.mts +5 -5
- package/LineChart/LineElement.d.ts +5 -5
- package/LineChart/LineHighlightElement.d.mts +1 -1
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightPlot.d.mts +2 -2
- package/LineChart/LineHighlightPlot.d.ts +2 -2
- package/LineChart/LinePlot.d.mts +2 -2
- package/LineChart/LinePlot.d.ts +2 -2
- package/LineChart/MarkElement.d.mts +9 -1
- package/LineChart/MarkElement.d.ts +9 -1
- package/LineChart/MarkPlot.d.mts +2 -2
- package/LineChart/MarkPlot.d.ts +2 -2
- package/LineChart/lineClasses.d.mts +0 -9
- package/LineChart/lineClasses.d.ts +0 -9
- package/LineChart/lineClasses.js +0 -1
- package/LineChart/lineClasses.mjs +1 -1
- package/LineChart/seriesConfig/extremums.d.mts +1 -1
- package/LineChart/seriesConfig/extremums.d.ts +1 -1
- package/LineChart/seriesConfig/getColor.d.mts +1 -1
- package/LineChart/seriesConfig/getColor.d.ts +1 -1
- package/LineChart/seriesConfig/index.d.mts +1 -1
- package/LineChart/seriesConfig/index.d.ts +1 -1
- package/LineChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/LineChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/LineChart/seriesConfig/legend.d.mts +1 -1
- package/LineChart/seriesConfig/legend.d.ts +1 -1
- package/LineChart/useAreaPlotData.d.mts +3 -3
- package/LineChart/useAreaPlotData.d.ts +3 -3
- package/LineChart/useLineChartProps.d.mts +12 -12
- package/LineChart/useLineChartProps.d.ts +12 -12
- package/LineChart/useLineChartProps.mjs +0 -1
- package/LineChart/useLinePlotData.d.mts +3 -3
- package/LineChart/useLinePlotData.d.ts +3 -3
- package/LineChart/useMarkPlotData.d.mts +4 -4
- package/LineChart/useMarkPlotData.d.ts +4 -4
- package/PieChart/FocusedPieArc.d.mts +1 -1
- package/PieChart/FocusedPieArc.d.ts +1 -1
- package/PieChart/PieArc.d.mts +1 -1
- package/PieChart/PieArc.d.ts +1 -1
- package/PieChart/PieArcLabel.d.mts +2 -2
- package/PieChart/PieArcLabel.d.ts +2 -2
- package/PieChart/PieArcLabelPlot.d.mts +2 -2
- package/PieChart/PieArcLabelPlot.d.ts +2 -2
- package/PieChart/PieArcPlot.d.mts +2 -2
- package/PieChart/PieArcPlot.d.ts +2 -2
- package/PieChart/PieChart.d.mts +11 -11
- package/PieChart/PieChart.d.ts +11 -11
- package/PieChart/PieChart.plugins.d.mts +6 -6
- package/PieChart/PieChart.plugins.d.ts +6 -6
- package/PieChart/PiePlot.d.mts +2 -2
- package/PieChart/PiePlot.d.ts +2 -2
- package/PieChart/dataTransform/useTransformData.d.mts +1 -1
- package/PieChart/dataTransform/useTransformData.d.ts +1 -1
- package/PieChart/getPieCoordinates.d.mts +2 -2
- package/PieChart/getPieCoordinates.d.ts +2 -2
- package/PieChart/pieClasses.d.mts +1 -1
- package/PieChart/pieClasses.d.ts +1 -1
- package/PieChart/seriesConfig/getColor.d.mts +1 -1
- package/PieChart/seriesConfig/getColor.d.ts +1 -1
- package/PieChart/seriesConfig/index.d.mts +1 -1
- package/PieChart/seriesConfig/index.d.ts +1 -1
- package/PieChart/seriesConfig/legend.d.mts +1 -1
- package/PieChart/seriesConfig/legend.d.ts +1 -1
- package/PieChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.d.mts +2 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
- package/RadarChart/RadarAxis/RadarAxis.utils.d.mts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.mts +4 -4
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
- package/RadarChart/RadarChart.d.mts +11 -11
- package/RadarChart/RadarChart.d.ts +11 -11
- package/RadarChart/RadarChart.plugins.d.mts +6 -6
- package/RadarChart/RadarChart.plugins.d.ts +6 -6
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +6 -6
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
- package/RadarChart/RadarDataProvider/radar.types.d.mts +1 -1
- package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.types.d.mts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +1 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/seriesConfig/extremums.d.mts +1 -1
- package/RadarChart/seriesConfig/extremums.d.ts +1 -1
- package/RadarChart/seriesConfig/getColor.d.mts +1 -1
- package/RadarChart/seriesConfig/getColor.d.ts +1 -1
- package/RadarChart/seriesConfig/index.d.mts +1 -1
- package/RadarChart/seriesConfig/index.d.ts +1 -1
- package/RadarChart/seriesConfig/legend.d.mts +1 -1
- package/RadarChart/seriesConfig/legend.d.ts +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/RadarChart/useRadarChartProps.d.mts +7 -7
- package/RadarChart/useRadarChartProps.d.ts +7 -7
- package/ScatterChart/BatchScatter.d.mts +3 -3
- package/ScatterChart/BatchScatter.d.ts +3 -3
- package/ScatterChart/Scatter.d.mts +4 -4
- package/ScatterChart/Scatter.d.ts +4 -4
- package/ScatterChart/ScatterChart.d.mts +13 -13
- package/ScatterChart/ScatterChart.d.ts +13 -13
- package/ScatterChart/ScatterChart.plugins.d.mts +11 -11
- package/ScatterChart/ScatterChart.plugins.d.ts +11 -11
- package/ScatterChart/ScatterMarker.d.mts +1 -1
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterPlot.d.mts +1 -1
- package/ScatterChart/ScatterPlot.d.ts +1 -1
- package/ScatterChart/async/ScatterAsync.d.mts +7 -1
- package/ScatterChart/async/ScatterAsync.d.ts +7 -1
- package/ScatterChart/async/ScatterAsync.js +32 -10
- package/ScatterChart/async/ScatterAsync.mjs +31 -10
- package/ScatterChart/async/ScatterAsyncBatch.d.mts +13 -8
- package/ScatterChart/async/ScatterAsyncBatch.d.ts +13 -8
- package/ScatterChart/async/ScatterAsyncBatch.js +17 -11
- package/ScatterChart/async/ScatterAsyncBatch.mjs +18 -12
- package/ScatterChart/async/scatterRenderData.selectors.d.mts +22 -25
- package/ScatterChart/async/scatterRenderData.selectors.d.ts +22 -25
- package/ScatterChart/async/scatterRenderData.selectors.js +34 -49
- package/ScatterChart/async/scatterRenderData.selectors.mjs +33 -48
- package/ScatterChart/seriesConfig/extremums.d.mts +1 -1
- package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
- package/ScatterChart/seriesConfig/getColor.d.mts +1 -1
- package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
- package/ScatterChart/seriesConfig/getMarkerSize.d.mts +2 -2
- package/ScatterChart/seriesConfig/getMarkerSize.d.ts +2 -2
- package/ScatterChart/seriesConfig/index.d.mts +1 -1
- package/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/ScatterChart/seriesConfig/keyboardFocusHandler.d.mts +1 -1
- package/ScatterChart/seriesConfig/keyboardFocusHandler.d.ts +1 -1
- package/ScatterChart/seriesConfig/legend.d.mts +1 -1
- package/ScatterChart/seriesConfig/legend.d.ts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.d.mts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/ScatterChart/useScatterChartProps.d.mts +7 -7
- package/ScatterChart/useScatterChartProps.d.ts +7 -7
- package/ScatterChart/useScatterItemPosition.d.mts +1 -1
- package/ScatterChart/useScatterItemPosition.d.ts +1 -1
- package/ScatterChart/useScatterPlotData.d.mts +3 -3
- package/ScatterChart/useScatterPlotData.d.ts +3 -3
- package/SparkLineChart/SparkLineChart.d.mts +3 -3
- package/SparkLineChart/SparkLineChart.d.ts +3 -3
- package/Toolbar/Toolbar.d.mts +1 -1
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Toolbar/ToolbarButton.d.mts +2 -2
- package/Toolbar/ToolbarButton.d.ts +2 -2
- package/colorPalettes/categorical/blueberryTwilight.d.mts +1 -1
- package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
- package/colorPalettes/categorical/cheerfulFiesta.d.mts +1 -1
- package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
- package/colorPalettes/categorical/mangoFusion.d.mts +1 -1
- package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
- package/colorPalettes/categorical/rainbowSurge.d.mts +1 -1
- package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
- package/colorPalettes/sequential/blue.d.mts +1 -1
- package/colorPalettes/sequential/blue.d.ts +1 -1
- package/colorPalettes/sequential/cyan.d.mts +1 -1
- package/colorPalettes/sequential/cyan.d.ts +1 -1
- package/colorPalettes/sequential/green.d.mts +1 -1
- package/colorPalettes/sequential/green.d.ts +1 -1
- package/colorPalettes/sequential/orange.d.mts +1 -1
- package/colorPalettes/sequential/orange.d.ts +1 -1
- package/colorPalettes/sequential/pink.d.mts +1 -1
- package/colorPalettes/sequential/pink.d.ts +1 -1
- package/colorPalettes/sequential/purple.d.mts +1 -1
- package/colorPalettes/sequential/purple.d.ts +1 -1
- package/colorPalettes/sequential/red.d.mts +1 -1
- package/colorPalettes/sequential/red.d.ts +1 -1
- package/colorPalettes/sequential/strawberrySky.d.mts +1 -1
- package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
- package/colorPalettes/sequential/yellow.d.mts +1 -1
- package/colorPalettes/sequential/yellow.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.ts +1 -1
- package/context/ChartsProvider/useChartsContext.d.mts +2 -2
- package/context/ChartsProvider/useChartsContext.d.ts +2 -2
- package/context/ChartsSlotsContext.d.mts +1 -1
- package/context/ChartsSlotsContext.d.ts +1 -1
- package/context/useChartApiContext.d.mts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/hooks/useAxis.d.mts +1 -1
- package/hooks/useAxis.d.ts +1 -1
- package/hooks/useAxisCoordinates.d.mts +2 -2
- package/hooks/useAxisCoordinates.d.ts +2 -2
- package/hooks/useAxisTicks.d.mts +2 -2
- package/hooks/useAxisTicks.d.ts +2 -2
- package/hooks/useBarSeries.d.mts +3 -3
- package/hooks/useBarSeries.d.ts +3 -3
- package/hooks/useChartGradientId.d.mts +1 -1
- package/hooks/useChartGradientId.d.ts +1 -1
- package/hooks/useColorScale.d.mts +1 -1
- package/hooks/useColorScale.d.ts +1 -1
- package/hooks/useDataset.d.mts +1 -1
- package/hooks/useDataset.d.ts +1 -1
- package/hooks/useItemHighlightStateGetter.d.mts +1 -1
- package/hooks/useItemHighlightStateGetter.d.ts +1 -1
- package/hooks/useLineSeries.d.mts +3 -3
- package/hooks/useLineSeries.d.ts +3 -3
- package/hooks/useRadarSeries.d.mts +3 -3
- package/hooks/useRadarSeries.d.ts +3 -3
- package/hooks/useScatterSeries.d.mts +3 -3
- package/hooks/useScatterSeries.d.ts +3 -3
- package/hooks/useTicksGrouped.d.mts +1 -1
- package/hooks/useTicksGrouped.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/animation/Transition.mjs +0 -1
- package/internals/colorScale.d.mts +2 -2
- package/internals/colorScale.d.ts +2 -2
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
- package/internals/configInit.d.mts +1 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/createSvgIcon.d.mts +1 -1
- package/internals/createSvgIcon.d.ts +1 -1
- package/internals/dateHelpers.d.mts +3 -3
- package/internals/dateHelpers.d.ts +3 -3
- package/internals/defaultValueFormatters.d.mts +1 -1
- package/internals/defaultValueFormatters.d.ts +1 -1
- package/internals/getCurve.d.mts +1 -1
- package/internals/getCurve.d.ts +1 -1
- package/internals/getScale.d.mts +2 -2
- package/internals/getScale.d.ts +2 -2
- package/internals/getSeriesColorFn.d.mts +2 -2
- package/internals/getSeriesColorFn.d.ts +2 -2
- package/internals/invertScale.d.mts +1 -1
- package/internals/invertScale.d.ts +1 -1
- package/internals/invertTextAnchor.d.mts +1 -1
- package/internals/invertTextAnchor.d.ts +1 -1
- package/internals/isCartesian.d.mts +1 -1
- package/internals/isCartesian.d.ts +1 -1
- package/internals/isPolar.d.mts +1 -1
- package/internals/isPolar.d.ts +1 -1
- package/internals/material/index.d.mts +2 -2
- package/internals/material/index.d.ts +2 -2
- package/internals/plugins/allPlugins.d.mts +12 -12
- package/internals/plugins/allPlugins.d.ts +12 -12
- package/internals/plugins/corePlugins/corePlugins.d.mts +8 -8
- package/internals/plugins/corePlugins/corePlugins.d.ts +8 -8
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartElementRef/useChartElementRef.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +13 -13
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +13 -13
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +5 -5
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +8 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +8 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +0 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +7 -7
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +7 -7
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +4 -4
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +2 -2
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +2 -2
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.mts +6 -10
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.d.ts +6 -10
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.js +48 -27
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +49 -28
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +11 -8
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +11 -8
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.js +30 -41
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +29 -41
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.mts +2 -2
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.ts +2 -2
- package/internals/plugins/models/plugin.d.mts +2 -2
- package/internals/plugins/models/plugin.d.ts +2 -2
- package/internals/plugins/utils/selectors.d.mts +2 -2
- package/internals/plugins/utils/selectors.d.ts +2 -2
- package/internals/plugins/utils/useLazySelectorEffect.d.mts +1 -1
- package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
- package/internals/processLineLikeSeries.d.mts +1 -1
- package/internals/processLineLikeSeries.d.ts +1 -1
- package/internals/scaleGuards.d.mts +1 -1
- package/internals/scaleGuards.d.ts +1 -1
- package/internals/scales/scaleBand.js +4 -1
- package/internals/scales/scaleBand.mjs +4 -1
- package/internals/scales/scaleSymlog.d.mts +1 -1
- package/internals/scales/scaleSymlog.d.ts +1 -1
- package/internals/seriesSelectorOfType.d.mts +2 -2
- package/internals/seriesSelectorOfType.d.ts +2 -2
- package/internals/sizeScale.d.mts +2 -2
- package/internals/sizeScale.d.ts +2 -2
- package/internals/stacking/stackSeries.d.mts +3 -2
- package/internals/stacking/stackSeries.d.ts +3 -2
- package/internals/store/extractPluginParamsFromProps.d.mts +3 -3
- package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
- package/internals/store/useCharts.d.mts +2 -2
- package/internals/store/useCharts.d.ts +2 -2
- package/internals/store/useCharts.types.d.mts +1 -1
- package/internals/store/useCharts.types.d.ts +1 -1
- package/internals/store/useStore.d.mts +2 -2
- package/internals/store/useStore.d.ts +2 -2
- package/locales/elGR.d.mts +1 -1
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.mts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/frFR.d.mts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/nbNO.d.mts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/ptBR.d.mts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.mts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/svSE.d.mts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.mts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
- package/locales/utils/getChartsLocalization.d.mts +1 -1
- package/locales/utils/getChartsLocalization.d.ts +1 -1
- package/models/axis.d.mts +6 -6
- package/models/axis.d.ts +6 -6
- package/models/seriesType/bar.d.mts +4 -4
- package/models/seriesType/bar.d.ts +4 -4
- package/models/seriesType/line.d.mts +3 -3
- package/models/seriesType/line.d.ts +3 -3
- package/models/seriesType/pie.d.mts +3 -3
- package/models/seriesType/pie.d.ts +3 -3
- package/models/seriesType/radar.d.mts +1 -1
- package/models/seriesType/radar.d.ts +1 -1
- package/models/seriesType/scatter.d.mts +3 -3
- package/models/seriesType/scatter.d.ts +3 -3
- package/models/slots/chartsBaseSlots.d.mts +1 -1
- package/models/slots/chartsBaseSlots.d.ts +1 -1
- package/models/z-axis.d.mts +1 -1
- package/models/z-axis.d.ts +1 -1
- package/package.json +4 -4
- package/themeAugmentation/components.d.mts +1 -1
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.mts +7 -7
- package/themeAugmentation/overrides.d.ts +7 -7
- package/themeAugmentation/props.d.mts +15 -15
- package/themeAugmentation/props.d.ts +15 -15
- package/utils/niceDomain.d.mts +2 -2
- package/utils/niceDomain.d.ts +2 -2
package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs
CHANGED
|
@@ -3,35 +3,27 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import useEventCallback from '@mui/utils/useEventCallback';
|
|
6
|
-
import { sameSeriesIds, selectorProgressivePlans, selectorProgressiveTotalRounds, selectorShouldUseProgressiveRenderer } from "./useProgressiveRendering.selectors.mjs";
|
|
6
|
+
import { sameSeriesIds, selectorProgressivePlans, selectorProgressiveRevealedRounds, selectorProgressiveTotalRounds, selectorShouldUseProgressiveRenderer } from "./useProgressiveRendering.selectors.mjs";
|
|
7
|
+
import { selectorChartZoomIsInteracting } from "../useChartCartesianAxis/index.mjs";
|
|
7
8
|
const EMPTY_PLANS = new Map();
|
|
8
9
|
|
|
9
|
-
/**
|
|
10
|
-
* How many *rounds* are revealed per reveal tick once the render data is ready.
|
|
11
|
-
* A round reveals one batch in every series simultaneously, so the chart looks
|
|
12
|
-
* complete from the first paint rather than appearing series-by-series. Lower
|
|
13
|
-
* spreads the paint over more ticks (smoother, more visibly progressive);
|
|
14
|
-
* higher finishes sooner.
|
|
15
|
-
*/
|
|
10
|
+
/** Rounds revealed per tick. One round adds a batch to every series at once. */
|
|
16
11
|
const REVEAL_ROUNDS_PER_FRAME = 1;
|
|
17
12
|
|
|
18
|
-
/**
|
|
19
|
-
* How many animation frames are skipped between two reveal ticks. `0` reveals
|
|
20
|
-
* on every frame; `1` reveals every other frame, leaving the browser an idle
|
|
21
|
-
* frame for layout, paint and input handling between commits. Higher values
|
|
22
|
-
* give the browser more CPU headroom at the cost of a slower paint.
|
|
23
|
-
*/
|
|
13
|
+
/** Frames skipped between reveal ticks. `0` = every frame; higher = more headroom. */
|
|
24
14
|
const REVEAL_FRAMES_SKIPPED = 0;
|
|
25
15
|
|
|
16
|
+
/** Rounds kept visible during a zoom/pan interaction (first level only). */
|
|
17
|
+
const INTERACTION_REVEALED_ROUNDS = 1;
|
|
18
|
+
|
|
19
|
+
/** Settle delay before the reveal resumes after an interaction ends (ms). */
|
|
20
|
+
const RESUME_AFTER_INTERACTION_DELAY = 200;
|
|
21
|
+
|
|
26
22
|
/**
|
|
27
|
-
* Chart-wide progressive rendering coordinator.
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* the same scheduler. Each renderer registers a plan via
|
|
32
|
-
* `setProgressivePlan(plotId, plan)`; the plugin aggregates them, computes a
|
|
33
|
-
* single per-tick budget, and ramps a global "rounds" counter — one round
|
|
34
|
-
* adds one batch in every registered series at once.
|
|
23
|
+
* Chart-wide progressive rendering coordinator. Lives on the store so every
|
|
24
|
+
* renderer in the chart shares one scheduler: each registers a plan via
|
|
25
|
+
* `registerProgressivePlan`, and the plugin ramps a global "rounds" counter,
|
|
26
|
+
* one round adding a batch to every series at once.
|
|
35
27
|
*/
|
|
36
28
|
export const useProgressiveRendering = ({
|
|
37
29
|
store
|
|
@@ -62,11 +54,24 @@ export const useProgressiveRendering = ({
|
|
|
62
54
|
};
|
|
63
55
|
});
|
|
64
56
|
const plans = store.use(selectorProgressivePlans) ?? EMPTY_PLANS;
|
|
57
|
+
const isZoomInteracting = store.use(selectorChartZoomIsInteracting);
|
|
65
58
|
React.useEffect(() => {
|
|
66
59
|
const startTotal = selectorProgressiveTotalRounds(store.state);
|
|
67
60
|
if (startTotal === 0) {
|
|
68
61
|
return undefined;
|
|
69
62
|
}
|
|
63
|
+
|
|
64
|
+
// While interacting, keep only the first level and pause; resets the wave
|
|
65
|
+
// so it restarts from the first level once the interaction ends.
|
|
66
|
+
if (isZoomInteracting) {
|
|
67
|
+
const target = Math.min(INTERACTION_REVEALED_ROUNDS, startTotal);
|
|
68
|
+
if (selectorProgressiveRevealedRounds(store.state) !== target) {
|
|
69
|
+
store.set('progressiveRendering', _extends({}, store.state.progressiveRendering, {
|
|
70
|
+
revealedRounds: target
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
73
|
+
return undefined;
|
|
74
|
+
}
|
|
70
75
|
if (typeof requestAnimationFrame !== 'function') {
|
|
71
76
|
store.set('progressiveRendering', _extends({}, store.state.progressiveRendering, {
|
|
72
77
|
revealedRounds: startTotal
|
|
@@ -74,11 +79,12 @@ export const useProgressiveRendering = ({
|
|
|
74
79
|
return undefined;
|
|
75
80
|
}
|
|
76
81
|
let frame = 0;
|
|
82
|
+
let resumeTimeout;
|
|
77
83
|
let cancelled = false;
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
// the
|
|
81
|
-
let revealed =
|
|
84
|
+
// Resume from the rounds already revealed (keeps the first level on screen).
|
|
85
|
+
// Closure var, not a state-updater derivation: StrictMode double-invokes
|
|
86
|
+
// those, scheduling the frame chain twice.
|
|
87
|
+
let revealed = selectorProgressiveRevealedRounds(store.state);
|
|
82
88
|
function scheduleNext() {
|
|
83
89
|
let remaining = REVEAL_FRAMES_SKIPPED;
|
|
84
90
|
const tick = () => {
|
|
@@ -107,12 +113,27 @@ export const useProgressiveRendering = ({
|
|
|
107
113
|
scheduleNext();
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
|
-
|
|
116
|
+
if (revealed >= startTotal) {
|
|
117
|
+
return undefined;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// `revealed > 0` means resuming after an interaction: wait the settle delay.
|
|
121
|
+
// Initial paint (`revealed === 0`) starts immediately.
|
|
122
|
+
if (revealed > 0) {
|
|
123
|
+
resumeTimeout = setTimeout(() => {
|
|
124
|
+
frame = requestAnimationFrame(step);
|
|
125
|
+
}, RESUME_AFTER_INTERACTION_DELAY);
|
|
126
|
+
} else {
|
|
127
|
+
frame = requestAnimationFrame(step);
|
|
128
|
+
}
|
|
111
129
|
return () => {
|
|
112
130
|
cancelled = true;
|
|
113
131
|
cancelAnimationFrame(frame);
|
|
132
|
+
if (resumeTimeout !== undefined) {
|
|
133
|
+
clearTimeout(resumeTimeout);
|
|
134
|
+
}
|
|
114
135
|
};
|
|
115
|
-
}, [plans, store]);
|
|
136
|
+
}, [plans, isZoomInteracting, store]);
|
|
116
137
|
return {
|
|
117
138
|
instance: {
|
|
118
139
|
registerProgressivePlan
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SeriesId } from "../../../../models/seriesType/common.mjs";
|
|
2
2
|
import type { RendererType } from "../../../../ScatterChart/index.mjs";
|
|
3
3
|
/** Map of registered plots → their set of series ids. */
|
|
4
4
|
export declare const selectorProgressivePlans: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.mjs").UseProgressiveRenderingState> & {
|
|
@@ -9,10 +9,9 @@ export declare const selectorProgressiveRevealedRounds: (args_0: import("../../c
|
|
|
9
9
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
10
10
|
}) => number;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* processed series rather than carried by the registration.
|
|
12
|
+
* Aggregate of every plan: per-series batch counts, total rounds, and batch
|
|
13
|
+
* size (so every consumer sizes batches the same). Point counts read from the
|
|
14
|
+
* processed series, not the registration.
|
|
16
15
|
*/
|
|
17
16
|
export declare const selectorProgressiveAggregate: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.mjs").UseProgressiveRenderingState> & {
|
|
18
17
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
@@ -28,9 +27,13 @@ export declare const selectorProgressiveTotalRounds: (args_0: import("../../core
|
|
|
28
27
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
29
28
|
}) => number;
|
|
30
29
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
|
|
30
|
+
* Revealed batch count for a series: `revealed` rounds normally, clamped to the
|
|
31
|
+
* first batch while interacting, never above `total`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getRevealedBatchCount(total: number, revealed: number, isInteracting: boolean | undefined): number;
|
|
34
|
+
/**
|
|
35
|
+
* How many of `seriesId`'s batches are revealed, capped at its total batch
|
|
36
|
+
* count. Clamped to the first batch while interacting.
|
|
34
37
|
*/
|
|
35
38
|
export declare const selectorProgressiveSeriesRevealedBatches: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.mjs").UseProgressiveRenderingState> & {
|
|
36
39
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SeriesId } from "../../../../models/seriesType/common.js";
|
|
2
2
|
import type { RendererType } from "../../../../ScatterChart/index.js";
|
|
3
3
|
/** Map of registered plots → their set of series ids. */
|
|
4
4
|
export declare const selectorProgressivePlans: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.js").UseProgressiveRenderingState> & {
|
|
@@ -9,10 +9,9 @@ export declare const selectorProgressiveRevealedRounds: (args_0: import("../../c
|
|
|
9
9
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
10
10
|
}) => number;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* processed series rather than carried by the registration.
|
|
12
|
+
* Aggregate of every plan: per-series batch counts, total rounds, and batch
|
|
13
|
+
* size (so every consumer sizes batches the same). Point counts read from the
|
|
14
|
+
* processed series, not the registration.
|
|
16
15
|
*/
|
|
17
16
|
export declare const selectorProgressiveAggregate: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.js").UseProgressiveRenderingState> & {
|
|
18
17
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
@@ -28,9 +27,13 @@ export declare const selectorProgressiveTotalRounds: (args_0: import("../../core
|
|
|
28
27
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
29
28
|
}) => number;
|
|
30
29
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
|
|
30
|
+
* Revealed batch count for a series: `revealed` rounds normally, clamped to the
|
|
31
|
+
* first batch while interacting, never above `total`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getRevealedBatchCount(total: number, revealed: number, isInteracting: boolean | undefined): number;
|
|
34
|
+
/**
|
|
35
|
+
* How many of `seriesId`'s batches are revealed, capped at its total batch
|
|
36
|
+
* count. Clamped to the first batch while interacting.
|
|
34
37
|
*/
|
|
35
38
|
export declare const selectorProgressiveSeriesRevealedBatches: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useProgressiveRendering.types.js").UseProgressiveRenderingState> & {
|
|
36
39
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
@@ -3,45 +3,29 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.getRevealedBatchCount = getRevealedBatchCount;
|
|
6
7
|
exports.sameSeriesIds = sameSeriesIds;
|
|
7
8
|
exports.selectorShouldUseProgressiveRenderer = exports.selectorProgressiveTotalRounds = exports.selectorProgressiveSeriesRevealedBatches = exports.selectorProgressiveRevealedRounds = exports.selectorProgressivePlans = exports.selectorProgressiveBatchSize = exports.selectorProgressiveAggregate = void 0;
|
|
8
9
|
var _store = require("@mui/x-internals/store");
|
|
9
10
|
var _useChartSeries = require("../../corePlugins/useChartSeries");
|
|
10
11
|
var _useChartExperimentalFeature = require("../../corePlugins/useChartExperimentalFeature");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* the progressive renderer. Below it the synchronous renderer is used, since
|
|
14
|
-
* the progressive paint's overhead is not worth it for small datasets.
|
|
15
|
-
*/
|
|
12
|
+
var _useChartCartesianAxis = require("../useChartCartesianAxis");
|
|
13
|
+
/** Auto mode switches to the progressive renderer above this total point count. */
|
|
16
14
|
const PROGRESSIVE_POINT_THRESHOLD = 20000;
|
|
17
15
|
|
|
18
|
-
/**
|
|
19
|
-
* Target number of reveal commits. Each commit repaints every already-painted
|
|
20
|
-
* circle, so the total progressive wall time is roughly `(C + 1) / 2` times a
|
|
21
|
-
* single synchronous render (where `C` is the number of commits). Targeting
|
|
22
|
-
* `5` commits keeps the progressive paint at roughly 2–3× the sync render time.
|
|
23
|
-
*/
|
|
16
|
+
/** Target reveal commits. Progressive wall time ≈ `(nb_commits + 1) / 2` × a sync render. */
|
|
24
17
|
const TARGET_PROGRESSIVE_COMMITS = 5;
|
|
25
18
|
|
|
26
|
-
/**
|
|
27
|
-
* Lower bound for the per-tick reveal budget (total points across every
|
|
28
|
-
* series). Prevents tiny commits whose React overhead would dominate.
|
|
29
|
-
*/
|
|
19
|
+
/** Min per-tick reveal budget (total points). Avoids tiny React-bound commits. */
|
|
30
20
|
const MIN_BATCH_TOTAL = 1000;
|
|
31
21
|
|
|
32
|
-
/**
|
|
33
|
-
* Upper bound for the per-tick reveal budget (total points across every
|
|
34
|
-
* series). Prevents a single commit from blocking the main thread for too
|
|
35
|
-
* long; very large datasets simply use more commits.
|
|
36
|
-
*/
|
|
22
|
+
/** Max per-tick reveal budget (total points). Caps main-thread block per commit. */
|
|
37
23
|
const MAX_BATCH_TOTAL = 10000;
|
|
38
24
|
|
|
39
25
|
/**
|
|
40
|
-
* Per-series points
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* {@link MIN_BATCH_TOTAL} / {@link MAX_BATCH_TOTAL}, then split evenly across
|
|
44
|
-
* the visible series so every series progresses together.
|
|
26
|
+
* Per-series points per tick: total budget aims for
|
|
27
|
+
* {@link TARGET_PROGRESSIVE_COMMITS} commits, clamped by
|
|
28
|
+
* {@link MIN_BATCH_TOTAL}/{@link MAX_BATCH_TOTAL}, split evenly across series.
|
|
45
29
|
*/
|
|
46
30
|
const getEffectiveBatchSize = (nSeries, totalPoints) => {
|
|
47
31
|
const safeSeries = Math.max(1, nSeries);
|
|
@@ -72,10 +56,9 @@ function getSeriesPointCount(processedSeries, seriesId) {
|
|
|
72
56
|
}
|
|
73
57
|
|
|
74
58
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* processed series rather than carried by the registration.
|
|
59
|
+
* Aggregate of every plan: per-series batch counts, total rounds, and batch
|
|
60
|
+
* size (so every consumer sizes batches the same). Point counts read from the
|
|
61
|
+
* processed series, not the registration.
|
|
79
62
|
*/
|
|
80
63
|
const selectorProgressiveAggregate = exports.selectorProgressiveAggregate = (0, _store.createSelectorMemoized)(selectorProgressivePlans, _useChartSeries.selectorChartSeriesProcessed, function selectorProgressiveAggregate(plans, processedSeries) {
|
|
81
64
|
const nBatchesBySeries = new Map();
|
|
@@ -116,23 +99,29 @@ const selectorProgressiveBatchSize = exports.selectorProgressiveBatchSize = (0,
|
|
|
116
99
|
const selectorProgressiveTotalRounds = exports.selectorProgressiveTotalRounds = (0, _store.createSelector)(selectorProgressiveAggregate, a => a.totalRounds);
|
|
117
100
|
|
|
118
101
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
|
|
102
|
+
* Revealed batch count for a series: `revealed` rounds normally, clamped to the
|
|
103
|
+
* first batch while interacting, never above `total`.
|
|
104
|
+
*/
|
|
105
|
+
function getRevealedBatchCount(total, revealed, isInteracting) {
|
|
106
|
+
const effectiveRevealed = isInteracting ? 1 : revealed;
|
|
107
|
+
return Math.min(effectiveRevealed, total);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* How many of `seriesId`'s batches are revealed, capped at its total batch
|
|
112
|
+
* count. Clamped to the first batch while interacting.
|
|
122
113
|
*/
|
|
123
|
-
const selectorProgressiveSeriesRevealedBatches = exports.selectorProgressiveSeriesRevealedBatches = (0, _store.createSelector)(selectorProgressiveAggregate, selectorProgressiveRevealedRounds, function selectorProgressiveSeriesRevealedBatches(agg, revealed, seriesId) {
|
|
124
|
-
|
|
114
|
+
const selectorProgressiveSeriesRevealedBatches = exports.selectorProgressiveSeriesRevealedBatches = (0, _store.createSelector)(selectorProgressiveAggregate, selectorProgressiveRevealedRounds, _useChartCartesianAxis.selectorChartZoomIsInteracting, function selectorProgressiveSeriesRevealedBatches(agg, revealed, isInteracting, seriesId) {
|
|
115
|
+
const total = agg.nBatchesBySeries.get(seriesId) ?? 0;
|
|
116
|
+
return getRevealedBatchCount(total, revealed, isInteracting);
|
|
125
117
|
});
|
|
126
118
|
|
|
127
119
|
/**
|
|
128
|
-
* Whether `seriesIds`
|
|
129
|
-
* `
|
|
130
|
-
* - `svg-single` / `svg-batch`: never (those are non-progressive renderers).
|
|
120
|
+
* Whether `seriesIds` render progressively:
|
|
121
|
+
* - `svg-single`/`svg-batch`: never.
|
|
131
122
|
* - `svg-progressive`: always.
|
|
132
|
-
* - unset (auto): only when the
|
|
133
|
-
*
|
|
134
|
-
* {@link PROGRESSIVE_POINT_THRESHOLD}. The flag keeps the auto behavior
|
|
135
|
-
* opt-in so the default (`svg-single`) stays non-breaking.
|
|
123
|
+
* - unset (auto): only when the experimental feature is on and total points
|
|
124
|
+
* exceed {@link PROGRESSIVE_POINT_THRESHOLD}.
|
|
136
125
|
*/
|
|
137
126
|
const selectorProgressiveRenderingEnabled = state => (0, _useChartExperimentalFeature.selectorChartExperimentalFeaturesState)(state, 'progressiveRendering');
|
|
138
127
|
const selectorShouldUseProgressiveRenderer = exports.selectorShouldUseProgressiveRenderer = (0, _store.createSelector)(_useChartSeries.selectorChartSeriesProcessed, selectorProgressiveRenderingEnabled, (processedSeries, progressiveRenderingEnabled, seriesIds, renderer) => {
|
|
@@ -1,40 +1,23 @@
|
|
|
1
1
|
import { createSelector, createSelectorMemoized } from '@mui/x-internals/store';
|
|
2
2
|
import { selectorChartSeriesProcessed } from "../../corePlugins/useChartSeries/index.mjs";
|
|
3
3
|
import { selectorChartExperimentalFeaturesState } from "../../corePlugins/useChartExperimentalFeature/index.mjs";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* the progressive renderer. Below it the synchronous renderer is used, since
|
|
7
|
-
* the progressive paint's overhead is not worth it for small datasets.
|
|
8
|
-
*/
|
|
4
|
+
import { selectorChartZoomIsInteracting } from "../useChartCartesianAxis/index.mjs";
|
|
5
|
+
/** Auto mode switches to the progressive renderer above this total point count. */
|
|
9
6
|
const PROGRESSIVE_POINT_THRESHOLD = 20000;
|
|
10
7
|
|
|
11
|
-
/**
|
|
12
|
-
* Target number of reveal commits. Each commit repaints every already-painted
|
|
13
|
-
* circle, so the total progressive wall time is roughly `(C + 1) / 2` times a
|
|
14
|
-
* single synchronous render (where `C` is the number of commits). Targeting
|
|
15
|
-
* `5` commits keeps the progressive paint at roughly 2–3× the sync render time.
|
|
16
|
-
*/
|
|
8
|
+
/** Target reveal commits. Progressive wall time ≈ `(nb_commits + 1) / 2` × a sync render. */
|
|
17
9
|
const TARGET_PROGRESSIVE_COMMITS = 5;
|
|
18
10
|
|
|
19
|
-
/**
|
|
20
|
-
* Lower bound for the per-tick reveal budget (total points across every
|
|
21
|
-
* series). Prevents tiny commits whose React overhead would dominate.
|
|
22
|
-
*/
|
|
11
|
+
/** Min per-tick reveal budget (total points). Avoids tiny React-bound commits. */
|
|
23
12
|
const MIN_BATCH_TOTAL = 1000;
|
|
24
13
|
|
|
25
|
-
/**
|
|
26
|
-
* Upper bound for the per-tick reveal budget (total points across every
|
|
27
|
-
* series). Prevents a single commit from blocking the main thread for too
|
|
28
|
-
* long; very large datasets simply use more commits.
|
|
29
|
-
*/
|
|
14
|
+
/** Max per-tick reveal budget (total points). Caps main-thread block per commit. */
|
|
30
15
|
const MAX_BATCH_TOTAL = 10000;
|
|
31
16
|
|
|
32
17
|
/**
|
|
33
|
-
* Per-series points
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* {@link MIN_BATCH_TOTAL} / {@link MAX_BATCH_TOTAL}, then split evenly across
|
|
37
|
-
* the visible series so every series progresses together.
|
|
18
|
+
* Per-series points per tick: total budget aims for
|
|
19
|
+
* {@link TARGET_PROGRESSIVE_COMMITS} commits, clamped by
|
|
20
|
+
* {@link MIN_BATCH_TOTAL}/{@link MAX_BATCH_TOTAL}, split evenly across series.
|
|
38
21
|
*/
|
|
39
22
|
const getEffectiveBatchSize = (nSeries, totalPoints) => {
|
|
40
23
|
const safeSeries = Math.max(1, nSeries);
|
|
@@ -65,10 +48,9 @@ function getSeriesPointCount(processedSeries, seriesId) {
|
|
|
65
48
|
}
|
|
66
49
|
|
|
67
50
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* processed series rather than carried by the registration.
|
|
51
|
+
* Aggregate of every plan: per-series batch counts, total rounds, and batch
|
|
52
|
+
* size (so every consumer sizes batches the same). Point counts read from the
|
|
53
|
+
* processed series, not the registration.
|
|
72
54
|
*/
|
|
73
55
|
export const selectorProgressiveAggregate = createSelectorMemoized(selectorProgressivePlans, selectorChartSeriesProcessed, function selectorProgressiveAggregate(plans, processedSeries) {
|
|
74
56
|
const nBatchesBySeries = new Map();
|
|
@@ -109,23 +91,29 @@ export const selectorProgressiveBatchSize = createSelector(selectorProgressiveAg
|
|
|
109
91
|
export const selectorProgressiveTotalRounds = createSelector(selectorProgressiveAggregate, a => a.totalRounds);
|
|
110
92
|
|
|
111
93
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
|
|
94
|
+
* Revealed batch count for a series: `revealed` rounds normally, clamped to the
|
|
95
|
+
* first batch while interacting, never above `total`.
|
|
96
|
+
*/
|
|
97
|
+
export function getRevealedBatchCount(total, revealed, isInteracting) {
|
|
98
|
+
const effectiveRevealed = isInteracting ? 1 : revealed;
|
|
99
|
+
return Math.min(effectiveRevealed, total);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* How many of `seriesId`'s batches are revealed, capped at its total batch
|
|
104
|
+
* count. Clamped to the first batch while interacting.
|
|
115
105
|
*/
|
|
116
|
-
export const selectorProgressiveSeriesRevealedBatches = createSelector(selectorProgressiveAggregate, selectorProgressiveRevealedRounds, function selectorProgressiveSeriesRevealedBatches(agg, revealed, seriesId) {
|
|
117
|
-
|
|
106
|
+
export const selectorProgressiveSeriesRevealedBatches = createSelector(selectorProgressiveAggregate, selectorProgressiveRevealedRounds, selectorChartZoomIsInteracting, function selectorProgressiveSeriesRevealedBatches(agg, revealed, isInteracting, seriesId) {
|
|
107
|
+
const total = agg.nBatchesBySeries.get(seriesId) ?? 0;
|
|
108
|
+
return getRevealedBatchCount(total, revealed, isInteracting);
|
|
118
109
|
});
|
|
119
110
|
|
|
120
111
|
/**
|
|
121
|
-
* Whether `seriesIds`
|
|
122
|
-
* `
|
|
123
|
-
* - `svg-single` / `svg-batch`: never (those are non-progressive renderers).
|
|
112
|
+
* Whether `seriesIds` render progressively:
|
|
113
|
+
* - `svg-single`/`svg-batch`: never.
|
|
124
114
|
* - `svg-progressive`: always.
|
|
125
|
-
* - unset (auto): only when the
|
|
126
|
-
*
|
|
127
|
-
* {@link PROGRESSIVE_POINT_THRESHOLD}. The flag keeps the auto behavior
|
|
128
|
-
* opt-in so the default (`svg-single`) stays non-breaking.
|
|
115
|
+
* - unset (auto): only when the experimental feature is on and total points
|
|
116
|
+
* exceed {@link PROGRESSIVE_POINT_THRESHOLD}.
|
|
129
117
|
*/
|
|
130
118
|
const selectorProgressiveRenderingEnabled = state => selectorChartExperimentalFeaturesState(state, 'progressiveRendering');
|
|
131
119
|
export const selectorShouldUseProgressiveRenderer = createSelector(selectorChartSeriesProcessed, selectorProgressiveRenderingEnabled, (processedSeries, progressiveRenderingEnabled, seriesIds, renderer) => {
|
package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SeriesId } from "../../../../models/seriesType/common.mjs";
|
|
2
2
|
import type { RendererType } from "../../../../ScatterChart/index.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import type { ChartPluginSignature } from "../../models/index.mjs";
|
|
4
4
|
export interface UseProgressiveRenderingState {
|
|
5
5
|
progressiveRendering: {
|
|
6
6
|
/**
|
package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SeriesId } from "../../../../models/seriesType/common.js";
|
|
2
2
|
import type { RendererType } from "../../../../ScatterChart/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { ChartPluginSignature } from "../../models/index.js";
|
|
4
4
|
export interface UseProgressiveRenderingState {
|
|
5
5
|
progressiveRendering: {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Store } from '@mui/x-internals/store';
|
|
2
2
|
import type { MergeSignaturesProperty, OptionalIfEmpty } from "./helpers.mjs";
|
|
3
3
|
import type { ChartCorePluginSignatures } from "../corePlugins/index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { ChartState } from "./chart.mjs";
|
|
5
5
|
export interface ChartPluginOptions<TSignature extends ChartAnyPluginSignature> {
|
|
6
6
|
/**
|
|
7
7
|
* An imperative api available for internal use.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Store } from '@mui/x-internals/store';
|
|
2
2
|
import type { MergeSignaturesProperty, OptionalIfEmpty } from "./helpers.js";
|
|
3
3
|
import type { ChartCorePluginSignatures } from "../corePlugins/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { ChartState } from "./chart.js";
|
|
5
5
|
export interface ChartPluginOptions<TSignature extends ChartAnyPluginSignature> {
|
|
6
6
|
/**
|
|
7
7
|
* An imperative api available for internal use.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Selector } from 'reselect';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature } from "../models/plugin.mjs";
|
|
3
|
+
import type { ChartState } from "../models/chart.mjs";
|
|
4
4
|
export type ChartRootSelector<TSignature extends ChartAnyPluginSignature, T extends keyof TSignature['state'] = keyof TSignature['state']> = Selector<ChartState<[TSignature]>, TSignature['state'][T]>;
|
|
5
5
|
export type ChartOptionalRootSelector<TSignature extends ChartAnyPluginSignature> = Selector<ChartState<[], [TSignature]>, TSignature['state'][keyof TSignature['state']] | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Selector } from 'reselect';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature } from "../models/plugin.js";
|
|
3
|
+
import type { ChartState } from "../models/chart.js";
|
|
4
4
|
export type ChartRootSelector<TSignature extends ChartAnyPluginSignature, T extends keyof TSignature['state'] = keyof TSignature['state']> = Selector<ChartState<[TSignature]>, TSignature['state'][T]>;
|
|
5
5
|
export type ChartOptionalRootSelector<TSignature extends ChartAnyPluginSignature> = Selector<ChartState<[], [TSignature]>, TSignature['state'][keyof TSignature['state']] | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Store } from '@mui/x-internals/store';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature, ChartState } from "../models/index.mjs";
|
|
3
3
|
export declare function useLazySelectorEffect<TSignatures extends readonly ChartAnyPluginSignature[], Value>(store: Store<ChartState<TSignatures>>, selector: (state: ChartState<TSignatures>) => Value, effect: (previous: Value, next: Value) => void,
|
|
4
4
|
/**
|
|
5
5
|
* If true, the selector will be ignored.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Store } from '@mui/x-internals/store';
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartAnyPluginSignature, ChartState } from "../models/index.js";
|
|
3
3
|
export declare function useLazySelectorEffect<TSignatures extends readonly ChartAnyPluginSignature[], Value>(store: Store<ChartState<TSignatures>>, selector: (state: ChartState<TSignatures>) => Value, effect: (previous: Value, next: Value) => void,
|
|
4
4
|
/**
|
|
5
5
|
* If true, the selector will be ignored.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartSeriesType, DatasetType } from "../models/seriesType/config.mjs";
|
|
2
2
|
import type { SeriesProcessorParams, SeriesProcessorResult } from "./plugins/corePlugins/useChartSeriesConfig/index.mjs";
|
|
3
3
|
import type { IsItemVisibleFunction } from "./plugins/featurePlugins/useChartVisibilityManager/index.mjs";
|
|
4
4
|
type LineLikeChartType = Extract<ChartSeriesType, 'line' | 'radialLine'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartSeriesType, DatasetType } from "../models/seriesType/config.js";
|
|
2
2
|
import type { SeriesProcessorParams, SeriesProcessorResult } from "./plugins/corePlugins/useChartSeriesConfig/index.js";
|
|
3
3
|
import type { IsItemVisibleFunction } from "./plugins/featurePlugins/useChartVisibilityManager/index.js";
|
|
4
4
|
type LineLikeChartType = Extract<ChartSeriesType, 'line' | 'radialLine'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ScaleBand } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
-
import {
|
|
2
|
+
import type { D3OrdinalScale, D3Scale } from "../models/axis.mjs";
|
|
3
3
|
export declare function isOrdinalScale<Domain extends {
|
|
4
4
|
toString(): string;
|
|
5
5
|
} = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ScaleBand } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
-
import {
|
|
2
|
+
import type { D3OrdinalScale, D3Scale } from "../models/axis.js";
|
|
3
3
|
export declare function isOrdinalScale<Domain extends {
|
|
4
4
|
toString(): string;
|
|
5
5
|
} = {
|
|
@@ -158,7 +158,10 @@ function createScaleBand(seed) {
|
|
|
158
158
|
paddingOuter,
|
|
159
159
|
align
|
|
160
160
|
});
|
|
161
|
-
|
|
161
|
+
|
|
162
|
+
// `rescale` returns the scale for the fluent setters; here it only seeds the
|
|
163
|
+
// initial layout, so the (callable) return is intentionally discarded.
|
|
164
|
+
void rescale();
|
|
162
165
|
return scale;
|
|
163
166
|
}
|
|
164
167
|
|
|
@@ -150,7 +150,10 @@ function createScaleBand(seed) {
|
|
|
150
150
|
paddingOuter,
|
|
151
151
|
align
|
|
152
152
|
});
|
|
153
|
-
|
|
153
|
+
|
|
154
|
+
// `rescale` returns the scale for the fluent setters; here it only seeds the
|
|
155
|
+
// initial layout, so the (callable) return is intentionally discarded.
|
|
156
|
+
void rescale();
|
|
154
157
|
return scale;
|
|
155
158
|
}
|
|
156
159
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NumberValue, ScaleSymLog } from '@mui/x-charts-vendor/d3-scale';
|
|
2
2
|
/**
|
|
3
3
|
* Constructs a new continuous scale with the specified range, the constant 1, the default interpolator and clamping disabled.
|
|
4
4
|
* The domain defaults to [0, 1].
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NumberValue, ScaleSymLog } from '@mui/x-charts-vendor/d3-scale';
|
|
2
2
|
/**
|
|
3
3
|
* Constructs a new continuous scale with the specified range, the constant 1, the default interpolator and clamping disabled.
|
|
4
4
|
* The domain defaults to [0, 1].
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartSeriesDefaultized, ChartsSeriesConfig } from "../models/seriesType/config.mjs";
|
|
2
|
+
import type { SeriesId } from "../models/seriesType/common.mjs";
|
|
3
3
|
import type { ProcessedSeries } from "./plugins/corePlugins/useChartSeries/index.mjs";
|
|
4
4
|
export declare const selectorAllSeriesOfType: (args_0: import("./plugins/corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("./plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("./plugins/corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("./plugins/corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("./index.mjs").UseChartInteractionListenerState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("./index.mjs").ChartStateCacheKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartSeriesDefaultized, ChartsSeriesConfig } from "../models/seriesType/config.js";
|
|
2
|
+
import type { SeriesId } from "../models/seriesType/common.js";
|
|
3
3
|
import type { ProcessedSeries } from "./plugins/corePlugins/useChartSeries/index.js";
|
|
4
4
|
export declare const selectorAllSeriesOfType: (args_0: import("./plugins/corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("./plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("./plugins/corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./plugins/corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof ChartsSeriesConfig> & import("./plugins/corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("./index.js").UseChartInteractionListenerState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("./index.js").ChartStateCacheKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ScaleOrdinal, ScaleThreshold, ScaleSequential } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ContinuousSizeConfig, PiecewiseSizeConfig, OrdinalSizeConfig } from "../models/sizeMapping.mjs";
|
|
3
3
|
export declare function getSequentialSizeScale<Value extends number | Date>(config: ContinuousSizeConfig<Value> | PiecewiseSizeConfig<Value>): ScaleThreshold<Value, number, never> | ScaleSequential<number, never>;
|
|
4
4
|
export declare function getOrdinalSizeScale(config: OrdinalSizeConfig): ScaleOrdinal<number | Date | string, number, number | null>;
|
|
5
5
|
export declare function getSizeScale(config: OrdinalSizeConfig): ScaleOrdinal<number | Date | string, number, number | null>;
|