@mui/x-charts 8.11.2 → 8.12.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.ts +2 -2
- package/BarChart/BarChart.js +1 -0
- package/BarChart/BarChart.plugins.d.ts +3 -2
- package/BarChart/BarChart.plugins.js +2 -1
- package/BarChart/BarElement.js +10 -2
- package/BarChart/index.d.ts +2 -0
- package/BarChart/index.js +12 -0
- package/BarChart/useBarChartProps.d.ts +2 -2
- package/BarChart/useBarChartProps.js +4 -3
- package/CHANGELOG.md +231 -0
- package/ChartContainer/ChartContainer.js +4 -2
- package/ChartContainer/useChartContainerProps.js +4 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +4 -4
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +4 -4
- package/ChartsLegend/ChartsLegend.js +2 -1
- package/ChartsLegend/ContinuousColorLegend.js +1 -0
- package/ChartsLegend/PiecewiseColorLegend.d.ts +2 -2
- package/ChartsLegend/PiecewiseColorLegend.js +33 -22
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +4 -0
- package/ChartsLegend/piecewiseColorLegendClasses.js +2 -2
- package/ChartsSurface/ChartsSurface.js +22 -2
- package/ChartsWrapper/ChartsWrapper.d.ts +5 -0
- package/ChartsWrapper/ChartsWrapper.js +87 -36
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +2 -2
- package/ChartsXAxis/ChartsXAxisImpl.js +3 -3
- package/ChartsXAxis/getVisibleLabels.js +5 -1
- package/ChartsXAxis/useAxisTicksProps.d.ts +3 -3
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +2 -2
- package/ChartsYAxis/ChartsYAxisImpl.js +3 -3
- package/ChartsYAxis/useAxisTicksProps.d.ts +3 -3
- package/LineChart/FocusedMark.d.ts +2 -0
- package/LineChart/FocusedMark.js +44 -0
- package/LineChart/LineChart.d.ts +2 -2
- package/LineChart/LineChart.js +3 -1
- package/LineChart/LineChart.plugins.d.ts +3 -2
- package/LineChart/LineChart.plugins.js +2 -1
- package/LineChart/index.d.ts +1 -0
- package/LineChart/index.js +12 -0
- package/LineChart/useAreaPlotData.js +2 -2
- package/LineChart/useLineChartProps.d.ts +2 -2
- package/LineChart/useLineChartProps.js +2 -1
- package/LineChart/useLinePlotData.js +2 -2
- package/PieChart/PieArc.d.ts +1 -0
- package/PieChart/PieArc.js +7 -3
- package/PieChart/PieArcPlot.js +1 -0
- package/PieChart/PieChart.js +2 -0
- package/PieChart/PieChart.plugins.d.ts +2 -1
- package/PieChart/PieChart.plugins.js +2 -1
- package/PieChart/dataTransform/useTransformData.d.ts +1 -0
- package/PieChart/dataTransform/useTransformData.js +9 -1
- package/PieChart/index.d.ts +1 -0
- package/PieChart/index.js +12 -0
- package/RadarChart/RadarAxis/useRadarAxis.js +2 -2
- package/RadarChart/RadarChart.plugins.d.ts +1 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +3 -3
- package/RadarChart/index.d.ts +2 -1
- package/RadarChart/index.js +12 -0
- package/RadarChart/useRadarChartProps.d.ts +2 -2
- package/RadarChart/useRadarChartProps.js +2 -1
- package/ScatterChart/BatchScatter.d.ts +32 -0
- package/ScatterChart/BatchScatter.js +171 -0
- package/ScatterChart/Scatter.js +13 -5
- package/ScatterChart/ScatterChart.d.ts +4 -4
- package/ScatterChart/ScatterChart.js +13 -2
- package/ScatterChart/ScatterChart.plugins.d.ts +4 -3
- package/ScatterChart/ScatterChart.plugins.js +3 -2
- package/ScatterChart/ScatterPlot.d.ts +10 -0
- package/ScatterChart/ScatterPlot.js +14 -2
- package/ScatterChart/index.d.ts +1 -0
- package/ScatterChart/index.js +12 -0
- package/ScatterChart/useScatterChartProps.d.ts +2 -2
- package/ScatterChart/useScatterChartProps.js +10 -6
- package/SparkLineChart/SparkLineChart.js +10 -5
- package/colorPalettes/types.d.ts +1 -1
- package/context/ChartApi.d.ts +6 -6
- package/esm/BarChart/BarChart.d.ts +2 -2
- package/esm/BarChart/BarChart.js +1 -0
- package/esm/BarChart/BarChart.plugins.d.ts +3 -2
- package/esm/BarChart/BarChart.plugins.js +2 -1
- package/esm/BarChart/BarElement.js +10 -2
- package/esm/BarChart/index.d.ts +2 -0
- package/esm/BarChart/index.js +1 -0
- package/esm/BarChart/useBarChartProps.d.ts +2 -2
- package/esm/BarChart/useBarChartProps.js +4 -3
- package/esm/ChartContainer/ChartContainer.js +4 -2
- package/esm/ChartContainer/useChartContainerProps.js +4 -2
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +4 -4
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +4 -4
- package/esm/ChartsLegend/ChartsLegend.js +2 -1
- package/esm/ChartsLegend/ContinuousColorLegend.js +1 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +2 -2
- package/esm/ChartsLegend/PiecewiseColorLegend.js +33 -22
- package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +4 -0
- package/esm/ChartsLegend/piecewiseColorLegendClasses.js +2 -2
- package/esm/ChartsSurface/ChartsSurface.js +22 -2
- package/esm/ChartsWrapper/ChartsWrapper.d.ts +5 -0
- package/esm/ChartsWrapper/ChartsWrapper.js +87 -36
- package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.js +2 -2
- package/esm/ChartsXAxis/ChartsXAxisImpl.js +3 -3
- package/esm/ChartsXAxis/getVisibleLabels.js +5 -1
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +3 -3
- package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.js +2 -2
- package/esm/ChartsYAxis/ChartsYAxisImpl.js +3 -3
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +3 -3
- package/esm/LineChart/FocusedMark.d.ts +2 -0
- package/esm/LineChart/FocusedMark.js +38 -0
- package/esm/LineChart/LineChart.d.ts +2 -2
- package/esm/LineChart/LineChart.js +3 -1
- package/esm/LineChart/LineChart.plugins.d.ts +3 -2
- package/esm/LineChart/LineChart.plugins.js +2 -1
- package/esm/LineChart/index.d.ts +1 -0
- package/esm/LineChart/index.js +1 -0
- package/esm/LineChart/useAreaPlotData.js +2 -2
- package/esm/LineChart/useLineChartProps.d.ts +2 -2
- package/esm/LineChart/useLineChartProps.js +2 -1
- package/esm/LineChart/useLinePlotData.js +2 -2
- package/esm/PieChart/PieArc.d.ts +1 -0
- package/esm/PieChart/PieArc.js +7 -3
- package/esm/PieChart/PieArcPlot.js +1 -0
- package/esm/PieChart/PieChart.js +2 -0
- package/esm/PieChart/PieChart.plugins.d.ts +2 -1
- package/esm/PieChart/PieChart.plugins.js +2 -1
- package/esm/PieChart/dataTransform/useTransformData.d.ts +1 -0
- package/esm/PieChart/dataTransform/useTransformData.js +9 -1
- package/esm/PieChart/index.d.ts +1 -0
- package/esm/PieChart/index.js +1 -0
- package/esm/RadarChart/RadarAxis/useRadarAxis.js +2 -2
- package/esm/RadarChart/RadarChart.plugins.d.ts +1 -1
- package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +3 -3
- package/esm/RadarChart/index.d.ts +2 -1
- package/esm/RadarChart/index.js +2 -1
- package/esm/RadarChart/useRadarChartProps.d.ts +2 -2
- package/esm/RadarChart/useRadarChartProps.js +2 -1
- package/esm/ScatterChart/BatchScatter.d.ts +32 -0
- package/esm/ScatterChart/BatchScatter.js +165 -0
- package/esm/ScatterChart/Scatter.js +13 -5
- package/esm/ScatterChart/ScatterChart.d.ts +4 -4
- package/esm/ScatterChart/ScatterChart.js +13 -2
- package/esm/ScatterChart/ScatterChart.plugins.d.ts +4 -3
- package/esm/ScatterChart/ScatterChart.plugins.js +3 -2
- package/esm/ScatterChart/ScatterPlot.d.ts +10 -0
- package/esm/ScatterChart/ScatterPlot.js +14 -2
- package/esm/ScatterChart/index.d.ts +1 -0
- package/esm/ScatterChart/index.js +1 -0
- package/esm/ScatterChart/useScatterChartProps.d.ts +2 -2
- package/esm/ScatterChart/useScatterChartProps.js +10 -6
- package/esm/SparkLineChart/SparkLineChart.js +10 -5
- package/esm/colorPalettes/types.d.ts +1 -1
- package/esm/context/ChartApi.d.ts +6 -6
- package/esm/hooks/useAxis.d.ts +5 -5
- package/esm/hooks/useDrawingArea.d.ts +20 -2
- package/esm/hooks/useFocusedItem.d.ts +15 -0
- package/esm/hooks/useFocusedItem.js +20 -0
- package/esm/hooks/useIsItemFocused.d.ts +12 -0
- package/esm/hooks/useIsItemFocused.js +15 -0
- package/esm/hooks/useIsItemFocusedGetter.d.ts +8 -0
- package/esm/hooks/useIsItemFocusedGetter.js +14 -0
- package/esm/hooks/useScale.js +8 -2
- package/esm/hooks/useTicks.js +2 -2
- package/esm/hooks/useTicksGrouped.js +2 -2
- package/esm/index.d.ts +1 -0
- package/esm/index.js +2 -1
- package/esm/internals/animation/Transition.js +1 -3
- package/esm/internals/index.d.ts +4 -3
- package/esm/internals/index.js +4 -3
- package/esm/internals/invertScale.js +2 -2
- package/esm/internals/plugins/allPlugins.d.ts +5 -4
- package/esm/internals/plugins/allPlugins.js +3 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +2 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +66 -72
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +3 -19
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +10 -18
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
- package/{internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts → esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts} +1 -1
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.js +24 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +63 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +123 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +3 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +8 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +2 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +46 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +10 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +32 -21
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.js → useChartClosestPoint/useChartClosestPoint.js} +9 -7
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +5 -0
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.js +3 -0
- package/esm/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.types.d.ts → useChartClosestPoint/useChartClosestPoint.types.d.ts} +8 -4
- package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +16 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +32 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +5 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.js +3 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +20 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.js +88 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +210 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +25 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +7 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +34 -0
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +10 -8
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +2 -1
- package/esm/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +1 -1
- package/esm/internals/scaleGuards.d.ts +11 -0
- package/esm/internals/scaleGuards.js +9 -0
- package/esm/locales/elGR.d.ts +96 -0
- package/esm/locales/elGR.js +100 -0
- package/esm/locales/enUS.d.ts +96 -0
- package/esm/locales/enUS.js +99 -1
- package/esm/locales/frFR.d.ts +96 -0
- package/esm/locales/frFR.js +100 -2
- package/esm/locales/ptBR.d.ts +96 -0
- package/esm/locales/ptBR.js +100 -0
- package/esm/locales/ptPT.d.ts +96 -0
- package/esm/locales/ptPT.js +100 -0
- package/esm/locales/svSE.d.ts +97 -1
- package/esm/locales/svSE.js +100 -0
- package/esm/locales/utils/chartsLocaleTextApi.d.ts +384 -0
- package/esm/locales/utils/getChartsLocalization.d.ts +96 -0
- package/esm/models/axis.d.ts +3 -0
- package/esm/plugins/index.d.ts +6 -0
- package/esm/plugins/index.js +12 -0
- package/hooks/useAxis.d.ts +5 -5
- package/hooks/useDrawingArea.d.ts +20 -2
- package/hooks/useFocusedItem.d.ts +15 -0
- package/hooks/useFocusedItem.js +26 -0
- package/hooks/useIsItemFocused.d.ts +12 -0
- package/hooks/useIsItemFocused.js +20 -0
- package/hooks/useIsItemFocusedGetter.d.ts +8 -0
- package/hooks/useIsItemFocusedGetter.js +18 -0
- package/hooks/useScale.js +8 -2
- package/hooks/useTicks.js +2 -2
- package/hooks/useTicksGrouped.js +2 -2
- package/index.d.ts +1 -0
- package/index.js +13 -1
- package/internals/animation/Transition.js +0 -2
- package/internals/index.d.ts +4 -3
- package/internals/index.js +24 -12
- package/internals/invertScale.js +2 -2
- package/internals/plugins/allPlugins.d.ts +5 -4
- package/internals/plugins/allPlugins.js +3 -2
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +2 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +63 -69
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +3 -19
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +10 -18
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
- package/{esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts → internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.d.ts} +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtrema.js +30 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.d.ts +63 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.js +134 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +8 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +2 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +47 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +10 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +33 -22
- package/internals/plugins/featurePlugins/useChartClosestPoint/index.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartClosestPoint/index.js +27 -0
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.d.ts +3 -0
- package/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.js → useChartClosestPoint/useChartClosestPoint.js} +11 -9
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +5 -0
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.js +9 -0
- package/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.types.d.ts → useChartClosestPoint/useChartClosestPoint.types.d.ts} +8 -4
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +16 -0
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +41 -0
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +4 -0
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +6 -1
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartInteraction/checkHasInteractionPlugin.js +9 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/index.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/index.js +27 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.d.ts +20 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.helpers.js +96 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +218 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +25 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +13 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +34 -0
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.js +5 -0
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.js +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +10 -8
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +2 -1
- package/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +1 -1
- package/internals/scaleGuards.d.ts +11 -0
- package/internals/scaleGuards.js +17 -0
- package/locales/elGR.d.ts +96 -0
- package/locales/elGR.js +100 -0
- package/locales/enUS.d.ts +96 -0
- package/locales/enUS.js +99 -1
- package/locales/frFR.d.ts +96 -0
- package/locales/frFR.js +100 -2
- package/locales/ptBR.d.ts +96 -0
- package/locales/ptBR.js +100 -0
- package/locales/ptPT.d.ts +96 -0
- package/locales/ptPT.js +100 -0
- package/locales/svSE.d.ts +97 -1
- package/locales/svSE.js +100 -0
- package/locales/utils/chartsLocaleTextApi.d.ts +384 -0
- package/locales/utils/getChartsLocalization.d.ts +96 -0
- package/models/axis.d.ts +3 -0
- package/package.json +4 -4
- package/plugins/index.d.ts +6 -0
- package/plugins/index.js +47 -0
- package/esm/internals/isBandScale.d.ts +0 -5
- package/esm/internals/isBandScale.js +0 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +0 -22
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +0 -3
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.js +0 -2
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +0 -3
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +0 -5
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +0 -3
- package/internals/isBandScale.d.ts +0 -5
- package/internals/isBandScale.js +0 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +0 -29
- package/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +0 -3
- package/internals/plugins/featurePlugins/useChartVoronoi/index.js +0 -27
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +0 -3
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +0 -5
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +0 -9
- /package/esm/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.types.js → useChartClosestPoint/useChartClosestPoint.types.js} +0 -0
- /package/internals/plugins/featurePlugins/{useChartVoronoi/useChartVoronoi.types.js → useChartClosestPoint/useChartClosestPoint.types.js} +0 -0
package/locales/svSE.js
CHANGED
|
@@ -17,5 +17,105 @@ const svSELocaleText = exports.svSELocaleText = {
|
|
|
17
17
|
// Toolbar Export Menu
|
|
18
18
|
toolbarExportPrint: 'Skriv ut',
|
|
19
19
|
toolbarExportImage: mimeType => `Exportera som ${_imageMimeTypes.imageMimeTypes[mimeType] ?? mimeType}`
|
|
20
|
+
|
|
21
|
+
// Charts renderer configuration
|
|
22
|
+
// chartTypeBar: 'Bar',
|
|
23
|
+
// chartTypeColumn: 'Column',
|
|
24
|
+
// chartTypeLine: 'Line',
|
|
25
|
+
// chartTypeArea: 'Area',
|
|
26
|
+
// chartTypePie: 'Pie',
|
|
27
|
+
// chartPaletteLabel: 'Color palette',
|
|
28
|
+
// chartPaletteNameRainbowSurge: 'Rainbow Surge',
|
|
29
|
+
// chartPaletteNameBlueberryTwilight: 'Blueberry Twilight',
|
|
30
|
+
// chartPaletteNameMangoFusion: 'Mango Fusion',
|
|
31
|
+
// chartPaletteNameCheerfulFiesta: 'Cheerful Fiesta',
|
|
32
|
+
// chartPaletteNameStrawberrySky: 'Strawberry Sky',
|
|
33
|
+
// chartPaletteNameBlue: 'Blue',
|
|
34
|
+
// chartPaletteNameGreen: 'Green',
|
|
35
|
+
// chartPaletteNamePurple: 'Purple',
|
|
36
|
+
// chartPaletteNameRed: 'Red',
|
|
37
|
+
// chartPaletteNameOrange: 'Orange',
|
|
38
|
+
// chartPaletteNameYellow: 'Yellow',
|
|
39
|
+
// chartPaletteNameCyan: 'Cyan',
|
|
40
|
+
// chartPaletteNamePink: 'Pink',
|
|
41
|
+
// chartConfigurationSectionChart: 'Chart',
|
|
42
|
+
// chartConfigurationSectionColumns: 'Columns',
|
|
43
|
+
// chartConfigurationSectionBars: 'Bars',
|
|
44
|
+
// chartConfigurationSectionAxes: 'Axes',
|
|
45
|
+
// chartConfigurationGrid: 'Grid',
|
|
46
|
+
// chartConfigurationBorderRadius: 'Border radius',
|
|
47
|
+
// chartConfigurationCategoryGapRatio: 'Category gap ratio',
|
|
48
|
+
// chartConfigurationBarGapRatio: 'Series gap ratio',
|
|
49
|
+
// chartConfigurationStacked: 'Stacked',
|
|
50
|
+
// chartConfigurationShowToolbar: 'Show toolbar',
|
|
51
|
+
// chartConfigurationSkipAnimation: 'Skip animation',
|
|
52
|
+
// chartConfigurationInnerRadius: 'Inner radius',
|
|
53
|
+
// chartConfigurationOuterRadius: 'Outer radius',
|
|
54
|
+
// chartConfigurationColors: 'Colors',
|
|
55
|
+
// chartConfigurationHideLegend: 'Hide legend',
|
|
56
|
+
// chartConfigurationShowMark: 'Show mark',
|
|
57
|
+
// chartConfigurationHeight: 'Height',
|
|
58
|
+
// chartConfigurationWidth: 'Width',
|
|
59
|
+
// chartConfigurationSeriesGap: 'Series gap',
|
|
60
|
+
// chartConfigurationTickPlacement: 'Tick placement',
|
|
61
|
+
// chartConfigurationTickLabelPlacement: 'Tick label placement',
|
|
62
|
+
// chartConfigurationCategoriesAxisLabel: 'Categories axis label',
|
|
63
|
+
// chartConfigurationSeriesAxisLabel: 'Series axis label',
|
|
64
|
+
// chartConfigurationXAxisPosition: 'X-axis position',
|
|
65
|
+
// chartConfigurationYAxisPosition: 'Y-axis position',
|
|
66
|
+
// chartConfigurationSeriesAxisReverse: 'Reverse series axis',
|
|
67
|
+
// chartConfigurationTooltipPlacement: 'Placement',
|
|
68
|
+
// chartConfigurationTooltipTrigger: 'Trigger',
|
|
69
|
+
// chartConfigurationLegendPosition: 'Position',
|
|
70
|
+
// chartConfigurationLegendDirection: 'Direction',
|
|
71
|
+
// chartConfigurationBarLabels: 'Bar labels',
|
|
72
|
+
// chartConfigurationColumnLabels: 'Column labels',
|
|
73
|
+
// chartConfigurationInterpolation: 'Interpolation',
|
|
74
|
+
// chartConfigurationSectionTooltip: 'Tooltip',
|
|
75
|
+
// chartConfigurationSectionLegend: 'Legend',
|
|
76
|
+
// chartConfigurationSectionLines: 'Lines',
|
|
77
|
+
// chartConfigurationSectionAreas: 'Areas',
|
|
78
|
+
// chartConfigurationSectionArcs: 'Arcs',
|
|
79
|
+
// chartConfigurationPaddingAngle: 'Padding angle',
|
|
80
|
+
// chartConfigurationCornerRadius: 'Corner radius',
|
|
81
|
+
// chartConfigurationArcLabels: 'Arc labels',
|
|
82
|
+
// chartConfigurationStartAngle: 'Start angle',
|
|
83
|
+
// chartConfigurationEndAngle: 'End angle',
|
|
84
|
+
// chartConfigurationPieTooltipTrigger: 'Trigger',
|
|
85
|
+
// chartConfigurationPieLegendPosition: 'Position',
|
|
86
|
+
// chartConfigurationPieLegendDirection: 'Direction',
|
|
87
|
+
|
|
88
|
+
// Common option labels
|
|
89
|
+
// chartConfigurationOptionNone: 'None',
|
|
90
|
+
// chartConfigurationOptionValue: 'Value',
|
|
91
|
+
// chartConfigurationOptionAuto: 'Auto',
|
|
92
|
+
// chartConfigurationOptionTop: 'Top',
|
|
93
|
+
// chartConfigurationOptionTopLeft: 'Top Left',
|
|
94
|
+
// chartConfigurationOptionTopRight: 'Top Right',
|
|
95
|
+
// chartConfigurationOptionBottom: 'Bottom',
|
|
96
|
+
// chartConfigurationOptionBottomLeft: 'Bottom Left',
|
|
97
|
+
// chartConfigurationOptionBottomRight: 'Bottom Right',
|
|
98
|
+
// chartConfigurationOptionLeft: 'Left',
|
|
99
|
+
// chartConfigurationOptionRight: 'Right',
|
|
100
|
+
// chartConfigurationOptionAxis: 'Axis',
|
|
101
|
+
// chartConfigurationOptionItem: 'Item',
|
|
102
|
+
// chartConfigurationOptionHorizontal: 'Horizontal',
|
|
103
|
+
// chartConfigurationOptionVertical: 'Vertical',
|
|
104
|
+
// chartConfigurationOptionBoth: 'Both',
|
|
105
|
+
// chartConfigurationOptionStart: 'Start',
|
|
106
|
+
// chartConfigurationOptionMiddle: 'Middle',
|
|
107
|
+
// chartConfigurationOptionEnd: 'End',
|
|
108
|
+
// chartConfigurationOptionExtremities: 'Extremities',
|
|
109
|
+
// chartConfigurationOptionTick: 'Tick',
|
|
110
|
+
// chartConfigurationOptionMonotoneX: 'Monotone X',
|
|
111
|
+
// chartConfigurationOptionMonotoneY: 'Monotone Y',
|
|
112
|
+
// chartConfigurationOptionCatmullRom: 'Catmull-Rom',
|
|
113
|
+
// chartConfigurationOptionLinear: 'Linear',
|
|
114
|
+
// chartConfigurationOptionNatural: 'Natural',
|
|
115
|
+
// chartConfigurationOptionStep: 'Step',
|
|
116
|
+
// chartConfigurationOptionStepBefore: 'Step Before',
|
|
117
|
+
// chartConfigurationOptionStepAfter: 'Step After',
|
|
118
|
+
// chartConfigurationOptionBumpX: 'Bump X',
|
|
119
|
+
// chartConfigurationOptionBumpY: 'Bump Y',
|
|
20
120
|
};
|
|
21
121
|
const svSE = exports.svSE = (0, _getChartsLocalization.getChartsLocalization)(svSELocaleText);
|
|
@@ -32,5 +32,389 @@ export interface ChartsLocaleText {
|
|
|
32
32
|
* @returns {string} The localized string for an export image button.
|
|
33
33
|
*/
|
|
34
34
|
toolbarExportImage: (mimeType: ChartImageExportMimeType | (string & {})) => string;
|
|
35
|
+
/**
|
|
36
|
+
* Label for the bar chart type.
|
|
37
|
+
*/
|
|
38
|
+
chartTypeBar: string;
|
|
39
|
+
/**
|
|
40
|
+
* Label for the column chart type.
|
|
41
|
+
*/
|
|
42
|
+
chartTypeColumn: string;
|
|
43
|
+
/**
|
|
44
|
+
* Label for the line chart type.
|
|
45
|
+
*/
|
|
46
|
+
chartTypeLine: string;
|
|
47
|
+
/**
|
|
48
|
+
* Label for the area chart type.
|
|
49
|
+
*/
|
|
50
|
+
chartTypeArea: string;
|
|
51
|
+
/**
|
|
52
|
+
* Label for the pie chart type.
|
|
53
|
+
*/
|
|
54
|
+
chartTypePie: string;
|
|
55
|
+
/**
|
|
56
|
+
* Label for the color palette control.
|
|
57
|
+
*/
|
|
58
|
+
chartPaletteLabel: string;
|
|
59
|
+
/**
|
|
60
|
+
* Label for the rainbow surge palette.
|
|
61
|
+
*/
|
|
62
|
+
chartPaletteNameRainbowSurge: string;
|
|
63
|
+
/**
|
|
64
|
+
* Label for the blueberry twilight palette.
|
|
65
|
+
*/
|
|
66
|
+
chartPaletteNameBlueberryTwilight: string;
|
|
67
|
+
/**
|
|
68
|
+
* Label for the mango fusion palette.
|
|
69
|
+
*/
|
|
70
|
+
chartPaletteNameMangoFusion: string;
|
|
71
|
+
/**
|
|
72
|
+
* Label for the cheerful fiesta palette.
|
|
73
|
+
*/
|
|
74
|
+
chartPaletteNameCheerfulFiesta: string;
|
|
75
|
+
/**
|
|
76
|
+
* Label for the strawberry sky palette.
|
|
77
|
+
*/
|
|
78
|
+
chartPaletteNameStrawberrySky: string;
|
|
79
|
+
/**
|
|
80
|
+
* Label for the blue palette.
|
|
81
|
+
*/
|
|
82
|
+
chartPaletteNameBlue: string;
|
|
83
|
+
/**
|
|
84
|
+
* Label for the green palette.
|
|
85
|
+
*/
|
|
86
|
+
chartPaletteNameGreen: string;
|
|
87
|
+
/**
|
|
88
|
+
* Label for the purple palette.
|
|
89
|
+
*/
|
|
90
|
+
chartPaletteNamePurple: string;
|
|
91
|
+
/**
|
|
92
|
+
* Label for the red palette.
|
|
93
|
+
*/
|
|
94
|
+
chartPaletteNameRed: string;
|
|
95
|
+
/**
|
|
96
|
+
* Label for the orange palette.
|
|
97
|
+
*/
|
|
98
|
+
chartPaletteNameOrange: string;
|
|
99
|
+
/**
|
|
100
|
+
* Label for the yellow palette.
|
|
101
|
+
*/
|
|
102
|
+
chartPaletteNameYellow: string;
|
|
103
|
+
/**
|
|
104
|
+
* Label for the cyan palette.
|
|
105
|
+
*/
|
|
106
|
+
chartPaletteNameCyan: string;
|
|
107
|
+
/**
|
|
108
|
+
* Label for the pink palette.
|
|
109
|
+
*/
|
|
110
|
+
chartPaletteNamePink: string;
|
|
111
|
+
/**
|
|
112
|
+
* Label for the chart configuration section.
|
|
113
|
+
*/
|
|
114
|
+
chartConfigurationSectionChart: string;
|
|
115
|
+
/**
|
|
116
|
+
* Label for the axes configuration section.
|
|
117
|
+
*/
|
|
118
|
+
chartConfigurationSectionAxes: string;
|
|
119
|
+
/**
|
|
120
|
+
* Label for the tooltip configuration section.
|
|
121
|
+
*/
|
|
122
|
+
chartConfigurationSectionTooltip: string;
|
|
123
|
+
/**
|
|
124
|
+
* Label for the legend configuration section.
|
|
125
|
+
*/
|
|
126
|
+
chartConfigurationSectionLegend: string;
|
|
127
|
+
/**
|
|
128
|
+
* Label for the columns configuration section.
|
|
129
|
+
*/
|
|
130
|
+
chartConfigurationSectionColumns: string;
|
|
131
|
+
/**
|
|
132
|
+
* Label for the bars configuration section.
|
|
133
|
+
*/
|
|
134
|
+
chartConfigurationSectionBars: string;
|
|
135
|
+
/**
|
|
136
|
+
* Label for the lines configuration section.
|
|
137
|
+
*/
|
|
138
|
+
chartConfigurationSectionLines: string;
|
|
139
|
+
/**
|
|
140
|
+
* Label for the areas configuration section.
|
|
141
|
+
*/
|
|
142
|
+
chartConfigurationSectionAreas: string;
|
|
143
|
+
/**
|
|
144
|
+
* Label for the arcs configuration section.
|
|
145
|
+
*/
|
|
146
|
+
chartConfigurationSectionArcs: string;
|
|
147
|
+
/**
|
|
148
|
+
* Label for the grid configuration control.
|
|
149
|
+
*/
|
|
150
|
+
chartConfigurationGrid: string;
|
|
151
|
+
/**
|
|
152
|
+
* Label for the border radius configuration control.
|
|
153
|
+
*/
|
|
154
|
+
chartConfigurationBorderRadius: string;
|
|
155
|
+
/**
|
|
156
|
+
* Label for the category gap ratio configuration control.
|
|
157
|
+
*/
|
|
158
|
+
chartConfigurationCategoryGapRatio: string;
|
|
159
|
+
/**
|
|
160
|
+
* Label for the bar gap ratio configuration control.
|
|
161
|
+
*/
|
|
162
|
+
chartConfigurationBarGapRatio: string;
|
|
163
|
+
/**
|
|
164
|
+
* Label for the stacked configuration control.
|
|
165
|
+
*/
|
|
166
|
+
chartConfigurationStacked: string;
|
|
167
|
+
/**
|
|
168
|
+
* Label for the skip animation configuration control.
|
|
169
|
+
*/
|
|
170
|
+
chartConfigurationShowToolbar: string;
|
|
171
|
+
/**
|
|
172
|
+
* Label for the skip animation configuration control.
|
|
173
|
+
*/
|
|
174
|
+
chartConfigurationSkipAnimation: string;
|
|
175
|
+
/**
|
|
176
|
+
* Label for the inner radius configuration control.
|
|
177
|
+
*/
|
|
178
|
+
chartConfigurationInnerRadius: string;
|
|
179
|
+
/**
|
|
180
|
+
* Label for the outer radius configuration control.
|
|
181
|
+
*/
|
|
182
|
+
chartConfigurationOuterRadius: string;
|
|
183
|
+
/**
|
|
184
|
+
* Label for the colors configuration control.
|
|
185
|
+
*/
|
|
186
|
+
chartConfigurationColors: string;
|
|
187
|
+
/**
|
|
188
|
+
* Label for the hide legend configuration control.
|
|
189
|
+
*/
|
|
190
|
+
chartConfigurationHideLegend: string;
|
|
191
|
+
/**
|
|
192
|
+
* Label for the show mark configuration control.
|
|
193
|
+
*/
|
|
194
|
+
chartConfigurationShowMark: string;
|
|
195
|
+
/**
|
|
196
|
+
* Label for the height configuration control.
|
|
197
|
+
*/
|
|
198
|
+
chartConfigurationHeight: string;
|
|
199
|
+
/**
|
|
200
|
+
* Label for the width configuration control.
|
|
201
|
+
*/
|
|
202
|
+
chartConfigurationWidth: string;
|
|
203
|
+
/**
|
|
204
|
+
* Label for the series gap configuration control.
|
|
205
|
+
*/
|
|
206
|
+
chartConfigurationSeriesGap: string;
|
|
207
|
+
/**
|
|
208
|
+
* Label for the tick placement configuration control.
|
|
209
|
+
*/
|
|
210
|
+
chartConfigurationTickPlacement: string;
|
|
211
|
+
/**
|
|
212
|
+
* Label for the tick label placement configuration control.
|
|
213
|
+
*/
|
|
214
|
+
chartConfigurationTickLabelPlacement: string;
|
|
215
|
+
/**
|
|
216
|
+
* Label for the categories axis label configuration control.
|
|
217
|
+
*/
|
|
218
|
+
chartConfigurationCategoriesAxisLabel: string;
|
|
219
|
+
/**
|
|
220
|
+
* Label for the series axis label configuration control.
|
|
221
|
+
*/
|
|
222
|
+
chartConfigurationSeriesAxisLabel: string;
|
|
223
|
+
/**
|
|
224
|
+
* Label for the X-axis position configuration control.
|
|
225
|
+
*/
|
|
226
|
+
chartConfigurationXAxisPosition: string;
|
|
227
|
+
/**
|
|
228
|
+
* Label for the Y-axis position configuration control.
|
|
229
|
+
*/
|
|
230
|
+
chartConfigurationYAxisPosition: string;
|
|
231
|
+
/**
|
|
232
|
+
* Label for the reverse series axis configuration control.
|
|
233
|
+
*/
|
|
234
|
+
chartConfigurationSeriesAxisReverse: string;
|
|
235
|
+
/**
|
|
236
|
+
* Label for the tooltip placement configuration control.
|
|
237
|
+
*/
|
|
238
|
+
chartConfigurationTooltipPlacement: string;
|
|
239
|
+
/**
|
|
240
|
+
* Label for the tooltip trigger configuration control.
|
|
241
|
+
*/
|
|
242
|
+
chartConfigurationTooltipTrigger: string;
|
|
243
|
+
/**
|
|
244
|
+
* Label for the legend position configuration control.
|
|
245
|
+
*/
|
|
246
|
+
chartConfigurationLegendPosition: string;
|
|
247
|
+
/**
|
|
248
|
+
* Label for the legend direction configuration control.
|
|
249
|
+
*/
|
|
250
|
+
chartConfigurationLegendDirection: string;
|
|
251
|
+
/**
|
|
252
|
+
* Label for the bar labels configuration control.
|
|
253
|
+
*/
|
|
254
|
+
chartConfigurationBarLabels: string;
|
|
255
|
+
/**
|
|
256
|
+
* Label for the column labels configuration control.
|
|
257
|
+
*/
|
|
258
|
+
chartConfigurationColumnLabels: string;
|
|
259
|
+
/**
|
|
260
|
+
* Label for the interpolation configuration control.
|
|
261
|
+
*/
|
|
262
|
+
chartConfigurationInterpolation: string;
|
|
263
|
+
/**
|
|
264
|
+
* Label for the padding angle configuration control.
|
|
265
|
+
*/
|
|
266
|
+
chartConfigurationPaddingAngle: string;
|
|
267
|
+
/**
|
|
268
|
+
* Label for the corner radius configuration control.
|
|
269
|
+
*/
|
|
270
|
+
chartConfigurationCornerRadius: string;
|
|
271
|
+
/**
|
|
272
|
+
* Label for the arc labels configuration control.
|
|
273
|
+
*/
|
|
274
|
+
chartConfigurationArcLabels: string;
|
|
275
|
+
/**
|
|
276
|
+
* Label for the start angle configuration control.
|
|
277
|
+
*/
|
|
278
|
+
chartConfigurationStartAngle: string;
|
|
279
|
+
/**
|
|
280
|
+
* Label for the end angle configuration control.
|
|
281
|
+
*/
|
|
282
|
+
chartConfigurationEndAngle: string;
|
|
283
|
+
/**
|
|
284
|
+
* Label for the pie tooltip trigger configuration control.
|
|
285
|
+
*/
|
|
286
|
+
chartConfigurationPieTooltipTrigger: string;
|
|
287
|
+
/**
|
|
288
|
+
* Label for the pie legend position configuration control.
|
|
289
|
+
*/
|
|
290
|
+
chartConfigurationPieLegendPosition: string;
|
|
291
|
+
/**
|
|
292
|
+
* Label for the pie legend direction configuration control.
|
|
293
|
+
*/
|
|
294
|
+
chartConfigurationPieLegendDirection: string;
|
|
295
|
+
/**
|
|
296
|
+
* Label for the "None" option.
|
|
297
|
+
*/
|
|
298
|
+
chartConfigurationOptionNone: string;
|
|
299
|
+
/**
|
|
300
|
+
* Label for the "Value" option.
|
|
301
|
+
*/
|
|
302
|
+
chartConfigurationOptionValue: string;
|
|
303
|
+
/**
|
|
304
|
+
* Label for the "Auto" option.
|
|
305
|
+
*/
|
|
306
|
+
chartConfigurationOptionAuto: string;
|
|
307
|
+
/**
|
|
308
|
+
* Label for the "Top" option.
|
|
309
|
+
*/
|
|
310
|
+
chartConfigurationOptionTop: string;
|
|
311
|
+
/**
|
|
312
|
+
* Label for the "Top Left" option.
|
|
313
|
+
*/
|
|
314
|
+
chartConfigurationOptionTopLeft: string;
|
|
315
|
+
/**
|
|
316
|
+
* Label for the "Top Right" option.
|
|
317
|
+
*/
|
|
318
|
+
chartConfigurationOptionTopRight: string;
|
|
319
|
+
/**
|
|
320
|
+
* Label for the "Bottom" option.
|
|
321
|
+
*/
|
|
322
|
+
chartConfigurationOptionBottom: string;
|
|
323
|
+
/**
|
|
324
|
+
* Label for the "Bottom Left" option.
|
|
325
|
+
*/
|
|
326
|
+
chartConfigurationOptionBottomLeft: string;
|
|
327
|
+
/**
|
|
328
|
+
* Label for the "Bottom Right" option.
|
|
329
|
+
*/
|
|
330
|
+
chartConfigurationOptionBottomRight: string;
|
|
331
|
+
/**
|
|
332
|
+
* Label for the "Left" option.
|
|
333
|
+
*/
|
|
334
|
+
chartConfigurationOptionLeft: string;
|
|
335
|
+
/**
|
|
336
|
+
* Label for the "Right" option.
|
|
337
|
+
*/
|
|
338
|
+
chartConfigurationOptionRight: string;
|
|
339
|
+
/**
|
|
340
|
+
* Label for the "Axis" option.
|
|
341
|
+
*/
|
|
342
|
+
chartConfigurationOptionAxis: string;
|
|
343
|
+
/**
|
|
344
|
+
* Label for the "Item" option.
|
|
345
|
+
*/
|
|
346
|
+
chartConfigurationOptionItem: string;
|
|
347
|
+
/**
|
|
348
|
+
* Label for the "Horizontal" option.
|
|
349
|
+
*/
|
|
350
|
+
chartConfigurationOptionHorizontal: string;
|
|
351
|
+
/**
|
|
352
|
+
* Label for the "Vertical" option.
|
|
353
|
+
*/
|
|
354
|
+
chartConfigurationOptionVertical: string;
|
|
355
|
+
/**
|
|
356
|
+
* Label for the "Both" grid configuration option.
|
|
357
|
+
*/
|
|
358
|
+
chartConfigurationOptionBoth: string;
|
|
359
|
+
/**
|
|
360
|
+
* Label for the "Start" option.
|
|
361
|
+
*/
|
|
362
|
+
chartConfigurationOptionStart: string;
|
|
363
|
+
/**
|
|
364
|
+
* Label for the "Middle" option.
|
|
365
|
+
*/
|
|
366
|
+
chartConfigurationOptionMiddle: string;
|
|
367
|
+
/**
|
|
368
|
+
* Label for the "End" option.
|
|
369
|
+
*/
|
|
370
|
+
chartConfigurationOptionEnd: string;
|
|
371
|
+
/**
|
|
372
|
+
* Label for the "Extremities" option.
|
|
373
|
+
*/
|
|
374
|
+
chartConfigurationOptionExtremities: string;
|
|
375
|
+
/**
|
|
376
|
+
* Label for the "Tick" option.
|
|
377
|
+
*/
|
|
378
|
+
chartConfigurationOptionTick: string;
|
|
379
|
+
/**
|
|
380
|
+
* Label for the "Monotone X" interpolation option.
|
|
381
|
+
*/
|
|
382
|
+
chartConfigurationOptionMonotoneX: string;
|
|
383
|
+
/**
|
|
384
|
+
* Label for the "Monotone Y" interpolation option.
|
|
385
|
+
*/
|
|
386
|
+
chartConfigurationOptionMonotoneY: string;
|
|
387
|
+
/**
|
|
388
|
+
* Label for the "Catmull-Rom" interpolation option.
|
|
389
|
+
*/
|
|
390
|
+
chartConfigurationOptionCatmullRom: string;
|
|
391
|
+
/**
|
|
392
|
+
* Label for the "Linear" interpolation option.
|
|
393
|
+
*/
|
|
394
|
+
chartConfigurationOptionLinear: string;
|
|
395
|
+
/**
|
|
396
|
+
* Label for the "Natural" interpolation option.
|
|
397
|
+
*/
|
|
398
|
+
chartConfigurationOptionNatural: string;
|
|
399
|
+
/**
|
|
400
|
+
* Label for the "Step" interpolation option.
|
|
401
|
+
*/
|
|
402
|
+
chartConfigurationOptionStep: string;
|
|
403
|
+
/**
|
|
404
|
+
* Label for the "Step Before" interpolation option.
|
|
405
|
+
*/
|
|
406
|
+
chartConfigurationOptionStepBefore: string;
|
|
407
|
+
/**
|
|
408
|
+
* Label for the "Step After" interpolation option.
|
|
409
|
+
*/
|
|
410
|
+
chartConfigurationOptionStepAfter: string;
|
|
411
|
+
/**
|
|
412
|
+
* Label for the "Bump X" interpolation option.
|
|
413
|
+
*/
|
|
414
|
+
chartConfigurationOptionBumpX: string;
|
|
415
|
+
/**
|
|
416
|
+
* Label for the "Bump Y" interpolation option.
|
|
417
|
+
*/
|
|
418
|
+
chartConfigurationOptionBumpY: string;
|
|
35
419
|
}
|
|
36
420
|
export type ChartsTranslationKeys = keyof ChartsLocaleText;
|
|
@@ -16,6 +16,102 @@ export declare const getChartsLocalization: (chartsTranslations: Partial<ChartsL
|
|
|
16
16
|
toolbarExport?: string | undefined;
|
|
17
17
|
toolbarExportPrint?: string | undefined;
|
|
18
18
|
toolbarExportImage?: ((mimeType: import("./imageMimeTypes.js").ChartImageExportMimeType | (string & {})) => string) | undefined;
|
|
19
|
+
chartTypeBar?: string | undefined;
|
|
20
|
+
chartTypeColumn?: string | undefined;
|
|
21
|
+
chartTypeLine?: string | undefined;
|
|
22
|
+
chartTypeArea?: string | undefined;
|
|
23
|
+
chartTypePie?: string | undefined;
|
|
24
|
+
chartPaletteLabel?: string | undefined;
|
|
25
|
+
chartPaletteNameRainbowSurge?: string | undefined;
|
|
26
|
+
chartPaletteNameBlueberryTwilight?: string | undefined;
|
|
27
|
+
chartPaletteNameMangoFusion?: string | undefined;
|
|
28
|
+
chartPaletteNameCheerfulFiesta?: string | undefined;
|
|
29
|
+
chartPaletteNameStrawberrySky?: string | undefined;
|
|
30
|
+
chartPaletteNameBlue?: string | undefined;
|
|
31
|
+
chartPaletteNameGreen?: string | undefined;
|
|
32
|
+
chartPaletteNamePurple?: string | undefined;
|
|
33
|
+
chartPaletteNameRed?: string | undefined;
|
|
34
|
+
chartPaletteNameOrange?: string | undefined;
|
|
35
|
+
chartPaletteNameYellow?: string | undefined;
|
|
36
|
+
chartPaletteNameCyan?: string | undefined;
|
|
37
|
+
chartPaletteNamePink?: string | undefined;
|
|
38
|
+
chartConfigurationSectionChart?: string | undefined;
|
|
39
|
+
chartConfigurationSectionAxes?: string | undefined;
|
|
40
|
+
chartConfigurationSectionTooltip?: string | undefined;
|
|
41
|
+
chartConfigurationSectionLegend?: string | undefined;
|
|
42
|
+
chartConfigurationSectionColumns?: string | undefined;
|
|
43
|
+
chartConfigurationSectionBars?: string | undefined;
|
|
44
|
+
chartConfigurationSectionLines?: string | undefined;
|
|
45
|
+
chartConfigurationSectionAreas?: string | undefined;
|
|
46
|
+
chartConfigurationSectionArcs?: string | undefined;
|
|
47
|
+
chartConfigurationGrid?: string | undefined;
|
|
48
|
+
chartConfigurationBorderRadius?: string | undefined;
|
|
49
|
+
chartConfigurationCategoryGapRatio?: string | undefined;
|
|
50
|
+
chartConfigurationBarGapRatio?: string | undefined;
|
|
51
|
+
chartConfigurationStacked?: string | undefined;
|
|
52
|
+
chartConfigurationShowToolbar?: string | undefined;
|
|
53
|
+
chartConfigurationSkipAnimation?: string | undefined;
|
|
54
|
+
chartConfigurationInnerRadius?: string | undefined;
|
|
55
|
+
chartConfigurationOuterRadius?: string | undefined;
|
|
56
|
+
chartConfigurationColors?: string | undefined;
|
|
57
|
+
chartConfigurationHideLegend?: string | undefined;
|
|
58
|
+
chartConfigurationShowMark?: string | undefined;
|
|
59
|
+
chartConfigurationHeight?: string | undefined;
|
|
60
|
+
chartConfigurationWidth?: string | undefined;
|
|
61
|
+
chartConfigurationSeriesGap?: string | undefined;
|
|
62
|
+
chartConfigurationTickPlacement?: string | undefined;
|
|
63
|
+
chartConfigurationTickLabelPlacement?: string | undefined;
|
|
64
|
+
chartConfigurationCategoriesAxisLabel?: string | undefined;
|
|
65
|
+
chartConfigurationSeriesAxisLabel?: string | undefined;
|
|
66
|
+
chartConfigurationXAxisPosition?: string | undefined;
|
|
67
|
+
chartConfigurationYAxisPosition?: string | undefined;
|
|
68
|
+
chartConfigurationSeriesAxisReverse?: string | undefined;
|
|
69
|
+
chartConfigurationTooltipPlacement?: string | undefined;
|
|
70
|
+
chartConfigurationTooltipTrigger?: string | undefined;
|
|
71
|
+
chartConfigurationLegendPosition?: string | undefined;
|
|
72
|
+
chartConfigurationLegendDirection?: string | undefined;
|
|
73
|
+
chartConfigurationBarLabels?: string | undefined;
|
|
74
|
+
chartConfigurationColumnLabels?: string | undefined;
|
|
75
|
+
chartConfigurationInterpolation?: string | undefined;
|
|
76
|
+
chartConfigurationPaddingAngle?: string | undefined;
|
|
77
|
+
chartConfigurationCornerRadius?: string | undefined;
|
|
78
|
+
chartConfigurationArcLabels?: string | undefined;
|
|
79
|
+
chartConfigurationStartAngle?: string | undefined;
|
|
80
|
+
chartConfigurationEndAngle?: string | undefined;
|
|
81
|
+
chartConfigurationPieTooltipTrigger?: string | undefined;
|
|
82
|
+
chartConfigurationPieLegendPosition?: string | undefined;
|
|
83
|
+
chartConfigurationPieLegendDirection?: string | undefined;
|
|
84
|
+
chartConfigurationOptionNone?: string | undefined;
|
|
85
|
+
chartConfigurationOptionValue?: string | undefined;
|
|
86
|
+
chartConfigurationOptionAuto?: string | undefined;
|
|
87
|
+
chartConfigurationOptionTop?: string | undefined;
|
|
88
|
+
chartConfigurationOptionTopLeft?: string | undefined;
|
|
89
|
+
chartConfigurationOptionTopRight?: string | undefined;
|
|
90
|
+
chartConfigurationOptionBottom?: string | undefined;
|
|
91
|
+
chartConfigurationOptionBottomLeft?: string | undefined;
|
|
92
|
+
chartConfigurationOptionBottomRight?: string | undefined;
|
|
93
|
+
chartConfigurationOptionLeft?: string | undefined;
|
|
94
|
+
chartConfigurationOptionRight?: string | undefined;
|
|
95
|
+
chartConfigurationOptionAxis?: string | undefined;
|
|
96
|
+
chartConfigurationOptionItem?: string | undefined;
|
|
97
|
+
chartConfigurationOptionHorizontal?: string | undefined;
|
|
98
|
+
chartConfigurationOptionVertical?: string | undefined;
|
|
99
|
+
chartConfigurationOptionBoth?: string | undefined;
|
|
100
|
+
chartConfigurationOptionStart?: string | undefined;
|
|
101
|
+
chartConfigurationOptionMiddle?: string | undefined;
|
|
102
|
+
chartConfigurationOptionEnd?: string | undefined;
|
|
103
|
+
chartConfigurationOptionExtremities?: string | undefined;
|
|
104
|
+
chartConfigurationOptionTick?: string | undefined;
|
|
105
|
+
chartConfigurationOptionMonotoneX?: string | undefined;
|
|
106
|
+
chartConfigurationOptionMonotoneY?: string | undefined;
|
|
107
|
+
chartConfigurationOptionCatmullRom?: string | undefined;
|
|
108
|
+
chartConfigurationOptionLinear?: string | undefined;
|
|
109
|
+
chartConfigurationOptionNatural?: string | undefined;
|
|
110
|
+
chartConfigurationOptionStep?: string | undefined;
|
|
111
|
+
chartConfigurationOptionStepBefore?: string | undefined;
|
|
112
|
+
chartConfigurationOptionStepAfter?: string | undefined;
|
|
113
|
+
chartConfigurationOptionBumpX?: string | undefined;
|
|
114
|
+
chartConfigurationOptionBumpY?: string | undefined;
|
|
19
115
|
};
|
|
20
116
|
};
|
|
21
117
|
};
|
package/models/axis.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ export type D3Scale<Domain extends {
|
|
|
11
11
|
toString(): string;
|
|
12
12
|
} = number | Date | string, Range = number, Output = number> = ScaleBand<Domain> | ScaleSymLog<Range, Output> | ScaleLogarithmic<Range, Output> | ScalePoint<Domain> | ScalePower<Range, Output> | ScaleTime<Range, Output> | ScaleLinear<Range, Output>;
|
|
13
13
|
export type D3ContinuousScale<Range = number, Output = number> = ScaleSymLog<Range, Output> | ScaleLogarithmic<Range, Output> | ScalePower<Range, Output> | ScaleTime<Range, Output> | ScaleLinear<Range, Output>;
|
|
14
|
+
export type D3OrdinalScale<Domain extends {
|
|
15
|
+
toString(): string;
|
|
16
|
+
} = number | Date | string> = ScaleBand<Domain> | ScalePoint<Domain>;
|
|
14
17
|
export interface ChartsAxisSlots {
|
|
15
18
|
/**
|
|
16
19
|
* Custom component for the axis main line.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-charts",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The community edition of MUI X Charts components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"prop-types": "^15.8.1",
|
|
35
35
|
"reselect": "^5.1.1",
|
|
36
36
|
"use-sync-external-store": "^1.5.0",
|
|
37
|
-
"@mui/x-charts-vendor": "8.
|
|
38
|
-
"@mui/x-
|
|
39
|
-
"@mui/x-
|
|
37
|
+
"@mui/x-charts-vendor": "8.12.0",
|
|
38
|
+
"@mui/x-internal-gestures": "0.3.0",
|
|
39
|
+
"@mui/x-internals": "8.12.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@emotion/react": "^11.9.0",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { useChartCartesianAxis, type UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
|
|
2
|
+
export { useChartHighlight, type UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
|
|
3
|
+
export { useChartInteraction, type UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
4
|
+
export { useChartPolarAxis, type UseChartPolarAxisSignature } from "../internals/plugins/featurePlugins/useChartPolarAxis/index.js";
|
|
5
|
+
export { useChartClosestPoint, type UseChartClosestPointSignature } from "../internals/plugins/featurePlugins/useChartClosestPoint/index.js";
|
|
6
|
+
export { useChartZAxis, type UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
|
package/plugins/index.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "useChartCartesianAxis", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _useChartCartesianAxis.useChartCartesianAxis;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "useChartClosestPoint", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _useChartClosestPoint.useChartClosestPoint;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "useChartHighlight", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _useChartHighlight.useChartHighlight;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "useChartInteraction", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _useChartInteraction.useChartInteraction;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "useChartPolarAxis", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _useChartPolarAxis.useChartPolarAxis;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "useChartZAxis", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _useChartZAxis.useChartZAxis;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var _useChartCartesianAxis = require("../internals/plugins/featurePlugins/useChartCartesianAxis");
|
|
43
|
+
var _useChartHighlight = require("../internals/plugins/featurePlugins/useChartHighlight");
|
|
44
|
+
var _useChartInteraction = require("../internals/plugins/featurePlugins/useChartInteraction");
|
|
45
|
+
var _useChartPolarAxis = require("../internals/plugins/featurePlugins/useChartPolarAxis");
|
|
46
|
+
var _useChartClosestPoint = require("../internals/plugins/featurePlugins/useChartClosestPoint");
|
|
47
|
+
var _useChartZAxis = require("../internals/plugins/featurePlugins/useChartZAxis");
|