@mui/x-charts 8.21.0 → 8.22.1
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.ts +2 -2
- package/BarChart/BarChart.d.ts +14 -14
- package/BarChart/BarChart.js +22 -1
- package/BarChart/BarChart.plugins.d.ts +9 -8
- package/BarChart/BarChart.plugins.js +2 -1
- package/BarChart/BarElement.d.ts +3 -3
- package/BarChart/BarElement.js +1 -2
- package/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/BarChart/BarLabel/BarLabel.js +12 -8
- package/BarChart/BarLabel/BarLabel.types.d.ts +5 -5
- package/BarChart/BarLabel/BarLabelItem.d.ts +5 -5
- package/BarChart/BarLabel/BarLabelPlot.d.ts +13 -13
- package/BarChart/BarLabel/getBarLabel.d.ts +6 -6
- package/BarChart/BarPlot.d.ts +4 -4
- package/BarChart/BarPlot.js +4 -1
- package/BarChart/FocusedBar.d.ts +2 -0
- package/BarChart/FocusedBar.js +68 -0
- package/BarChart/barElementClasses.d.ts +1 -1
- package/BarChart/checkBarChartScaleErrors.d.ts +2 -2
- package/BarChart/index.d.ts +1 -0
- package/BarChart/index.js +12 -0
- package/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
- package/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +19 -2
- package/BarChart/seriesConfig/bar/legend.d.ts +1 -1
- package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
- package/BarChart/seriesConfig/bar/tooltipPosition.js +2 -2
- package/BarChart/seriesConfig/index.d.ts +1 -1
- package/BarChart/useBarChartProps.d.ts +9 -9
- package/BarChart/useBarPlotData.d.ts +5 -20
- package/BarChart/useBarPlotData.js +2 -46
- package/CHANGELOG.md +238 -1
- package/ChartContainer/ChartContainer.d.ts +5 -5
- package/ChartContainer/ChartContainer.js +30 -0
- package/ChartContainer/useChartContainerProps.d.ts +6 -6
- package/ChartDataProvider/ChartDataProvider.d.ts +6 -6
- package/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
- package/ChartsAxis/ChartsAxis.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -3
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -3
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +6 -7
- package/ChartsGrid/ChartsGrid.d.ts +1 -1
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.js +2 -1
- package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/ChartsGrid/ChartsVerticalGrid.js +2 -1
- package/ChartsLabel/ChartsLabel.d.ts +2 -2
- package/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.ts +2 -2
- package/ChartsLegend/ChartsLegend.d.ts +2 -2
- package/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
- package/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
- package/ChartsLegend/chartsLegend.types.d.ts +3 -3
- package/ChartsLegend/colorLegend.types.d.ts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/ChartsLegend/legend.types.d.ts +1 -1
- package/ChartsLegend/legendContext.types.d.ts +3 -3
- package/ChartsLegend/onClickContextBuilder.d.ts +1 -1
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
- package/ChartsLegend/useAxis.d.ts +3 -3
- package/ChartsOverlay/ChartsOverlay.d.ts +2 -2
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/common.d.ts +3 -3
- package/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/ChartsSurface/ChartsSurface.js +8 -21
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsText/defaultTextPlacement.d.ts +1 -1
- package/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltip.d.ts +2 -2
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
- package/ChartsTooltip/ChartsTooltipContainer.js +6 -6
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/useAxesTooltip.d.ts +1 -1
- package/ChartsTooltip/useAxisTooltip.d.ts +4 -4
- package/ChartsTooltip/useAxisTooltip.js +3 -4
- package/ChartsTooltip/useItemTooltip.d.ts +2 -2
- package/ChartsTooltip/useItemTooltip.js +3 -4
- package/ChartsWrapper/ChartsWrapper.d.ts +3 -3
- package/ChartsWrapper/ChartsWrapper.js +2 -3
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
- package/ChartsXAxis/ChartsXAxisImpl.js +7 -3
- package/ChartsXAxis/getVisibleLabels.d.ts +2 -2
- package/ChartsXAxis/shortenLabels.d.ts +3 -3
- package/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
- package/ChartsXAxis/utilities.d.ts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +7 -3
- package/ChartsYAxis/shortenLabels.d.ts +3 -3
- package/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
- package/ChartsYAxis/utilities.d.ts +1 -1
- package/Gauge/Gauge.d.ts +3 -3
- package/Gauge/GaugeContainer.d.ts +4 -4
- package/Gauge/GaugeValueText.d.ts +1 -1
- package/LineChart/AppearingMask.d.ts +1 -1
- package/LineChart/AreaElement.d.ts +3 -3
- package/LineChart/AreaPlot.d.ts +2 -2
- package/LineChart/AreaPlot.js +4 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/CircleMarkElement.js +1 -1
- package/LineChart/FocusedLineMark.d.ts +1 -0
- package/LineChart/{FocusedMark.js → FocusedLineMark.js} +2 -2
- package/LineChart/LineChart.d.ts +17 -17
- package/LineChart/LineChart.js +22 -2
- package/LineChart/LineChart.plugins.d.ts +9 -8
- package/LineChart/LineChart.plugins.js +2 -1
- package/LineChart/LineElement.d.ts +3 -3
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightPlot.d.ts +2 -2
- package/LineChart/LineHighlightPlot.js +1 -2
- package/LineChart/LinePlot.d.ts +2 -2
- package/LineChart/LinePlot.js +4 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkElement.js +1 -1
- package/LineChart/MarkPlot.d.ts +3 -3
- package/LineChart/MarkPlot.js +45 -116
- package/LineChart/index.d.ts +1 -0
- package/LineChart/index.js +12 -0
- package/LineChart/markElementClasses.d.ts +1 -1
- package/LineChart/seriesConfig/extremums.d.ts +1 -1
- package/LineChart/seriesConfig/getColor.d.ts +1 -1
- package/LineChart/seriesConfig/index.d.ts +1 -1
- package/LineChart/seriesConfig/legend.d.ts +1 -1
- package/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/LineChart/seriesConfig/seriesProcessor.js +3 -3
- package/LineChart/useAreaPlotData.d.ts +3 -3
- package/LineChart/useLineChartProps.d.ts +12 -12
- package/LineChart/useLinePlotData.d.ts +3 -3
- package/LineChart/useMarkPlotData.d.ts +18 -0
- package/LineChart/useMarkPlotData.js +105 -0
- package/PieChart/FocusedPieArc.d.ts +2 -0
- package/PieChart/FocusedPieArc.js +58 -0
- package/PieChart/PieArc.d.ts +1 -1
- package/PieChart/PieArcLabel.d.ts +1 -1
- package/PieChart/PieArcLabel.js +4 -1
- package/PieChart/PieArcLabelPlot.d.ts +2 -2
- package/PieChart/PieArcPlot.d.ts +2 -2
- package/PieChart/PieArcPlot.js +3 -31
- package/PieChart/PieChart.d.ts +11 -11
- package/PieChart/PieChart.js +2 -1
- package/PieChart/PieChart.plugins.d.ts +6 -5
- package/PieChart/PieChart.plugins.js +2 -1
- package/PieChart/PiePlot.d.ts +2 -2
- package/PieChart/PiePlot.js +9 -53
- package/PieChart/dataTransform/getModifiedArcProperties.d.ts +11 -0
- package/PieChart/dataTransform/getModifiedArcProperties.js +42 -0
- package/PieChart/dataTransform/useTransformData.d.ts +1 -1
- package/PieChart/dataTransform/useTransformData.js +15 -20
- package/PieChart/getPieCoordinates.d.ts +2 -2
- package/PieChart/seriesConfig/getColor.d.ts +1 -1
- package/PieChart/seriesConfig/index.d.ts +1 -1
- package/PieChart/seriesConfig/index.js +2 -0
- package/PieChart/seriesConfig/legend.d.ts +1 -1
- package/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
- package/PieChart/seriesConfig/seriesLayout.js +48 -0
- package/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/PieChart/seriesConfig/tooltipPosition.js +11 -20
- package/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
- package/RadarChart/RadarAxis/useRadarAxis.js +1 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +3 -4
- package/RadarChart/RadarChart.d.ts +11 -11
- package/RadarChart/RadarChart.plugins.d.ts +6 -5
- package/RadarChart/RadarChart.plugins.js +2 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
- package/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
- package/RadarChart/RadarGrid/useRadarGridData.js +1 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +1 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/seriesConfig/extremums.d.ts +1 -1
- package/RadarChart/seriesConfig/getColor.d.ts +1 -1
- package/RadarChart/seriesConfig/index.d.ts +1 -1
- package/RadarChart/seriesConfig/index.js +2 -2
- package/RadarChart/seriesConfig/legend.d.ts +1 -1
- package/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/RadarChart/seriesConfig/seriesProcessor.js +29 -0
- package/RadarChart/useRadarChartProps.d.ts +7 -7
- package/RadarChart/useRadarChartProps.js +3 -1
- package/ScatterChart/BatchScatter.d.ts +4 -4
- package/ScatterChart/BatchScatter.js +4 -5
- package/ScatterChart/FocusedScatterMark.d.ts +2 -0
- package/ScatterChart/FocusedScatterMark.js +51 -0
- package/ScatterChart/Scatter.d.ts +5 -5
- package/ScatterChart/Scatter.js +2 -11
- package/ScatterChart/ScatterChart.d.ts +16 -16
- package/ScatterChart/ScatterChart.js +22 -1
- package/ScatterChart/ScatterChart.plugins.d.ts +10 -9
- package/ScatterChart/ScatterChart.plugins.js +2 -1
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterMarker.types.d.ts +1 -1
- package/ScatterChart/ScatterPlot.d.ts +1 -1
- package/ScatterChart/index.d.ts +1 -0
- package/ScatterChart/index.js +12 -0
- package/ScatterChart/seriesConfig/extremums.d.ts +1 -1
- package/ScatterChart/seriesConfig/getColor.d.ts +1 -1
- package/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/ScatterChart/seriesConfig/legend.d.ts +1 -1
- package/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/ScatterChart/useScatterChartProps.d.ts +7 -7
- package/ScatterChart/useScatterPlotData.d.ts +3 -3
- package/SparkLineChart/SparkLineChart.d.ts +12 -12
- package/SparkLineChart/SparkLineChart.js +22 -2
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Toolbar/Toolbar.types.d.ts +1 -1
- package/Toolbar/ToolbarButton.d.ts +2 -2
- package/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
- package/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
- package/colorPalettes/categorical/mangoFusion.d.ts +1 -1
- package/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
- package/colorPalettes/sequential/blue.d.ts +1 -1
- package/colorPalettes/sequential/cyan.d.ts +1 -1
- package/colorPalettes/sequential/green.d.ts +1 -1
- package/colorPalettes/sequential/orange.d.ts +1 -1
- package/colorPalettes/sequential/pink.d.ts +1 -1
- package/colorPalettes/sequential/purple.d.ts +1 -1
- package/colorPalettes/sequential/red.d.ts +1 -1
- package/colorPalettes/sequential/strawberrySky.d.ts +1 -1
- package/colorPalettes/sequential/yellow.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.d.ts +3 -3
- package/context/ChartProvider/ChartProvider.js +2 -1
- package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
- package/context/ChartProvider/useChartContext.d.ts +2 -2
- package/context/ChartsSlotsContext.d.ts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/esm/BarChart/AnimatedBarElement.d.ts +2 -2
- package/esm/BarChart/BarChart.d.ts +14 -14
- package/esm/BarChart/BarChart.js +22 -1
- package/esm/BarChart/BarChart.plugins.d.ts +9 -8
- package/esm/BarChart/BarChart.plugins.js +2 -1
- package/esm/BarChart/BarElement.d.ts +3 -3
- package/esm/BarChart/BarElement.js +1 -2
- package/esm/BarChart/BarLabel/BarLabel.d.ts +1 -1
- package/esm/BarChart/BarLabel/BarLabel.js +12 -8
- package/esm/BarChart/BarLabel/BarLabel.types.d.ts +5 -5
- package/esm/BarChart/BarLabel/BarLabelItem.d.ts +5 -5
- package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +13 -13
- package/esm/BarChart/BarLabel/getBarLabel.d.ts +6 -6
- package/esm/BarChart/BarPlot.d.ts +4 -4
- package/esm/BarChart/BarPlot.js +4 -1
- package/esm/BarChart/FocusedBar.d.ts +2 -0
- package/esm/BarChart/FocusedBar.js +61 -0
- package/esm/BarChart/barElementClasses.d.ts +1 -1
- package/esm/BarChart/checkBarChartScaleErrors.d.ts +2 -2
- package/esm/BarChart/index.d.ts +1 -0
- package/esm/BarChart/index.js +1 -0
- package/esm/BarChart/seriesConfig/bar/extremums.d.ts +1 -1
- package/esm/BarChart/seriesConfig/bar/getColor.d.ts +1 -1
- package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +19 -2
- package/esm/BarChart/seriesConfig/bar/legend.d.ts +1 -1
- package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +1 -1
- package/esm/BarChart/seriesConfig/bar/tooltipPosition.js +1 -1
- package/esm/BarChart/seriesConfig/index.d.ts +1 -1
- package/esm/BarChart/useBarChartProps.d.ts +9 -9
- package/esm/BarChart/useBarPlotData.d.ts +5 -20
- package/esm/BarChart/useBarPlotData.js +1 -44
- package/esm/ChartContainer/ChartContainer.d.ts +5 -5
- package/esm/ChartContainer/ChartContainer.js +30 -0
- package/esm/ChartContainer/useChartContainerProps.d.ts +6 -6
- package/esm/ChartDataProvider/ChartDataProvider.d.ts +6 -6
- package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +5 -5
- package/esm/ChartsAxis/ChartsAxis.d.ts +1 -1
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -1
- package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +1 -1
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -2
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +2 -3
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -2
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +2 -3
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.js +6 -7
- package/esm/ChartsGrid/ChartsGrid.d.ts +1 -1
- package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -2
- package/esm/ChartsGrid/ChartsHorizontalGrid.js +2 -1
- package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +2 -2
- package/esm/ChartsGrid/ChartsVerticalGrid.js +2 -1
- package/esm/ChartsLabel/ChartsLabel.d.ts +2 -2
- package/esm/ChartsLabel/ChartsLabelGradient.d.ts +2 -2
- package/esm/ChartsLabel/ChartsLabelMark.d.ts +2 -2
- package/esm/ChartsLegend/ChartsLegend.d.ts +2 -2
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +6 -6
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +8 -8
- package/esm/ChartsLegend/chartsLegend.types.d.ts +3 -3
- package/esm/ChartsLegend/colorLegend.types.d.ts +1 -1
- package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/esm/ChartsLegend/legend.types.d.ts +1 -1
- package/esm/ChartsLegend/legendContext.types.d.ts +3 -3
- package/esm/ChartsLegend/onClickContextBuilder.d.ts +1 -1
- package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +1 -1
- package/esm/ChartsLegend/useAxis.d.ts +3 -3
- package/esm/ChartsOverlay/ChartsOverlay.d.ts +2 -2
- package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +3 -3
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
- package/esm/ChartsReferenceLine/common.d.ts +3 -3
- package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/esm/ChartsSurface/ChartsSurface.js +8 -21
- package/esm/ChartsText/ChartsText.d.ts +1 -1
- package/esm/ChartsText/defaultTextPlacement.d.ts +1 -1
- package/esm/ChartsTooltip/ChartTooltip.types.d.ts +1 -1
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +2 -2
- package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -2
- package/esm/ChartsTooltip/ChartsTooltip.d.ts +2 -2
- package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +3 -3
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +6 -6
- package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/esm/ChartsTooltip/useAxesTooltip.d.ts +1 -1
- package/esm/ChartsTooltip/useAxisTooltip.d.ts +4 -4
- package/esm/ChartsTooltip/useAxisTooltip.js +3 -4
- package/esm/ChartsTooltip/useItemTooltip.d.ts +2 -2
- package/esm/ChartsTooltip/useItemTooltip.js +3 -4
- package/esm/ChartsWrapper/ChartsWrapper.d.ts +3 -3
- package/esm/ChartsWrapper/ChartsWrapper.js +2 -3
- package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -1
- package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +3 -1
- package/esm/ChartsXAxis/ChartsSingleXAxisTicks.js +4 -2
- package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -2
- package/esm/ChartsXAxis/ChartsXAxisImpl.js +7 -3
- package/esm/ChartsXAxis/getVisibleLabels.d.ts +2 -2
- package/esm/ChartsXAxis/shortenLabels.d.ts +3 -3
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +20 -2
- package/esm/ChartsXAxis/utilities.d.ts +1 -1
- package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -1
- package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +3 -1
- package/esm/ChartsYAxis/ChartsSingleYAxisTicks.js +4 -2
- package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -2
- package/esm/ChartsYAxis/ChartsYAxisImpl.js +7 -3
- package/esm/ChartsYAxis/shortenLabels.d.ts +3 -3
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +20 -2
- package/esm/ChartsYAxis/utilities.d.ts +1 -1
- package/esm/Gauge/Gauge.d.ts +3 -3
- package/esm/Gauge/GaugeContainer.d.ts +4 -4
- package/esm/Gauge/GaugeValueText.d.ts +1 -1
- package/esm/LineChart/AppearingMask.d.ts +1 -1
- package/esm/LineChart/AreaElement.d.ts +3 -3
- package/esm/LineChart/AreaPlot.d.ts +2 -2
- package/esm/LineChart/AreaPlot.js +4 -1
- package/esm/LineChart/CircleMarkElement.d.ts +1 -1
- package/esm/LineChart/CircleMarkElement.js +1 -1
- package/esm/LineChart/FocusedLineMark.d.ts +1 -0
- package/esm/LineChart/{FocusedMark.js → FocusedLineMark.js} +1 -1
- package/esm/LineChart/LineChart.d.ts +17 -17
- package/esm/LineChart/LineChart.js +22 -2
- package/esm/LineChart/LineChart.plugins.d.ts +9 -8
- package/esm/LineChart/LineChart.plugins.js +2 -1
- package/esm/LineChart/LineElement.d.ts +3 -3
- package/esm/LineChart/LineHighlightElement.d.ts +1 -1
- package/esm/LineChart/LineHighlightPlot.d.ts +2 -2
- package/esm/LineChart/LineHighlightPlot.js +1 -2
- package/esm/LineChart/LinePlot.d.ts +2 -2
- package/esm/LineChart/LinePlot.js +4 -1
- package/esm/LineChart/MarkElement.d.ts +1 -1
- package/esm/LineChart/MarkElement.js +1 -1
- package/esm/LineChart/MarkPlot.d.ts +3 -3
- package/esm/LineChart/MarkPlot.js +45 -116
- package/esm/LineChart/index.d.ts +1 -0
- package/esm/LineChart/index.js +1 -0
- package/esm/LineChart/markElementClasses.d.ts +1 -1
- package/esm/LineChart/seriesConfig/extremums.d.ts +1 -1
- package/esm/LineChart/seriesConfig/getColor.d.ts +1 -1
- package/esm/LineChart/seriesConfig/index.d.ts +1 -1
- package/esm/LineChart/seriesConfig/legend.d.ts +1 -1
- package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/esm/LineChart/seriesConfig/seriesProcessor.js +3 -3
- package/esm/LineChart/useAreaPlotData.d.ts +3 -3
- package/esm/LineChart/useLineChartProps.d.ts +12 -12
- package/esm/LineChart/useLinePlotData.d.ts +3 -3
- package/esm/LineChart/useMarkPlotData.d.ts +18 -0
- package/esm/LineChart/useMarkPlotData.js +97 -0
- package/esm/PieChart/FocusedPieArc.d.ts +2 -0
- package/esm/PieChart/FocusedPieArc.js +51 -0
- package/esm/PieChart/PieArc.d.ts +1 -1
- package/esm/PieChart/PieArcLabel.d.ts +1 -1
- package/esm/PieChart/PieArcLabel.js +4 -1
- package/esm/PieChart/PieArcLabelPlot.d.ts +2 -2
- package/esm/PieChart/PieArcPlot.d.ts +2 -2
- package/esm/PieChart/PieArcPlot.js +5 -33
- package/esm/PieChart/PieChart.d.ts +11 -11
- package/esm/PieChart/PieChart.js +2 -1
- package/esm/PieChart/PieChart.plugins.d.ts +6 -5
- package/esm/PieChart/PieChart.plugins.js +2 -1
- package/esm/PieChart/PiePlot.d.ts +2 -2
- package/esm/PieChart/PiePlot.js +10 -54
- package/esm/PieChart/dataTransform/getModifiedArcProperties.d.ts +11 -0
- package/esm/PieChart/dataTransform/getModifiedArcProperties.js +36 -0
- package/esm/PieChart/dataTransform/useTransformData.d.ts +1 -1
- package/esm/PieChart/dataTransform/useTransformData.js +15 -20
- package/esm/PieChart/getPieCoordinates.d.ts +2 -2
- package/esm/PieChart/seriesConfig/getColor.d.ts +1 -1
- package/esm/PieChart/seriesConfig/index.d.ts +1 -1
- package/esm/PieChart/seriesConfig/index.js +2 -0
- package/esm/PieChart/seriesConfig/legend.d.ts +1 -1
- package/esm/PieChart/seriesConfig/seriesLayout.d.ts +3 -0
- package/esm/PieChart/seriesConfig/seriesLayout.js +42 -0
- package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/esm/PieChart/seriesConfig/tooltipPosition.js +11 -20
- package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +2 -2
- package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +1 -1
- package/esm/RadarChart/RadarAxis/useRadarAxis.js +1 -2
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
- package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +4 -4
- package/esm/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +3 -4
- package/esm/RadarChart/RadarChart.d.ts +11 -11
- package/esm/RadarChart/RadarChart.plugins.d.ts +6 -5
- package/esm/RadarChart/RadarChart.plugins.js +2 -1
- package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +6 -6
- package/esm/RadarChart/RadarDataProvider/radar.types.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -1
- package/esm/RadarChart/RadarGrid/useRadarGridData.js +1 -2
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +4 -4
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +4 -4
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +3 -3
- package/esm/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/esm/RadarChart/RadarSeriesPlot/useRadarRotationIndex.js +1 -2
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/extremums.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/getColor.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/index.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/index.js +2 -2
- package/esm/RadarChart/seriesConfig/legend.d.ts +1 -1
- package/esm/RadarChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/esm/RadarChart/seriesConfig/seriesProcessor.js +22 -0
- package/esm/RadarChart/useRadarChartProps.d.ts +7 -7
- package/esm/RadarChart/useRadarChartProps.js +3 -1
- package/esm/ScatterChart/BatchScatter.d.ts +4 -4
- package/esm/ScatterChart/BatchScatter.js +4 -5
- package/esm/ScatterChart/FocusedScatterMark.d.ts +2 -0
- package/esm/ScatterChart/FocusedScatterMark.js +44 -0
- package/esm/ScatterChart/Scatter.d.ts +5 -5
- package/esm/ScatterChart/Scatter.js +2 -11
- package/esm/ScatterChart/ScatterChart.d.ts +16 -16
- package/esm/ScatterChart/ScatterChart.js +22 -1
- package/esm/ScatterChart/ScatterChart.plugins.d.ts +10 -9
- package/esm/ScatterChart/ScatterChart.plugins.js +2 -1
- package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
- package/esm/ScatterChart/ScatterMarker.types.d.ts +1 -1
- package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
- package/esm/ScatterChart/index.d.ts +1 -0
- package/esm/ScatterChart/index.js +1 -0
- package/esm/ScatterChart/seriesConfig/extremums.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/getColor.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/legend.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +1 -1
- package/esm/ScatterChart/useScatterChartProps.d.ts +7 -7
- package/esm/ScatterChart/useScatterPlotData.d.ts +3 -3
- package/esm/SparkLineChart/SparkLineChart.d.ts +12 -12
- package/esm/SparkLineChart/SparkLineChart.js +22 -2
- package/esm/Toolbar/Toolbar.d.ts +1 -1
- package/esm/Toolbar/Toolbar.types.d.ts +1 -1
- package/esm/Toolbar/ToolbarButton.d.ts +2 -2
- package/esm/colorPalettes/categorical/blueberryTwilight.d.ts +1 -1
- package/esm/colorPalettes/categorical/cheerfulFiesta.d.ts +1 -1
- package/esm/colorPalettes/categorical/mangoFusion.d.ts +1 -1
- package/esm/colorPalettes/categorical/rainbowSurge.d.ts +1 -1
- package/esm/colorPalettes/sequential/blue.d.ts +1 -1
- package/esm/colorPalettes/sequential/cyan.d.ts +1 -1
- package/esm/colorPalettes/sequential/green.d.ts +1 -1
- package/esm/colorPalettes/sequential/orange.d.ts +1 -1
- package/esm/colorPalettes/sequential/pink.d.ts +1 -1
- package/esm/colorPalettes/sequential/purple.d.ts +1 -1
- package/esm/colorPalettes/sequential/red.d.ts +1 -1
- package/esm/colorPalettes/sequential/strawberrySky.d.ts +1 -1
- package/esm/colorPalettes/sequential/yellow.d.ts +1 -1
- package/esm/context/ChartProvider/ChartProvider.d.ts +3 -3
- package/esm/context/ChartProvider/ChartProvider.js +2 -1
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +2 -2
- package/esm/context/ChartProvider/useChartContext.d.ts +2 -2
- package/esm/context/ChartsSlotsContext.d.ts +1 -1
- package/esm/context/useChartApiContext.d.ts +1 -1
- package/esm/hooks/animation/useAnimate.d.ts +1 -1
- package/esm/hooks/animation/useAnimateArea.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBar.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
- package/esm/hooks/animation/useAnimateLine.d.ts +1 -1
- package/esm/hooks/animation/useAnimatePieArc.d.ts +1 -1
- package/esm/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
- package/esm/hooks/index.d.ts +1 -1
- package/esm/hooks/index.js +1 -1
- package/esm/hooks/useAxis.d.ts +1 -1
- package/esm/hooks/useAxis.js +8 -9
- package/esm/hooks/useAxisSystem.js +2 -3
- package/esm/hooks/useBarSeries.d.ts +3 -3
- package/esm/hooks/useBrush.js +1 -2
- package/esm/hooks/useChartGradientId.d.ts +1 -1
- package/esm/hooks/useChartId.js +1 -2
- package/esm/hooks/useChartRootRef.d.ts +1 -1
- package/esm/hooks/useColorScale.d.ts +1 -1
- package/esm/hooks/useDataset.d.ts +1 -1
- package/esm/hooks/useDataset.js +1 -2
- package/esm/hooks/useDrawingArea.js +1 -2
- package/esm/hooks/useFocusedItem.d.ts +2 -2
- package/esm/hooks/useFocusedItem.js +3 -4
- package/esm/hooks/useInteractionItemProps.d.ts +8 -6
- package/esm/hooks/useInteractionItemProps.js +17 -8
- package/esm/hooks/useIsItemFocused.d.ts +1 -1
- package/esm/hooks/useIsItemFocused.js +1 -2
- package/esm/hooks/useIsItemFocusedGetter.d.ts +1 -1
- package/esm/hooks/useItemHighlighted.d.ts +1 -1
- package/esm/hooks/useItemHighlighted.js +2 -3
- package/esm/hooks/useItemHighlightedGetter.js +2 -3
- package/esm/hooks/useLegend.js +1 -2
- package/esm/hooks/useLineSeries.d.ts +3 -3
- package/esm/hooks/usePieSeries.d.ts +10 -4
- package/esm/hooks/usePieSeries.js +12 -0
- package/esm/hooks/useRadarSeries.d.ts +3 -3
- package/esm/hooks/useScale.d.ts +1 -1
- package/esm/hooks/useScatterSeries.d.ts +3 -3
- package/esm/hooks/useSeries.js +1 -2
- package/esm/hooks/useSkipAnimation.js +1 -2
- package/esm/hooks/useSvgRef.d.ts +1 -1
- package/esm/hooks/useTicks.d.ts +9 -7
- package/esm/hooks/useTicks.js +94 -7
- package/esm/hooks/useTicksGrouped.d.ts +1 -1
- package/esm/hooks/useZAxis.js +1 -2
- package/esm/index.js +1 -1
- package/esm/internals/Flatbush.d.ts +0 -1
- package/esm/internals/Flatbush.js +1 -1
- package/esm/internals/colorScale.d.ts +3 -3
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
- package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
- package/esm/internals/components/NotRendered.d.ts +1 -1
- package/esm/internals/configInit.d.ts +1 -1
- package/esm/internals/createSvgIcon.d.ts +2 -2
- package/esm/internals/dateHelpers.d.ts +3 -3
- package/esm/internals/defaultValueFormatters.d.ts +1 -1
- package/esm/internals/domUtils.d.ts +1 -1
- package/esm/internals/findMinMax.d.ts +7 -0
- package/esm/internals/findMinMax.js +7 -0
- package/esm/internals/getBarDimensions.d.ts +17 -0
- package/esm/internals/getBarDimensions.js +44 -0
- package/esm/internals/getCurve.d.ts +1 -1
- package/esm/internals/getScale.d.ts +2 -2
- package/esm/internals/getSeriesColorFn.d.ts +1 -1
- package/esm/internals/getWordsByLines.d.ts +1 -1
- package/esm/internals/index.d.ts +1 -2
- package/esm/internals/index.js +1 -2
- package/esm/internals/invertScale.d.ts +1 -1
- package/esm/internals/invertTextAnchor.d.ts +1 -1
- package/esm/internals/isCartesian.d.ts +1 -1
- package/esm/internals/isPolar.d.ts +1 -1
- package/esm/internals/material/index.d.ts +2 -2
- package/esm/internals/plugins/allPlugins.d.ts +13 -12
- package/esm/internals/plugins/allPlugins.js +2 -1
- package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +1 -2
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -7
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -2
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +1 -2
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +5 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +7 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +1 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +15 -12
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +6 -3
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +1 -2
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -2
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +6 -7
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartTooltip/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +44 -0
- package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
- package/esm/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +6 -3
- package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +30 -0
- package/esm/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
- package/esm/internals/plugins/models/plugin.d.ts +4 -4
- package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
- package/esm/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +8 -7
- package/esm/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +7 -6
- package/esm/internals/plugins/utils/selectors.d.ts +2 -2
- package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
- package/esm/internals/scaleGuards.d.ts +1 -1
- package/esm/internals/scales/scaleSymlog.d.ts +1 -1
- package/esm/internals/seriesSelectorOfType.d.ts +5 -5
- package/esm/internals/seriesSelectorOfType.js +2 -3
- package/esm/internals/stackSeries.d.ts +50 -4
- package/esm/internals/store/extractPluginParamsFromProps.d.ts +3 -3
- package/esm/internals/store/useCharts.d.ts +4 -4
- package/esm/internals/store/useCharts.types.d.ts +2 -2
- package/esm/internals/store/useStore.d.ts +2 -2
- package/esm/locales/elGR.d.ts +1 -1
- package/esm/locales/enUS.d.ts +1 -1
- package/esm/locales/frFR.d.ts +1 -1
- package/esm/locales/nbNO.d.ts +1 -1
- package/esm/locales/ptBR.d.ts +1 -1
- package/esm/locales/ptPT.d.ts +1 -1
- package/esm/locales/svSE.d.ts +1 -1
- package/esm/locales/utils/chartsLocaleTextApi.d.ts +1 -1
- package/esm/locales/utils/getChartsLocalization.d.ts +1 -1
- package/esm/models/axis.d.ts +15 -6
- package/esm/models/index.d.ts +2 -1
- package/esm/models/seriesType/bar.d.ts +3 -3
- package/esm/models/seriesType/common.d.ts +5 -2
- package/esm/models/seriesType/config.d.ts +8 -10
- package/esm/models/seriesType/index.d.ts +2 -2
- package/esm/models/seriesType/line.d.ts +3 -3
- package/esm/models/seriesType/pie.d.ts +39 -4
- package/esm/models/seriesType/radar.d.ts +2 -2
- package/esm/models/seriesType/scatter.d.ts +2 -2
- package/esm/models/slots/chartsBaseSlots.d.ts +2 -2
- package/esm/models/timeTicks.d.ts +37 -0
- package/esm/models/timeTicks.js +1 -0
- package/esm/models/z-axis.d.ts +1 -1
- package/esm/plugins/index.d.ts +1 -0
- package/esm/plugins/index.js +1 -0
- package/esm/themeAugmentation/components.d.ts +1 -1
- package/esm/themeAugmentation/overrides.d.ts +7 -7
- package/esm/themeAugmentation/props.d.ts +12 -12
- package/esm/utils/index.d.ts +2 -1
- package/esm/utils/index.js +2 -1
- package/esm/utils/niceDomain.d.ts +2 -2
- package/esm/utils/timeTicks.d.ts +2 -0
- package/esm/utils/timeTicks.js +62 -0
- package/hooks/animation/useAnimate.d.ts +1 -1
- package/hooks/animation/useAnimateArea.d.ts +1 -1
- package/hooks/animation/useAnimateBar.d.ts +1 -1
- package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/hooks/animation/useAnimateGaugeValueArc.d.ts +1 -1
- package/hooks/animation/useAnimateLine.d.ts +1 -1
- package/hooks/animation/useAnimatePieArc.d.ts +1 -1
- package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -1
- package/hooks/index.d.ts +1 -1
- package/hooks/index.js +14 -11
- package/hooks/useAxis.d.ts +1 -1
- package/hooks/useAxis.js +8 -9
- package/hooks/useAxisSystem.js +2 -3
- package/hooks/useBarSeries.d.ts +3 -3
- package/hooks/useBrush.js +1 -2
- package/hooks/useChartGradientId.d.ts +1 -1
- package/hooks/useChartId.js +1 -2
- package/hooks/useChartRootRef.d.ts +1 -1
- package/hooks/useColorScale.d.ts +1 -1
- package/hooks/useDataset.d.ts +1 -1
- package/hooks/useDataset.js +1 -2
- package/hooks/useDrawingArea.js +1 -2
- package/hooks/useFocusedItem.d.ts +2 -2
- package/hooks/useFocusedItem.js +3 -4
- package/hooks/useInteractionItemProps.d.ts +8 -6
- package/hooks/useInteractionItemProps.js +17 -8
- package/hooks/useIsItemFocused.d.ts +1 -1
- package/hooks/useIsItemFocused.js +1 -2
- package/hooks/useIsItemFocusedGetter.d.ts +1 -1
- package/hooks/useItemHighlighted.d.ts +1 -1
- package/hooks/useItemHighlighted.js +2 -3
- package/hooks/useItemHighlightedGetter.js +2 -3
- package/hooks/useLegend.js +1 -2
- package/hooks/useLineSeries.d.ts +3 -3
- package/hooks/usePieSeries.d.ts +10 -4
- package/hooks/usePieSeries.js +13 -0
- package/hooks/useRadarSeries.d.ts +3 -3
- package/hooks/useScale.d.ts +1 -1
- package/hooks/useScatterSeries.d.ts +3 -3
- package/hooks/useSeries.js +1 -2
- package/hooks/useSkipAnimation.js +1 -2
- package/hooks/useSvgRef.d.ts +1 -1
- package/hooks/useTicks.d.ts +9 -7
- package/hooks/useTicks.js +95 -8
- package/hooks/useTicksGrouped.d.ts +1 -1
- package/hooks/useZAxis.js +1 -2
- package/index.js +1 -1
- package/internals/Flatbush.d.ts +0 -1
- package/internals/Flatbush.js +1 -1
- package/internals/colorScale.d.ts +3 -3
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -1
- package/internals/components/NotRendered.d.ts +1 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/createSvgIcon.d.ts +2 -2
- package/internals/dateHelpers.d.ts +3 -3
- package/internals/defaultValueFormatters.d.ts +1 -1
- package/internals/domUtils.d.ts +1 -1
- package/internals/findMinMax.d.ts +7 -0
- package/internals/findMinMax.js +7 -0
- package/internals/getBarDimensions.d.ts +17 -0
- package/internals/getBarDimensions.js +50 -0
- package/internals/getCurve.d.ts +1 -1
- package/internals/getScale.d.ts +2 -2
- package/internals/getSeriesColorFn.d.ts +1 -1
- package/internals/getWordsByLines.d.ts +1 -1
- package/internals/index.d.ts +1 -2
- package/internals/index.js +12 -24
- package/internals/invertScale.d.ts +1 -1
- package/internals/invertTextAnchor.d.ts +1 -1
- package/internals/isCartesian.d.ts +1 -1
- package/internals/isPolar.d.ts +1 -1
- package/internals/material/index.d.ts +2 -2
- package/internals/plugins/allPlugins.d.ts +13 -12
- package/internals/plugins/allPlugins.js +2 -1
- package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +1 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +2 -8
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +5 -5
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +1 -2
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.types.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +7 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +5 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +7 -67
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +6 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +1 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartClosestPoint/findClosestPoints.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +15 -12
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +8 -7
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +6 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -1
- package/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -12
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -30
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -6
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -3
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +8 -20
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/isFocusableSeriesType.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +6 -7
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/index.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartTooltip/index.js +27 -0
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.js +52 -0
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +26 -0
- package/internals/plugins/featurePlugins/{useChartInteraction → useChartTooltip}/useChartTooltip.selectors.js +7 -4
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +30 -0
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.js +5 -0
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +5 -5
- package/internals/plugins/models/plugin.d.ts +4 -4
- package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +4 -4
- package/internals/plugins/models/seriesConfig/seriesLayout.types.d.ts +2 -2
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +8 -7
- package/internals/plugins/models/seriesConfig/tooltipItemPositionGetter.types.d.ts +7 -6
- package/internals/plugins/utils/selectors.d.ts +2 -2
- package/internals/plugins/utils/useLazySelectorEffect.d.ts +1 -1
- package/internals/scaleGuards.d.ts +1 -1
- package/internals/scales/scaleSymlog.d.ts +1 -1
- package/internals/seriesSelectorOfType.d.ts +5 -5
- package/internals/seriesSelectorOfType.js +2 -3
- package/internals/stackSeries.d.ts +50 -4
- package/internals/store/extractPluginParamsFromProps.d.ts +3 -3
- package/internals/store/useCharts.d.ts +4 -4
- package/internals/store/useCharts.types.d.ts +2 -2
- package/internals/store/useStore.d.ts +2 -2
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/utils/chartsLocaleTextApi.d.ts +1 -1
- package/locales/utils/getChartsLocalization.d.ts +1 -1
- package/models/axis.d.ts +15 -6
- package/models/index.d.ts +2 -1
- package/models/seriesType/bar.d.ts +3 -3
- package/models/seriesType/common.d.ts +5 -2
- package/models/seriesType/config.d.ts +8 -10
- package/models/seriesType/index.d.ts +2 -2
- package/models/seriesType/line.d.ts +3 -3
- package/models/seriesType/pie.d.ts +39 -4
- package/models/seriesType/radar.d.ts +2 -2
- package/models/seriesType/scatter.d.ts +2 -2
- package/models/slots/chartsBaseSlots.d.ts +2 -2
- package/models/timeTicks.d.ts +37 -0
- package/models/timeTicks.js +5 -0
- package/models/z-axis.d.ts +1 -1
- package/package.json +3 -4
- package/plugins/index.d.ts +1 -0
- package/plugins/index.js +7 -0
- package/themeAugmentation/components.d.ts +1 -1
- package/themeAugmentation/overrides.d.ts +7 -7
- package/themeAugmentation/props.d.ts +12 -12
- package/utils/index.d.ts +2 -1
- package/utils/index.js +12 -1
- package/utils/niceDomain.d.ts +2 -2
- package/utils/timeTicks.d.ts +2 -0
- package/utils/timeTicks.js +68 -0
- package/LineChart/FocusedMark.d.ts +0 -1
- package/RadarChart/seriesConfig/formatter.d.ts +0 -3
- package/RadarChart/seriesConfig/formatter.js +0 -18
- package/esm/LineChart/FocusedMark.d.ts +0 -1
- package/esm/RadarChart/seriesConfig/formatter.d.ts +0 -3
- package/esm/RadarChart/seriesConfig/formatter.js +0 -12
- package/esm/internals/defaultizeValueFormatter.d.ts +0 -6
- package/esm/internals/defaultizeValueFormatter.js +0 -10
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
- package/esm/internals/store/useSelector.d.ts +0 -2
- package/esm/internals/store/useSelector.js +0 -2
- package/internals/defaultizeValueFormatter.d.ts +0 -6
- package/internals/defaultizeValueFormatter.js +0 -17
- package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +0 -12
- package/internals/store/useSelector.d.ts +0 -2
- package/internals/store/useSelector.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsXAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
|
|
2
2
|
interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
3
|
-
axis: ComputedAxis<
|
|
3
|
+
axis: ComputedAxis<ScaleName, any, ChartsXAxisProps>;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* @ignore - internal component. Use `ChartsXAxis` instead.
|
|
@@ -23,7 +23,7 @@ var _domUtils = require("../internals/domUtils");
|
|
|
23
23
|
var _AxisSharedComponents = require("../internals/components/AxisSharedComponents");
|
|
24
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
25
|
const _excluded = ["axis"],
|
|
26
|
-
_excluded2 = ["scale", "tickNumber", "reverse"];
|
|
26
|
+
_excluded2 = ["scale", "tickNumber", "reverse", "ordinalTimeTicks"];
|
|
27
27
|
const XAxisRoot = (0, _styles.styled)(_AxisSharedComponents.AxisRoot, {
|
|
28
28
|
name: 'MuiChartsXAxis',
|
|
29
29
|
slot: 'Root'
|
|
@@ -36,8 +36,11 @@ function ChartsXAxisImpl(_ref) {
|
|
|
36
36
|
axis
|
|
37
37
|
} = _ref,
|
|
38
38
|
inProps = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
39
|
+
// @ts-expect-error ordinalTimeTicks may not be present on all axis types
|
|
40
|
+
// Should be set to never, but this causes other issues with proptypes generator.
|
|
39
41
|
const {
|
|
40
|
-
scale: xScale
|
|
42
|
+
scale: xScale,
|
|
43
|
+
ordinalTimeTicks
|
|
41
44
|
} = axis,
|
|
42
45
|
settings = (0, _objectWithoutPropertiesLoose2.default)(axis, _excluded2);
|
|
43
46
|
|
|
@@ -94,7 +97,8 @@ function ChartsXAxisImpl(_ref) {
|
|
|
94
97
|
let children = null;
|
|
95
98
|
if (!skipTickRendering) {
|
|
96
99
|
children = 'groups' in axis && Array.isArray(axis.groups) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGroupedXAxisTicks.ChartsGroupedXAxisTicks, (0, _extends2.default)({}, inProps)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsSingleXAxisTicks.ChartsSingleXAxisTicks, (0, _extends2.default)({}, inProps, {
|
|
97
|
-
axisLabelHeight: labelHeight
|
|
100
|
+
axisLabelHeight: labelHeight,
|
|
101
|
+
ordinalTimeTicks: ordinalTimeTicks
|
|
98
102
|
}));
|
|
99
103
|
}
|
|
100
104
|
const labelRefPoint = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TickItemType } from "../hooks/useTicks.js";
|
|
2
|
-
import { ChartsXAxisProps, ComputedXAxis } from "../models/axis.js";
|
|
1
|
+
import { type TickItemType } from "../hooks/useTicks.js";
|
|
2
|
+
import { type ChartsXAxisProps, type ComputedXAxis } from "../models/axis.js";
|
|
3
3
|
export declare function getVisibleLabels<T extends TickItemType>(xTicks: T[], {
|
|
4
4
|
tickLabelStyle: style,
|
|
5
5
|
tickLabelInterval,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TickItemType } from "../hooks/useTicks.js";
|
|
2
|
-
import { ChartsXAxisProps } from "../models/axis.js";
|
|
3
|
-
import { ChartDrawingArea } from "../hooks/useDrawingArea.js";
|
|
1
|
+
import { type TickItemType } from "../hooks/useTicks.js";
|
|
2
|
+
import { type ChartsXAxisProps } from "../models/axis.js";
|
|
3
|
+
import { type ChartDrawingArea } from "../hooks/useDrawingArea.js";
|
|
4
4
|
export declare function shortenLabels(visibleLabels: Set<TickItemType>, drawingArea: Pick<ChartDrawingArea, 'left' | 'width' | 'right'>, maxHeight: number, isRtl: boolean, tickLabelStyle: ChartsXAxisProps['tickLabelStyle']): Map<TickItemType, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartsXAxisProps } from "../models/axis.js";
|
|
2
|
-
import { ChartsText, ChartsTextProps } from "../ChartsText/index.js";
|
|
1
|
+
import { type ChartsXAxisProps } from "../models/axis.js";
|
|
2
|
+
import { ChartsText, type ChartsTextProps } from "../ChartsText/index.js";
|
|
3
3
|
export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
4
4
|
xScale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
5
5
|
toString(): string;
|
|
@@ -2573,6 +2573,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2573
2573
|
ignoreTooltip?: boolean | undefined;
|
|
2574
2574
|
offset: number;
|
|
2575
2575
|
scaleType: "band";
|
|
2576
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2576
2577
|
categoryGapRatio: number;
|
|
2577
2578
|
barGapRatio: number;
|
|
2578
2579
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2616,6 +2617,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2616
2617
|
ignoreTooltip?: boolean | undefined;
|
|
2617
2618
|
offset: number;
|
|
2618
2619
|
scaleType: "band";
|
|
2620
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2619
2621
|
categoryGapRatio: number;
|
|
2620
2622
|
barGapRatio: number;
|
|
2621
2623
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2659,6 +2661,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2659
2661
|
ignoreTooltip?: boolean | undefined;
|
|
2660
2662
|
offset: number;
|
|
2661
2663
|
scaleType: "band";
|
|
2664
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2662
2665
|
categoryGapRatio: number;
|
|
2663
2666
|
barGapRatio: number;
|
|
2664
2667
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2702,6 +2705,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2702
2705
|
ignoreTooltip?: boolean | undefined;
|
|
2703
2706
|
offset: number;
|
|
2704
2707
|
scaleType: "band";
|
|
2708
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2705
2709
|
categoryGapRatio: number;
|
|
2706
2710
|
barGapRatio: number;
|
|
2707
2711
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2745,6 +2749,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2745
2749
|
ignoreTooltip?: boolean | undefined;
|
|
2746
2750
|
offset: number;
|
|
2747
2751
|
scaleType: "band";
|
|
2752
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2748
2753
|
categoryGapRatio: number;
|
|
2749
2754
|
barGapRatio: number;
|
|
2750
2755
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2788,6 +2793,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2788
2793
|
ignoreTooltip?: boolean | undefined;
|
|
2789
2794
|
offset: number;
|
|
2790
2795
|
scaleType: "band";
|
|
2796
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2791
2797
|
categoryGapRatio: number;
|
|
2792
2798
|
barGapRatio: number;
|
|
2793
2799
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2831,6 +2837,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2831
2837
|
ignoreTooltip?: boolean | undefined;
|
|
2832
2838
|
offset: number;
|
|
2833
2839
|
scaleType: "band";
|
|
2840
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2834
2841
|
categoryGapRatio: number;
|
|
2835
2842
|
barGapRatio: number;
|
|
2836
2843
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2874,6 +2881,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2874
2881
|
ignoreTooltip?: boolean | undefined;
|
|
2875
2882
|
offset: number;
|
|
2876
2883
|
scaleType: "band";
|
|
2884
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2877
2885
|
categoryGapRatio: number;
|
|
2878
2886
|
barGapRatio: number;
|
|
2879
2887
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2917,6 +2925,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2917
2925
|
ignoreTooltip?: boolean | undefined;
|
|
2918
2926
|
offset: number;
|
|
2919
2927
|
scaleType: "band";
|
|
2928
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2920
2929
|
categoryGapRatio: number;
|
|
2921
2930
|
barGapRatio: number;
|
|
2922
2931
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2960,6 +2969,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
2960
2969
|
ignoreTooltip?: boolean | undefined;
|
|
2961
2970
|
offset: number;
|
|
2962
2971
|
scaleType: "point";
|
|
2972
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2963
2973
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
2964
2974
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
2965
2975
|
triggerTooltip?: boolean;
|
|
@@ -3001,6 +3011,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3001
3011
|
ignoreTooltip?: boolean | undefined;
|
|
3002
3012
|
offset: number;
|
|
3003
3013
|
scaleType: "point";
|
|
3014
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3004
3015
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3005
3016
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3006
3017
|
triggerTooltip?: boolean;
|
|
@@ -3042,6 +3053,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3042
3053
|
ignoreTooltip?: boolean | undefined;
|
|
3043
3054
|
offset: number;
|
|
3044
3055
|
scaleType: "point";
|
|
3056
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3045
3057
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3046
3058
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3047
3059
|
triggerTooltip?: boolean;
|
|
@@ -3083,6 +3095,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3083
3095
|
ignoreTooltip?: boolean | undefined;
|
|
3084
3096
|
offset: number;
|
|
3085
3097
|
scaleType: "point";
|
|
3098
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3086
3099
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3087
3100
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3088
3101
|
triggerTooltip?: boolean;
|
|
@@ -3124,6 +3137,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3124
3137
|
ignoreTooltip?: boolean | undefined;
|
|
3125
3138
|
offset: number;
|
|
3126
3139
|
scaleType: "point";
|
|
3140
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3127
3141
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3128
3142
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3129
3143
|
triggerTooltip?: boolean;
|
|
@@ -3165,6 +3179,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3165
3179
|
ignoreTooltip?: boolean | undefined;
|
|
3166
3180
|
offset: number;
|
|
3167
3181
|
scaleType: "point";
|
|
3182
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3168
3183
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3169
3184
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3170
3185
|
triggerTooltip?: boolean;
|
|
@@ -3206,6 +3221,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3206
3221
|
ignoreTooltip?: boolean | undefined;
|
|
3207
3222
|
offset: number;
|
|
3208
3223
|
scaleType: "point";
|
|
3224
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3209
3225
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3210
3226
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3211
3227
|
triggerTooltip?: boolean;
|
|
@@ -3247,6 +3263,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3247
3263
|
ignoreTooltip?: boolean | undefined;
|
|
3248
3264
|
offset: number;
|
|
3249
3265
|
scaleType: "point";
|
|
3266
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3250
3267
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3251
3268
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3252
3269
|
triggerTooltip?: boolean;
|
|
@@ -3288,6 +3305,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3288
3305
|
ignoreTooltip?: boolean | undefined;
|
|
3289
3306
|
offset: number;
|
|
3290
3307
|
scaleType: "point";
|
|
3308
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3291
3309
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3292
3310
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3293
3311
|
triggerTooltip?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisConfig, ChartsXAxisProps } from "../models/axis.js";
|
|
1
|
+
import { type AxisConfig, type ChartsXAxisProps } from "../models/axis.js";
|
|
2
2
|
export declare const useUtilityClasses: (ownerState: Pick<AxisConfig<any, any, ChartsXAxisProps>, "id" | "position" | "classes">) => Record<"root" | "line" | "label" | "tickContainer" | "tick" | "tickLabel", string>;
|
|
3
3
|
export declare const TICK_LABEL_GAP = 3;
|
|
4
4
|
export declare const AXIS_LABEL_TICK_LABEL_GAP = 4;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { ChartsYAxisProps } from "../models/axis.js";
|
|
1
|
+
import type { ChartsYAxisProps } from "../models/axis.js";
|
|
2
|
+
import type { OrdinalTimeTicks } from "../models/timeTicks.js";
|
|
2
3
|
interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
3
4
|
axisLabelHeight: number;
|
|
5
|
+
ordinalTimeTicks?: OrdinalTimeTicks;
|
|
4
6
|
}
|
|
5
7
|
/**
|
|
6
8
|
* @ignore - internal component.
|
|
@@ -23,7 +23,8 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
23
23
|
*/
|
|
24
24
|
function ChartsSingleYAxisTicks(inProps) {
|
|
25
25
|
const {
|
|
26
|
-
axisLabelHeight
|
|
26
|
+
axisLabelHeight,
|
|
27
|
+
ordinalTimeTicks
|
|
27
28
|
} = inProps;
|
|
28
29
|
const {
|
|
29
30
|
yScale,
|
|
@@ -62,7 +63,8 @@ function ChartsSingleYAxisTicks(inProps) {
|
|
|
62
63
|
tickLabelPlacement,
|
|
63
64
|
tickInterval,
|
|
64
65
|
tickSpacing,
|
|
65
|
-
direction: 'y'
|
|
66
|
+
direction: 'y',
|
|
67
|
+
ordinalTimeTicks
|
|
66
68
|
});
|
|
67
69
|
|
|
68
70
|
/* If there's an axis title, the tick labels have less space to render */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartsYAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
|
|
2
2
|
interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
|
|
3
|
-
axis: ComputedAxis<
|
|
3
|
+
axis: ComputedAxis<ScaleName, any, ChartsYAxisProps>;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* @ignore - internal component. Use `ChartsYAxis` instead.
|
|
@@ -24,7 +24,7 @@ var _domUtils = require("../internals/domUtils");
|
|
|
24
24
|
var _AxisSharedComponents = require("../internals/components/AxisSharedComponents");
|
|
25
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
26
26
|
const _excluded = ["axis"],
|
|
27
|
-
_excluded2 = ["scale", "tickNumber", "reverse"];
|
|
27
|
+
_excluded2 = ["scale", "tickNumber", "reverse", "ordinalTimeTicks"];
|
|
28
28
|
const YAxisRoot = (0, _styles.styled)(_AxisSharedComponents.AxisRoot, {
|
|
29
29
|
name: 'MuiChartsYAxis',
|
|
30
30
|
slot: 'Root'
|
|
@@ -37,8 +37,11 @@ function ChartsYAxisImpl(_ref) {
|
|
|
37
37
|
axis
|
|
38
38
|
} = _ref,
|
|
39
39
|
inProps = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
40
|
+
// @ts-expect-error ordinalTimeTicks may not be present on all axis types
|
|
41
|
+
// Should be set to never, but this causes other issues with proptypes generator.
|
|
40
42
|
const {
|
|
41
|
-
scale: yScale
|
|
43
|
+
scale: yScale,
|
|
44
|
+
ordinalTimeTicks
|
|
42
45
|
} = axis,
|
|
43
46
|
settings = (0, _objectWithoutPropertiesLoose2.default)(axis, _excluded2);
|
|
44
47
|
const isHydrated = (0, _useIsHydrated.useIsHydrated)();
|
|
@@ -114,7 +117,8 @@ function ChartsYAxisImpl(_ref) {
|
|
|
114
117
|
let children = null;
|
|
115
118
|
if (!skipTickRendering) {
|
|
116
119
|
children = 'groups' in axis && Array.isArray(axis.groups) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsGroupedYAxisTicks.ChartsGroupedYAxisTicks, (0, _extends2.default)({}, inProps)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsSingleYAxisTicks.ChartsSingleYAxisTicks, (0, _extends2.default)({}, inProps, {
|
|
117
|
-
axisLabelHeight: axisLabelHeight
|
|
120
|
+
axisLabelHeight: axisLabelHeight,
|
|
121
|
+
ordinalTimeTicks: ordinalTimeTicks
|
|
118
122
|
}));
|
|
119
123
|
}
|
|
120
124
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(YAxisRoot, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChartDrawingArea } from "../hooks/index.js";
|
|
2
|
-
import { TickItemType } from "../hooks/useTicks.js";
|
|
3
|
-
import { ChartsYAxisProps } from "../models/index.js";
|
|
1
|
+
import { type ChartDrawingArea } from "../hooks/index.js";
|
|
2
|
+
import { type TickItemType } from "../hooks/useTicks.js";
|
|
3
|
+
import { type ChartsYAxisProps } from "../models/index.js";
|
|
4
4
|
export declare function shortenLabels(visibleLabels: TickItemType[], drawingArea: Pick<ChartDrawingArea, 'top' | 'height' | 'bottom'>, maxWidth: number, isRtl: boolean, tickLabelStyle: ChartsYAxisProps['tickLabelStyle']): Map<TickItemType, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartsYAxisProps } from "../models/axis.js";
|
|
2
|
-
import { ChartsText, ChartsTextProps } from "../ChartsText/index.js";
|
|
1
|
+
import { type ChartsYAxisProps } from "../models/axis.js";
|
|
2
|
+
import { ChartsText, type ChartsTextProps } from "../ChartsText/index.js";
|
|
3
3
|
export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
4
4
|
yScale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
5
5
|
toString(): string;
|
|
@@ -2509,6 +2509,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2509
2509
|
ignoreTooltip?: boolean | undefined;
|
|
2510
2510
|
offset: number;
|
|
2511
2511
|
scaleType: "band";
|
|
2512
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2512
2513
|
categoryGapRatio: number;
|
|
2513
2514
|
barGapRatio: number;
|
|
2514
2515
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2551,6 +2552,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2551
2552
|
ignoreTooltip?: boolean | undefined;
|
|
2552
2553
|
offset: number;
|
|
2553
2554
|
scaleType: "band";
|
|
2555
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2554
2556
|
categoryGapRatio: number;
|
|
2555
2557
|
barGapRatio: number;
|
|
2556
2558
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2593,6 +2595,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2593
2595
|
ignoreTooltip?: boolean | undefined;
|
|
2594
2596
|
offset: number;
|
|
2595
2597
|
scaleType: "band";
|
|
2598
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2596
2599
|
categoryGapRatio: number;
|
|
2597
2600
|
barGapRatio: number;
|
|
2598
2601
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2635,6 +2638,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2635
2638
|
ignoreTooltip?: boolean | undefined;
|
|
2636
2639
|
offset: number;
|
|
2637
2640
|
scaleType: "band";
|
|
2641
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2638
2642
|
categoryGapRatio: number;
|
|
2639
2643
|
barGapRatio: number;
|
|
2640
2644
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2677,6 +2681,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2677
2681
|
ignoreTooltip?: boolean | undefined;
|
|
2678
2682
|
offset: number;
|
|
2679
2683
|
scaleType: "band";
|
|
2684
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2680
2685
|
categoryGapRatio: number;
|
|
2681
2686
|
barGapRatio: number;
|
|
2682
2687
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2719,6 +2724,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2719
2724
|
ignoreTooltip?: boolean | undefined;
|
|
2720
2725
|
offset: number;
|
|
2721
2726
|
scaleType: "band";
|
|
2727
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2722
2728
|
categoryGapRatio: number;
|
|
2723
2729
|
barGapRatio: number;
|
|
2724
2730
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2761,6 +2767,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2761
2767
|
ignoreTooltip?: boolean | undefined;
|
|
2762
2768
|
offset: number;
|
|
2763
2769
|
scaleType: "band";
|
|
2770
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2764
2771
|
categoryGapRatio: number;
|
|
2765
2772
|
barGapRatio: number;
|
|
2766
2773
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2803,6 +2810,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2803
2810
|
ignoreTooltip?: boolean | undefined;
|
|
2804
2811
|
offset: number;
|
|
2805
2812
|
scaleType: "band";
|
|
2813
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2806
2814
|
categoryGapRatio: number;
|
|
2807
2815
|
barGapRatio: number;
|
|
2808
2816
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2845,6 +2853,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2845
2853
|
ignoreTooltip?: boolean | undefined;
|
|
2846
2854
|
offset: number;
|
|
2847
2855
|
scaleType: "band";
|
|
2856
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2848
2857
|
categoryGapRatio: number;
|
|
2849
2858
|
barGapRatio: number;
|
|
2850
2859
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
@@ -2887,6 +2896,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2887
2896
|
ignoreTooltip?: boolean | undefined;
|
|
2888
2897
|
offset: number;
|
|
2889
2898
|
scaleType: "point";
|
|
2899
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2890
2900
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
2891
2901
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
2892
2902
|
triggerTooltip?: boolean;
|
|
@@ -2927,6 +2937,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2927
2937
|
ignoreTooltip?: boolean | undefined;
|
|
2928
2938
|
offset: number;
|
|
2929
2939
|
scaleType: "point";
|
|
2940
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2930
2941
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
2931
2942
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
2932
2943
|
triggerTooltip?: boolean;
|
|
@@ -2967,6 +2978,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
2967
2978
|
ignoreTooltip?: boolean | undefined;
|
|
2968
2979
|
offset: number;
|
|
2969
2980
|
scaleType: "point";
|
|
2981
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
2970
2982
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
2971
2983
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
2972
2984
|
triggerTooltip?: boolean;
|
|
@@ -3007,6 +3019,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3007
3019
|
ignoreTooltip?: boolean | undefined;
|
|
3008
3020
|
offset: number;
|
|
3009
3021
|
scaleType: "point";
|
|
3022
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3010
3023
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3011
3024
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3012
3025
|
triggerTooltip?: boolean;
|
|
@@ -3047,6 +3060,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3047
3060
|
ignoreTooltip?: boolean | undefined;
|
|
3048
3061
|
offset: number;
|
|
3049
3062
|
scaleType: "point";
|
|
3063
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3050
3064
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3051
3065
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3052
3066
|
triggerTooltip?: boolean;
|
|
@@ -3087,6 +3101,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3087
3101
|
ignoreTooltip?: boolean | undefined;
|
|
3088
3102
|
offset: number;
|
|
3089
3103
|
scaleType: "point";
|
|
3104
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3090
3105
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3091
3106
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
3092
3107
|
triggerTooltip?: boolean;
|
|
@@ -3127,6 +3142,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3127
3142
|
ignoreTooltip?: boolean | undefined;
|
|
3128
3143
|
offset: number;
|
|
3129
3144
|
scaleType: "point";
|
|
3145
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3130
3146
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3131
3147
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3132
3148
|
triggerTooltip?: boolean;
|
|
@@ -3167,6 +3183,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3167
3183
|
ignoreTooltip?: boolean | undefined;
|
|
3168
3184
|
offset: number;
|
|
3169
3185
|
scaleType: "point";
|
|
3186
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3170
3187
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3171
3188
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3172
3189
|
triggerTooltip?: boolean;
|
|
@@ -3207,6 +3224,7 @@ export declare function useAxisTicksProps(inProps: ChartsYAxisProps): {
|
|
|
3207
3224
|
ignoreTooltip?: boolean | undefined;
|
|
3208
3225
|
offset: number;
|
|
3209
3226
|
scaleType: "point";
|
|
3227
|
+
ordinalTimeTicks?: import("../index.js").OrdinalTimeTicks;
|
|
3210
3228
|
groups?: import("../internals/index.js").AxisGroup[];
|
|
3211
3229
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
3212
3230
|
triggerTooltip?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisConfig, ChartsYAxisProps } from "../models/axis.js";
|
|
1
|
+
import { type AxisConfig, type ChartsYAxisProps } from "../models/axis.js";
|
|
2
2
|
export declare const useUtilityClasses: (ownerState: AxisConfig<any, any, ChartsYAxisProps>) => Record<"root" | "line" | "label" | "tickContainer" | "tick" | "tickLabel", string>;
|
|
3
3
|
export declare const TICK_LABEL_GAP = 2;
|
|
4
4
|
export declare const AXIS_LABEL_TICK_LABEL_GAP = 2;
|
package/Gauge/Gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { GaugeContainerProps } from "./GaugeContainer.js";
|
|
3
|
-
import { GaugeClasses } from "./gaugeClasses.js";
|
|
4
|
-
import { GaugeValueTextProps } from "./GaugeValueText.js";
|
|
2
|
+
import { type GaugeContainerProps } from "./GaugeContainer.js";
|
|
3
|
+
import { type GaugeClasses } from "./gaugeClasses.js";
|
|
4
|
+
import { type GaugeValueTextProps } from "./GaugeValueText.js";
|
|
5
5
|
export interface GaugeProps extends GaugeContainerProps, Pick<GaugeValueTextProps, 'text'> {
|
|
6
6
|
classes?: Partial<GaugeClasses>;
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ChartsSurfaceProps } from "../ChartsSurface/index.js";
|
|
3
|
-
import { GaugeProviderProps } from "./GaugeProvider.js";
|
|
4
|
-
import { MergeSignaturesProperty } from "../internals/plugins/models/index.js";
|
|
5
|
-
import { ChartCorePluginSignatures } from "../internals/plugins/corePlugins/index.js";
|
|
2
|
+
import { type ChartsSurfaceProps } from "../ChartsSurface/index.js";
|
|
3
|
+
import { type GaugeProviderProps } from "./GaugeProvider.js";
|
|
4
|
+
import { type MergeSignaturesProperty } from "../internals/plugins/models/index.js";
|
|
5
|
+
import { type ChartCorePluginSignatures } from "../internals/plugins/corePlugins/index.js";
|
|
6
6
|
export interface GaugeContainerProps extends Omit<ChartsSurfaceProps, 'children'>, Omit<MergeSignaturesProperty<ChartCorePluginSignatures, 'params'>, 'series' | 'dataset' | 'colors' | 'theme' | 'experimentalFeatures'>, Omit<GaugeProviderProps, 'children'>, Omit<React.SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
-
import { AnimatedAreaProps } from "./AnimatedArea.js";
|
|
4
|
-
import { SeriesId } from "../models/seriesType/common.js";
|
|
2
|
+
import { type SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
+
import { type AnimatedAreaProps } from "./AnimatedArea.js";
|
|
4
|
+
import { type SeriesId } from "../models/seriesType/common.js";
|
|
5
5
|
export interface AreaElementClasses {
|
|
6
6
|
/** Styles applied to the root element. */
|
|
7
7
|
root: string;
|
package/LineChart/AreaPlot.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AreaElementProps, AreaElementSlotProps, AreaElementSlots } from "./AreaElement.js";
|
|
3
|
-
import { LineItemIdentifier } from "../models/seriesType/line.js";
|
|
2
|
+
import { type AreaElementProps, type AreaElementSlotProps, type AreaElementSlots } from "./AreaElement.js";
|
|
3
|
+
import { type LineItemIdentifier } from "../models/seriesType/line.js";
|
|
4
4
|
export interface AreaPlotSlots extends AreaElementSlots {}
|
|
5
5
|
export interface AreaPlotSlotProps extends AreaElementSlotProps {}
|
|
6
6
|
export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<AreaElementProps, 'slots' | 'slotProps' | 'skipAnimation'> {
|
package/LineChart/AreaPlot.js
CHANGED
|
@@ -17,6 +17,7 @@ var _useSkipAnimation = require("../hooks/useSkipAnimation");
|
|
|
17
17
|
var _useAxis = require("../hooks/useAxis");
|
|
18
18
|
var _useInternalIsZoomInteracting = require("../internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting");
|
|
19
19
|
var _useAreaPlotData = require("./useAreaPlotData");
|
|
20
|
+
var _animation = require("../internals/animation/animation");
|
|
20
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
22
|
const _excluded = ["slots", "slotProps", "onItemClick", "skipAnimation"];
|
|
22
23
|
const AreaPlotRoot = (0, _styles.styled)('g', {
|
|
@@ -24,7 +25,9 @@ const AreaPlotRoot = (0, _styles.styled)('g', {
|
|
|
24
25
|
slot: 'Root'
|
|
25
26
|
})({
|
|
26
27
|
[`& .${_AreaElement.areaElementClasses.root}`]: {
|
|
27
|
-
|
|
28
|
+
transitionProperty: 'opacity, fill',
|
|
29
|
+
transitionDuration: `${_animation.ANIMATION_DURATION_MS}ms`,
|
|
30
|
+
transitionTimingFunction: _animation.ANIMATION_TIMING_FUNCTION
|
|
28
31
|
}
|
|
29
32
|
});
|
|
30
33
|
const useAggregatedData = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MarkElementOwnerState } from "./markElementClasses.js";
|
|
2
|
+
import { type MarkElementOwnerState } from "./markElementClasses.js";
|
|
3
3
|
export type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlighted'> & Omit<React.SVGProps<SVGPathElement>, 'ref' | 'id'> & {
|
|
4
4
|
/**
|
|
5
5
|
* If `true`, animations are skipped.
|
|
@@ -20,7 +20,7 @@ const _excluded = ["x", "y", "id", "classes", "color", "dataIndex", "onClick", "
|
|
|
20
20
|
const Circle = (0, _styles.styled)('circle')({
|
|
21
21
|
[`&.${_markElementClasses.markElementClasses.animate}`]: {
|
|
22
22
|
transitionDuration: `${_animation.ANIMATION_DURATION_MS}ms`,
|
|
23
|
-
transitionProperty: 'cx, cy',
|
|
23
|
+
transitionProperty: 'cx, cy, opacity',
|
|
24
24
|
transitionTimingFunction: _animation.ANIMATION_TIMING_FUNCTION
|
|
25
25
|
}
|
|
26
26
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FocusedLineMark(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
7
|
+
exports.FocusedLineMark = FocusedLineMark;
|
|
8
8
|
var _styles = require("@mui/material/styles");
|
|
9
9
|
var _useFocusedItem = require("../hooks/useFocusedItem");
|
|
10
10
|
var _hooks = require("../hooks");
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
const RADIUS = 6;
|
|
13
|
-
function
|
|
13
|
+
function FocusedLineMark() {
|
|
14
14
|
const theme = (0, _styles.useTheme)();
|
|
15
15
|
const focusedItem = (0, _useFocusedItem.useFocusedItem)();
|
|
16
16
|
const lineSeries = (0, _hooks.useLineSeriesContext)();
|