@mui/x-charts 9.5.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.js +1 -1
- package/BarChart/BarChart.mjs +1 -1
- 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/BarElement.js +2 -1
- package/BarChart/BarElement.mjs +2 -1
- package/BarChart/BarLabel/BarLabel.d.mts +1 -1
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.js +1 -1
- package/BarChart/BarLabel/BarLabel.mjs +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/BarPlot.js +1 -1
- package/BarChart/BarPlot.mjs +1 -1
- 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 +261 -0
- package/ChartsAxis/ChartsAxis.d.mts +1 -1
- package/ChartsAxis/ChartsAxis.d.ts +1 -1
- package/ChartsAxis/ChartsAxis.js +1 -1
- package/ChartsAxis/ChartsAxis.mjs +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.js +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.mjs +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/ChartsAxisHighlightValue.js +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.mjs +2 -2
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +1 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +5 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +5 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +14 -2
- package/ChartsClipPath/ChartsClipPath.js +1 -1
- package/ChartsClipPath/ChartsClipPath.mjs +1 -1
- package/ChartsContainer/ChartsContainer.d.mts +5 -5
- package/ChartsContainer/ChartsContainer.d.ts +5 -5
- package/ChartsContainer/ChartsContainer.js +5 -3
- package/ChartsContainer/ChartsContainer.mjs +5 -3
- 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/ChartsDataProvider.js +5 -1
- package/ChartsDataProvider/ChartsDataProvider.mjs +5 -1
- 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/ChartsGrid.js +5 -1
- package/ChartsGrid/ChartsGrid.mjs +5 -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/ChartsLayerContainer/ChartsLayerContainer.js +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +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/ChartsLocalizationProvider/ChartsLocalizationProvider.js +1 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.mjs +1 -1
- 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/ChartsRadialAxisHighlight.js +2 -2
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.mjs +2 -2
- 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.js +9 -1
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.mjs +9 -1
- 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/ChartsRadialGrid.js +5 -1
- package/ChartsRadialGrid/ChartsRadialGrid.mjs +5 -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/ChartsRadiusAxis.d.mts +8 -2
- package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +8 -2
- package/ChartsRadiusAxis/ChartsRadiusAxis.js +143 -3
- package/ChartsRadiusAxis/ChartsRadiusAxis.mjs +144 -5
- 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/ChartsReferenceLine.js +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.mjs +1 -1
- 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/ChartsRotationAxis.d.mts +8 -2
- package/ChartsRotationAxis/ChartsRotationAxis.d.ts +8 -2
- package/ChartsRotationAxis/ChartsRotationAxis.js +140 -3
- package/ChartsRotationAxis/ChartsRotationAxis.mjs +141 -5
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
- package/ChartsRotationAxis/index.d.mts +1 -1
- package/ChartsRotationAxis/index.d.ts +1 -1
- package/ChartsSurface/ChartsSurface.d.mts +2 -2
- package/ChartsSurface/ChartsSurface.d.ts +2 -2
- package/ChartsSurface/ChartsSurface.js +1 -1
- package/ChartsSurface/ChartsSurface.mjs +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.js +1 -1
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +1 -1
- package/ChartsText/ChartsText.d.mts +1 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsText/ChartsText.js +2 -2
- package/ChartsText/ChartsText.mjs +2 -2
- 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 +29 -3
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +29 -3
- package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsItemTooltipContent.js +52 -1
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +52 -1
- package/ChartsTooltip/ChartsTooltip.d.mts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltip.js +13 -33
- package/ChartsTooltip/ChartsTooltip.mjs +13 -33
- package/ChartsTooltip/ChartsTooltipContainer.d.mts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.js +6 -26
- package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -26
- 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/ChartsWrapper/ChartsWrapper.js +1 -1
- package/ChartsWrapper/ChartsWrapper.mjs +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
- package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxis.js +11 -2
- package/ChartsXAxis/ChartsXAxis.mjs +11 -2
- 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/ChartsSingleYAxisTicks.js +1 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
- package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/ChartsYAxis/ChartsYAxis.js +11 -2
- package/ChartsYAxis/ChartsYAxis.mjs +11 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +1 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +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/Gauge.js +1 -1
- package/Gauge/Gauge.mjs +1 -1
- package/Gauge/GaugeContainer.d.mts +4 -4
- package/Gauge/GaugeContainer.d.ts +4 -4
- package/Gauge/GaugeContainer.js +1 -1
- package/Gauge/GaugeContainer.mjs +1 -1
- package/Gauge/GaugeValueArc.js +2 -2
- package/Gauge/GaugeValueArc.mjs +2 -2
- package/Gauge/GaugeValueText.d.mts +1 -1
- package/Gauge/GaugeValueText.d.ts +1 -1
- package/Gauge/GaugeValueText.js +1 -1
- package/Gauge/GaugeValueText.mjs +1 -1
- package/LineChart/AnimatedArea.js +3 -3
- package/LineChart/AnimatedArea.mjs +3 -3
- package/LineChart/AnimatedLine.js +1 -1
- package/LineChart/AnimatedLine.mjs +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 +2 -2
- package/LineChart/AreaElement.mjs +2 -2
- package/LineChart/AreaPlot.d.mts +2 -2
- package/LineChart/AreaPlot.d.ts +2 -2
- package/LineChart/AreaPlot.js +1 -1
- package/LineChart/AreaPlot.mjs +1 -1
- 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.js +1 -1
- package/LineChart/LineChart.mjs +1 -1
- 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/LineElement.js +4 -2
- package/LineChart/LineElement.mjs +4 -2
- package/LineChart/LineHighlightElement.d.mts +1 -1
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightElement.js +1 -2
- package/LineChart/LineHighlightElement.mjs +1 -2
- package/LineChart/LineHighlightPlot.d.mts +2 -2
- package/LineChart/LineHighlightPlot.d.ts +2 -2
- package/LineChart/LineHighlightPlot.js +1 -1
- package/LineChart/LineHighlightPlot.mjs +1 -1
- package/LineChart/LinePlot.d.mts +2 -2
- package/LineChart/LinePlot.d.ts +2 -2
- package/LineChart/LinePlot.js +1 -1
- package/LineChart/LinePlot.mjs +1 -1
- package/LineChart/MarkElement.d.mts +9 -1
- package/LineChart/MarkElement.d.ts +9 -1
- package/LineChart/MarkElement.js +3 -2
- package/LineChart/MarkElement.mjs +3 -2
- package/LineChart/MarkPlot.d.mts +2 -2
- package/LineChart/MarkPlot.d.ts +2 -2
- package/LineChart/MarkPlot.js +2 -1
- package/LineChart/MarkPlot.mjs +2 -1
- 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 +6 -2
- package/PieChart/FocusedPieArc.d.ts +6 -2
- package/PieChart/FocusedPieArc.js +22 -1
- package/PieChart/FocusedPieArc.mjs +24 -2
- package/PieChart/PieArc.d.mts +1 -1
- package/PieChart/PieArc.d.ts +1 -1
- package/PieChart/PieArc.js +1 -1
- package/PieChart/PieArc.mjs +1 -1
- package/PieChart/PieArcLabel.d.mts +2 -2
- package/PieChart/PieArcLabel.d.ts +2 -2
- package/PieChart/PieArcLabel.js +1 -1
- package/PieChart/PieArcLabel.mjs +1 -1
- package/PieChart/PieArcLabelPlot.d.mts +2 -2
- package/PieChart/PieArcLabelPlot.d.ts +2 -2
- package/PieChart/PieArcLabelPlot.js +7 -6
- package/PieChart/PieArcLabelPlot.mjs +7 -6
- package/PieChart/PieArcPlot.d.mts +2 -2
- package/PieChart/PieArcPlot.d.ts +2 -2
- package/PieChart/PieArcPlot.js +7 -6
- package/PieChart/PieArcPlot.mjs +7 -6
- package/PieChart/PieChart.d.mts +11 -11
- package/PieChart/PieChart.d.ts +11 -11
- package/PieChart/PieChart.js +1 -1
- package/PieChart/PieChart.mjs +1 -1
- 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/PiePlot.js +2 -1
- package/PieChart/PiePlot.mjs +2 -1
- 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.js +5 -1
- package/RadarChart/RadarAxis/RadarAxis.mjs +5 -1
- 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/RadarAxisHighlight.js +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +6 -2
- 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.js +1 -1
- package/RadarChart/RadarChart.mjs +1 -1
- 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.js +1 -5
- package/RadarChart/RadarGrid/RadarGrid.mjs +1 -5
- 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/RadarSeriesArea.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +5 -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/Scatter.js +1 -1
- package/ScatterChart/Scatter.mjs +1 -1
- package/ScatterChart/ScatterChart.d.mts +13 -13
- package/ScatterChart/ScatterChart.d.ts +13 -13
- package/ScatterChart/ScatterChart.js +5 -3
- package/ScatterChart/ScatterChart.mjs +5 -3
- 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/ScatterMarker.js +2 -2
- package/ScatterChart/ScatterMarker.mjs +2 -2
- package/ScatterChart/ScatterPlot.d.mts +9 -2
- package/ScatterChart/ScatterPlot.d.ts +9 -2
- package/ScatterChart/ScatterPlot.js +5 -2
- package/ScatterChart/ScatterPlot.mjs +5 -2
- 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/getColor.js +6 -15
- package/ScatterChart/seriesConfig/getColor.mjs +6 -15
- 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/SparkLineChart/SparkLineChart.js +1 -1
- package/SparkLineChart/SparkLineChart.mjs +1 -1
- package/Toolbar/Toolbar.d.mts +1 -1
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Toolbar/Toolbar.mjs +1 -1
- package/Toolbar/ToolbarButton.d.mts +2 -2
- package/Toolbar/ToolbarButton.d.ts +2 -2
- package/Toolbar/ToolbarButton.js +1 -1
- package/Toolbar/ToolbarButton.mjs +1 -1
- 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.d.mts +1 -1
- package/index.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 +4 -4
- package/internals/colorScale.d.ts +4 -4
- package/internals/colorScale.js +2 -2
- package/internals/colorScale.mjs +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/index.d.mts +2 -0
- package/internals/index.d.ts +2 -0
- package/internals/index.js +8 -0
- package/internals/index.mjs +2 -0
- 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.js +16 -30
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +17 -31
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.mts +9 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +9 -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/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 +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 +11 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +11 -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 -12
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -12
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +1 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +2 -2
- 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/computeAxisValue.js +6 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +6 -1
- 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.js +6 -2
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +6 -2
- 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 +49 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +49 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.js +124 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.mjs +117 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +64 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +64 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.js +5 -0
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.mjs +1 -0
- 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/resolveColorProcessor.js +4 -7
- package/internals/resolveColorProcessor.mjs +4 -7
- 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 +26 -10
- package/models/axis.d.ts +26 -10
- package/models/colorMapping.d.mts +8 -0
- package/models/colorMapping.d.ts +8 -0
- 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 +7 -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/hooks/useIsHydrated.d.mts +0 -4
- package/hooks/useIsHydrated.d.ts +0 -4
- package/hooks/useIsHydrated.js +0 -19
- package/hooks/useIsHydrated.mjs +0 -14
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AllSeriesType, HighlightItemIdentifier, HighlightItemIdentifierWithType, SeriesItemIdentifier, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import type { ChartsColorPalette } from "../../../../colorPalettes/index.js";
|
|
3
|
+
import type { ChartPluginSignature } from "../../models/index.js";
|
|
4
|
+
import type { ChartSeriesType, DatasetType } from "../../../../models/seriesType/config.js";
|
|
5
|
+
import type { SeriesId } from "../../../../models/seriesType/common.js";
|
|
6
|
+
import type { SeriesLayoutGetterResult, SeriesProcessorParams, SeriesProcessorResult, UseChartSeriesConfigSignature } from "../useChartSeriesConfig/index.js";
|
|
7
|
+
import type { VisibilityIdentifier, VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.js";
|
|
8
8
|
export interface UseChartSeriesParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
9
9
|
/**
|
|
10
10
|
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
|
|
2
|
+
import type { ColorProcessor } from "../useChartSeriesConfig/index.mjs";
|
|
3
3
|
export type ColorProcessorsConfig<SeriesType extends ChartSeriesType> = { [Key in SeriesType]?: ColorProcessor<Key> };
|
|
4
4
|
export declare function useColorProcessor<SeriesType extends ChartSeriesType>(seriesType: SeriesType): ColorProcessor<SeriesType>;
|
|
5
5
|
export declare function useColorProcessor(): ColorProcessorsConfig<ChartSeriesType>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
|
|
2
|
+
import type { ColorProcessor } from "../useChartSeriesConfig/index.js";
|
|
3
3
|
export type ColorProcessorsConfig<SeriesType extends ChartSeriesType> = { [Key in SeriesType]?: ColorProcessor<Key> };
|
|
4
4
|
export declare function useColorProcessor<SeriesType extends ChartSeriesType>(seriesType: SeriesType): ColorProcessor<SeriesType>;
|
|
5
5
|
export declare function useColorProcessor(): ColorProcessorsConfig<ChartSeriesType>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CartesianChartSeriesType } from "../../../../../models/index.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartsTooltipClasses, ItemTooltip, SeriesItem } from "../../../../../ChartsTooltip/index.mjs";
|
|
3
3
|
import type { ChartSeriesType, PolarChartSeriesType } from "../../../../../models/seriesType/config.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { ItemTooltipWithMultipleValues } from "./tooltipGetter.types.mjs";
|
|
5
5
|
export interface AxisTooltipContentProps<T extends CartesianChartSeriesType | PolarChartSeriesType> {
|
|
6
6
|
/**
|
|
7
7
|
* Override or extend the styles applied to the component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CartesianChartSeriesType } from "../../../../../models/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartsTooltipClasses, ItemTooltip, SeriesItem } from "../../../../../ChartsTooltip/index.js";
|
|
3
3
|
import type { ChartSeriesType, PolarChartSeriesType } from "../../../../../models/seriesType/config.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { ItemTooltipWithMultipleValues } from "./tooltipGetter.types.js";
|
|
5
5
|
export interface AxisTooltipContentProps<T extends CartesianChartSeriesType | PolarChartSeriesType> {
|
|
6
6
|
/**
|
|
7
7
|
* Override or extend the styles applied to the component.
|
|
@@ -6,7 +6,7 @@ import type { ChartSeriesType } from "../../../../../models/seriesType/config.mj
|
|
|
6
6
|
* Map data index to a color.
|
|
7
7
|
* If dataIndex is not defined, it falls back to the series color when defined.
|
|
8
8
|
*/
|
|
9
|
-
export type ColorGetter<SeriesType extends ChartSeriesType> = SeriesType extends 'pie' | 'funnel' ? (dataIndex: number) => string : SeriesType extends 'heatmap' ? (value: number | null) => string : (dataIndex?: number) => string;
|
|
9
|
+
export type ColorGetter<SeriesType extends ChartSeriesType> = SeriesType extends 'pie' | 'funnel' ? (dataIndex: number) => string : SeriesType extends 'heatmap' ? (value: number | null) => string : SeriesType extends 'mapShape' ? (dataIndex?: number) => string | null : (dataIndex?: number) => string;
|
|
10
10
|
export type ColorProcessor<SeriesType extends ChartSeriesType> = (series: DefaultizedSeriesType<SeriesType>,
|
|
11
11
|
/**
|
|
12
12
|
* Either the x-axis or rotation-axis, depending on the coordinate system.
|
|
@@ -6,7 +6,7 @@ import type { ChartSeriesType } from "../../../../../models/seriesType/config.js
|
|
|
6
6
|
* Map data index to a color.
|
|
7
7
|
* If dataIndex is not defined, it falls back to the series color when defined.
|
|
8
8
|
*/
|
|
9
|
-
export type ColorGetter<SeriesType extends ChartSeriesType> = SeriesType extends 'pie' | 'funnel' ? (dataIndex: number) => string : SeriesType extends 'heatmap' ? (value: number | null) => string : (dataIndex?: number) => string;
|
|
9
|
+
export type ColorGetter<SeriesType extends ChartSeriesType> = SeriesType extends 'pie' | 'funnel' ? (dataIndex: number) => string : SeriesType extends 'heatmap' ? (value: number | null) => string : SeriesType extends 'mapShape' ? (dataIndex?: number) => string | null : (dataIndex?: number) => string;
|
|
10
10
|
export type ColorProcessor<SeriesType extends ChartSeriesType> = (series: DefaultizedSeriesType<SeriesType>,
|
|
11
11
|
/**
|
|
12
12
|
* Either the x-axis or rotation-axis, depending on the coordinate system.
|
|
@@ -5,19 +5,19 @@ import type { ColorProcessor } from "./colorProcessor.types.mjs";
|
|
|
5
5
|
import type { CartesianExtremumGetter } from "./cartesianExtremumGetter.types.mjs";
|
|
6
6
|
import type { LegendGetter } from "./legendGetter.types.mjs";
|
|
7
7
|
import type { AxisTooltipGetter, TooltipGetter } from "./tooltipGetter.types.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
8
|
+
import type { PolarExtremumGetter } from "./polarExtremumGetter.types.mjs";
|
|
9
|
+
import type { GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.mjs";
|
|
10
|
+
import type { TooltipItemPositionGetter } from "./tooltipItemPositionGetter.types.mjs";
|
|
11
|
+
import type { SeriesLayoutGetter } from "./seriesLayout.types.mjs";
|
|
12
|
+
import type { KeyboardFocusHandler } from "../../../featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.mjs";
|
|
13
|
+
import type { IdentifierSerializer } from "./identifierSerializer.types.mjs";
|
|
14
|
+
import type { IdentifierCleaner } from "./identifierCleaner.types.mjs";
|
|
15
|
+
import type { GetItemAtPosition } from "./getItemAtPosition.types.mjs";
|
|
16
|
+
import type { DescriptionGetter } from "./descriptionGetter.types.mjs";
|
|
17
|
+
import type { UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.mjs";
|
|
18
|
+
import type { UseChartPolarAxisSignature } from "../../../featurePlugins/useChartPolarAxis/index.mjs";
|
|
19
|
+
import type { HighlightCreator } from "../../../featurePlugins/useChartHighlight/highlightCreator.types.mjs";
|
|
20
|
+
import type { AxisTooltipContentProps, ItemTooltipContentProps } from "./TooltipContent.types.mjs";
|
|
21
21
|
export type ChartSeriesTypeRequiredPlugins<SeriesType extends ChartSeriesType> = ChartsSeriesConfig[SeriesType] extends {
|
|
22
22
|
axisType: 'cartesian';
|
|
23
23
|
} ? [UseChartCartesianAxisSignature] : ChartsSeriesConfig[SeriesType] extends {
|
|
@@ -5,19 +5,19 @@ import type { ColorProcessor } from "./colorProcessor.types.js";
|
|
|
5
5
|
import type { CartesianExtremumGetter } from "./cartesianExtremumGetter.types.js";
|
|
6
6
|
import type { LegendGetter } from "./legendGetter.types.js";
|
|
7
7
|
import type { AxisTooltipGetter, TooltipGetter } from "./tooltipGetter.types.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
8
|
+
import type { PolarExtremumGetter } from "./polarExtremumGetter.types.js";
|
|
9
|
+
import type { GetSeriesWithDefaultValues } from "./getSeriesWithDefaultValues.types.js";
|
|
10
|
+
import type { TooltipItemPositionGetter } from "./tooltipItemPositionGetter.types.js";
|
|
11
|
+
import type { SeriesLayoutGetter } from "./seriesLayout.types.js";
|
|
12
|
+
import type { KeyboardFocusHandler } from "../../../featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.js";
|
|
13
|
+
import type { IdentifierSerializer } from "./identifierSerializer.types.js";
|
|
14
|
+
import type { IdentifierCleaner } from "./identifierCleaner.types.js";
|
|
15
|
+
import type { GetItemAtPosition } from "./getItemAtPosition.types.js";
|
|
16
|
+
import type { DescriptionGetter } from "./descriptionGetter.types.js";
|
|
17
|
+
import type { UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.js";
|
|
18
|
+
import type { UseChartPolarAxisSignature } from "../../../featurePlugins/useChartPolarAxis/index.js";
|
|
19
|
+
import type { HighlightCreator } from "../../../featurePlugins/useChartHighlight/highlightCreator.types.js";
|
|
20
|
+
import type { AxisTooltipContentProps, ItemTooltipContentProps } from "./TooltipContent.types.js";
|
|
21
21
|
export type ChartSeriesTypeRequiredPlugins<SeriesType extends ChartSeriesType> = ChartsSeriesConfig[SeriesType] extends {
|
|
22
22
|
axisType: 'cartesian';
|
|
23
23
|
} ? [UseChartCartesianAxisSignature] : ChartsSeriesConfig[SeriesType] extends {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/seriesType/config.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
|
|
3
3
|
import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import type { SeriesProcessorResult } from "./seriesProcessor.types.mjs";
|
|
5
5
|
export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
|
|
6
6
|
export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/seriesType/config.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
|
|
3
3
|
import type { SeriesId } from "../../../../../models/seriesType/common.js";
|
|
4
|
-
import {
|
|
4
|
+
import type { SeriesProcessorResult } from "./seriesProcessor.types.js";
|
|
5
5
|
export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
|
|
6
6
|
export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.mjs";
|
|
2
2
|
import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../../models/seriesType/config.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
|
|
4
|
+
import type { AxisId, ChartsRotationAxisProps, ChartsRadiusAxisProps, PolarAxisDefaultized, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.mjs";
|
|
5
|
+
import type { ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.mjs";
|
|
6
|
+
import type { ColorGetter } from "./colorProcessor.types.mjs";
|
|
7
7
|
export interface ItemTooltipValue<SeriesType extends ChartSeriesType> {
|
|
8
8
|
/**
|
|
9
9
|
* The metric label.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.js";
|
|
2
2
|
import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig } from "../../../../../models/seriesType/config.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import type { SeriesId } from "../../../../../models/seriesType/common.js";
|
|
4
|
+
import type { AxisId, ChartsRotationAxisProps, ChartsRadiusAxisProps, PolarAxisDefaultized, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.js";
|
|
5
|
+
import type { ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.js";
|
|
6
|
+
import type { ColorGetter } from "./colorProcessor.types.js";
|
|
7
7
|
export interface ItemTooltipValue<SeriesType extends ChartSeriesType> {
|
|
8
8
|
/**
|
|
9
9
|
* The metric label.
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
+
import type { ExtendedFeatureCollection, GeoProjection } from '@mui/x-charts-vendor/d3-geo';
|
|
1
2
|
import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.mjs";
|
|
2
3
|
import type { ChartSeriesType } from "../../../../../models/seriesType/config.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import type { ChartsRotationAxisProps, ChartsRadiusAxisProps, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.mjs";
|
|
5
|
+
import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
|
|
6
|
+
import type { ProcessedSeries, SeriesLayout } from "../../useChartSeries/index.mjs";
|
|
7
|
+
import type { ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.mjs";
|
|
8
|
+
export type GeoTooltipPosition = {
|
|
9
|
+
geoData: ExtendedFeatureCollection | null;
|
|
10
|
+
projection: GeoProjection | null;
|
|
11
|
+
featureIndexesByName: ReadonlyMap<string, number[]>;
|
|
12
|
+
};
|
|
7
13
|
export interface TooltipPositionGetterAxesConfig {
|
|
8
14
|
x?: ComputedXAxis;
|
|
9
15
|
y?: ComputedYAxis;
|
|
10
16
|
rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
|
|
11
17
|
radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
|
|
18
|
+
geo?: GeoTooltipPosition;
|
|
12
19
|
}
|
|
13
20
|
export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
14
21
|
series: ProcessedSeries<SeriesType>;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
+
import type { ExtendedFeatureCollection, GeoProjection } from '@mui/x-charts-vendor/d3-geo';
|
|
1
2
|
import type { SeriesItemIdentifierWithType } from "../../../../../models/seriesType/index.js";
|
|
2
3
|
import type { ChartSeriesType } from "../../../../../models/seriesType/config.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import type { ChartsRotationAxisProps, ChartsRadiusAxisProps, ComputedXAxis, ComputedYAxis } from "../../../../../models/axis.js";
|
|
5
|
+
import type { ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
|
|
6
|
+
import type { ProcessedSeries, SeriesLayout } from "../../useChartSeries/index.js";
|
|
7
|
+
import type { ComputeResult } from "../../../featurePlugins/useChartPolarAxis/computeAxisValue.js";
|
|
8
|
+
export type GeoTooltipPosition = {
|
|
9
|
+
geoData: ExtendedFeatureCollection | null;
|
|
10
|
+
projection: GeoProjection | null;
|
|
11
|
+
featureIndexesByName: ReadonlyMap<string, number[]>;
|
|
12
|
+
};
|
|
7
13
|
export interface TooltipPositionGetterAxesConfig {
|
|
8
14
|
x?: ComputedXAxis;
|
|
9
15
|
y?: ComputedYAxis;
|
|
10
16
|
rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
|
|
11
17
|
radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
|
|
18
|
+
geo?: GeoTooltipPosition;
|
|
12
19
|
}
|
|
13
20
|
export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
14
21
|
series: ProcessedSeries<SeriesType>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartPlugin } from "../../models/index.mjs";
|
|
2
|
+
import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
|
|
3
3
|
export declare const useChartSeriesConfig: ChartPlugin<UseChartSeriesConfigSignature>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartPlugin } from "../../models/index.js";
|
|
2
|
+
import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
|
|
3
3
|
export declare const useChartSeriesConfig: ChartPlugin<UseChartSeriesConfigSignature>;
|
package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartRootSelector } from "../../utils/selectors.mjs";
|
|
2
|
+
import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.mjs";
|
|
3
3
|
export declare const selectorChartSeriesConfigState: ChartRootSelector<UseChartSeriesConfigSignature>;
|
|
4
4
|
export declare const selectorChartSeriesConfig: (args_0: import("../useChartId/useChartId.types.mjs").UseChartIdState & import("./useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../useChartInteractionListener/index.mjs").UseChartInteractionListenerState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.selectors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
|
+
import type { UseChartSeriesConfigSignature } from "./useChartSeriesConfig.types.js";
|
|
3
3
|
export declare const selectorChartSeriesConfigState: ChartRootSelector<UseChartSeriesConfigSignature>;
|
|
4
4
|
export declare const selectorChartSeriesConfig: (args_0: import("../useChartId/useChartId.types.js").UseChartIdState & import("./useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../useChartInteractionListener/index.js").UseChartInteractionListenerState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { ChartPluginSignature } from "../../models/index.mjs";
|
|
2
|
+
import type { ChartSeriesConfig } from "./types/seriesConfig.types.mjs";
|
|
3
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
|
|
4
|
+
import type { HighlightItemIdentifierWithType, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
|
|
5
|
+
import type { VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.mjs";
|
|
6
6
|
export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
7
7
|
/**
|
|
8
8
|
* The configuration for the series types.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import type { ChartPluginSignature } from "../../models/index.js";
|
|
2
|
+
import type { ChartSeriesConfig } from "./types/seriesConfig.types.js";
|
|
3
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
|
|
4
|
+
import type { HighlightItemIdentifierWithType, SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.js";
|
|
5
|
+
import type { VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.js";
|
|
6
6
|
export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
7
7
|
/**
|
|
8
8
|
* The configuration for the series types.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartPlugin } from "../../models/index.mjs";
|
|
2
|
+
import type { UseChartBrushSignature } from "./useChartBrush.types.mjs";
|
|
3
3
|
export declare const useChartBrush: ChartPlugin<UseChartBrushSignature>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartPlugin } from "../../models/index.js";
|
|
2
|
+
import type { UseChartBrushSignature } from "./useChartBrush.types.js";
|
|
3
3
|
export declare const useChartBrush: ChartPlugin<UseChartBrushSignature>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import type { DomainDefinition } from "./domain.mjs";
|
|
3
3
|
interface ComputeAxisAutoSizeOptions {
|
|
4
4
|
axis: DefaultedXAxis | DefaultedYAxis;
|
|
5
5
|
direction: 'x' | 'y';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { DomainDefinition } from "./domain.js";
|
|
3
3
|
interface ComputeAxisAutoSizeOptions {
|
|
4
4
|
axis: DefaultedXAxis | DefaultedYAxis;
|
|
5
5
|
direction: 'x' | 'y';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ScaleName } from "../../../../models/index.mjs";
|
|
3
|
+
import type { ChartsXAxisProps, ChartsAxisProps, ChartsYAxisProps, AxisId, DefaultedXAxis, DefaultedYAxis, DefaultedAxis, D3Scale } from "../../../../models/axis.mjs";
|
|
4
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.mjs";
|
|
5
5
|
import type { ChartDrawingArea } from "../../../../hooks/index.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
|
|
7
|
+
import type { ComputedAxisConfig } from "./useChartCartesianAxis.types.mjs";
|
|
8
|
+
import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
|
|
9
|
+
import type { ZoomData } from "./zoom.types.mjs";
|
|
10
10
|
export declare function resolveAxisSize(axis: DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>, autoSizes: Record<AxisId, number> | undefined, direction: 'x' | 'y'): number;
|
|
11
11
|
export type ComputeResult<T extends ChartsAxisProps> = {
|
|
12
12
|
axis: ComputedAxisConfig<T>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { ScaleName } from "../../../../models/index.js";
|
|
3
|
+
import type { ChartsXAxisProps, ChartsAxisProps, ChartsYAxisProps, AxisId, DefaultedXAxis, DefaultedYAxis, DefaultedAxis, D3Scale } from "../../../../models/axis.js";
|
|
4
|
+
import type { ChartSeriesType } from "../../../../models/seriesType/config.js";
|
|
5
5
|
import type { ChartDrawingArea } from "../../../../hooks/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import type { ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
|
|
7
|
+
import type { ComputedAxisConfig } from "./useChartCartesianAxis.types.js";
|
|
8
|
+
import type { ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
|
|
9
|
+
import type { ZoomData } from "./zoom.types.js";
|
|
10
10
|
export declare function resolveAxisSize(axis: DefaultedAxis<ScaleName, any, Readonly<ChartsAxisProps>>, autoSizes: Record<AxisId, number> | undefined, direction: 'x' | 'y'): number;
|
|
11
11
|
export type ComputeResult<T extends ChartsAxisProps> = {
|
|
12
12
|
axis: ComputedAxisConfig<T>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisConfig } from "../../../../models/index.mjs";
|
|
3
|
+
import type { ExtremumFilter } from "./useChartCartesianAxis.types.mjs";
|
|
4
|
+
import type { GetZoomAxisFilters, ZoomAxisFilters } from "./zoom.types.mjs";
|
|
5
5
|
export declare function createDiscreteScaleGetAxisFilter(axisData: AxisConfig['data'], zoomStart: number, zoomEnd: number, direction: 'x' | 'y'): ExtremumFilter;
|
|
6
6
|
export declare function createContinuousScaleGetAxisFilter(domain: readonly NumberValue[], zoomStart: number, zoomEnd: number, direction: 'x' | 'y', axisData: AxisConfig['data']): ExtremumFilter;
|
|
7
7
|
export declare const createGetAxisFilters: (filters: ZoomAxisFilters) => GetZoomAxisFilters;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisConfig } from "../../../../models/index.js";
|
|
3
|
+
import type { ExtremumFilter } from "./useChartCartesianAxis.types.js";
|
|
4
|
+
import type { GetZoomAxisFilters, ZoomAxisFilters } from "./zoom.types.js";
|
|
5
5
|
export declare function createDiscreteScaleGetAxisFilter(axisData: AxisConfig['data'], zoomStart: number, zoomEnd: number, direction: 'x' | 'y'): ExtremumFilter;
|
|
6
6
|
export declare function createContinuousScaleGetAxisFilter(domain: readonly NumberValue[], zoomStart: number, zoomEnd: number, direction: 'x' | 'y', axisData: AxisConfig['data']): ExtremumFilter;
|
|
7
7
|
export declare const createGetAxisFilters: (filters: ZoomAxisFilters) => GetZoomAxisFilters;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AxisConfig, ScaleName } from "../../../../models/index.mjs";
|
|
2
2
|
import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
|
|
4
4
|
export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AxisConfig, ScaleName } from "../../../../models/index.js";
|
|
2
2
|
import type { AxisId, ChartsCartesianAxisProps } from "../../../../models/axis.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
|
|
4
4
|
export declare const createZoomLookup: (axisDirection: "x" | "y") => (axes?: AxisConfig<ScaleName, any, ChartsCartesianAxisProps>[]) => Record<AxisId, DefaultizedZoomOptions>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ZoomOptions } from "./zoom.types.mjs";
|
|
2
|
+
import type { XAxis, YAxis } from "../../../../models/index.mjs";
|
|
3
|
+
import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
|
|
4
|
+
import type { DatasetType } from "../../../../models/seriesType/config.mjs";
|
|
5
5
|
type InXAxis = XAxis & {
|
|
6
6
|
zoom?: boolean | ZoomOptions;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ZoomOptions } from "./zoom.types.js";
|
|
2
|
+
import type { XAxis, YAxis } from "../../../../models/index.js";
|
|
3
|
+
import type { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
|
|
4
|
+
import type { DatasetType } from "../../../../models/seriesType/config.js";
|
|
5
5
|
type InXAxis = XAxis & {
|
|
6
6
|
zoom?: boolean | ZoomOptions;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { AxisId, ScaleName } from "../../../../models/axis.mjs";
|
|
2
|
+
import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.mjs";
|
|
3
|
+
import type { ZoomOptions } from "./zoom.types.mjs";
|
|
4
4
|
/**
|
|
5
5
|
* Ordinal Y axes (band/point) render with `domain[0]` at the top of the chart
|
|
6
6
|
* (see the `range.reverse()` applied in `selectorChartYScales`), which is the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { AxisId, ScaleName } from "../../../../models/axis.js";
|
|
2
|
+
import type { DefaultizedZoomOptions } from "./useChartCartesianAxis.types.js";
|
|
3
|
+
import type { ZoomOptions } from "./zoom.types.js";
|
|
4
4
|
/**
|
|
5
5
|
* Ordinal Y axes (band/point) render with `domain[0]` at the top of the chart
|
|
6
6
|
* (see the `range.reverse()` applied in `selectorChartYScales`), which is the
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
/**
|
|
6
|
-
* Calculates the initial domain and tick number for a given axis.
|
|
7
|
-
* The domain should still run through the zoom filterMode after this step.
|
|
8
|
-
*/
|
|
9
|
-
export declare function calculateInitialDomainAndTickNumber(axis: DefaultedAxis<ContinuousScaleName>, axisDirection: 'x' | 'y', axisIndex: number, formattedSeries: ProcessedSeries, [minData, maxData]: [number | Date, number | Date], defaultTickNumber: number): {
|
|
10
|
-
domain: [NumberValue, NumberValue];
|
|
11
|
-
tickNumber: number;
|
|
12
|
-
};
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisId, ContinuousScaleName, DefaultedAxis, DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.mjs";
|
|
3
|
+
import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.mjs";
|
|
4
|
+
import type { TickParams } from "../../../../hooks/useTicks.mjs";
|
|
13
5
|
/**
|
|
14
6
|
* Calculates the final domain for an axis.
|
|
15
7
|
* After this step, the domain can be used to create the axis scale.
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
/**
|
|
6
|
-
* Calculates the initial domain and tick number for a given axis.
|
|
7
|
-
* The domain should still run through the zoom filterMode after this step.
|
|
8
|
-
*/
|
|
9
|
-
export declare function calculateInitialDomainAndTickNumber(axis: DefaultedAxis<ContinuousScaleName>, axisDirection: 'x' | 'y', axisIndex: number, formattedSeries: ProcessedSeries, [minData, maxData]: [number | Date, number | Date], defaultTickNumber: number): {
|
|
10
|
-
domain: [NumberValue, NumberValue];
|
|
11
|
-
tickNumber: number;
|
|
12
|
-
};
|
|
1
|
+
import type { NumberValue } from '@mui/x-charts-vendor/d3-scale';
|
|
2
|
+
import type { AxisId, ContinuousScaleName, DefaultedAxis, DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
|
|
3
|
+
import type { ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
|
|
4
|
+
import type { TickParams } from "../../../../hooks/useTicks.js";
|
|
13
5
|
/**
|
|
14
6
|
* Calculates the final domain for an axis.
|
|
15
7
|
* After this step, the domain can be used to create the axis scale.
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.calculateFinalDomain = calculateFinalDomain;
|
|
7
|
-
exports.calculateInitialDomainAndTickNumber = calculateInitialDomainAndTickNumber;
|
|
8
7
|
exports.computeAxisDomainsMap = computeAxisDomainsMap;
|
|
9
8
|
var _axis = require("../../../../models/axis");
|
|
10
9
|
var _getScale = require("../../../getScale");
|
|
@@ -73,7 +72,7 @@ function getActualAxisExtrema(axisExtrema, minData, maxData) {
|
|
|
73
72
|
if ('max' in axisExtrema && axisExtrema.max != null && axisExtrema.max < minData) {
|
|
74
73
|
min = axisExtrema.max;
|
|
75
74
|
}
|
|
76
|
-
if ('min' in axisExtrema && axisExtrema.min != null && axisExtrema.min >
|
|
75
|
+
if ('min' in axisExtrema && axisExtrema.min != null && axisExtrema.min > maxData) {
|
|
77
76
|
max = axisExtrema.min;
|
|
78
77
|
}
|
|
79
78
|
if (!('min' in axisExtrema) && !('max' in axisExtrema)) {
|