@mui/x-charts 9.6.0 → 9.8.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 +241 -2
- 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/ChartsTooltipContainer.js +14 -3
- package/ChartsTooltip/ChartsTooltipContainer.mjs +15 -4
- 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/ChartsGroupedXAxisTicks.js +3 -13
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -12
- 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/ChartsGroupedYAxisTicks.js +4 -16
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +3 -13
- 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/index.d.mts +2 -1
- package/hooks/index.d.ts +2 -1
- package/hooks/index.js +10 -2
- package/hooks/index.mjs +2 -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/usePolarGeometry.d.mts +51 -0
- package/hooks/usePolarGeometry.d.ts +51 -0
- package/hooks/usePolarGeometry.js +47 -0
- package/hooks/usePolarGeometry.mjs +41 -0
- 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/animation/animation.d.mts +1 -1
- package/internals/animation/animation.d.ts +1 -1
- package/internals/colorScale.d.mts +2 -2
- package/internals/colorScale.d.ts +2 -2
- package/internals/commonNextFocusItem.d.mts +15 -5
- package/internals/commonNextFocusItem.d.ts +15 -5
- package/internals/commonNextFocusItem.js +6 -0
- package/internals/commonNextFocusItem.mjs +7 -0
- 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/createCommonKeyboardFocusHandler.d.mts +5 -1
- package/internals/createCommonKeyboardFocusHandler.d.ts +5 -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/getGroupingConfig.d.mts +6 -0
- package/internals/getGroupingConfig.d.ts +6 -0
- package/internals/getGroupingConfig.js +20 -0
- package/internals/getGroupingConfig.mjs +12 -0
- 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 +4 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -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/colorProcessor.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +19 -13
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +19 -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 +22 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +22 -11
- 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/createIsFaded.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +1 -1
- 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/useChartTooltip/useChartTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +3 -7
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +3 -7
- 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 -4
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +3 -4
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +11 -2
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +11 -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/shallowEqual.d.mts +1 -1
- package/internals/shallowEqual.d.ts +1 -1
- package/internals/shallowEqual.js +1 -1
- package/internals/shallowEqual.mjs +1 -1
- 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 +5 -5
- 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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
|
+
import type { ChartsToolbarSlotProps, ChartsToolbarSlots } from "../Toolbar/index.mjs";
|
|
4
|
+
import type { ChartsSlots, ChartsSlotProps } from "../internals/material/index.mjs";
|
|
5
|
+
import type { ScatterPlotProps, ScatterPlotSlotProps, ScatterPlotSlots } from "./ScatterPlot.mjs";
|
|
6
|
+
import type { ChartsContainerProps } from "../ChartsContainer/index.mjs";
|
|
7
|
+
import type { ScatterSeriesType } from "../models/seriesType/scatter.mjs";
|
|
8
|
+
import type { ChartsTooltipProps } from "../ChartsTooltip/index.mjs";
|
|
9
|
+
import type { ChartsTooltipSlots, ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.mjs";
|
|
10
10
|
import type { TooltipPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
11
|
+
import type { ChartsLegendSlotProps, ChartsLegendSlots } from "../ChartsLegend/index.mjs";
|
|
12
|
+
import type { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from "../ChartsOverlay/index.mjs";
|
|
13
|
+
import type { ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.mjs";
|
|
14
|
+
import type { ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.mjs";
|
|
15
|
+
import type { ChartsGridProps } from "../ChartsGrid/index.mjs";
|
|
16
16
|
import type { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.mjs";
|
|
17
17
|
import type { ScatterChartPluginSignatures } from "./ScatterChart.plugins.mjs";
|
|
18
18
|
export interface ScatterChartSlots extends ChartsAxisSlots, ScatterPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
3
|
+
import type { ChartsToolbarSlotProps, ChartsToolbarSlots } from "../Toolbar/index.js";
|
|
4
|
+
import type { ChartsSlots, ChartsSlotProps } from "../internals/material/index.js";
|
|
5
|
+
import type { ScatterPlotProps, ScatterPlotSlotProps, ScatterPlotSlots } from "./ScatterPlot.js";
|
|
6
|
+
import type { ChartsContainerProps } from "../ChartsContainer/index.js";
|
|
7
|
+
import type { ScatterSeriesType } from "../models/seriesType/scatter.js";
|
|
8
|
+
import type { ChartsTooltipProps } from "../ChartsTooltip/index.js";
|
|
9
|
+
import type { ChartsTooltipSlots, ChartsTooltipSlotProps } from "../ChartsTooltip/ChartTooltip.types.js";
|
|
10
10
|
import type { TooltipPropsOverrides } from "../models/chartsSlotsComponentsProps.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
11
|
+
import type { ChartsLegendSlotProps, ChartsLegendSlots } from "../ChartsLegend/index.js";
|
|
12
|
+
import type { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from "../ChartsOverlay/index.js";
|
|
13
|
+
import type { ChartsAxisHighlightProps } from "../ChartsAxisHighlight/index.js";
|
|
14
|
+
import type { ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.js";
|
|
15
|
+
import type { ChartsGridProps } from "../ChartsGrid/index.js";
|
|
16
16
|
import type { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
|
|
17
17
|
import type { ScatterChartPluginSignatures } from "./ScatterChart.plugins.js";
|
|
18
18
|
export interface ScatterChartSlots extends ChartsAxisSlots, ScatterPlotSlots, ChartsLegendSlots, ChartsOverlaySlots, ChartsTooltipSlots, ChartsToolbarSlots, Partial<ChartsSlots> {}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import type { UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.mjs";
|
|
2
|
+
import type { UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs";
|
|
3
|
+
import type { UseChartTooltipSignature } from "../internals/plugins/featurePlugins/useChartTooltip/index.mjs";
|
|
4
|
+
import type { UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.mjs";
|
|
5
|
+
import type { UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.mjs";
|
|
6
|
+
import type { ConvertSignaturesIntoPlugins } from "../internals/plugins/models/helpers.mjs";
|
|
7
|
+
import type { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.mjs";
|
|
8
|
+
import type { UseChartKeyboardNavigationSignature } from "../internals/plugins/featurePlugins/useChartKeyboardNavigation/index.mjs";
|
|
9
|
+
import type { UseChartBrushSignature } from "../internals/plugins/featurePlugins/useChartBrush/index.mjs";
|
|
10
|
+
import type { UseChartVisibilityManagerSignature } from "../internals/plugins/featurePlugins/useChartVisibilityManager/index.mjs";
|
|
11
|
+
import type { UseProgressiveRenderingSignature } from "../internals/plugins/featurePlugins/useProgressiveRendering/index.mjs";
|
|
12
12
|
export type ScatterChartPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<'scatter'>, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature<'scatter'>, UseChartVisibilityManagerSignature<'scatter'>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
|
|
13
13
|
export declare const SCATTER_CHART_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartPluginSignatures>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import type { UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
|
|
2
|
+
import type { UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
|
|
3
|
+
import type { UseChartTooltipSignature } from "../internals/plugins/featurePlugins/useChartTooltip/index.js";
|
|
4
|
+
import type { UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
5
|
+
import type { UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
|
|
6
|
+
import type { ConvertSignaturesIntoPlugins } from "../internals/plugins/models/helpers.js";
|
|
7
|
+
import type { UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
|
|
8
|
+
import type { UseChartKeyboardNavigationSignature } from "../internals/plugins/featurePlugins/useChartKeyboardNavigation/index.js";
|
|
9
|
+
import type { UseChartBrushSignature } from "../internals/plugins/featurePlugins/useChartBrush/index.js";
|
|
10
|
+
import type { UseChartVisibilityManagerSignature } from "../internals/plugins/featurePlugins/useChartVisibilityManager/index.js";
|
|
11
|
+
import type { UseProgressiveRenderingSignature } from "../internals/plugins/featurePlugins/useProgressiveRendering/index.js";
|
|
12
12
|
export type ScatterChartPluginSignatures = [UseChartZAxisSignature, UseChartBrushSignature, UseChartTooltipSignature<'scatter'>, UseChartInteractionSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartHighlightSignature<'scatter'>, UseChartVisibilityManagerSignature<'scatter'>, UseChartClosestPointSignature, UseChartKeyboardNavigationSignature, UseProgressiveRenderingSignature];
|
|
13
13
|
export declare const SCATTER_CHART_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartPluginSignatures>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ScatterProps, ScatterSlotProps, ScatterSlots } from "./Scatter.mjs";
|
|
3
3
|
import type { ScatterPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs";
|
|
4
4
|
export interface ScatterPlotSlots extends ScatterSlots {
|
|
5
5
|
scatter?: React.JSXElementConstructor<ScatterProps & ScatterPropsOverrides>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ScatterProps, ScatterSlotProps, ScatterSlots } from "./Scatter.js";
|
|
3
3
|
import type { ScatterPropsOverrides } from "../models/chartsSlotsComponentsProps.js";
|
|
4
4
|
export interface ScatterPlotSlots extends ScatterSlots {
|
|
5
5
|
scatter?: React.JSXElementConstructor<ScatterProps & ScatterPropsOverrides>;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ScatterProps } from "../Scatter.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Interacting sample stride. Multiple of `nBatches` (batch 0's stride) so the
|
|
4
|
+
* sample is a subset of batch 0 — settling only adds points, no jump. Coarsened
|
|
5
|
+
* to stay within `budget`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getInteractionStep(count: number, nBatches: number, budget: number): number;
|
|
2
8
|
/**
|
|
3
9
|
* @ignore - internal component.
|
|
4
10
|
*/
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ScatterProps } from "../Scatter.js";
|
|
2
|
+
/**
|
|
3
|
+
* Interacting sample stride. Multiple of `nBatches` (batch 0's stride) so the
|
|
4
|
+
* sample is a subset of batch 0 — settling only adds points, no jump. Coarsened
|
|
5
|
+
* to stay within `budget`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getInteractionStep(count: number, nBatches: number, budget: number): number;
|
|
2
8
|
/**
|
|
3
9
|
* @ignore - internal component.
|
|
4
10
|
*/
|
|
@@ -7,16 +7,33 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
9
|
exports.ScatterAsync = ScatterAsync;
|
|
10
|
+
exports.getInteractionStep = getInteractionStep;
|
|
10
11
|
var React = _interopRequireWildcard(require("react"));
|
|
11
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
13
|
var _ScatterAsyncBatch = require("./ScatterAsyncBatch");
|
|
13
14
|
var _useStore = require("../../internals/store/useStore");
|
|
14
15
|
var _useProgressiveRendering = require("../../internals/plugins/featurePlugins/useProgressiveRendering");
|
|
16
|
+
var _useChartCartesianAxis = require("../../internals/plugins/featurePlugins/useChartCartesianAxis");
|
|
15
17
|
var _scatterRenderData = require("./scatterRenderData.selectors");
|
|
16
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
/** Per-series points sampled while interacting; the rest fills in on settle. */const INTERACTION_POINT_BUDGET = 2000;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Interacting sample stride. Multiple of `nBatches` (batch 0's stride) so the
|
|
23
|
+
* sample is a subset of batch 0 — settling only adds points, no jump. Coarsened
|
|
24
|
+
* to stay within `budget`.
|
|
25
|
+
*/
|
|
26
|
+
function getInteractionStep(count, nBatches, budget) {
|
|
27
|
+
if (nBatches <= 0) {
|
|
28
|
+
return 1;
|
|
29
|
+
}
|
|
30
|
+
return nBatches * Math.max(1, Math.ceil(count / (budget * nBatches)));
|
|
31
|
+
}
|
|
32
|
+
|
|
17
33
|
/**
|
|
18
34
|
* @ignore - internal component.
|
|
19
|
-
*/
|
|
35
|
+
*/
|
|
36
|
+
function ScatterAsync(props) {
|
|
20
37
|
const {
|
|
21
38
|
series,
|
|
22
39
|
colorGetter,
|
|
@@ -28,26 +45,31 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
28
45
|
const store = (0, _useStore.useStore)();
|
|
29
46
|
const batchSize = store.use(_useProgressiveRendering.selectorProgressiveBatchSize);
|
|
30
47
|
const revealedBatches = store.use(_useProgressiveRendering.selectorProgressiveSeriesRevealedBatches, series.id);
|
|
31
|
-
|
|
32
|
-
// shrinks the filtered set in the selector) collapses the progressive wave
|
|
33
|
-
// into a single tick once everything fits in one batch.
|
|
48
|
+
const isZoomInteracting = store.use(_useChartCartesianAxis.selectorChartZoomIsInteracting);
|
|
34
49
|
const renderData = store.use(_scatterRenderData.selectorScatterSeriesRenderData, series.id);
|
|
35
50
|
const count = renderData?.count ?? 0;
|
|
51
|
+
// Batch `b` = every `nBatches`-th point from `b`: a uniform sample whose
|
|
52
|
+
// membership depends only on `dataIndex` (stable across zoom/pan, no popping).
|
|
36
53
|
const nBatches = count === 0 ? 0 : Math.ceil(count / Math.max(1, batchSize));
|
|
54
|
+
// Only the first level shows while interacting; skip mounting the rest (empty
|
|
55
|
+
// `<g>` still re-renders every frame, bypassing `React.memo`).
|
|
56
|
+
const mountedBatches = isZoomInteracting ? Math.min(1, nBatches) : nBatches;
|
|
57
|
+
// `count` (total points) is constant across zoom/pan, so the sampled set is
|
|
58
|
+
// stable while panning.
|
|
59
|
+
const interactionStep = getInteractionStep(count, nBatches, INTERACTION_POINT_BUDGET);
|
|
37
60
|
const batches = [];
|
|
38
|
-
for (let b = 0; b <
|
|
39
|
-
const start = b * batchSize;
|
|
40
|
-
const end = Math.min(count, start + batchSize);
|
|
61
|
+
for (let b = 0; b < mountedBatches; b += 1) {
|
|
41
62
|
batches.push(/*#__PURE__*/(0, _jsxRuntime.jsx)(_ScatterAsyncBatch.ScatterAsyncBatch, {
|
|
42
63
|
series: series,
|
|
43
64
|
colorGetter: colorGetter,
|
|
44
65
|
onItemClick: onItemClick,
|
|
45
66
|
slots: slots,
|
|
46
67
|
slotProps: slotProps,
|
|
47
|
-
start:
|
|
48
|
-
|
|
68
|
+
start: isZoomInteracting ? 0 : b,
|
|
69
|
+
step: isZoomInteracting ? interactionStep : nBatches,
|
|
49
70
|
classes: classes,
|
|
50
|
-
revealed: b < revealedBatches
|
|
71
|
+
revealed: isZoomInteracting || b < revealedBatches,
|
|
72
|
+
isInteracting: isZoomInteracting
|
|
51
73
|
}, b));
|
|
52
74
|
}
|
|
53
75
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
|
|
@@ -5,12 +5,28 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import { ScatterAsyncBatch } from "./ScatterAsyncBatch.mjs";
|
|
6
6
|
import { useStore } from "../../internals/store/useStore.mjs";
|
|
7
7
|
import { selectorProgressiveBatchSize, selectorProgressiveSeriesRevealedBatches } from "../../internals/plugins/featurePlugins/useProgressiveRendering/index.mjs";
|
|
8
|
+
import { selectorChartZoomIsInteracting } from "../../internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs";
|
|
8
9
|
import { selectorScatterSeriesRenderData } from "./scatterRenderData.selectors.mjs";
|
|
9
10
|
|
|
11
|
+
/** Per-series points sampled while interacting; the rest fills in on settle. */
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
const INTERACTION_POINT_BUDGET = 2000;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Interacting sample stride. Multiple of `nBatches` (batch 0's stride) so the
|
|
17
|
+
* sample is a subset of batch 0 — settling only adds points, no jump. Coarsened
|
|
18
|
+
* to stay within `budget`.
|
|
19
|
+
*/
|
|
20
|
+
export function getInteractionStep(count, nBatches, budget) {
|
|
21
|
+
if (nBatches <= 0) {
|
|
22
|
+
return 1;
|
|
23
|
+
}
|
|
24
|
+
return nBatches * Math.max(1, Math.ceil(count / (budget * nBatches)));
|
|
25
|
+
}
|
|
26
|
+
|
|
10
27
|
/**
|
|
11
28
|
* @ignore - internal component.
|
|
12
29
|
*/
|
|
13
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
30
|
function ScatterAsync(props) {
|
|
15
31
|
const {
|
|
16
32
|
series,
|
|
@@ -23,26 +39,31 @@ function ScatterAsync(props) {
|
|
|
23
39
|
const store = useStore();
|
|
24
40
|
const batchSize = store.use(selectorProgressiveBatchSize);
|
|
25
41
|
const revealedBatches = store.use(selectorProgressiveSeriesRevealedBatches, series.id);
|
|
26
|
-
|
|
27
|
-
// shrinks the filtered set in the selector) collapses the progressive wave
|
|
28
|
-
// into a single tick once everything fits in one batch.
|
|
42
|
+
const isZoomInteracting = store.use(selectorChartZoomIsInteracting);
|
|
29
43
|
const renderData = store.use(selectorScatterSeriesRenderData, series.id);
|
|
30
44
|
const count = renderData?.count ?? 0;
|
|
45
|
+
// Batch `b` = every `nBatches`-th point from `b`: a uniform sample whose
|
|
46
|
+
// membership depends only on `dataIndex` (stable across zoom/pan, no popping).
|
|
31
47
|
const nBatches = count === 0 ? 0 : Math.ceil(count / Math.max(1, batchSize));
|
|
48
|
+
// Only the first level shows while interacting; skip mounting the rest (empty
|
|
49
|
+
// `<g>` still re-renders every frame, bypassing `React.memo`).
|
|
50
|
+
const mountedBatches = isZoomInteracting ? Math.min(1, nBatches) : nBatches;
|
|
51
|
+
// `count` (total points) is constant across zoom/pan, so the sampled set is
|
|
52
|
+
// stable while panning.
|
|
53
|
+
const interactionStep = getInteractionStep(count, nBatches, INTERACTION_POINT_BUDGET);
|
|
32
54
|
const batches = [];
|
|
33
|
-
for (let b = 0; b <
|
|
34
|
-
const start = b * batchSize;
|
|
35
|
-
const end = Math.min(count, start + batchSize);
|
|
55
|
+
for (let b = 0; b < mountedBatches; b += 1) {
|
|
36
56
|
batches.push(/*#__PURE__*/_jsx(ScatterAsyncBatch, {
|
|
37
57
|
series: series,
|
|
38
58
|
colorGetter: colorGetter,
|
|
39
59
|
onItemClick: onItemClick,
|
|
40
60
|
slots: slots,
|
|
41
61
|
slotProps: slotProps,
|
|
42
|
-
start:
|
|
43
|
-
|
|
62
|
+
start: isZoomInteracting ? 0 : b,
|
|
63
|
+
step: isZoomInteracting ? interactionStep : nBatches,
|
|
44
64
|
classes: classes,
|
|
45
|
-
revealed: b < revealedBatches
|
|
65
|
+
revealed: isZoomInteracting || b < revealedBatches,
|
|
66
|
+
isInteracting: isZoomInteracting
|
|
46
67
|
}, b));
|
|
47
68
|
}
|
|
48
69
|
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { DefaultizedScatterSeriesType } from "../../models/seriesType/scatter.mjs";
|
|
3
3
|
import type { ColorGetter } from "../../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { ScatterProps } from "../Scatter.mjs";
|
|
5
5
|
export interface ScatterAsyncBatchProps extends Pick<ScatterProps, 'series' | 'colorGetter' | 'onItemClick' | 'slots' | 'slotProps' | 'classes'> {
|
|
6
6
|
series: DefaultizedScatterSeriesType;
|
|
7
7
|
colorGetter: ColorGetter<'scatter'>;
|
|
8
|
-
/** First
|
|
8
|
+
/** First `dataIndex` this batch renders. */
|
|
9
9
|
start: number;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** Stride between rendered `dataIndex`es, so the batch is a uniform sample. */
|
|
11
|
+
step: number;
|
|
12
12
|
/**
|
|
13
|
-
* Whether this batch
|
|
14
|
-
*
|
|
15
|
-
* paint. When `false` the `<g>` still mounts but stays empty.
|
|
13
|
+
* Whether this batch may render its markers yet. Ramped batch by batch across
|
|
14
|
+
* frames for the progressive paint. When `false` the `<g>` mounts empty.
|
|
16
15
|
*/
|
|
17
16
|
revealed: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether a zoom/pan interaction is in progress. While interacting, per-marker
|
|
19
|
+
* highlight state and interaction handlers are skipped: useless mid-drag and
|
|
20
|
+
* the dominant per-frame cost.
|
|
21
|
+
*/
|
|
22
|
+
isInteracting?: boolean;
|
|
18
23
|
}
|
|
19
24
|
/**
|
|
20
25
|
* @ignore - internal component.
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { DefaultizedScatterSeriesType } from "../../models/seriesType/scatter.js";
|
|
3
3
|
import type { ColorGetter } from "../../internals/plugins/corePlugins/useChartSeriesConfig/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { ScatterProps } from "../Scatter.js";
|
|
5
5
|
export interface ScatterAsyncBatchProps extends Pick<ScatterProps, 'series' | 'colorGetter' | 'onItemClick' | 'slots' | 'slotProps' | 'classes'> {
|
|
6
6
|
series: DefaultizedScatterSeriesType;
|
|
7
7
|
colorGetter: ColorGetter<'scatter'>;
|
|
8
|
-
/** First
|
|
8
|
+
/** First `dataIndex` this batch renders. */
|
|
9
9
|
start: number;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** Stride between rendered `dataIndex`es, so the batch is a uniform sample. */
|
|
11
|
+
step: number;
|
|
12
12
|
/**
|
|
13
|
-
* Whether this batch
|
|
14
|
-
*
|
|
15
|
-
* paint. When `false` the `<g>` still mounts but stays empty.
|
|
13
|
+
* Whether this batch may render its markers yet. Ramped batch by batch across
|
|
14
|
+
* frames for the progressive paint. When `false` the `<g>` mounts empty.
|
|
16
15
|
*/
|
|
17
16
|
revealed: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether a zoom/pan interaction is in progress. While interacting, per-marker
|
|
19
|
+
* highlight state and interaction handlers are skipped: useless mid-drag and
|
|
20
|
+
* the dominant per-frame cost.
|
|
21
|
+
*/
|
|
22
|
+
isInteracting?: boolean;
|
|
18
23
|
}
|
|
19
24
|
/**
|
|
20
25
|
* @ignore - internal component.
|
|
@@ -33,8 +33,9 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
33
33
|
slots,
|
|
34
34
|
slotProps,
|
|
35
35
|
start,
|
|
36
|
-
|
|
36
|
+
step,
|
|
37
37
|
revealed,
|
|
38
|
+
isInteracting,
|
|
38
39
|
classes: inClasses
|
|
39
40
|
} = props;
|
|
40
41
|
const classes = (0, _scatterClasses.useUtilityClasses)({
|
|
@@ -65,13 +66,19 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
65
66
|
className: classes.series
|
|
66
67
|
});
|
|
67
68
|
}
|
|
68
|
-
const
|
|
69
|
+
const {
|
|
70
|
+
coords,
|
|
71
|
+
count
|
|
72
|
+
} = renderData;
|
|
69
73
|
const markers = [];
|
|
70
|
-
const
|
|
71
|
-
for (let
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
const safeStep = Math.max(1, step);
|
|
75
|
+
for (let dataIndex = start; dataIndex < count; dataIndex += safeStep) {
|
|
76
|
+
// Skip off-screen points (kept in-array to keep batches stable across pan).
|
|
77
|
+
if (coords[dataIndex * 3 + 2] === 0) {
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
const x = coords[dataIndex * 3];
|
|
81
|
+
const y = coords[dataIndex * 3 + 1];
|
|
75
82
|
const dataPoint = {
|
|
76
83
|
x,
|
|
77
84
|
y,
|
|
@@ -79,7 +86,7 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
79
86
|
seriesId: series.id,
|
|
80
87
|
type: 'scatter'
|
|
81
88
|
};
|
|
82
|
-
const highlightState = getHighlightState(dataPoint);
|
|
89
|
+
const highlightState = isInteracting ? 'none' : getHighlightState(dataPoint);
|
|
83
90
|
const isItemHighlighted = highlightState === 'highlighted';
|
|
84
91
|
const isItemFaded = highlightState === 'faded';
|
|
85
92
|
markers.push(/*#__PURE__*/(0, _jsxRuntime.jsx)(Marker, (0, _extends2.default)({
|
|
@@ -97,7 +104,7 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
97
104
|
})),
|
|
98
105
|
"data-highlighted": isItemHighlighted || undefined,
|
|
99
106
|
"data-faded": isItemFaded || undefined
|
|
100
|
-
}, skipInteractionHandlers ? undefined : (0, _useInteractionItemProps.getInteractionItemProps)(instance, dataPoint), markerProps), dataIndex));
|
|
107
|
+
}, skipInteractionHandlers || isInteracting ? undefined : (0, _useInteractionItemProps.getInteractionItemProps)(instance, dataPoint), markerProps), dataIndex));
|
|
101
108
|
}
|
|
102
109
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
103
110
|
"data-series": series.id,
|
|
@@ -106,7 +113,6 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
106
113
|
});
|
|
107
114
|
}
|
|
108
115
|
|
|
109
|
-
// Memoized so a reveal tick
|
|
110
|
-
// re-renders the one batch whose `revealed` prop changed.
|
|
116
|
+
// Memoized so a reveal tick only re-renders the batch whose `revealed` changed.
|
|
111
117
|
const ScatterAsyncBatch = exports.ScatterAsyncBatch = /*#__PURE__*/React.memo(ScatterAsyncBatchComponent);
|
|
112
118
|
if (process.env.NODE_ENV !== "production") ScatterAsyncBatch.displayName = "ScatterAsyncBatch";
|
|
@@ -13,7 +13,7 @@ import { selectorChartsIsVoronoiEnabled } from "../../internals/plugins/featureP
|
|
|
13
13
|
import { ScatterMarker } from "../ScatterMarker.mjs";
|
|
14
14
|
import { useUtilityClasses } from "../scatterClasses.mjs";
|
|
15
15
|
import { useChartsContext } from "../../context/ChartsProvider/index.mjs";
|
|
16
|
-
import {
|
|
16
|
+
import { selectorScatterSeriesRenderData } from "./scatterRenderData.selectors.mjs";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
/**
|
|
19
19
|
* @ignore - internal component.
|
|
@@ -26,8 +26,9 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
26
26
|
slots,
|
|
27
27
|
slotProps,
|
|
28
28
|
start,
|
|
29
|
-
|
|
29
|
+
step,
|
|
30
30
|
revealed,
|
|
31
|
+
isInteracting,
|
|
31
32
|
classes: inClasses
|
|
32
33
|
} = props;
|
|
33
34
|
const classes = useUtilityClasses({
|
|
@@ -58,13 +59,19 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
58
59
|
className: classes.series
|
|
59
60
|
});
|
|
60
61
|
}
|
|
61
|
-
const
|
|
62
|
+
const {
|
|
63
|
+
coords,
|
|
64
|
+
count
|
|
65
|
+
} = renderData;
|
|
62
66
|
const markers = [];
|
|
63
|
-
const
|
|
64
|
-
for (let
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
const safeStep = Math.max(1, step);
|
|
68
|
+
for (let dataIndex = start; dataIndex < count; dataIndex += safeStep) {
|
|
69
|
+
// Skip off-screen points (kept in-array to keep batches stable across pan).
|
|
70
|
+
if (coords[dataIndex * 3 + 2] === 0) {
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
const x = coords[dataIndex * 3];
|
|
74
|
+
const y = coords[dataIndex * 3 + 1];
|
|
68
75
|
const dataPoint = {
|
|
69
76
|
x,
|
|
70
77
|
y,
|
|
@@ -72,7 +79,7 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
72
79
|
seriesId: series.id,
|
|
73
80
|
type: 'scatter'
|
|
74
81
|
};
|
|
75
|
-
const highlightState = getHighlightState(dataPoint);
|
|
82
|
+
const highlightState = isInteracting ? 'none' : getHighlightState(dataPoint);
|
|
76
83
|
const isItemHighlighted = highlightState === 'highlighted';
|
|
77
84
|
const isItemFaded = highlightState === 'faded';
|
|
78
85
|
markers.push(/*#__PURE__*/_jsx(Marker, _extends({
|
|
@@ -90,7 +97,7 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
90
97
|
})),
|
|
91
98
|
"data-highlighted": isItemHighlighted || undefined,
|
|
92
99
|
"data-faded": isItemFaded || undefined
|
|
93
|
-
}, skipInteractionHandlers ? undefined : getInteractionItemProps(instance, dataPoint), markerProps), dataIndex));
|
|
100
|
+
}, skipInteractionHandlers || isInteracting ? undefined : getInteractionItemProps(instance, dataPoint), markerProps), dataIndex));
|
|
94
101
|
}
|
|
95
102
|
return /*#__PURE__*/_jsx("g", {
|
|
96
103
|
"data-series": series.id,
|
|
@@ -99,8 +106,7 @@ function ScatterAsyncBatchComponent(props) {
|
|
|
99
106
|
});
|
|
100
107
|
}
|
|
101
108
|
|
|
102
|
-
// Memoized so a reveal tick
|
|
103
|
-
// re-renders the one batch whose `revealed` prop changed.
|
|
109
|
+
// Memoized so a reveal tick only re-renders the batch whose `revealed` changed.
|
|
104
110
|
const ScatterAsyncBatch = /*#__PURE__*/React.memo(ScatterAsyncBatchComponent);
|
|
105
111
|
if (process.env.NODE_ENV !== "production") ScatterAsyncBatch.displayName = "ScatterAsyncBatch";
|
|
106
112
|
export { ScatterAsyncBatch };
|
|
@@ -1,38 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* x1, y1, i1, ...]`, where `iN` is the original `dataIndex`). Only points that
|
|
6
|
-
* project inside the drawing area are kept, so the progressive renderer can
|
|
7
|
-
* size its batches by the number of *visible* points — when zoomed in tightly
|
|
8
|
-
* the wave finishes in a single tick. Batches are contiguous slices of this
|
|
9
|
-
* array, so a batch's data is obtained with a zero-copy `subarray` view (see
|
|
10
|
-
* {@link getScatterBatchView}).
|
|
2
|
+
* Render data for one scatter series. Packed `Float64Array` indexed by
|
|
3
|
+
* `dataIndex` (stride 3: `[x, y, visible]`). Off-screen points keep their slot
|
|
4
|
+
* so a point's batch stays fixed across zoom/pan (no popping).
|
|
11
5
|
*/
|
|
12
6
|
export interface ScatterSeriesRenderData {
|
|
13
|
-
/** Packed projected
|
|
7
|
+
/** Packed projected coordinates + visibility flag, stride 3. */
|
|
14
8
|
coords: Float64Array;
|
|
15
|
-
/**
|
|
9
|
+
/** Total number of points (`coords.length / 3`). */
|
|
16
10
|
count: number;
|
|
17
11
|
}
|
|
18
|
-
/**
|
|
19
|
-
* Packed projected coordinates for every scatter series, filtered to the
|
|
20
|
-
* drawing area. Recomputes when the processed series, axis scales, or drawing
|
|
21
|
-
* area change.
|
|
22
|
-
*/
|
|
12
|
+
/** Packed projected coordinates for every scatter series, indexed by `dataIndex`. */
|
|
23
13
|
export declare const selectorScatterRenderData: (args_0: import("../../internals/plugins/corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../internals/index.mjs").ChartsSeriesConfig> & import("../../internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../internals/plugins/corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../internals/index.mjs").ChartsSeriesConfig> & import("../../internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../internals/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
|
|
24
14
|
cacheKey: import("../../internals/index.mjs").ChartStateCacheKey;
|
|
25
15
|
}) => Map<string, ScatterSeriesRenderData>;
|
|
16
|
+
/** Pixel bounds (inclusive) a point must fall within to be flagged visible. */
|
|
17
|
+
export interface ScatterVisibilityBounds {
|
|
18
|
+
xMin: number;
|
|
19
|
+
xMax: number;
|
|
20
|
+
yMin: number;
|
|
21
|
+
yMax: number;
|
|
22
|
+
}
|
|
26
23
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
24
|
+
* Projects `data` into a `dataIndex`-indexed packed array (stride 3:
|
|
25
|
+
* `[x, y, visible]`). Every point keeps its slot; `visible` is `1` inside
|
|
26
|
+
* `bounds`, `0` otherwise.
|
|
29
27
|
*/
|
|
28
|
+
export declare function packScatterSeriesCoords(data: readonly {
|
|
29
|
+
x: number | Date;
|
|
30
|
+
y: number | Date;
|
|
31
|
+
}[], getXPosition: (value: number | Date) => number, getYPosition: (value: number | Date) => number, bounds: ScatterVisibilityBounds): ScatterSeriesRenderData;
|
|
32
|
+
/** Render data for one series, or `undefined` while processors/axes are pending. */
|
|
30
33
|
export declare const selectorScatterSeriesRenderData: (args_0: import("../../internals/plugins/corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../internals/index.mjs").ChartsSeriesConfig> & import("../../internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../internals/plugins/corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../internals/index.mjs").ChartsSeriesConfig> & import("../../internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../internals/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
|
|
31
34
|
cacheKey: import("../../internals/index.mjs").ChartStateCacheKey;
|
|
32
|
-
}, seriesId: string) => ScatterSeriesRenderData | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Zero-copy view of one batch's coordinates. `start`/`end` are visible-point
|
|
35
|
-
* indices (not original `dataIndex` values). The returned `Float64Array` shares
|
|
36
|
-
* the buffer with `renderData.coords`.
|
|
37
|
-
*/
|
|
38
|
-
export declare function getScatterBatchView(renderData: ScatterSeriesRenderData, start: number, end: number): Float64Array;
|
|
35
|
+
}, seriesId: string) => ScatterSeriesRenderData | undefined;
|