@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
package/locales/svSE.mjs
CHANGED
|
@@ -111,5 +111,100 @@ export const svSELocaleText = {
|
|
|
111
111
|
// chartConfigurationOptionStepAfter: 'Step After',
|
|
112
112
|
// chartConfigurationOptionBumpX: 'Bump X',
|
|
113
113
|
// chartConfigurationOptionBumpY: 'Bump Y',
|
|
114
|
+
|
|
115
|
+
// OHLC/Candlestick
|
|
116
|
+
// open: 'Open',
|
|
117
|
+
// high: 'High',
|
|
118
|
+
// low: 'Low',
|
|
119
|
+
// close: 'Close',
|
|
120
|
+
|
|
121
|
+
// Accessibility descriptions
|
|
122
|
+
// a11yNoValue: 'no value',
|
|
123
|
+
// a11yConnector: '; ',
|
|
124
|
+
// barDescription: function barDescription({
|
|
125
|
+
// value,
|
|
126
|
+
// formattedValue,
|
|
127
|
+
// formattedCategoryValue,
|
|
128
|
+
// seriesLabel
|
|
129
|
+
// }) {
|
|
130
|
+
// return [formattedCategoryValue, seriesLabel, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
131
|
+
// },
|
|
132
|
+
// lineDescription: function lineDescription({
|
|
133
|
+
// y,
|
|
134
|
+
// formattedXValue,
|
|
135
|
+
// formattedYValue,
|
|
136
|
+
// seriesLabel
|
|
137
|
+
// }) {
|
|
138
|
+
// return [formattedXValue, seriesLabel, y === null ? this.a11yNoValue : formattedYValue].filter(Boolean).join(this.a11yConnector);
|
|
139
|
+
// },
|
|
140
|
+
// scatterDescription: function scatterDescription({
|
|
141
|
+
// formattedXValue,
|
|
142
|
+
// formattedYValue,
|
|
143
|
+
// seriesLabel
|
|
144
|
+
// }) {
|
|
145
|
+
// return [seriesLabel, formattedXValue, formattedYValue].filter(Boolean).join(this.a11yConnector);
|
|
146
|
+
// },
|
|
147
|
+
// pieDescription: function pieDescription({
|
|
148
|
+
// value,
|
|
149
|
+
// formattedValue,
|
|
150
|
+
// seriesLabel
|
|
151
|
+
// }) {
|
|
152
|
+
// return [seriesLabel, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
153
|
+
// },
|
|
154
|
+
// radarDescription: function radarDescription({
|
|
155
|
+
// value,
|
|
156
|
+
// formattedValue,
|
|
157
|
+
// formattedCategoryValue,
|
|
158
|
+
// seriesLabel
|
|
159
|
+
// }) {
|
|
160
|
+
// return [formattedCategoryValue, seriesLabel, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
161
|
+
// },
|
|
162
|
+
// funnelDescription: function funnelDescription({
|
|
163
|
+
// value,
|
|
164
|
+
// formattedValue,
|
|
165
|
+
// seriesLabel
|
|
166
|
+
// }) {
|
|
167
|
+
// return [seriesLabel, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
168
|
+
// },
|
|
169
|
+
// heatmapDescription: function heatmapDescription({
|
|
170
|
+
// value,
|
|
171
|
+
// formattedValue,
|
|
172
|
+
// formattedXValue,
|
|
173
|
+
// formattedYValue
|
|
174
|
+
// }) {
|
|
175
|
+
// return [formattedXValue, formattedYValue, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
176
|
+
// },
|
|
177
|
+
// sankeyNodeDescription: function sankeyNodeDescription({
|
|
178
|
+
// formattedValue,
|
|
179
|
+
// nodeLabel
|
|
180
|
+
// }) {
|
|
181
|
+
// return [nodeLabel, formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
182
|
+
// },
|
|
183
|
+
// sankeyLinkDescription: function sankeyLinkDescription({
|
|
184
|
+
// formattedValue,
|
|
185
|
+
// sourceLabel,
|
|
186
|
+
// targetLabel
|
|
187
|
+
// }) {
|
|
188
|
+
// return [sourceLabel && targetLabel ? `${sourceLabel} to ${targetLabel}` : sourceLabel ?? targetLabel, formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
189
|
+
// },
|
|
190
|
+
// rangeBarDescription: function rangeBarDescription({
|
|
191
|
+
// value,
|
|
192
|
+
// formattedValue,
|
|
193
|
+
// formattedCategoryValue,
|
|
194
|
+
// seriesLabel
|
|
195
|
+
// }) {
|
|
196
|
+
// return [formattedCategoryValue, seriesLabel, value === null ? this.a11yNoValue : formattedValue].filter(Boolean).join(this.a11yConnector);
|
|
197
|
+
// },
|
|
198
|
+
// ohlcDescription: function ohlcDescription({
|
|
199
|
+
// open,
|
|
200
|
+
// high,
|
|
201
|
+
// low,
|
|
202
|
+
// close,
|
|
203
|
+
// formattedDate,
|
|
204
|
+
// seriesLabel
|
|
205
|
+
// }) {
|
|
206
|
+
// const hasValues = open !== null && high !== null && low !== null && close !== null;
|
|
207
|
+
// return [formattedDate, seriesLabel, hasValues ? `Open: ${open}, High: ${high}, Low: ${low}, Close: ${close}` : this.a11yNoValue].filter(Boolean).join(this.a11yConnector);
|
|
208
|
+
// },
|
|
114
209
|
};
|
|
115
210
|
export const svSE = getChartsLocalization(svSELocaleText);
|
|
@@ -416,5 +416,210 @@ export interface ChartsLocaleText {
|
|
|
416
416
|
* Label for the "Bump Y" interpolation option.
|
|
417
417
|
*/
|
|
418
418
|
chartConfigurationOptionBumpY: string;
|
|
419
|
+
/**
|
|
420
|
+
* Label for the "Open" value in the context of an OHLC/Candlestick chart.
|
|
421
|
+
*/
|
|
422
|
+
open: string;
|
|
423
|
+
/**
|
|
424
|
+
* Label for the "High" value in the context of an OHLC/Candlestick chart.
|
|
425
|
+
*/
|
|
426
|
+
high: string;
|
|
427
|
+
/**
|
|
428
|
+
* Label for the "Low" value in the context of an OHLC/Candlestick chart.
|
|
429
|
+
*/
|
|
430
|
+
low: string;
|
|
431
|
+
/**
|
|
432
|
+
* Label for the "Close" value in the context of an OHLC/Candlestick chart.
|
|
433
|
+
*/
|
|
434
|
+
close: string;
|
|
435
|
+
/**
|
|
436
|
+
* The description functions return a string that describes the chart element for screen readers.
|
|
437
|
+
*/
|
|
438
|
+
a11yNoValue: string;
|
|
439
|
+
/**
|
|
440
|
+
* The string used to merge description values.
|
|
441
|
+
*/
|
|
442
|
+
a11yConnector: string;
|
|
443
|
+
/**
|
|
444
|
+
* The description of a bar series item for accessibility purpose.
|
|
445
|
+
* @param {object} params - The parameters for the description getter.
|
|
446
|
+
* @param {number|null} params.value - The value of the bar item.
|
|
447
|
+
* @param {string} params.formattedValue - The formatted value of the bar item, as it appears in tooltips or labels.
|
|
448
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the bar item.
|
|
449
|
+
* @param {string} params.formattedCategoryValue - The formatted category value, as it appears in tooltips or labels.
|
|
450
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
451
|
+
* @returns {string} The localized description for the bar item.
|
|
452
|
+
*/
|
|
453
|
+
barDescription: (params: {
|
|
454
|
+
value: number | null;
|
|
455
|
+
formattedValue: string;
|
|
456
|
+
categoryValue: string | number | null;
|
|
457
|
+
formattedCategoryValue: string;
|
|
458
|
+
seriesLabel?: string;
|
|
459
|
+
}) => string;
|
|
460
|
+
/**
|
|
461
|
+
* The description of a line series item for accessibility purpose.
|
|
462
|
+
* @param {object} params - The parameters for the description getter.
|
|
463
|
+
* @param {number|null} params.x - The x value of the line item.
|
|
464
|
+
* @param {number|null} params.y - The y value of the line item.
|
|
465
|
+
* @param {string} params.formattedXValue - The formatted x value of the line item, as it appears in tooltips.
|
|
466
|
+
* @param {string} params.formattedYValue - The formatted y value of the line item, as it appears in tooltips.
|
|
467
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
468
|
+
* @returns {string} The localized description for the line item.
|
|
469
|
+
*/
|
|
470
|
+
lineDescription: (params: {
|
|
471
|
+
x: number | null;
|
|
472
|
+
y: number | null;
|
|
473
|
+
formattedXValue: string;
|
|
474
|
+
formattedYValue: string;
|
|
475
|
+
seriesLabel?: string;
|
|
476
|
+
}) => string;
|
|
477
|
+
/**
|
|
478
|
+
* The description of a scatter series item for accessibility purpose.
|
|
479
|
+
* @param {object} params - The parameters for the description getter.
|
|
480
|
+
* @param {number|null} params.x - The x value of the scatter item.
|
|
481
|
+
* @param {number|null} params.y - The y value of the scatter item.
|
|
482
|
+
* @param {string} params.formattedXValue - The formatted x value of the scatter item, as it appears in tooltips.
|
|
483
|
+
* @param {string} params.formattedYValue - The formatted y value of the scatter item, as it appears in tooltips.
|
|
484
|
+
* @param {string} params.seriesLabel - The series label.
|
|
485
|
+
* @returns {string} The localized description for the scatter item.
|
|
486
|
+
*/
|
|
487
|
+
scatterDescription: (params: {
|
|
488
|
+
x: number | null;
|
|
489
|
+
y: number | null;
|
|
490
|
+
formattedXValue: string;
|
|
491
|
+
formattedYValue: string;
|
|
492
|
+
seriesLabel?: string;
|
|
493
|
+
}) => string;
|
|
494
|
+
/**
|
|
495
|
+
* The description of a pie series item for accessibility purpose.
|
|
496
|
+
* @param {object} params - The parameters for the description getter.
|
|
497
|
+
* @param {number|null} params.value - The value of the pie item.
|
|
498
|
+
* @param {number} params.totalValue - The total value of all pie items.
|
|
499
|
+
* @param {string} params.formattedValue - The formatted value of the pie item, as it appears in tooltips or labels.
|
|
500
|
+
* @param {string} [params.seriesLabel] - An optional label for the pie item.
|
|
501
|
+
* @returns {string} The localized description for the pie item.
|
|
502
|
+
*/
|
|
503
|
+
pieDescription: (params: {
|
|
504
|
+
value: number | null;
|
|
505
|
+
totalValue: number;
|
|
506
|
+
formattedValue: string;
|
|
507
|
+
seriesLabel?: string;
|
|
508
|
+
}) => string;
|
|
509
|
+
/**
|
|
510
|
+
* The description of a radar series item for accessibility purpose.
|
|
511
|
+
* @param {object} params - The parameters for the description getter.
|
|
512
|
+
* @param {number|null} params.value - The value of the radar item.
|
|
513
|
+
* @param {string} params.formattedValue - The formatted value of the radar item.
|
|
514
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the radar item.
|
|
515
|
+
* @param {string} params.formattedCategoryValue - The formatted category value.
|
|
516
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
517
|
+
* @returns {string} The localized description for the radar item.
|
|
518
|
+
*/
|
|
519
|
+
radarDescription: (params: {
|
|
520
|
+
value: number | null;
|
|
521
|
+
formattedValue: string;
|
|
522
|
+
categoryValue: string | number | null;
|
|
523
|
+
formattedCategoryValue: string;
|
|
524
|
+
seriesLabel?: string;
|
|
525
|
+
}) => string;
|
|
526
|
+
/**
|
|
527
|
+
* The description of a funnel series item for accessibility purpose.
|
|
528
|
+
* @param {object} params - The parameters for the description getter.
|
|
529
|
+
* @param {number|null} params.value - The value of the funnel item.
|
|
530
|
+
* @param {string} params.formattedValue - The formatted value of the funnel item.
|
|
531
|
+
* @param {string} [params.seriesLabel] - An optional label for the funnel item.
|
|
532
|
+
* @returns {string} The localized description for the funnel item.
|
|
533
|
+
*/
|
|
534
|
+
funnelDescription: (params: {
|
|
535
|
+
value: number | null;
|
|
536
|
+
formattedValue: string;
|
|
537
|
+
seriesLabel?: string;
|
|
538
|
+
}) => string;
|
|
539
|
+
/**
|
|
540
|
+
* The description of a heatmap cell for accessibility purpose.
|
|
541
|
+
* @param {object} params - The parameters for the description getter.
|
|
542
|
+
* @param {number|null} params.value - The value of the heatmap cell.
|
|
543
|
+
* @param {number|string|null} params.x - The x value of the heatmap cell.
|
|
544
|
+
* @param {number|string|null} params.y - The y value of the heatmap cell.
|
|
545
|
+
* @param {string} params.formattedValue - The formatted value of the heatmap cell.
|
|
546
|
+
* @param {string} params.formattedXValue - The formatted x axis value.
|
|
547
|
+
* @param {string} params.formattedYValue - The formatted y axis value.
|
|
548
|
+
* @returns {string} The localized description for the heatmap cell.
|
|
549
|
+
*/
|
|
550
|
+
heatmapDescription: (params: {
|
|
551
|
+
x: number | string | null;
|
|
552
|
+
y: number | string | null;
|
|
553
|
+
value: number | null;
|
|
554
|
+
formattedValue: string;
|
|
555
|
+
formattedXValue: string;
|
|
556
|
+
formattedYValue: string;
|
|
557
|
+
}) => string;
|
|
558
|
+
/**
|
|
559
|
+
* The description of a sankey node for accessibility purpose.
|
|
560
|
+
* @param {object} params - The parameters for the description getter.
|
|
561
|
+
* @param {number|null} params.value - The value of the sankey node. Corresponds to the sum of the incoming links values.
|
|
562
|
+
* @param {string} params.formattedValue - The formatted value of the sankey node.
|
|
563
|
+
* @param {string} params.nodeLabel - The label for the node.
|
|
564
|
+
* @returns {string} The localized description for the sankey node.
|
|
565
|
+
*/
|
|
566
|
+
sankeyNodeDescription: (params: {
|
|
567
|
+
value: number | null;
|
|
568
|
+
formattedValue: string;
|
|
569
|
+
nodeLabel: string;
|
|
570
|
+
}) => string;
|
|
571
|
+
/**
|
|
572
|
+
* The description of a sankey link for accessibility purpose.
|
|
573
|
+
* @param {object} params - The parameters for the description getter.
|
|
574
|
+
* @param {number|null} params.value - The value of the sankey link.
|
|
575
|
+
* @param {string} params.formattedValue - The formatted value of the sankey link.
|
|
576
|
+
* @param {string} params.sourceLabel - The label for the source node.
|
|
577
|
+
* @param {string} params.targetLabel - The label for the target node.
|
|
578
|
+
* @returns {string} The localized description for the sankey link.
|
|
579
|
+
*/
|
|
580
|
+
sankeyLinkDescription: (params: {
|
|
581
|
+
value: number | null;
|
|
582
|
+
formattedValue: string;
|
|
583
|
+
sourceLabel: string;
|
|
584
|
+
targetLabel: string;
|
|
585
|
+
}) => string;
|
|
586
|
+
/**
|
|
587
|
+
* The description of a range bar series item for accessibility purpose.
|
|
588
|
+
* @param {object} params - The parameters for the description getter.
|
|
589
|
+
* @param {[number, number]|null} params.value - The value of the range bar item.
|
|
590
|
+
* @param {string} params.formattedValue - The formatted value of the range bar item.
|
|
591
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the range bar item.
|
|
592
|
+
* @param {string} params.formattedCategoryValue - The formatted category value.
|
|
593
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
594
|
+
* @returns {string} The localized description for the range bar item.
|
|
595
|
+
*/
|
|
596
|
+
rangeBarDescription: (params: {
|
|
597
|
+
value: [number, number] | null;
|
|
598
|
+
formattedValue: string;
|
|
599
|
+
categoryValue: string | number | null;
|
|
600
|
+
formattedCategoryValue: string;
|
|
601
|
+
seriesLabel?: string;
|
|
602
|
+
}) => string;
|
|
603
|
+
/**
|
|
604
|
+
* The description of an OHLC/Candlestick series item for accessibility purpose.
|
|
605
|
+
* @param {object} params - The parameters for the description getter.
|
|
606
|
+
* @param {number|null} params.open - The open value.
|
|
607
|
+
* @param {number|null} params.high - The high value.
|
|
608
|
+
* @param {number|null} params.low - The low value.
|
|
609
|
+
* @param {number|null} params.close - The close value.
|
|
610
|
+
* @param {Date|null} params.date - The date associated to the candle value.
|
|
611
|
+
* @param {string} params.formattedDate - The formatted date value.
|
|
612
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
613
|
+
* @returns {string} The localized description for the OHLC item.
|
|
614
|
+
*/
|
|
615
|
+
ohlcDescription: (params: {
|
|
616
|
+
open: number | null;
|
|
617
|
+
high: number | null;
|
|
618
|
+
low: number | null;
|
|
619
|
+
close: number | null;
|
|
620
|
+
date: Date | null;
|
|
621
|
+
formattedDate: string;
|
|
622
|
+
seriesLabel?: string;
|
|
623
|
+
}) => string;
|
|
419
624
|
}
|
|
420
625
|
export type ChartsTranslationKeys = keyof ChartsLocaleText;
|
|
@@ -416,5 +416,210 @@ export interface ChartsLocaleText {
|
|
|
416
416
|
* Label for the "Bump Y" interpolation option.
|
|
417
417
|
*/
|
|
418
418
|
chartConfigurationOptionBumpY: string;
|
|
419
|
+
/**
|
|
420
|
+
* Label for the "Open" value in the context of an OHLC/Candlestick chart.
|
|
421
|
+
*/
|
|
422
|
+
open: string;
|
|
423
|
+
/**
|
|
424
|
+
* Label for the "High" value in the context of an OHLC/Candlestick chart.
|
|
425
|
+
*/
|
|
426
|
+
high: string;
|
|
427
|
+
/**
|
|
428
|
+
* Label for the "Low" value in the context of an OHLC/Candlestick chart.
|
|
429
|
+
*/
|
|
430
|
+
low: string;
|
|
431
|
+
/**
|
|
432
|
+
* Label for the "Close" value in the context of an OHLC/Candlestick chart.
|
|
433
|
+
*/
|
|
434
|
+
close: string;
|
|
435
|
+
/**
|
|
436
|
+
* The description functions return a string that describes the chart element for screen readers.
|
|
437
|
+
*/
|
|
438
|
+
a11yNoValue: string;
|
|
439
|
+
/**
|
|
440
|
+
* The string used to merge description values.
|
|
441
|
+
*/
|
|
442
|
+
a11yConnector: string;
|
|
443
|
+
/**
|
|
444
|
+
* The description of a bar series item for accessibility purpose.
|
|
445
|
+
* @param {object} params - The parameters for the description getter.
|
|
446
|
+
* @param {number|null} params.value - The value of the bar item.
|
|
447
|
+
* @param {string} params.formattedValue - The formatted value of the bar item, as it appears in tooltips or labels.
|
|
448
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the bar item.
|
|
449
|
+
* @param {string} params.formattedCategoryValue - The formatted category value, as it appears in tooltips or labels.
|
|
450
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
451
|
+
* @returns {string} The localized description for the bar item.
|
|
452
|
+
*/
|
|
453
|
+
barDescription: (params: {
|
|
454
|
+
value: number | null;
|
|
455
|
+
formattedValue: string;
|
|
456
|
+
categoryValue: string | number | null;
|
|
457
|
+
formattedCategoryValue: string;
|
|
458
|
+
seriesLabel?: string;
|
|
459
|
+
}) => string;
|
|
460
|
+
/**
|
|
461
|
+
* The description of a line series item for accessibility purpose.
|
|
462
|
+
* @param {object} params - The parameters for the description getter.
|
|
463
|
+
* @param {number|null} params.x - The x value of the line item.
|
|
464
|
+
* @param {number|null} params.y - The y value of the line item.
|
|
465
|
+
* @param {string} params.formattedXValue - The formatted x value of the line item, as it appears in tooltips.
|
|
466
|
+
* @param {string} params.formattedYValue - The formatted y value of the line item, as it appears in tooltips.
|
|
467
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
468
|
+
* @returns {string} The localized description for the line item.
|
|
469
|
+
*/
|
|
470
|
+
lineDescription: (params: {
|
|
471
|
+
x: number | null;
|
|
472
|
+
y: number | null;
|
|
473
|
+
formattedXValue: string;
|
|
474
|
+
formattedYValue: string;
|
|
475
|
+
seriesLabel?: string;
|
|
476
|
+
}) => string;
|
|
477
|
+
/**
|
|
478
|
+
* The description of a scatter series item for accessibility purpose.
|
|
479
|
+
* @param {object} params - The parameters for the description getter.
|
|
480
|
+
* @param {number|null} params.x - The x value of the scatter item.
|
|
481
|
+
* @param {number|null} params.y - The y value of the scatter item.
|
|
482
|
+
* @param {string} params.formattedXValue - The formatted x value of the scatter item, as it appears in tooltips.
|
|
483
|
+
* @param {string} params.formattedYValue - The formatted y value of the scatter item, as it appears in tooltips.
|
|
484
|
+
* @param {string} params.seriesLabel - The series label.
|
|
485
|
+
* @returns {string} The localized description for the scatter item.
|
|
486
|
+
*/
|
|
487
|
+
scatterDescription: (params: {
|
|
488
|
+
x: number | null;
|
|
489
|
+
y: number | null;
|
|
490
|
+
formattedXValue: string;
|
|
491
|
+
formattedYValue: string;
|
|
492
|
+
seriesLabel?: string;
|
|
493
|
+
}) => string;
|
|
494
|
+
/**
|
|
495
|
+
* The description of a pie series item for accessibility purpose.
|
|
496
|
+
* @param {object} params - The parameters for the description getter.
|
|
497
|
+
* @param {number|null} params.value - The value of the pie item.
|
|
498
|
+
* @param {number} params.totalValue - The total value of all pie items.
|
|
499
|
+
* @param {string} params.formattedValue - The formatted value of the pie item, as it appears in tooltips or labels.
|
|
500
|
+
* @param {string} [params.seriesLabel] - An optional label for the pie item.
|
|
501
|
+
* @returns {string} The localized description for the pie item.
|
|
502
|
+
*/
|
|
503
|
+
pieDescription: (params: {
|
|
504
|
+
value: number | null;
|
|
505
|
+
totalValue: number;
|
|
506
|
+
formattedValue: string;
|
|
507
|
+
seriesLabel?: string;
|
|
508
|
+
}) => string;
|
|
509
|
+
/**
|
|
510
|
+
* The description of a radar series item for accessibility purpose.
|
|
511
|
+
* @param {object} params - The parameters for the description getter.
|
|
512
|
+
* @param {number|null} params.value - The value of the radar item.
|
|
513
|
+
* @param {string} params.formattedValue - The formatted value of the radar item.
|
|
514
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the radar item.
|
|
515
|
+
* @param {string} params.formattedCategoryValue - The formatted category value.
|
|
516
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
517
|
+
* @returns {string} The localized description for the radar item.
|
|
518
|
+
*/
|
|
519
|
+
radarDescription: (params: {
|
|
520
|
+
value: number | null;
|
|
521
|
+
formattedValue: string;
|
|
522
|
+
categoryValue: string | number | null;
|
|
523
|
+
formattedCategoryValue: string;
|
|
524
|
+
seriesLabel?: string;
|
|
525
|
+
}) => string;
|
|
526
|
+
/**
|
|
527
|
+
* The description of a funnel series item for accessibility purpose.
|
|
528
|
+
* @param {object} params - The parameters for the description getter.
|
|
529
|
+
* @param {number|null} params.value - The value of the funnel item.
|
|
530
|
+
* @param {string} params.formattedValue - The formatted value of the funnel item.
|
|
531
|
+
* @param {string} [params.seriesLabel] - An optional label for the funnel item.
|
|
532
|
+
* @returns {string} The localized description for the funnel item.
|
|
533
|
+
*/
|
|
534
|
+
funnelDescription: (params: {
|
|
535
|
+
value: number | null;
|
|
536
|
+
formattedValue: string;
|
|
537
|
+
seriesLabel?: string;
|
|
538
|
+
}) => string;
|
|
539
|
+
/**
|
|
540
|
+
* The description of a heatmap cell for accessibility purpose.
|
|
541
|
+
* @param {object} params - The parameters for the description getter.
|
|
542
|
+
* @param {number|null} params.value - The value of the heatmap cell.
|
|
543
|
+
* @param {number|string|null} params.x - The x value of the heatmap cell.
|
|
544
|
+
* @param {number|string|null} params.y - The y value of the heatmap cell.
|
|
545
|
+
* @param {string} params.formattedValue - The formatted value of the heatmap cell.
|
|
546
|
+
* @param {string} params.formattedXValue - The formatted x axis value.
|
|
547
|
+
* @param {string} params.formattedYValue - The formatted y axis value.
|
|
548
|
+
* @returns {string} The localized description for the heatmap cell.
|
|
549
|
+
*/
|
|
550
|
+
heatmapDescription: (params: {
|
|
551
|
+
x: number | string | null;
|
|
552
|
+
y: number | string | null;
|
|
553
|
+
value: number | null;
|
|
554
|
+
formattedValue: string;
|
|
555
|
+
formattedXValue: string;
|
|
556
|
+
formattedYValue: string;
|
|
557
|
+
}) => string;
|
|
558
|
+
/**
|
|
559
|
+
* The description of a sankey node for accessibility purpose.
|
|
560
|
+
* @param {object} params - The parameters for the description getter.
|
|
561
|
+
* @param {number|null} params.value - The value of the sankey node. Corresponds to the sum of the incoming links values.
|
|
562
|
+
* @param {string} params.formattedValue - The formatted value of the sankey node.
|
|
563
|
+
* @param {string} params.nodeLabel - The label for the node.
|
|
564
|
+
* @returns {string} The localized description for the sankey node.
|
|
565
|
+
*/
|
|
566
|
+
sankeyNodeDescription: (params: {
|
|
567
|
+
value: number | null;
|
|
568
|
+
formattedValue: string;
|
|
569
|
+
nodeLabel: string;
|
|
570
|
+
}) => string;
|
|
571
|
+
/**
|
|
572
|
+
* The description of a sankey link for accessibility purpose.
|
|
573
|
+
* @param {object} params - The parameters for the description getter.
|
|
574
|
+
* @param {number|null} params.value - The value of the sankey link.
|
|
575
|
+
* @param {string} params.formattedValue - The formatted value of the sankey link.
|
|
576
|
+
* @param {string} params.sourceLabel - The label for the source node.
|
|
577
|
+
* @param {string} params.targetLabel - The label for the target node.
|
|
578
|
+
* @returns {string} The localized description for the sankey link.
|
|
579
|
+
*/
|
|
580
|
+
sankeyLinkDescription: (params: {
|
|
581
|
+
value: number | null;
|
|
582
|
+
formattedValue: string;
|
|
583
|
+
sourceLabel: string;
|
|
584
|
+
targetLabel: string;
|
|
585
|
+
}) => string;
|
|
586
|
+
/**
|
|
587
|
+
* The description of a range bar series item for accessibility purpose.
|
|
588
|
+
* @param {object} params - The parameters for the description getter.
|
|
589
|
+
* @param {[number, number]|null} params.value - The value of the range bar item.
|
|
590
|
+
* @param {string} params.formattedValue - The formatted value of the range bar item.
|
|
591
|
+
* @param {string|number|null} params.categoryValue - The category value associated with the range bar item.
|
|
592
|
+
* @param {string} params.formattedCategoryValue - The formatted category value.
|
|
593
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
594
|
+
* @returns {string} The localized description for the range bar item.
|
|
595
|
+
*/
|
|
596
|
+
rangeBarDescription: (params: {
|
|
597
|
+
value: [number, number] | null;
|
|
598
|
+
formattedValue: string;
|
|
599
|
+
categoryValue: string | number | null;
|
|
600
|
+
formattedCategoryValue: string;
|
|
601
|
+
seriesLabel?: string;
|
|
602
|
+
}) => string;
|
|
603
|
+
/**
|
|
604
|
+
* The description of an OHLC/Candlestick series item for accessibility purpose.
|
|
605
|
+
* @param {object} params - The parameters for the description getter.
|
|
606
|
+
* @param {number|null} params.open - The open value.
|
|
607
|
+
* @param {number|null} params.high - The high value.
|
|
608
|
+
* @param {number|null} params.low - The low value.
|
|
609
|
+
* @param {number|null} params.close - The close value.
|
|
610
|
+
* @param {Date|null} params.date - The date associated to the candle value.
|
|
611
|
+
* @param {string} params.formattedDate - The formatted date value.
|
|
612
|
+
* @param {string} [params.seriesLabel] - An optional label for the series.
|
|
613
|
+
* @returns {string} The localized description for the OHLC item.
|
|
614
|
+
*/
|
|
615
|
+
ohlcDescription: (params: {
|
|
616
|
+
open: number | null;
|
|
617
|
+
high: number | null;
|
|
618
|
+
low: number | null;
|
|
619
|
+
close: number | null;
|
|
620
|
+
date: Date | null;
|
|
621
|
+
formattedDate: string;
|
|
622
|
+
seriesLabel?: string;
|
|
623
|
+
}) => string;
|
|
419
624
|
}
|
|
420
625
|
export type ChartsTranslationKeys = keyof ChartsLocaleText;
|
|
@@ -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
|
};
|