@mui/x-charts 9.0.0-alpha.3 → 9.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/BarChart.d.mts +2 -2
- package/BarChart/BarChart.d.ts +2 -2
- package/BarChart/BarChart.js +55 -34
- package/BarChart/BarChart.mjs +55 -34
- package/BarChart/BarElement.js +4 -8
- package/BarChart/BarElement.mjs +4 -8
- package/BarChart/BarLabel/BarLabel.js +1 -11
- package/BarChart/BarLabel/BarLabel.mjs +1 -11
- package/BarChart/BarLabel/BarLabelItem.js +1 -3
- package/BarChart/BarLabel/BarLabelItem.mjs +1 -3
- package/BarChart/BarLabel/BarLabelPlot.d.mts +0 -2
- package/BarChart/BarLabel/BarLabelPlot.d.ts +0 -2
- package/BarChart/BarLabel/BarLabelPlot.js +2 -3
- package/BarChart/BarLabel/BarLabelPlot.mjs +2 -3
- package/BarChart/BarLabel/index.d.mts +1 -3
- package/BarChart/BarLabel/index.d.ts +1 -3
- package/BarChart/BarLabel/index.js +1 -14
- package/BarChart/BarLabel/index.mjs +1 -2
- package/BarChart/BarPlot.d.mts +6 -12
- package/BarChart/BarPlot.d.ts +6 -12
- package/BarChart/BarPlot.js +11 -19
- package/BarChart/BarPlot.mjs +11 -19
- package/BarChart/BatchBarPlot/BatchBarPlot.js +3 -30
- package/BarChart/BatchBarPlot/BatchBarPlot.mjs +3 -30
- package/BarChart/IndividualBarPlot.d.mts +1 -2
- package/BarChart/IndividualBarPlot.d.ts +1 -2
- package/BarChart/IndividualBarPlot.js +5 -10
- package/BarChart/IndividualBarPlot.mjs +5 -10
- package/BarChart/index.d.mts +0 -1
- package/BarChart/index.d.ts +0 -1
- package/BarChart/index.js +0 -12
- package/BarChart/index.mjs +0 -1
- package/BarChart/seriesConfig/bar/descriptionGetter.d.mts +3 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.d.ts +3 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.js +36 -0
- package/BarChart/seriesConfig/bar/descriptionGetter.mjs +30 -0
- package/BarChart/seriesConfig/bar/legend.js +2 -21
- package/BarChart/seriesConfig/bar/legend.mjs +2 -21
- package/BarChart/seriesConfig/index.js +5 -1
- package/BarChart/seriesConfig/index.mjs +5 -1
- package/BarChart/useBarChartProps.d.mts +2 -2
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +4 -6
- package/BarChart/useBarChartProps.mjs +4 -6
- package/BarChart/useRegisterItemClickHandlers.js +2 -2
- package/BarChart/useRegisterItemClickHandlers.mjs +2 -2
- package/CHANGELOG.md +229 -0
- package/ChartsAxis/index.d.mts +2 -1
- package/ChartsAxis/index.d.ts +2 -1
- package/ChartsAxis/index.js +11 -11
- package/ChartsAxis/index.mjs +1 -1
- package/ChartsAxisHighlight/index.d.mts +2 -1
- package/ChartsAxisHighlight/index.d.ts +2 -1
- package/ChartsAxisHighlight/index.js +12 -10
- package/ChartsAxisHighlight/index.mjs +1 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +6 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.js +12 -9
- package/ChartsBrushOverlay/ChartsBrushOverlay.mjs +12 -9
- package/ChartsContainer/ChartsContainer.js +77 -43
- package/ChartsContainer/ChartsContainer.mjs +77 -43
- package/ChartsContainer/useChartsContainerProps.d.mts +2 -2
- package/ChartsContainer/useChartsContainerProps.d.ts +2 -2
- package/ChartsContainer/useChartsContainerProps.js +8 -8
- package/ChartsContainer/useChartsContainerProps.mjs +8 -8
- package/ChartsDataProvider/ChartsDataProvider.js +0 -6
- package/ChartsDataProvider/ChartsDataProvider.mjs +0 -6
- package/ChartsDataProvider/useChartsDataProviderProps.js +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.mjs +1 -1
- package/ChartsGrid/ChartsGrid.d.mts +4 -0
- package/ChartsGrid/ChartsGrid.d.ts +4 -0
- package/ChartsGrid/ChartsGrid.js +4 -2
- package/ChartsGrid/ChartsGrid.mjs +4 -2
- package/ChartsGrid/ChartsHorizontalGrid.js +2 -2
- package/ChartsGrid/ChartsHorizontalGrid.mjs +2 -2
- package/ChartsGrid/ChartsVerticalGrid.js +2 -2
- package/ChartsGrid/ChartsVerticalGrid.mjs +2 -2
- package/ChartsGrid/index.d.mts +2 -1
- package/ChartsGrid/index.d.ts +2 -1
- package/ChartsGrid/index.js +11 -11
- package/ChartsGrid/index.mjs +1 -1
- package/ChartsLayerContainer/ChartsLayerContainer.d.mts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.d.ts +10 -0
- package/ChartsLayerContainer/ChartsLayerContainer.js +53 -9
- package/ChartsLayerContainer/ChartsLayerContainer.mjs +55 -10
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.mts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.d.ts +6 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.js +21 -0
- package/ChartsLayerContainer/chartsLayerContainerClasses.mjs +13 -0
- package/ChartsLegend/ChartsLegend.js +2 -2
- package/ChartsLegend/ChartsLegend.mjs +2 -2
- package/ChartsLegend/legendContext.types.d.mts +0 -6
- package/ChartsLegend/legendContext.types.d.ts +0 -6
- package/ChartsLegend/onClickContextBuilder.js +0 -1
- package/ChartsLegend/onClickContextBuilder.mjs +0 -1
- package/ChartsOverlay/ChartsLoadingOverlay.js +2 -8
- package/ChartsOverlay/ChartsLoadingOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.js +2 -8
- package/ChartsOverlay/ChartsNoDataOverlay.mjs +2 -8
- package/ChartsOverlay/ChartsOverlay.d.mts +0 -6
- package/ChartsOverlay/ChartsOverlay.d.ts +0 -6
- package/ChartsReferenceLine/index.d.mts +2 -1
- package/ChartsReferenceLine/index.d.ts +2 -1
- package/ChartsReferenceLine/index.js +11 -11
- package/ChartsReferenceLine/index.mjs +1 -2
- package/ChartsSurface/ChartsSurface.d.mts +2 -3
- package/ChartsSurface/ChartsSurface.d.ts +2 -3
- package/ChartsSurface/ChartsSurface.js +14 -2
- package/ChartsSurface/ChartsSurface.mjs +14 -2
- package/ChartsSvgLayer/ChartsSvgLayer.d.mts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.d.ts +0 -4
- package/ChartsSvgLayer/ChartsSvgLayer.js +8 -30
- package/ChartsSvgLayer/ChartsSvgLayer.mjs +8 -30
- package/ChartsTooltip/ChartsAxisTooltipContent.js +45 -31
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +45 -31
- package/ChartsTooltip/ChartsItemTooltipContent.js +77 -41
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +76 -41
- package/ChartsTooltip/ChartsTooltipContainer.js +5 -1
- package/ChartsTooltip/ChartsTooltipContainer.mjs +5 -1
- package/ChartsTooltip/index.d.mts +1 -2
- package/ChartsTooltip/index.d.ts +1 -2
- package/ChartsTooltip/index.js +1 -16
- package/ChartsTooltip/index.mjs +1 -2
- package/ChartsTooltip/useAxesTooltip.d.mts +2 -3
- package/ChartsTooltip/useAxesTooltip.d.ts +2 -3
- package/ChartsTooltip/useItemTooltip.d.mts +2 -4
- package/ChartsTooltip/useItemTooltip.d.ts +2 -4
- package/ChartsTooltip/utils.d.mts +0 -4
- package/ChartsTooltip/utils.d.ts +0 -4
- package/ChartsTooltip/utils.js +0 -39
- package/ChartsTooltip/utils.mjs +0 -38
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +14 -5
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +14 -5
- package/ChartsXAxis/ChartsSingleXAxisTicks.js +2 -2
- package/ChartsXAxis/ChartsSingleXAxisTicks.mjs +2 -2
- package/ChartsXAxis/ChartsXAxisImpl.js +3 -1
- package/ChartsXAxis/ChartsXAxisImpl.mjs +3 -1
- package/ChartsXAxis/useAxisTicksProps.d.mts +170 -89
- package/ChartsXAxis/useAxisTicksProps.d.ts +170 -89
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +14 -5
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +14 -5
- package/ChartsYAxis/ChartsSingleYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.mjs +2 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +3 -1
- package/ChartsYAxis/ChartsYAxisImpl.mjs +3 -1
- package/ChartsYAxis/useAxisTicksProps.d.mts +170 -89
- package/ChartsYAxis/useAxisTicksProps.d.ts +170 -89
- package/Gauge/Gauge.js +8 -0
- package/Gauge/Gauge.mjs +8 -0
- package/Gauge/GaugeContainer.d.mts +1 -1
- package/Gauge/GaugeContainer.d.ts +1 -1
- package/Gauge/GaugeContainer.js +10 -2
- package/Gauge/GaugeContainer.mjs +10 -2
- package/Gauge/index.d.mts +2 -1
- package/Gauge/index.d.ts +2 -1
- package/Gauge/index.js +7 -11
- package/Gauge/index.mjs +1 -1
- package/LineChart/AreaElement.d.mts +2 -35
- package/LineChart/AreaElement.d.ts +2 -35
- package/LineChart/AreaElement.js +8 -42
- package/LineChart/AreaElement.mjs +8 -42
- package/LineChart/CircleMarkElement.d.mts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/CircleMarkElement.js +11 -16
- package/LineChart/CircleMarkElement.mjs +12 -17
- package/LineChart/LineChart.d.mts +2 -2
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChart/LineChart.js +51 -25
- package/LineChart/LineChart.mjs +51 -25
- package/LineChart/LineElement.d.mts +2 -35
- package/LineChart/LineElement.d.ts +2 -35
- package/LineChart/LineElement.js +8 -42
- package/LineChart/LineElement.mjs +8 -42
- package/LineChart/LineHighlightElement.d.mts +0 -20
- package/LineChart/LineHighlightElement.d.ts +0 -20
- package/LineChart/LineHighlightElement.js +2 -39
- package/LineChart/LineHighlightElement.mjs +2 -39
- package/LineChart/LineHighlightPlot.js +2 -2
- package/LineChart/LineHighlightPlot.mjs +2 -2
- package/LineChart/MarkElement.d.mts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkElement.js +10 -8
- package/LineChart/MarkElement.mjs +11 -9
- package/LineChart/MarkPlot.js +2 -2
- package/LineChart/MarkPlot.mjs +2 -2
- package/LineChart/index.d.mts +0 -2
- package/LineChart/index.d.ts +0 -2
- package/LineChart/index.js +0 -15
- package/LineChart/index.mjs +0 -1
- package/LineChart/seriesConfig/curveEvaluation.d.mts +11 -0
- package/LineChart/seriesConfig/curveEvaluation.d.ts +11 -0
- package/LineChart/seriesConfig/curveEvaluation.js +134 -0
- package/LineChart/seriesConfig/curveEvaluation.mjs +129 -0
- package/LineChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/LineChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/LineChart/seriesConfig/descriptionGetter.js +37 -0
- package/LineChart/seriesConfig/descriptionGetter.mjs +31 -0
- package/LineChart/seriesConfig/getItemAtPosition.d.mts +7 -0
- package/LineChart/seriesConfig/getItemAtPosition.d.ts +7 -0
- package/LineChart/seriesConfig/getItemAtPosition.js +356 -0
- package/LineChart/seriesConfig/getItemAtPosition.mjs +351 -0
- package/LineChart/seriesConfig/index.js +4 -0
- package/LineChart/seriesConfig/index.mjs +4 -0
- package/LineChart/seriesConfig/seriesProcessor.js +8 -5
- package/LineChart/seriesConfig/seriesProcessor.mjs +8 -5
- package/LineChart/useLineChartProps.d.mts +2 -2
- package/LineChart/useLineChartProps.d.ts +2 -2
- package/LineChart/useLineChartProps.js +2 -2
- package/LineChart/useLineChartProps.mjs +2 -2
- package/LineChart/useMarkPlotData.js +2 -2
- package/LineChart/useMarkPlotData.mjs +2 -2
- package/PieChart/FocusedPieArc.js +1 -4
- package/PieChart/FocusedPieArc.mjs +2 -4
- package/PieChart/PieArc.d.mts +0 -37
- package/PieChart/PieArc.d.ts +0 -37
- package/PieChart/PieArc.js +5 -45
- package/PieChart/PieArc.mjs +5 -45
- package/PieChart/PieArcLabel.d.mts +2 -43
- package/PieChart/PieArcLabel.d.ts +2 -43
- package/PieChart/PieArcLabel.js +3 -46
- package/PieChart/PieArcLabel.mjs +5 -48
- package/PieChart/PieArcLabelPlot.js +0 -2
- package/PieChart/PieArcLabelPlot.mjs +0 -2
- package/PieChart/PieChart.d.mts +2 -2
- package/PieChart/PieChart.d.ts +2 -2
- package/PieChart/PieChart.js +17 -5
- package/PieChart/PieChart.mjs +17 -5
- package/PieChart/index.d.mts +1 -1
- package/PieChart/index.d.ts +1 -1
- package/PieChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/PieChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/PieChart/seriesConfig/descriptionGetter.js +26 -0
- package/PieChart/seriesConfig/descriptionGetter.mjs +20 -0
- package/PieChart/seriesConfig/index.js +2 -0
- package/PieChart/seriesConfig/index.mjs +2 -0
- package/PieChart/seriesConfig/legend.js +0 -2
- package/PieChart/seriesConfig/legend.mjs +0 -2
- package/RadarChart/RadarAxis/RadarAxis.d.mts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +6 -2
- package/RadarChart/RadarAxis/RadarAxis.js +7 -5
- package/RadarChart/RadarAxis/RadarAxis.mjs +6 -4
- package/RadarChart/RadarAxis/index.d.mts +1 -2
- package/RadarChart/RadarAxis/index.d.ts +1 -2
- package/RadarChart/RadarAxis/index.js +1 -13
- package/RadarChart/RadarAxis/index.mjs +1 -2
- package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
- package/RadarChart/RadarAxis/useRadarAxis.mjs +2 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +6 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +9 -14
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.mjs +8 -13
- package/RadarChart/RadarAxisHighlight/index.d.mts +1 -2
- package/RadarChart/RadarAxisHighlight/index.d.ts +1 -2
- package/RadarChart/RadarAxisHighlight/index.mjs +1 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +2 -2
- package/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.mjs +2 -2
- package/RadarChart/RadarChart.js +15 -0
- package/RadarChart/RadarChart.mjs +15 -0
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.js +2 -2
- package/RadarChart/RadarDataProvider/RadarDataProvider.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/CircularRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/RadarGrid.js +2 -2
- package/RadarChart/RadarGrid/RadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/RadarGrid.types.d.mts +6 -7
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +6 -7
- package/RadarChart/RadarGrid/SharpRadarGrid.js +2 -2
- package/RadarChart/RadarGrid/SharpRadarGrid.mjs +2 -2
- package/RadarChart/RadarGrid/SharpRadarStripes.js +1 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.mjs +1 -1
- package/RadarChart/RadarGrid/index.d.mts +1 -2
- package/RadarChart/RadarGrid/index.d.ts +1 -2
- package/RadarChart/RadarGrid/useRadarGridData.js +2 -2
- package/RadarChart/RadarGrid/useRadarGridData.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +6 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +13 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +8 -6
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +5 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.mts +6 -4
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +6 -4
- package/RadarChart/RadarSeriesPlot/index.d.mts +1 -3
- package/RadarChart/RadarSeriesPlot/index.d.ts +1 -3
- package/RadarChart/RadarSeriesPlot/index.js +2 -10
- package/RadarChart/RadarSeriesPlot/index.mjs +1 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.js +2 -2
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.mjs +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +2 -2
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +2 -2
- package/RadarChart/index.d.mts +3 -1
- package/RadarChart/index.d.ts +3 -1
- package/RadarChart/index.js +9 -1
- package/RadarChart/index.mjs +2 -1
- package/RadarChart/radarClasses.d.mts +30 -0
- package/RadarChart/radarClasses.d.ts +30 -0
- package/RadarChart/radarClasses.js +33 -0
- package/RadarChart/radarClasses.mjs +24 -0
- package/RadarChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/RadarChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/RadarChart/seriesConfig/descriptionGetter.js +37 -0
- package/RadarChart/seriesConfig/descriptionGetter.mjs +31 -0
- package/RadarChart/seriesConfig/index.js +2 -0
- package/RadarChart/seriesConfig/index.mjs +2 -0
- package/RadarChart/seriesConfig/legend.js +2 -21
- package/RadarChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/BatchScatter.js +3 -3
- package/ScatterChart/BatchScatter.mjs +3 -3
- package/ScatterChart/Scatter.js +3 -3
- package/ScatterChart/Scatter.mjs +3 -3
- package/ScatterChart/ScatterChart.d.mts +15 -3
- package/ScatterChart/ScatterChart.d.ts +15 -3
- package/ScatterChart/ScatterChart.js +73 -31
- package/ScatterChart/ScatterChart.mjs +73 -31
- package/ScatterChart/seriesConfig/descriptionGetter.d.mts +3 -0
- package/ScatterChart/seriesConfig/descriptionGetter.d.ts +3 -0
- package/ScatterChart/seriesConfig/descriptionGetter.js +34 -0
- package/ScatterChart/seriesConfig/descriptionGetter.mjs +28 -0
- package/ScatterChart/seriesConfig/index.js +2 -0
- package/ScatterChart/seriesConfig/index.mjs +2 -0
- package/ScatterChart/seriesConfig/legend.js +2 -21
- package/ScatterChart/seriesConfig/legend.mjs +2 -21
- package/ScatterChart/useScatterChartProps.d.mts +2 -2
- package/ScatterChart/useScatterChartProps.d.ts +2 -2
- package/ScatterChart/useScatterChartProps.js +9 -8
- package/ScatterChart/useScatterChartProps.mjs +9 -8
- package/SparkLineChart/SparkLineChart.d.mts +2 -2
- package/SparkLineChart/SparkLineChart.d.ts +2 -2
- package/SparkLineChart/SparkLineChart.js +60 -28
- package/SparkLineChart/SparkLineChart.mjs +60 -28
- package/constants/index.js +0 -2
- package/constants/index.mjs +0 -2
- package/context/useChartApiContext.d.mts +1 -1
- package/context/useChartApiContext.d.ts +1 -1
- package/context/useChartApiContext.js +3 -3
- package/context/useChartApiContext.mjs +3 -3
- package/hooks/animation/useAnimatePieArcLabel.d.mts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.d.ts +1 -10
- package/hooks/animation/useAnimatePieArcLabel.js +6 -10
- package/hooks/animation/useAnimatePieArcLabel.mjs +6 -10
- package/hooks/useChartRootRef.js +2 -2
- package/hooks/useChartRootRef.mjs +2 -2
- package/hooks/useChartsLayerContainerRef.js +2 -2
- package/hooks/useChartsLayerContainerRef.mjs +2 -2
- package/hooks/useDataset.js +1 -1
- package/hooks/useDataset.mjs +2 -2
- package/hooks/useInteractionItemProps.d.mts +1 -1
- package/hooks/useInteractionItemProps.d.ts +1 -1
- package/hooks/useInteractionItemProps.js +5 -5
- package/hooks/useInteractionItemProps.mjs +5 -5
- package/hooks/useTicks.js +2 -2
- package/hooks/useTicks.mjs +2 -2
- package/index.d.mts +0 -3
- package/index.d.ts +0 -3
- package/index.js +2 -22
- package/index.mjs +1 -3
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.mts +5 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.ts +5 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.js +100 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +96 -0
- package/internals/components/ChartsAccessibilityProxy/index.d.mts +1 -0
- package/internals/components/ChartsAccessibilityProxy/index.d.ts +1 -0
- package/internals/components/ChartsAccessibilityProxy/index.js +16 -0
- package/internals/components/ChartsAccessibilityProxy/index.mjs +1 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.d.mts +5 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.d.ts +5 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.js +71 -0
- package/internals/components/ChartsAccessibilityProxy/useDescription.mjs +66 -0
- package/internals/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -1
- package/internals/getChartPoint.js +18 -1
- package/internals/getChartPoint.mjs +18 -1
- package/internals/identifierCleaner.d.mts +5 -5
- package/internals/identifierCleaner.d.ts +5 -5
- package/internals/identifierCleaner.js +0 -1
- package/internals/identifierCleaner.mjs +0 -1
- package/internals/index.d.mts +2 -3
- package/internals/index.d.ts +2 -3
- package/internals/index.js +27 -36
- package/internals/index.mjs +2 -3
- package/internals/legendUtils.d.mts +11 -0
- package/internals/legendUtils.d.ts +11 -0
- package/internals/legendUtils.js +28 -0
- package/internals/legendUtils.mjs +22 -0
- package/internals/plugins/corePlugins/corePlugins.d.mts +2 -2
- package/internals/plugins/corePlugins/corePlugins.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +2 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.mjs +2 -2
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.mts +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.js +2 -4
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.mjs +1 -3
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.mts +19 -9
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.d.ts +19 -9
- package/internals/plugins/corePlugins/useChartSeries/index.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartSeries/index.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartSeries/index.js +12 -0
- package/internals/plugins/corePlugins/useChartSeries/index.mjs +2 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +21 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +21 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +20 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.mjs +20 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.mts +8 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.d.ts +8 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.js +19 -0
- package/internals/plugins/corePlugins/useChartSeries/useChartSeriesLayout.selectors.mjs +14 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.mts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.d.ts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.mts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.d.ts +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.js +5 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/descriptionGetter.types.mjs +1 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +22 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +3 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +7 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +7 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +16 -37
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +16 -37
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.mts +4 -10
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.d.ts +4 -10
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.js +30 -21
- package/internals/plugins/featurePlugins/shared/useRegisterPointerInteractions.mjs +30 -20
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.mts +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.d.ts +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.js +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/autoSizeConstants.mjs +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.mts +33 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.d.ts +33 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.js +318 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisAutoSize.mjs +311 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +63 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.mjs +62 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +12 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.mjs +12 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.mts +13 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.d.ts +13 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.js +32 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +31 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +22 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +3 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.mts +30 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.d.ts +30 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.js +96 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisAutoSize.selectors.mjs +91 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.mts +16 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.d.ts +16 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.js +36 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisDomains.selectors.mjs +31 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.mts +15 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.d.ts +15 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.js +45 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisExtrema.selectors.mjs +39 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.mts +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +11 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +53 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.mjs +52 -11
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +20 -45
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +23 -48
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.js +20 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs +20 -2
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.mjs +13 -11
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.types.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.types.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +36 -30
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +36 -30
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.mts +8 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +8 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +9 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +9 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +6 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +6 -0
- package/internals/seriesSelectorOfType.d.mts +3 -3
- package/internals/seriesSelectorOfType.d.ts +3 -3
- package/internals/store/useCharts.d.mts +1 -1
- package/internals/store/useCharts.d.ts +1 -1
- package/internals/store/useStore.js +2 -2
- package/internals/store/useStore.mjs +2 -2
- package/locales/elGR.d.mts +80 -0
- package/locales/elGR.d.ts +80 -0
- package/locales/elGR.js +95 -0
- package/locales/elGR.mjs +95 -0
- package/locales/enUS.d.mts +80 -0
- package/locales/enUS.d.ts +80 -0
- package/locales/enUS.js +94 -1
- package/locales/enUS.mjs +94 -1
- package/locales/frFR.d.mts +80 -0
- package/locales/frFR.d.ts +80 -0
- package/locales/frFR.js +95 -1
- package/locales/frFR.mjs +95 -1
- package/locales/nbNO.d.mts +80 -0
- package/locales/nbNO.d.ts +80 -0
- package/locales/nbNO.js +95 -0
- package/locales/nbNO.mjs +95 -0
- package/locales/ptBR.d.mts +80 -0
- package/locales/ptBR.d.ts +80 -0
- package/locales/ptBR.js +95 -0
- package/locales/ptBR.mjs +95 -0
- package/locales/ptPT.d.mts +80 -0
- package/locales/ptPT.d.ts +80 -0
- package/locales/ptPT.js +191 -99
- package/locales/ptPT.mjs +191 -99
- package/locales/svSE.d.mts +80 -0
- package/locales/svSE.d.ts +80 -0
- package/locales/svSE.js +95 -0
- package/locales/svSE.mjs +95 -0
- package/locales/utils/chartsLocaleTextApi.d.mts +205 -0
- package/locales/utils/chartsLocaleTextApi.d.ts +205 -0
- package/locales/utils/getChartsLocalization.d.mts +80 -0
- package/locales/utils/getChartsLocalization.d.ts +80 -0
- package/models/axis.d.mts +15 -5
- package/models/axis.d.ts +15 -5
- package/models/seriesType/composition.d.mts +1 -1
- package/models/seriesType/composition.d.ts +1 -1
- package/models/seriesType/composition.js +1 -1
- package/models/seriesType/composition.mjs +1 -1
- package/models/seriesType/config.d.mts +29 -0
- package/models/seriesType/config.d.ts +29 -0
- package/models/seriesType/line.d.mts +2 -1
- package/models/seriesType/line.d.ts +2 -1
- package/models/seriesType/scatter.d.mts +0 -7
- package/models/seriesType/scatter.d.ts +0 -7
- package/package.json +3 -31
- package/themeAugmentation/components.d.mts +5 -25
- package/themeAugmentation/components.d.ts +5 -25
- package/themeAugmentation/overrides.d.mts +3 -15
- package/themeAugmentation/overrides.d.ts +3 -15
- package/themeAugmentation/props.d.mts +0 -2
- package/themeAugmentation/props.d.ts +0 -2
- package/BarChart/BarLabel/barLabelClasses.d.mts +0 -41
- package/BarChart/BarLabel/barLabelClasses.d.ts +0 -41
- package/BarChart/BarLabel/barLabelClasses.js +0 -49
- package/BarChart/BarLabel/barLabelClasses.mjs +0 -40
- package/BarChart/barElementClasses.d.mts +0 -40
- package/BarChart/barElementClasses.d.ts +0 -40
- package/BarChart/barElementClasses.js +0 -48
- package/BarChart/barElementClasses.mjs +0 -39
- package/ChartContainer/ChartContainer.d.mts +0 -22
- package/ChartContainer/ChartContainer.d.ts +0 -22
- package/ChartContainer/ChartContainer.js +0 -24
- package/ChartContainer/ChartContainer.mjs +0 -20
- package/ChartContainer/index.d.mts +0 -1
- package/ChartContainer/index.d.ts +0 -1
- package/ChartContainer/index.js +0 -16
- package/ChartContainer/index.mjs +0 -1
- package/ChartContainer/useChartContainerProps.d.mts +0 -13
- package/ChartContainer/useChartContainerProps.d.ts +0 -13
- package/ChartContainer/useChartContainerProps.js +0 -19
- package/ChartContainer/useChartContainerProps.mjs +0 -14
- package/ChartDataProvider/ChartDataProvider.d.mts +0 -20
- package/ChartDataProvider/ChartDataProvider.d.ts +0 -20
- package/ChartDataProvider/ChartDataProvider.js +0 -24
- package/ChartDataProvider/ChartDataProvider.mjs +0 -20
- package/ChartDataProvider/index.d.mts +0 -1
- package/ChartDataProvider/index.d.ts +0 -1
- package/ChartDataProvider/index.js +0 -16
- package/ChartDataProvider/index.mjs +0 -1
- package/ChartDataProvider/useChartDataProviderProps.d.mts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.d.ts +0 -10
- package/ChartDataProvider/useChartDataProviderProps.js +0 -12
- package/ChartDataProvider/useChartDataProviderProps.mjs +0 -8
- package/LineChart/markElementClasses.d.mts +0 -42
- package/LineChart/markElementClasses.d.ts +0 -42
- package/LineChart/markElementClasses.js +0 -48
- package/LineChart/markElementClasses.mjs +0 -40
- package/RadarChart/RadarAxis/radarAxisClasses.d.mts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.d.ts +0 -12
- package/RadarChart/RadarAxis/radarAxisClasses.js +0 -25
- package/RadarChart/RadarAxis/radarAxisClasses.mjs +0 -15
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.mts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -11
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -14
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.mjs +0 -6
- package/RadarChart/RadarGrid/radarGridClasses.d.mts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.d.ts +0 -12
- package/RadarChart/RadarGrid/radarGridClasses.js +0 -25
- package/RadarChart/RadarGrid/radarGridClasses.mjs +0 -15
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.mts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -26
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.mjs +0 -17
- package/context/ChartProvider/ChartContext.d.mts +0 -5
- package/context/ChartProvider/ChartContext.d.ts +0 -5
- package/context/ChartProvider/ChartContext.js +0 -13
- package/context/ChartProvider/ChartContext.mjs +0 -9
- package/context/ChartProvider/ChartProvider.d.mts +0 -5
- package/context/ChartProvider/ChartProvider.d.ts +0 -5
- package/context/ChartProvider/ChartProvider.js +0 -12
- package/context/ChartProvider/ChartProvider.mjs +0 -8
- package/context/ChartProvider/ChartProvider.types.d.mts +0 -15
- package/context/ChartProvider/ChartProvider.types.d.ts +0 -15
- package/context/ChartProvider/index.d.mts +0 -3
- package/context/ChartProvider/index.d.ts +0 -3
- package/context/ChartProvider/index.js +0 -38
- package/context/ChartProvider/index.mjs +0 -3
- package/context/ChartProvider/useChartContext.d.mts +0 -4
- package/context/ChartProvider/useChartContext.d.ts +0 -4
- package/context/ChartProvider/useChartContext.js +0 -12
- package/context/ChartProvider/useChartContext.mjs +0 -8
- package/tests/constants.js +0 -7
- package/tests/constants.mjs +0 -1
- /package/{context/ChartProvider/ChartProvider.types.js → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.js} +0 -0
- /package/{context/ChartProvider/ChartProvider.types.mjs → internals/plugins/corePlugins/useChartSeriesConfig/types/TooltipContent.types.mjs} +0 -0
|
@@ -112,6 +112,86 @@ export declare const getChartsLocalization: (chartsTranslations: Partial<ChartsL
|
|
|
112
112
|
chartConfigurationOptionStepAfter?: string | undefined;
|
|
113
113
|
chartConfigurationOptionBumpX?: string | undefined;
|
|
114
114
|
chartConfigurationOptionBumpY?: string | undefined;
|
|
115
|
+
open?: string | undefined;
|
|
116
|
+
high?: string | undefined;
|
|
117
|
+
low?: string | undefined;
|
|
118
|
+
close?: string | undefined;
|
|
119
|
+
a11yNoValue?: string | undefined;
|
|
120
|
+
a11yConnector?: string | undefined;
|
|
121
|
+
barDescription?: ((params: {
|
|
122
|
+
value: number | null;
|
|
123
|
+
formattedValue: string;
|
|
124
|
+
categoryValue: string | number | null;
|
|
125
|
+
formattedCategoryValue: string;
|
|
126
|
+
seriesLabel?: string;
|
|
127
|
+
}) => string) | undefined;
|
|
128
|
+
lineDescription?: ((params: {
|
|
129
|
+
x: number | null;
|
|
130
|
+
y: number | null;
|
|
131
|
+
formattedXValue: string;
|
|
132
|
+
formattedYValue: string;
|
|
133
|
+
seriesLabel?: string;
|
|
134
|
+
}) => string) | undefined;
|
|
135
|
+
scatterDescription?: ((params: {
|
|
136
|
+
x: number | null;
|
|
137
|
+
y: number | null;
|
|
138
|
+
formattedXValue: string;
|
|
139
|
+
formattedYValue: string;
|
|
140
|
+
seriesLabel?: string;
|
|
141
|
+
}) => string) | undefined;
|
|
142
|
+
pieDescription?: ((params: {
|
|
143
|
+
value: number | null;
|
|
144
|
+
totalValue: number;
|
|
145
|
+
formattedValue: string;
|
|
146
|
+
seriesLabel?: string;
|
|
147
|
+
}) => string) | undefined;
|
|
148
|
+
radarDescription?: ((params: {
|
|
149
|
+
value: number | null;
|
|
150
|
+
formattedValue: string;
|
|
151
|
+
categoryValue: string | number | null;
|
|
152
|
+
formattedCategoryValue: string;
|
|
153
|
+
seriesLabel?: string;
|
|
154
|
+
}) => string) | undefined;
|
|
155
|
+
funnelDescription?: ((params: {
|
|
156
|
+
value: number | null;
|
|
157
|
+
formattedValue: string;
|
|
158
|
+
seriesLabel?: string;
|
|
159
|
+
}) => string) | undefined;
|
|
160
|
+
heatmapDescription?: ((params: {
|
|
161
|
+
x: number | string | null;
|
|
162
|
+
y: number | string | null;
|
|
163
|
+
value: number | null;
|
|
164
|
+
formattedValue: string;
|
|
165
|
+
formattedXValue: string;
|
|
166
|
+
formattedYValue: string;
|
|
167
|
+
}) => string) | undefined;
|
|
168
|
+
sankeyNodeDescription?: ((params: {
|
|
169
|
+
value: number | null;
|
|
170
|
+
formattedValue: string;
|
|
171
|
+
nodeLabel: string;
|
|
172
|
+
}) => string) | undefined;
|
|
173
|
+
sankeyLinkDescription?: ((params: {
|
|
174
|
+
value: number | null;
|
|
175
|
+
formattedValue: string;
|
|
176
|
+
sourceLabel: string;
|
|
177
|
+
targetLabel: string;
|
|
178
|
+
}) => string) | undefined;
|
|
179
|
+
rangeBarDescription?: ((params: {
|
|
180
|
+
value: [number, number] | null;
|
|
181
|
+
formattedValue: string;
|
|
182
|
+
categoryValue: string | number | null;
|
|
183
|
+
formattedCategoryValue: string;
|
|
184
|
+
seriesLabel?: string;
|
|
185
|
+
}) => string) | undefined;
|
|
186
|
+
ohlcDescription?: ((params: {
|
|
187
|
+
open: number | null;
|
|
188
|
+
high: number | null;
|
|
189
|
+
low: number | null;
|
|
190
|
+
close: number | null;
|
|
191
|
+
date: Date | null;
|
|
192
|
+
formattedDate: string;
|
|
193
|
+
seriesLabel?: string;
|
|
194
|
+
}) => string) | undefined;
|
|
115
195
|
};
|
|
116
196
|
};
|
|
117
197
|
};
|
package/models/axis.d.mts
CHANGED
|
@@ -62,6 +62,10 @@ export interface ChartsAxisSlotProps {
|
|
|
62
62
|
yAxis?: Partial<ChartsYAxisProps>;
|
|
63
63
|
}
|
|
64
64
|
export interface ChartsAxisProps extends TickParams {
|
|
65
|
+
/**
|
|
66
|
+
* A CSS class name applied to the root element.
|
|
67
|
+
*/
|
|
68
|
+
className?: string;
|
|
65
69
|
/**
|
|
66
70
|
* The id of the axis to render.
|
|
67
71
|
* If undefined, it will be the first defined axis.
|
|
@@ -147,9 +151,10 @@ type AxisSideConfig<AxisProps extends ChartsAxisProps> = AxisProps extends Chart
|
|
|
147
151
|
position?: 'top' | 'bottom' | 'none';
|
|
148
152
|
/**
|
|
149
153
|
* The height of the axis.
|
|
154
|
+
* Set to `'auto'` to automatically calculate the height based on tick label measurements.
|
|
150
155
|
* @default 45 if an axis label is provided, 25 otherwise.
|
|
151
156
|
*/
|
|
152
|
-
height?: number;
|
|
157
|
+
height?: number | 'auto';
|
|
153
158
|
} : AxisProps extends ChartsYAxisProps ? {
|
|
154
159
|
/**
|
|
155
160
|
* Position of the axis.
|
|
@@ -163,13 +168,14 @@ type AxisSideConfig<AxisProps extends ChartsAxisProps> = AxisProps extends Chart
|
|
|
163
168
|
position?: 'left' | 'right' | 'none';
|
|
164
169
|
/**
|
|
165
170
|
* The width of the axis.
|
|
171
|
+
* Set to `'auto'` to automatically calculate the width based on tick label measurements.
|
|
166
172
|
* @default 65 if an axis label is provided, 45 otherwise.
|
|
167
173
|
*/
|
|
168
|
-
width?: number;
|
|
174
|
+
width?: number | 'auto';
|
|
169
175
|
} : {
|
|
170
176
|
position?: 'top' | 'bottom' | 'left' | 'right' | 'none';
|
|
171
|
-
height?: number;
|
|
172
|
-
width?: number;
|
|
177
|
+
height?: number | 'auto';
|
|
178
|
+
width?: number | 'auto';
|
|
173
179
|
};
|
|
174
180
|
export interface ChartsRotationAxisProps extends ChartsAxisProps {
|
|
175
181
|
/**
|
|
@@ -507,7 +513,11 @@ export type ComputedAxis<S extends ScaleName = ScaleName, V = any, AxisProps ext
|
|
|
507
513
|
* Indicate if the axis should be consider by a tooltip with `trigger='axis'`.
|
|
508
514
|
*/
|
|
509
515
|
triggerTooltip?: boolean;
|
|
510
|
-
} & (AxisProps extends ChartsXAxisProps ?
|
|
516
|
+
} & (AxisProps extends ChartsXAxisProps ? AxisSideConfig<AxisProps> & {
|
|
517
|
+
height: number;
|
|
518
|
+
} : AxisProps extends ChartsYAxisProps ? AxisSideConfig<AxisProps> & {
|
|
519
|
+
width: number;
|
|
520
|
+
} : AxisSideConfig<AxisProps>);
|
|
511
521
|
export type ComputedXAxis<S extends ScaleName = ScaleName, V = any> = ComputedAxis<S, V, ChartsXAxisProps>;
|
|
512
522
|
export type ComputedYAxis<S extends ScaleName = ScaleName, V = any> = ComputedAxis<S, V, ChartsYAxisProps>;
|
|
513
523
|
export declare function isBandScaleConfig(scaleConfig: AxisConfig<ScaleName>): scaleConfig is AxisConfig<'band'> & {
|
package/models/axis.d.ts
CHANGED
|
@@ -62,6 +62,10 @@ export interface ChartsAxisSlotProps {
|
|
|
62
62
|
yAxis?: Partial<ChartsYAxisProps>;
|
|
63
63
|
}
|
|
64
64
|
export interface ChartsAxisProps extends TickParams {
|
|
65
|
+
/**
|
|
66
|
+
* A CSS class name applied to the root element.
|
|
67
|
+
*/
|
|
68
|
+
className?: string;
|
|
65
69
|
/**
|
|
66
70
|
* The id of the axis to render.
|
|
67
71
|
* If undefined, it will be the first defined axis.
|
|
@@ -147,9 +151,10 @@ type AxisSideConfig<AxisProps extends ChartsAxisProps> = AxisProps extends Chart
|
|
|
147
151
|
position?: 'top' | 'bottom' | 'none';
|
|
148
152
|
/**
|
|
149
153
|
* The height of the axis.
|
|
154
|
+
* Set to `'auto'` to automatically calculate the height based on tick label measurements.
|
|
150
155
|
* @default 45 if an axis label is provided, 25 otherwise.
|
|
151
156
|
*/
|
|
152
|
-
height?: number;
|
|
157
|
+
height?: number | 'auto';
|
|
153
158
|
} : AxisProps extends ChartsYAxisProps ? {
|
|
154
159
|
/**
|
|
155
160
|
* Position of the axis.
|
|
@@ -163,13 +168,14 @@ type AxisSideConfig<AxisProps extends ChartsAxisProps> = AxisProps extends Chart
|
|
|
163
168
|
position?: 'left' | 'right' | 'none';
|
|
164
169
|
/**
|
|
165
170
|
* The width of the axis.
|
|
171
|
+
* Set to `'auto'` to automatically calculate the width based on tick label measurements.
|
|
166
172
|
* @default 65 if an axis label is provided, 45 otherwise.
|
|
167
173
|
*/
|
|
168
|
-
width?: number;
|
|
174
|
+
width?: number | 'auto';
|
|
169
175
|
} : {
|
|
170
176
|
position?: 'top' | 'bottom' | 'left' | 'right' | 'none';
|
|
171
|
-
height?: number;
|
|
172
|
-
width?: number;
|
|
177
|
+
height?: number | 'auto';
|
|
178
|
+
width?: number | 'auto';
|
|
173
179
|
};
|
|
174
180
|
export interface ChartsRotationAxisProps extends ChartsAxisProps {
|
|
175
181
|
/**
|
|
@@ -507,7 +513,11 @@ export type ComputedAxis<S extends ScaleName = ScaleName, V = any, AxisProps ext
|
|
|
507
513
|
* Indicate if the axis should be consider by a tooltip with `trigger='axis'`.
|
|
508
514
|
*/
|
|
509
515
|
triggerTooltip?: boolean;
|
|
510
|
-
} & (AxisProps extends ChartsXAxisProps ?
|
|
516
|
+
} & (AxisProps extends ChartsXAxisProps ? AxisSideConfig<AxisProps> & {
|
|
517
|
+
height: number;
|
|
518
|
+
} : AxisProps extends ChartsYAxisProps ? AxisSideConfig<AxisProps> & {
|
|
519
|
+
width: number;
|
|
520
|
+
} : AxisSideConfig<AxisProps>);
|
|
511
521
|
export type ComputedXAxis<S extends ScaleName = ScaleName, V = any> = ComputedAxis<S, V, ChartsXAxisProps>;
|
|
512
522
|
export type ComputedYAxis<S extends ScaleName = ScaleName, V = any> = ComputedAxis<S, V, ChartsYAxisProps>;
|
|
513
523
|
export declare function isBandScaleConfig(scaleConfig: AxisConfig<ScaleName>): scaleConfig is AxisConfig<'band'> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChartSeriesType, ChartsSeriesConfig } from "./config.mjs";
|
|
2
|
-
export type ComposableCartesianChartSeriesType = 'bar' | 'line' | 'scatter' | (ChartsSeriesConfig['rangeBar'] extends undefined ? never : 'rangeBar');
|
|
2
|
+
export type ComposableCartesianChartSeriesType = 'bar' | 'line' | 'scatter' | (ChartsSeriesConfig['rangeBar'] extends undefined ? never : 'rangeBar') | (ChartsSeriesConfig['ohlc'] extends undefined ? never : 'ohlc');
|
|
3
3
|
export declare const composableCartesianSeriesTypes: Set<ComposableCartesianChartSeriesType>;
|
|
4
4
|
export type ComposableChartSeriesType<SeriesType extends ChartSeriesType> = SeriesType extends ComposableCartesianChartSeriesType ? ComposableCartesianChartSeriesType : SeriesType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChartSeriesType, ChartsSeriesConfig } from "./config.js";
|
|
2
|
-
export type ComposableCartesianChartSeriesType = 'bar' | 'line' | 'scatter' | (ChartsSeriesConfig['rangeBar'] extends undefined ? never : 'rangeBar');
|
|
2
|
+
export type ComposableCartesianChartSeriesType = 'bar' | 'line' | 'scatter' | (ChartsSeriesConfig['rangeBar'] extends undefined ? never : 'rangeBar') | (ChartsSeriesConfig['ohlc'] extends undefined ? never : 'ohlc');
|
|
3
3
|
export declare const composableCartesianSeriesTypes: Set<ComposableCartesianChartSeriesType>;
|
|
4
4
|
export type ComposableChartSeriesType<SeriesType extends ChartSeriesType> = SeriesType extends ComposableCartesianChartSeriesType ? ComposableCartesianChartSeriesType : SeriesType;
|
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.composableCartesianSeriesTypes = void 0;
|
|
7
|
-
const composableCartesianSeriesTypes = exports.composableCartesianSeriesTypes = new Set(['bar', 'line', 'scatter', 'rangeBar']);
|
|
7
|
+
const composableCartesianSeriesTypes = exports.composableCartesianSeriesTypes = new Set(['bar', 'line', 'scatter', 'rangeBar', 'ohlc']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const composableCartesianSeriesTypes = new Set(['bar', 'line', 'scatter', 'rangeBar']);
|
|
1
|
+
export const composableCartesianSeriesTypes = new Set(['bar', 'line', 'scatter', 'rangeBar', 'ohlc']);
|
|
@@ -5,6 +5,7 @@ import type { BarItemIdentifier, BarSeriesType, DefaultizedBarSeriesType } from
|
|
|
5
5
|
import type { PieSeriesType, DefaultizedPieSeriesType, PieItemIdentifier, PieValueType, DefaultizedPieValueType, PieSeriesLayout } from "./pie.mjs";
|
|
6
6
|
import type { DefaultizedRadarSeriesType, RadarItemIdentifier, RadarSeriesType } from "./radar.mjs";
|
|
7
7
|
import type { SeriesColor, SeriesId } from "./common.mjs";
|
|
8
|
+
import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ComputedXAxis, ComputedYAxis, PolarAxisDefaultized } from "../axis.mjs";
|
|
8
9
|
import type { CommonHighlightScope } from "../../internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.mjs";
|
|
9
10
|
export interface ChartsSeriesConfig {
|
|
10
11
|
bar: {
|
|
@@ -37,6 +38,12 @@ export interface ChartsSeriesConfig {
|
|
|
37
38
|
canBeStacked: true;
|
|
38
39
|
axisType: 'cartesian';
|
|
39
40
|
highlightScope: CommonHighlightScope;
|
|
41
|
+
descriptionGetterParams: {
|
|
42
|
+
identifier: BarItemIdentifier;
|
|
43
|
+
xAxis: ComputedXAxis;
|
|
44
|
+
yAxis: ComputedYAxis;
|
|
45
|
+
series: DefaultizedBarSeriesType;
|
|
46
|
+
};
|
|
40
47
|
highlightIdentifier: {
|
|
41
48
|
type: 'bar';
|
|
42
49
|
seriesId: SeriesId;
|
|
@@ -54,6 +61,12 @@ export interface ChartsSeriesConfig {
|
|
|
54
61
|
canBeStacked: true;
|
|
55
62
|
axisType: 'cartesian';
|
|
56
63
|
highlightScope: CommonHighlightScope;
|
|
64
|
+
descriptionGetterParams: {
|
|
65
|
+
identifier: LineItemIdentifier;
|
|
66
|
+
xAxis: ComputedXAxis;
|
|
67
|
+
yAxis: ComputedYAxis;
|
|
68
|
+
series: DefaultizedLineSeriesType;
|
|
69
|
+
};
|
|
57
70
|
highlightIdentifier: {
|
|
58
71
|
type: 'line';
|
|
59
72
|
seriesId: SeriesId;
|
|
@@ -70,6 +83,12 @@ export interface ChartsSeriesConfig {
|
|
|
70
83
|
itemIdentifierWithData: ScatterItemIdentifier;
|
|
71
84
|
axisType: 'cartesian';
|
|
72
85
|
highlightScope: CommonHighlightScope;
|
|
86
|
+
descriptionGetterParams: {
|
|
87
|
+
identifier: ScatterItemIdentifier;
|
|
88
|
+
xAxis: ComputedXAxis;
|
|
89
|
+
yAxis: ComputedYAxis;
|
|
90
|
+
series: DefaultizedScatterSeriesType;
|
|
91
|
+
};
|
|
73
92
|
highlightIdentifier: {
|
|
74
93
|
type: 'scatter';
|
|
75
94
|
seriesId: SeriesId;
|
|
@@ -87,6 +106,10 @@ export interface ChartsSeriesConfig {
|
|
|
87
106
|
itemIdentifierWithData: PieItemIdentifier;
|
|
88
107
|
valueType: DefaultizedPieValueType;
|
|
89
108
|
highlightScope: CommonHighlightScope;
|
|
109
|
+
descriptionGetterParams: {
|
|
110
|
+
identifier: PieItemIdentifier;
|
|
111
|
+
series: DefaultizedPieSeriesType;
|
|
112
|
+
};
|
|
90
113
|
highlightIdentifier: {
|
|
91
114
|
type: 'pie';
|
|
92
115
|
seriesId: SeriesId;
|
|
@@ -103,6 +126,12 @@ export interface ChartsSeriesConfig {
|
|
|
103
126
|
valueType: number;
|
|
104
127
|
axisType: 'polar';
|
|
105
128
|
highlightScope: CommonHighlightScope;
|
|
129
|
+
descriptionGetterParams: {
|
|
130
|
+
identifier: RadarItemIdentifier;
|
|
131
|
+
rotationAxis: PolarAxisDefaultized<any, any, ChartsRotationAxisProps>;
|
|
132
|
+
radiusAxis: PolarAxisDefaultized<any, any, ChartsRadiusAxisProps>;
|
|
133
|
+
series: DefaultizedRadarSeriesType;
|
|
134
|
+
};
|
|
106
135
|
highlightIdentifier: {
|
|
107
136
|
type: 'radar';
|
|
108
137
|
seriesId: SeriesId;
|
|
@@ -5,6 +5,7 @@ import type { BarItemIdentifier, BarSeriesType, DefaultizedBarSeriesType } from
|
|
|
5
5
|
import type { PieSeriesType, DefaultizedPieSeriesType, PieItemIdentifier, PieValueType, DefaultizedPieValueType, PieSeriesLayout } from "./pie.js";
|
|
6
6
|
import type { DefaultizedRadarSeriesType, RadarItemIdentifier, RadarSeriesType } from "./radar.js";
|
|
7
7
|
import type { SeriesColor, SeriesId } from "./common.js";
|
|
8
|
+
import type { ChartsRadiusAxisProps, ChartsRotationAxisProps, ComputedXAxis, ComputedYAxis, PolarAxisDefaultized } from "../axis.js";
|
|
8
9
|
import type { CommonHighlightScope } from "../../internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js";
|
|
9
10
|
export interface ChartsSeriesConfig {
|
|
10
11
|
bar: {
|
|
@@ -37,6 +38,12 @@ export interface ChartsSeriesConfig {
|
|
|
37
38
|
canBeStacked: true;
|
|
38
39
|
axisType: 'cartesian';
|
|
39
40
|
highlightScope: CommonHighlightScope;
|
|
41
|
+
descriptionGetterParams: {
|
|
42
|
+
identifier: BarItemIdentifier;
|
|
43
|
+
xAxis: ComputedXAxis;
|
|
44
|
+
yAxis: ComputedYAxis;
|
|
45
|
+
series: DefaultizedBarSeriesType;
|
|
46
|
+
};
|
|
40
47
|
highlightIdentifier: {
|
|
41
48
|
type: 'bar';
|
|
42
49
|
seriesId: SeriesId;
|
|
@@ -54,6 +61,12 @@ export interface ChartsSeriesConfig {
|
|
|
54
61
|
canBeStacked: true;
|
|
55
62
|
axisType: 'cartesian';
|
|
56
63
|
highlightScope: CommonHighlightScope;
|
|
64
|
+
descriptionGetterParams: {
|
|
65
|
+
identifier: LineItemIdentifier;
|
|
66
|
+
xAxis: ComputedXAxis;
|
|
67
|
+
yAxis: ComputedYAxis;
|
|
68
|
+
series: DefaultizedLineSeriesType;
|
|
69
|
+
};
|
|
57
70
|
highlightIdentifier: {
|
|
58
71
|
type: 'line';
|
|
59
72
|
seriesId: SeriesId;
|
|
@@ -70,6 +83,12 @@ export interface ChartsSeriesConfig {
|
|
|
70
83
|
itemIdentifierWithData: ScatterItemIdentifier;
|
|
71
84
|
axisType: 'cartesian';
|
|
72
85
|
highlightScope: CommonHighlightScope;
|
|
86
|
+
descriptionGetterParams: {
|
|
87
|
+
identifier: ScatterItemIdentifier;
|
|
88
|
+
xAxis: ComputedXAxis;
|
|
89
|
+
yAxis: ComputedYAxis;
|
|
90
|
+
series: DefaultizedScatterSeriesType;
|
|
91
|
+
};
|
|
73
92
|
highlightIdentifier: {
|
|
74
93
|
type: 'scatter';
|
|
75
94
|
seriesId: SeriesId;
|
|
@@ -87,6 +106,10 @@ export interface ChartsSeriesConfig {
|
|
|
87
106
|
itemIdentifierWithData: PieItemIdentifier;
|
|
88
107
|
valueType: DefaultizedPieValueType;
|
|
89
108
|
highlightScope: CommonHighlightScope;
|
|
109
|
+
descriptionGetterParams: {
|
|
110
|
+
identifier: PieItemIdentifier;
|
|
111
|
+
series: DefaultizedPieSeriesType;
|
|
112
|
+
};
|
|
90
113
|
highlightIdentifier: {
|
|
91
114
|
type: 'pie';
|
|
92
115
|
seriesId: SeriesId;
|
|
@@ -103,6 +126,12 @@ export interface ChartsSeriesConfig {
|
|
|
103
126
|
valueType: number;
|
|
104
127
|
axisType: 'polar';
|
|
105
128
|
highlightScope: CommonHighlightScope;
|
|
129
|
+
descriptionGetterParams: {
|
|
130
|
+
identifier: RadarItemIdentifier;
|
|
131
|
+
rotationAxis: PolarAxisDefaultized<any, any, ChartsRotationAxisProps>;
|
|
132
|
+
radiusAxis: PolarAxisDefaultized<any, any, ChartsRadiusAxisProps>;
|
|
133
|
+
series: DefaultizedRadarSeriesType;
|
|
134
|
+
};
|
|
106
135
|
highlightIdentifier: {
|
|
107
136
|
type: 'radar';
|
|
108
137
|
seriesId: SeriesId;
|
|
@@ -63,7 +63,8 @@ export interface LineSeriesType extends CommonSeriesType<number | null, 'line'>,
|
|
|
63
63
|
/**
|
|
64
64
|
* The shape of the mark elements.
|
|
65
65
|
* Using 'circle' renders a `<circle />` element, while all other options render a `<path />` instead. The path causes a small decrease in performance.
|
|
66
|
-
*
|
|
66
|
+
* By default, each series has a different shape, cycling through `'circle'`, `'square'`, `'diamond'`, `'cross'`, `'star'`, `'triangle'`, `'wye'`.
|
|
67
|
+
* If there are more than 7 series, the shapes will repeat.
|
|
67
68
|
*/
|
|
68
69
|
shape?: MarkShape;
|
|
69
70
|
/**
|
|
@@ -63,7 +63,8 @@ export interface LineSeriesType extends CommonSeriesType<number | null, 'line'>,
|
|
|
63
63
|
/**
|
|
64
64
|
* The shape of the mark elements.
|
|
65
65
|
* Using 'circle' renders a `<circle />` element, while all other options render a `<path />` instead. The path causes a small decrease in performance.
|
|
66
|
-
*
|
|
66
|
+
* By default, each series has a different shape, cycling through `'circle'`, `'square'`, `'diamond'`, `'cross'`, `'star'`, `'triangle'`, `'wye'`.
|
|
67
|
+
* If there are more than 7 series, the shapes will repeat.
|
|
67
68
|
*/
|
|
68
69
|
shape?: MarkShape;
|
|
69
70
|
/**
|
|
@@ -20,13 +20,6 @@ export interface ScatterSeriesType extends CommonSeriesType<ScatterValueType | n
|
|
|
20
20
|
* The label to display on the tooltip or the legend. It can be a string or a function.
|
|
21
21
|
*/
|
|
22
22
|
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
23
|
-
/**
|
|
24
|
-
* If true, the interaction will not use element hover for this series.
|
|
25
|
-
* @default false
|
|
26
|
-
* @deprecated This prop will be removed in a future version because it is ambiguous. You can select what to disable
|
|
27
|
-
* on hover by disabling the highlight or the tooltip separately.
|
|
28
|
-
*/
|
|
29
|
-
disableHover?: boolean;
|
|
30
23
|
/**
|
|
31
24
|
* The id of the z-axis used to render the series.
|
|
32
25
|
*/
|
|
@@ -20,13 +20,6 @@ export interface ScatterSeriesType extends CommonSeriesType<ScatterValueType | n
|
|
|
20
20
|
* The label to display on the tooltip or the legend. It can be a string or a function.
|
|
21
21
|
*/
|
|
22
22
|
label?: string | ((location: 'tooltip' | 'legend') => string);
|
|
23
|
-
/**
|
|
24
|
-
* If true, the interaction will not use element hover for this series.
|
|
25
|
-
* @default false
|
|
26
|
-
* @deprecated This prop will be removed in a future version because it is ambiguous. You can select what to disable
|
|
27
|
-
* on hover by disabling the highlight or the tooltip separately.
|
|
28
|
-
*/
|
|
29
|
-
disableHover?: boolean;
|
|
30
23
|
/**
|
|
31
24
|
* The id of the z-axis used to render the series.
|
|
32
25
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "9.0.0-
|
|
3
|
+
"version": "9.0.0-beta.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The community edition of MUI X Charts components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"reselect": "^5.1.1",
|
|
36
36
|
"use-sync-external-store": "^1.6.0",
|
|
37
37
|
"@mui/x-charts-vendor": "9.0.0-alpha.2",
|
|
38
|
-
"@mui/x-
|
|
39
|
-
"@mui/x-
|
|
38
|
+
"@mui/x-internal-gestures": "0.4.1-alpha.0",
|
|
39
|
+
"@mui/x-internals": "9.0.0-alpha.4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|
|
@@ -88,34 +88,6 @@
|
|
|
88
88
|
"default": "./BarChart/index.mjs"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"./ChartContainer": {
|
|
92
|
-
"import": {
|
|
93
|
-
"types": "./ChartContainer/index.d.mts",
|
|
94
|
-
"default": "./ChartContainer/index.mjs"
|
|
95
|
-
},
|
|
96
|
-
"require": {
|
|
97
|
-
"types": "./ChartContainer/index.d.ts",
|
|
98
|
-
"default": "./ChartContainer/index.js"
|
|
99
|
-
},
|
|
100
|
-
"default": {
|
|
101
|
-
"types": "./ChartContainer/index.d.mts",
|
|
102
|
-
"default": "./ChartContainer/index.mjs"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"./ChartDataProvider": {
|
|
106
|
-
"import": {
|
|
107
|
-
"types": "./ChartDataProvider/index.d.mts",
|
|
108
|
-
"default": "./ChartDataProvider/index.mjs"
|
|
109
|
-
},
|
|
110
|
-
"require": {
|
|
111
|
-
"types": "./ChartDataProvider/index.d.ts",
|
|
112
|
-
"default": "./ChartDataProvider/index.js"
|
|
113
|
-
},
|
|
114
|
-
"default": {
|
|
115
|
-
"types": "./ChartDataProvider/index.d.mts",
|
|
116
|
-
"default": "./ChartDataProvider/index.mjs"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
91
|
"./ChartsAxis": {
|
|
120
92
|
"import": {
|
|
121
93
|
"types": "./ChartsAxis/index.d.mts",
|
|
@@ -36,22 +36,11 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
36
36
|
MuiChartsDataProvider?: {
|
|
37
37
|
defaultProps?: ComponentsProps['MuiChartsDataProvider'];
|
|
38
38
|
};
|
|
39
|
-
/** @deprecated Use `MuiChartsDataProvider` instead. */
|
|
40
|
-
MuiChartDataProvider?: {
|
|
41
|
-
defaultProps?: ComponentsProps['MuiChartDataProvider'];
|
|
42
|
-
};
|
|
43
39
|
MuiBarChart?: {
|
|
44
40
|
defaultProps?: ComponentsProps['MuiBarChart'];
|
|
45
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarChart'];
|
|
46
|
-
};
|
|
47
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
48
|
-
MuiBarElement?: {
|
|
49
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarElement'];
|
|
50
41
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
defaultProps?: ComponentsProps['MuiBarLabel'];
|
|
54
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarLabel'];
|
|
42
|
+
MuiBarPlot?: {
|
|
43
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiBarPlot'];
|
|
55
44
|
};
|
|
56
45
|
MuiLineChart?: {
|
|
57
46
|
defaultProps?: ComponentsProps['MuiLineChart'];
|
|
@@ -65,18 +54,6 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
65
54
|
MuiMarkPlot?: {
|
|
66
55
|
styleOverrides?: ComponentsOverrides<Theme>['MuiMarkPlot'];
|
|
67
56
|
};
|
|
68
|
-
/** @deprecated Use `MuiAreaPlot` instead. */
|
|
69
|
-
MuiAreaElement?: {
|
|
70
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiAreaElement'];
|
|
71
|
-
};
|
|
72
|
-
/** @deprecated Use `MuiLinePlot` instead. */
|
|
73
|
-
MuiLineElement?: {
|
|
74
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiLineElement'];
|
|
75
|
-
};
|
|
76
|
-
/** @deprecated Use `MuiMarkPlot` instead. */
|
|
77
|
-
MuiMarkElement?: {
|
|
78
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiMarkElement'];
|
|
79
|
-
};
|
|
80
57
|
MuiPieArcPlot?: {
|
|
81
58
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPieArcPlot'];
|
|
82
59
|
};
|
|
@@ -91,6 +68,9 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
91
68
|
MuiScatter?: {
|
|
92
69
|
styleOverrides?: ComponentsOverrides<Theme>['MuiScatterChart'];
|
|
93
70
|
};
|
|
71
|
+
MuiRadarChart?: {
|
|
72
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiRadarChart'];
|
|
73
|
+
};
|
|
94
74
|
MuiGauge?: {
|
|
95
75
|
styleOverrides?: ComponentsOverrides<Theme>['MuiGauge'];
|
|
96
76
|
};
|
|
@@ -36,22 +36,11 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
36
36
|
MuiChartsDataProvider?: {
|
|
37
37
|
defaultProps?: ComponentsProps['MuiChartsDataProvider'];
|
|
38
38
|
};
|
|
39
|
-
/** @deprecated Use `MuiChartsDataProvider` instead. */
|
|
40
|
-
MuiChartDataProvider?: {
|
|
41
|
-
defaultProps?: ComponentsProps['MuiChartDataProvider'];
|
|
42
|
-
};
|
|
43
39
|
MuiBarChart?: {
|
|
44
40
|
defaultProps?: ComponentsProps['MuiBarChart'];
|
|
45
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarChart'];
|
|
46
|
-
};
|
|
47
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
48
|
-
MuiBarElement?: {
|
|
49
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarElement'];
|
|
50
41
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
defaultProps?: ComponentsProps['MuiBarLabel'];
|
|
54
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiBarLabel'];
|
|
42
|
+
MuiBarPlot?: {
|
|
43
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiBarPlot'];
|
|
55
44
|
};
|
|
56
45
|
MuiLineChart?: {
|
|
57
46
|
defaultProps?: ComponentsProps['MuiLineChart'];
|
|
@@ -65,18 +54,6 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
65
54
|
MuiMarkPlot?: {
|
|
66
55
|
styleOverrides?: ComponentsOverrides<Theme>['MuiMarkPlot'];
|
|
67
56
|
};
|
|
68
|
-
/** @deprecated Use `MuiAreaPlot` instead. */
|
|
69
|
-
MuiAreaElement?: {
|
|
70
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiAreaElement'];
|
|
71
|
-
};
|
|
72
|
-
/** @deprecated Use `MuiLinePlot` instead. */
|
|
73
|
-
MuiLineElement?: {
|
|
74
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiLineElement'];
|
|
75
|
-
};
|
|
76
|
-
/** @deprecated Use `MuiMarkPlot` instead. */
|
|
77
|
-
MuiMarkElement?: {
|
|
78
|
-
styleOverrides?: ComponentsOverrides<Theme>['MuiMarkElement'];
|
|
79
|
-
};
|
|
80
57
|
MuiPieArcPlot?: {
|
|
81
58
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPieArcPlot'];
|
|
82
59
|
};
|
|
@@ -91,6 +68,9 @@ export interface ChartsComponents<Theme = unknown> {
|
|
|
91
68
|
MuiScatter?: {
|
|
92
69
|
styleOverrides?: ComponentsOverrides<Theme>['MuiScatterChart'];
|
|
93
70
|
};
|
|
71
|
+
MuiRadarChart?: {
|
|
72
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiRadarChart'];
|
|
73
|
+
};
|
|
94
74
|
MuiGauge?: {
|
|
95
75
|
styleOverrides?: ComponentsOverrides<Theme>['MuiGauge'];
|
|
96
76
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { type GaugeClassKey } from "../Gauge/index.mjs";
|
|
2
|
-
import { type
|
|
3
|
-
import { type BarLabelClassKey } from "../BarChart/index.mjs";
|
|
4
|
-
import { type BarElementClassKey } from "../BarChart/barElementClasses.mjs";
|
|
2
|
+
import { type RadarClassKey } from "../RadarChart/radarClasses.mjs";
|
|
5
3
|
import { type ScatterClassKey } from "../ScatterChart/scatterClasses.mjs";
|
|
6
4
|
import { type ChartsAxisHighlightClassKey } from "../ChartsAxisHighlight/index.mjs";
|
|
7
5
|
import { type ChartsGridClassKey } from "../ChartsGrid/index.mjs";
|
|
8
6
|
import { type ChartsTooltipClassKey } from "../ChartsTooltip/index.mjs";
|
|
9
|
-
import type { AreaElementClassKey, LineElementClassKey, MarkElementClassKey } from "../LineChart/index.mjs";
|
|
10
7
|
export interface ChartsComponentNameToClassKey {
|
|
11
8
|
MuiChartsAxis: 'root';
|
|
12
9
|
MuiChartsXAxis: 'root';
|
|
@@ -16,23 +13,14 @@ export interface ChartsComponentNameToClassKey {
|
|
|
16
13
|
MuiChartsGrid: ChartsGridClassKey;
|
|
17
14
|
MuiChartsTooltip: ChartsTooltipClassKey;
|
|
18
15
|
MuiChartsSurface: 'root';
|
|
19
|
-
|
|
20
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
21
|
-
MuiBarElement: BarElementClassKey;
|
|
22
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
23
|
-
MuiBarLabel: BarLabelClassKey;
|
|
16
|
+
MuiBarPlot: 'root';
|
|
24
17
|
MuiPieArcPlot: 'root';
|
|
25
18
|
MuiPieArcLabelPlot: 'root';
|
|
26
19
|
MuiAreaPlot: 'root';
|
|
27
20
|
MuiLinePlot: 'root';
|
|
28
21
|
MuiMarkPlot: 'root';
|
|
29
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
30
|
-
MuiAreaElement: AreaElementClassKey;
|
|
31
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
32
|
-
MuiLineElement: LineElementClassKey;
|
|
33
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
34
|
-
MuiMarkElement: MarkElementClassKey;
|
|
35
22
|
MuiScatterChart: ScatterClassKey;
|
|
23
|
+
MuiRadarChart: RadarClassKey;
|
|
36
24
|
MuiGauge: GaugeClassKey;
|
|
37
25
|
}
|
|
38
26
|
declare module '@mui/material/styles' {
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { type GaugeClassKey } from "../Gauge/index.js";
|
|
2
|
-
import { type
|
|
3
|
-
import { type BarLabelClassKey } from "../BarChart/index.js";
|
|
4
|
-
import { type BarElementClassKey } from "../BarChart/barElementClasses.js";
|
|
2
|
+
import { type RadarClassKey } from "../RadarChart/radarClasses.js";
|
|
5
3
|
import { type ScatterClassKey } from "../ScatterChart/scatterClasses.js";
|
|
6
4
|
import { type ChartsAxisHighlightClassKey } from "../ChartsAxisHighlight/index.js";
|
|
7
5
|
import { type ChartsGridClassKey } from "../ChartsGrid/index.js";
|
|
8
6
|
import { type ChartsTooltipClassKey } from "../ChartsTooltip/index.js";
|
|
9
|
-
import type { AreaElementClassKey, LineElementClassKey, MarkElementClassKey } from "../LineChart/index.js";
|
|
10
7
|
export interface ChartsComponentNameToClassKey {
|
|
11
8
|
MuiChartsAxis: 'root';
|
|
12
9
|
MuiChartsXAxis: 'root';
|
|
@@ -16,23 +13,14 @@ export interface ChartsComponentNameToClassKey {
|
|
|
16
13
|
MuiChartsGrid: ChartsGridClassKey;
|
|
17
14
|
MuiChartsTooltip: ChartsTooltipClassKey;
|
|
18
15
|
MuiChartsSurface: 'root';
|
|
19
|
-
|
|
20
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
21
|
-
MuiBarElement: BarElementClassKey;
|
|
22
|
-
/** @deprecated Use `MuiBarChart` instead. */
|
|
23
|
-
MuiBarLabel: BarLabelClassKey;
|
|
16
|
+
MuiBarPlot: 'root';
|
|
24
17
|
MuiPieArcPlot: 'root';
|
|
25
18
|
MuiPieArcLabelPlot: 'root';
|
|
26
19
|
MuiAreaPlot: 'root';
|
|
27
20
|
MuiLinePlot: 'root';
|
|
28
21
|
MuiMarkPlot: 'root';
|
|
29
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
30
|
-
MuiAreaElement: AreaElementClassKey;
|
|
31
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
32
|
-
MuiLineElement: LineElementClassKey;
|
|
33
|
-
/** @deprecated Use `MuiLineChart` instead. */
|
|
34
|
-
MuiMarkElement: MarkElementClassKey;
|
|
35
22
|
MuiScatterChart: ScatterClassKey;
|
|
23
|
+
MuiRadarChart: RadarClassKey;
|
|
36
24
|
MuiGauge: GaugeClassKey;
|
|
37
25
|
}
|
|
38
26
|
declare module '@mui/material/styles' {
|
|
@@ -23,8 +23,6 @@ export interface ChartsComponentsPropsList {
|
|
|
23
23
|
MuiChartsLayerContainer: ChartsLayerContainerProps;
|
|
24
24
|
MuiChartsSvgLayer: ChartsSvgLayerProps;
|
|
25
25
|
MuiChartsDataProvider: ChartsDataProviderProps;
|
|
26
|
-
/** @deprecated Use `MuiChartsDataProvider` instead. */
|
|
27
|
-
MuiChartDataProvider: ChartsDataProviderProps;
|
|
28
26
|
MuiBarChart: BarChartProps;
|
|
29
27
|
MuiBarLabel: BarLabelProps;
|
|
30
28
|
MuiLineChart: LineChartProps;
|