@mui/x-charts 8.0.0-alpha.11 → 8.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/AnimatedBarElement.d.ts +6 -6
- package/BarChart/AnimatedBarElement.js +15 -8
- package/BarChart/BarChart.d.ts +51 -52
- package/BarChart/BarChart.js +171 -165
- package/BarChart/BarChart.plugins.d.ts +7 -12
- package/BarChart/BarChart.plugins.js +11 -5
- package/BarChart/BarClipPath.d.ts +7 -7
- package/BarChart/BarClipPath.js +24 -17
- package/BarChart/BarElement.d.ts +32 -32
- package/BarChart/BarElement.js +38 -30
- package/BarChart/BarLabel/BarLabel.d.ts +853 -853
- package/BarChart/BarLabel/BarLabel.js +30 -23
- package/BarChart/BarLabel/BarLabel.types.d.ts +30 -30
- package/BarChart/BarLabel/BarLabel.types.js +5 -1
- package/BarChart/BarLabel/BarLabelItem.d.ts +40 -40
- package/BarChart/BarLabel/BarLabelItem.js +38 -31
- package/BarChart/BarLabel/BarLabelPlot.d.ts +5 -5
- package/BarChart/BarLabel/BarLabelPlot.js +20 -13
- package/BarChart/BarLabel/barLabelClasses.d.ts +7 -7
- package/BarChart/BarLabel/barLabelClasses.js +19 -9
- package/BarChart/BarLabel/getBarLabel.d.ts +9 -9
- package/BarChart/BarLabel/getBarLabel.js +9 -2
- package/BarChart/BarLabel/index.d.ts +3 -3
- package/BarChart/BarLabel/index.js +25 -2
- package/BarChart/BarPlot.d.ts +32 -34
- package/BarChart/BarPlot.js +48 -42
- package/BarChart/checkScaleErrors.d.ts +5 -5
- package/BarChart/checkScaleErrors.js +12 -6
- package/BarChart/getRadius.d.ts +11 -6
- package/BarChart/getRadius.js +9 -2
- package/BarChart/index.d.ts +4 -4
- package/BarChart/index.js +49 -4
- package/BarChart/seriesConfig/extremums.d.ts +3 -0
- package/BarChart/seriesConfig/getColor.d.ts +3 -0
- package/BarChart/seriesConfig/index.d.ts +2 -0
- package/BarChart/seriesConfig/index.js +20 -0
- package/BarChart/seriesConfig/legend.d.ts +3 -0
- package/BarChart/seriesConfig/legend.js +28 -0
- package/BarChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/BarChart/seriesConfig/seriesProcessor.js +80 -0
- package/BarChart/seriesConfig/tooltip.d.ts +3 -0
- package/BarChart/seriesConfig/tooltip.js +31 -0
- package/BarChart/types.d.ts +16 -16
- package/BarChart/types.js +5 -1
- package/BarChart/useBarChartProps.d.ts +23 -23
- package/BarChart/useBarChartProps.js +26 -20
- package/CHANGELOG.md +161 -1
- package/ChartContainer/ChartContainer.d.ts +7 -7
- package/ChartContainer/ChartContainer.js +171 -149
- package/ChartContainer/index.d.ts +1 -1
- package/ChartContainer/index.js +16 -1
- package/ChartContainer/useChartContainerProps.d.ts +11 -11
- package/ChartContainer/useChartContainerProps.js +22 -9
- package/ChartDataProvider/ChartDataProvider.d.ts +8 -8
- package/ChartDataProvider/ChartDataProvider.js +29 -23
- package/ChartDataProvider/index.d.ts +1 -1
- package/ChartDataProvider/index.js +16 -1
- package/ChartDataProvider/useChartDataProviderProps.d.ts +9 -9
- package/ChartDataProvider/useChartDataProviderProps.js +16 -23
- package/ChartsAxis/ChartsAxis.d.ts +37 -37
- package/ChartsAxis/ChartsAxis.js +31 -25
- package/ChartsAxis/axisClasses.d.ts +25 -25
- package/ChartsAxis/axisClasses.js +13 -5
- package/ChartsAxis/index.d.ts +2 -2
- package/ChartsAxis/index.js +27 -2
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +3 -3
- package/ChartsAxisHighlight/ChartsAxisHighlight.js +21 -15
- package/ChartsAxisHighlight/ChartsAxisHighlight.types.d.ts +3 -3
- package/ChartsAxisHighlight/ChartsAxisHighlight.types.js +5 -1
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +5 -5
- package/ChartsAxisHighlight/ChartsAxisHighlightPath.js +11 -5
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +5 -5
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +25 -21
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +5 -5
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +25 -21
- package/ChartsAxisHighlight/chartsAxisHighlightClasses.d.ts +3 -3
- package/ChartsAxisHighlight/chartsAxisHighlightClasses.js +13 -5
- package/ChartsAxisHighlight/index.d.ts +4 -4
- package/ChartsAxisHighlight/index.js +49 -4
- package/ChartsClipPath/ChartsClipPath.d.ts +9 -9
- package/ChartsClipPath/ChartsClipPath.js +23 -17
- package/ChartsClipPath/index.d.ts +1 -1
- package/ChartsClipPath/index.js +16 -1
- package/ChartsGrid/ChartsGrid.d.ts +15 -15
- package/ChartsGrid/ChartsGrid.js +33 -27
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +7 -7
- package/ChartsGrid/ChartsHorizontalGrid.js +15 -8
- package/ChartsGrid/ChartsVerticalGrid.d.ts +7 -7
- package/ChartsGrid/ChartsVerticalGrid.js +15 -8
- package/ChartsGrid/chartsGridClasses.d.ts +9 -9
- package/ChartsGrid/chartsGridClasses.js +13 -5
- package/ChartsGrid/index.d.ts +2 -2
- package/ChartsGrid/index.js +27 -2
- package/ChartsGrid/styledComponents.d.ts +1 -1
- package/ChartsGrid/styledComponents.js +12 -6
- package/ChartsLabel/ChartsLabel.d.ts +9 -9
- package/ChartsLabel/ChartsLabel.js +23 -17
- package/ChartsLabel/ChartsLabelGradient.d.ts +32 -32
- package/ChartsLabel/ChartsLabelGradient.js +40 -34
- package/ChartsLabel/ChartsLabelMark.d.ts +17 -17
- package/ChartsLabel/ChartsLabelMark.js +33 -27
- package/ChartsLabel/index.d.ts +4 -4
- package/ChartsLabel/index.js +25 -5
- package/ChartsLabel/labelClasses.d.ts +3 -3
- package/ChartsLabel/labelClasses.js +18 -9
- package/ChartsLabel/labelGradientClasses.d.ts +11 -11
- package/ChartsLabel/labelGradientClasses.js +18 -9
- package/ChartsLabel/labelMarkClasses.d.ts +13 -13
- package/ChartsLabel/labelMarkClasses.js +18 -9
- package/ChartsLegend/ChartsLegend.d.ts +21 -21
- package/ChartsLegend/ChartsLegend.js +43 -37
- package/ChartsLegend/ContinuousColorLegend.d.ts +48 -48
- package/ChartsLegend/ContinuousColorLegend.js +65 -58
- package/ChartsLegend/PiecewiseColorLegend.d.ts +36 -36
- package/ChartsLegend/PiecewiseColorLegend.js +65 -59
- package/ChartsLegend/chartsLegend.types.d.ts +20 -20
- package/ChartsLegend/chartsLegend.types.js +5 -1
- package/ChartsLegend/chartsLegendClasses.d.ts +13 -13
- package/ChartsLegend/chartsLegendClasses.js +15 -7
- package/ChartsLegend/colorLegend.types.d.ts +12 -12
- package/ChartsLegend/colorLegend.types.js +5 -1
- package/ChartsLegend/continuousColorLegendClasses.d.ts +21 -21
- package/ChartsLegend/continuousColorLegendClasses.js +15 -7
- package/ChartsLegend/direction.d.ts +1 -1
- package/ChartsLegend/direction.js +5 -1
- package/ChartsLegend/index.d.ts +12 -12
- package/ChartsLegend/index.js +135 -12
- package/ChartsLegend/legend.types.d.ts +8 -8
- package/ChartsLegend/legend.types.js +5 -1
- package/ChartsLegend/legendContext.types.d.ts +46 -46
- package/ChartsLegend/legendContext.types.js +5 -1
- package/ChartsLegend/onClickContextBuilder.d.ts +2 -2
- package/ChartsLegend/onClickContextBuilder.js +9 -2
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +2 -2
- package/ChartsLegend/piecewiseColorDefaultLabelFormatter.js +7 -1
- package/ChartsLegend/piecewiseColorLegend.types.d.ts +25 -25
- package/ChartsLegend/piecewiseColorLegend.types.js +5 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +23 -23
- package/ChartsLegend/piecewiseColorLegendClasses.js +15 -7
- package/ChartsLegend/useAxis.d.ts +7 -4
- package/ChartsLegend/useAxis.js +11 -6
- package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
- package/ChartsOverlay/ChartsLoadingOverlay.js +19 -12
- package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
- package/ChartsOverlay/ChartsNoDataOverlay.js +19 -12
- package/ChartsOverlay/ChartsOverlay.d.ts +33 -33
- package/ChartsOverlay/ChartsOverlay.js +21 -13
- package/ChartsOverlay/index.d.ts +4 -4
- package/ChartsOverlay/index.js +26 -3
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +5 -5
- package/ChartsReferenceLine/ChartsReferenceLine.js +27 -21
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +8 -8
- package/ChartsReferenceLine/ChartsXReferenceLine.js +29 -22
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +8 -8
- package/ChartsReferenceLine/ChartsYReferenceLine.js +29 -22
- package/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +11 -11
- package/ChartsReferenceLine/chartsReferenceLineClasses.js +13 -5
- package/ChartsReferenceLine/common.d.ts +39 -39
- package/ChartsReferenceLine/common.js +13 -6
- package/ChartsReferenceLine/index.d.ts +2 -2
- package/ChartsReferenceLine/index.js +27 -2
- package/ChartsSurface/ChartsSurface.d.ts +6 -6
- package/ChartsSurface/ChartsSurface.js +38 -32
- package/ChartsSurface/index.d.ts +1 -1
- package/ChartsSurface/index.js +16 -1
- package/ChartsText/ChartsText.d.ts +8 -8
- package/ChartsText/ChartsText.js +24 -18
- package/ChartsText/index.d.ts +2 -2
- package/ChartsText/index.js +12 -1
- package/ChartsTooltip/ChartTooltip.types.d.ts +12 -12
- package/ChartsTooltip/ChartTooltip.types.js +5 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +8 -8
- package/ChartsTooltip/ChartsAxisTooltipContent.js +42 -36
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +8 -8
- package/ChartsTooltip/ChartsItemTooltipContent.js +31 -25
- package/ChartsTooltip/ChartsTooltip.d.ts +4 -5
- package/ChartsTooltip/ChartsTooltip.js +72 -66
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +17 -17
- package/ChartsTooltip/ChartsTooltipContainer.js +118 -101
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.js +14 -9
- package/ChartsTooltip/chartsTooltipClasses.d.ts +21 -21
- package/ChartsTooltip/chartsTooltipClasses.js +19 -9
- package/ChartsTooltip/index.d.ts +10 -10
- package/ChartsTooltip/index.js +126 -10
- package/ChartsTooltip/useAxisTooltip.d.ts +15 -15
- package/ChartsTooltip/useAxisTooltip.js +30 -24
- package/ChartsTooltip/useItemTooltip.d.ts +9 -9
- package/ChartsTooltip/useItemTooltip.js +20 -15
- package/ChartsTooltip/utils.d.ts +5 -5
- package/ChartsTooltip/utils.js +15 -7
- package/ChartsXAxis/ChartsXAxis.d.ts +3 -3
- package/ChartsXAxis/ChartsXAxis.js +83 -77
- package/ChartsXAxis/index.d.ts +1 -1
- package/ChartsXAxis/index.js +16 -1
- package/ChartsYAxis/ChartsYAxis.d.ts +3 -3
- package/ChartsYAxis/ChartsYAxis.js +76 -70
- package/ChartsYAxis/index.d.ts +1 -1
- package/ChartsYAxis/index.js +16 -1
- package/Gauge/Gauge.d.ts +6 -6
- package/Gauge/Gauge.js +53 -47
- package/Gauge/GaugeContainer.d.ts +6 -6
- package/Gauge/GaugeContainer.js +48 -42
- package/Gauge/GaugeProvider.d.ts +103 -103
- package/Gauge/GaugeProvider.js +25 -17
- package/Gauge/GaugeReferenceArc.d.ts +1 -1
- package/Gauge/GaugeReferenceArc.js +18 -11
- package/Gauge/GaugeValueArc.d.ts +1 -1
- package/Gauge/GaugeValueArc.js +18 -11
- package/Gauge/GaugeValueText.d.ts +7 -7
- package/Gauge/GaugeValueText.js +24 -18
- package/Gauge/gaugeClasses.d.ts +9 -9
- package/Gauge/gaugeClasses.js +14 -6
- package/Gauge/index.d.ts +7 -7
- package/Gauge/index.js +87 -7
- package/Gauge/utils.d.ts +17 -12
- package/Gauge/utils.js +9 -2
- package/LineChart/AnimatedArea.d.ts +9 -9
- package/LineChart/AnimatedArea.js +30 -24
- package/LineChart/AnimatedLine.d.ts +9 -9
- package/LineChart/AnimatedLine.js +30 -24
- package/LineChart/AppearingMask.d.ts +5 -5
- package/LineChart/AppearingMask.js +20 -14
- package/LineChart/AreaElement.d.ts +33 -33
- package/LineChart/AreaElement.js +41 -33
- package/LineChart/AreaPlot.d.ts +12 -14
- package/LineChart/AreaPlot.js +44 -38
- package/LineChart/CircleMarkElement.d.ts +12 -12
- package/LineChart/CircleMarkElement.js +35 -29
- package/LineChart/LineChart.d.ts +68 -69
- package/LineChart/LineChart.js +176 -170
- package/LineChart/LineChart.plugins.d.ts +7 -12
- package/LineChart/LineChart.plugins.js +11 -5
- package/LineChart/LineElement.d.ts +33 -33
- package/LineChart/LineElement.js +41 -33
- package/LineChart/LineHighlightElement.d.ts +12 -12
- package/LineChart/LineHighlightElement.js +33 -25
- package/LineChart/LineHighlightPlot.d.ts +15 -15
- package/LineChart/LineHighlightPlot.js +38 -32
- package/LineChart/LinePlot.d.ts +12 -14
- package/LineChart/LinePlot.js +44 -38
- package/LineChart/MarkElement.d.ts +16 -16
- package/LineChart/MarkElement.js +40 -34
- package/LineChart/MarkPlot.d.ts +22 -22
- package/LineChart/MarkPlot.js +43 -37
- package/LineChart/index.d.ts +12 -12
- package/LineChart/index.js +154 -12
- package/LineChart/markElementClasses.d.ts +13 -13
- package/LineChart/markElementClasses.js +18 -9
- package/LineChart/seriesConfig/extremums.d.ts +3 -0
- package/LineChart/seriesConfig/getColor.d.ts +3 -0
- package/LineChart/seriesConfig/index.d.ts +2 -0
- package/LineChart/seriesConfig/index.js +20 -0
- package/LineChart/seriesConfig/legend.d.ts +3 -0
- package/LineChart/seriesConfig/legend.js +28 -0
- package/LineChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/LineChart/seriesConfig/seriesProcessor.js +84 -0
- package/LineChart/seriesConfig/tooltip.d.ts +3 -0
- package/LineChart/seriesConfig/tooltip.js +31 -0
- package/LineChart/useLineChartProps.d.ts +29 -29
- package/LineChart/useLineChartProps.js +23 -17
- package/PieChart/PieArc.d.ts +22 -22
- package/PieChart/PieArc.js +37 -29
- package/PieChart/PieArcLabel.d.ts +22 -22
- package/PieChart/PieArcLabel.js +38 -30
- package/PieChart/PieArcLabelPlot.d.ts +26 -26
- package/PieChart/PieArcLabelPlot.js +66 -60
- package/PieChart/PieArcPlot.d.ts +33 -33
- package/PieChart/PieArcPlot.js +60 -54
- package/PieChart/PieChart.d.ts +35 -38
- package/PieChart/PieChart.js +67 -63
- package/PieChart/PieChart.plugins.d.ts +4 -4
- package/PieChart/PieChart.plugins.js +9 -3
- package/PieChart/PiePlot.d.ts +16 -18
- package/PieChart/PiePlot.js +37 -31
- package/PieChart/dataTransform/transition.d.ts +2 -2
- package/PieChart/dataTransform/transition.js +11 -3
- package/PieChart/dataTransform/useTransformData.d.ts +12 -12
- package/PieChart/dataTransform/useTransformData.js +14 -7
- package/PieChart/getPieCoordinates.d.ts +6 -6
- package/PieChart/getPieCoordinates.js +10 -4
- package/PieChart/index.d.ts +7 -7
- package/PieChart/index.js +82 -7
- package/PieChart/seriesConfig/getColor.d.ts +3 -0
- package/PieChart/seriesConfig/index.d.ts +2 -0
- package/PieChart/seriesConfig/index.js +17 -0
- package/PieChart/seriesConfig/legend.d.ts +3 -0
- package/PieChart/seriesConfig/legend.js +31 -0
- package/PieChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/PieChart/seriesConfig/seriesProcessor.js +56 -0
- package/PieChart/seriesConfig/tooltip.d.ts +3 -0
- package/PieChart/seriesConfig/tooltip.js +36 -0
- package/ScatterChart/Scatter.d.ts +16 -16
- package/ScatterChart/Scatter.js +35 -29
- package/ScatterChart/ScatterChart.d.ts +56 -57
- package/ScatterChart/ScatterChart.js +189 -185
- package/ScatterChart/ScatterChart.plugins.d.ts +8 -12
- package/ScatterChart/ScatterChart.plugins.js +12 -5
- package/ScatterChart/ScatterPlot.d.ts +15 -15
- package/ScatterChart/ScatterPlot.js +28 -22
- package/ScatterChart/index.d.ts +3 -3
- package/ScatterChart/index.js +38 -3
- package/ScatterChart/seriesConfig/extremums.d.ts +3 -0
- package/ScatterChart/seriesConfig/getColor.d.ts +3 -0
- package/ScatterChart/seriesConfig/index.d.ts +2 -0
- package/ScatterChart/seriesConfig/index.js +20 -0
- package/ScatterChart/seriesConfig/legend.d.ts +3 -0
- package/ScatterChart/seriesConfig/legend.js +28 -0
- package/ScatterChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/ScatterChart/seriesConfig/seriesProcessor.js +39 -0
- package/ScatterChart/seriesConfig/tooltip.d.ts +3 -0
- package/ScatterChart/seriesConfig/tooltip.js +31 -0
- package/ScatterChart/useScatterChartProps.d.ts +17 -19
- package/ScatterChart/useScatterChartProps.js +22 -18
- package/SparkLineChart/SparkLineChart.d.ts +92 -100
- package/SparkLineChart/SparkLineChart.js +180 -165
- package/SparkLineChart/index.d.ts +1 -1
- package/SparkLineChart/index.js +16 -1
- package/colorPalettes/colorPalettes.d.ts +1 -1
- package/colorPalettes/colorPalettes.js +22 -12
- package/colorPalettes/index.d.ts +1 -1
- package/colorPalettes/index.js +16 -1
- package/constants/index.d.ts +5 -5
- package/constants/index.js +10 -4
- package/context/AnimationProvider/Animation.types.d.ts +12 -12
- package/context/AnimationProvider/Animation.types.js +5 -1
- package/context/AnimationProvider/AnimationContext.d.ts +3 -3
- package/context/AnimationProvider/AnimationContext.js +9 -2
- package/context/AnimationProvider/AnimationProvider.d.ts +2 -2
- package/context/AnimationProvider/AnimationProvider.js +14 -9
- package/context/AnimationProvider/index.d.ts +4 -4
- package/context/AnimationProvider/index.js +49 -4
- package/context/AnimationProvider/useSkipAnimation.d.ts +1 -1
- package/context/AnimationProvider/useSkipAnimation.js +10 -5
- package/context/ChartProvider/ChartContext.d.ts +2 -2
- package/context/ChartProvider/ChartContext.js +9 -2
- package/context/ChartProvider/ChartProvider.d.ts +5 -5
- package/context/ChartProvider/ChartProvider.js +28 -22
- package/context/ChartProvider/ChartProvider.types.d.ts +35 -36
- package/context/ChartProvider/ChartProvider.types.js +5 -1
- package/context/ChartProvider/index.d.ts +3 -3
- package/context/ChartProvider/index.js +38 -3
- package/context/ChartProvider/useChartContext.d.ts +3 -3
- package/context/ChartProvider/useChartContext.js +12 -5
- package/context/PolarProvider/Polar.types.d.ts +37 -37
- package/context/PolarProvider/Polar.types.js +5 -1
- package/context/PolarProvider/PolarContext.d.ts +3 -3
- package/context/PolarProvider/PolarContext.js +9 -2
- package/context/PolarProvider/PolarProvider.js +1 -0
- package/context/PolarProvider/getAxisExtremum.js +2 -1
- package/context/PolarProvider/index.js +1 -0
- package/context/PolarProvider/usePolarContext.js +1 -0
- package/context/context.types.d.ts +3 -3
- package/context/context.types.js +5 -1
- package/context/index.d.ts +1 -1
- package/context/index.js +5 -1
- package/esm/BarChart/AnimatedBarElement.d.ts +15 -0
- package/esm/BarChart/AnimatedBarElement.js +22 -0
- package/esm/BarChart/BarChart.d.ts +66 -0
- package/esm/BarChart/BarChart.js +337 -0
- package/esm/BarChart/BarChart.plugins.d.ts +7 -0
- package/esm/BarChart/BarChart.plugins.js +5 -0
- package/esm/BarChart/BarClipPath.d.ts +14 -0
- package/esm/BarChart/BarClipPath.js +42 -0
- package/esm/BarChart/BarElement.d.ts +50 -0
- package/esm/BarChart/BarElement.js +101 -0
- package/esm/BarChart/BarLabel/BarLabel.d.ts +861 -0
- package/esm/BarChart/BarLabel/BarLabel.js +53 -0
- package/esm/BarChart/BarLabel/BarLabel.types.d.ts +39 -0
- package/esm/BarChart/BarLabel/BarLabel.types.js +1 -0
- package/esm/BarChart/BarLabel/BarLabelItem.d.ts +54 -0
- package/esm/BarChart/BarLabel/BarLabelItem.js +119 -0
- package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +13 -0
- package/esm/BarChart/BarLabel/BarLabelPlot.js +75 -0
- package/esm/BarChart/BarLabel/barLabelClasses.d.ts +13 -0
- package/esm/BarChart/BarLabel/barLabelClasses.js +19 -0
- package/esm/BarChart/BarLabel/getBarLabel.d.ts +10 -0
- package/esm/BarChart/BarLabel/getBarLabel.js +24 -0
- package/esm/BarChart/BarLabel/index.d.ts +6 -0
- package/esm/BarChart/BarLabel/index.js +2 -0
- package/esm/BarChart/BarPlot.d.ts +49 -0
- package/esm/BarChart/BarPlot.js +321 -0
- package/esm/BarChart/checkScaleErrors.d.ts +7 -0
- package/esm/BarChart/checkScaleErrors.js +27 -0
- package/esm/BarChart/getRadius.d.ts +20 -0
- package/esm/BarChart/getRadius.js +30 -0
- package/esm/BarChart/index.d.ts +4 -0
- package/esm/BarChart/index.js +4 -0
- package/esm/BarChart/seriesConfig/extremums.d.ts +3 -0
- package/esm/BarChart/seriesConfig/getColor.d.ts +3 -0
- package/esm/BarChart/seriesConfig/index.d.ts +2 -0
- package/esm/BarChart/seriesConfig/index.js +13 -0
- package/esm/BarChart/seriesConfig/legend.d.ts +3 -0
- package/esm/BarChart/seriesConfig/legend.js +22 -0
- package/esm/BarChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/esm/BarChart/seriesConfig/seriesProcessor.js +73 -0
- package/esm/BarChart/seriesConfig/tooltip.d.ts +3 -0
- package/esm/BarChart/seriesConfig/tooltip.js +25 -0
- package/esm/BarChart/types.d.ts +23 -0
- package/esm/BarChart/types.js +1 -0
- package/esm/BarChart/useBarChartProps.d.ts +33 -0
- package/esm/BarChart/useBarChartProps.js +145 -0
- package/esm/ChartContainer/ChartContainer.d.ts +35 -0
- package/esm/ChartContainer/ChartContainer.js +280 -0
- package/esm/ChartContainer/index.d.ts +1 -0
- package/esm/ChartContainer/index.js +1 -0
- package/esm/ChartContainer/useChartContainerProps.d.ts +15 -0
- package/esm/ChartContainer/useChartContainerProps.js +67 -0
- package/esm/ChartDataProvider/ChartDataProvider.d.ts +41 -0
- package/esm/ChartDataProvider/ChartDataProvider.js +97 -0
- package/esm/ChartDataProvider/index.d.ts +1 -0
- package/esm/ChartDataProvider/index.js +1 -0
- package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +11 -0
- package/esm/ChartDataProvider/useChartDataProviderProps.js +31 -0
- package/esm/ChartsAxis/ChartsAxis.d.ts +52 -0
- package/esm/ChartsAxis/ChartsAxis.js +131 -0
- package/esm/ChartsAxis/axisClasses.d.ts +29 -0
- package/esm/ChartsAxis/axisClasses.js +6 -0
- package/esm/ChartsAxis/index.d.ts +2 -0
- package/esm/ChartsAxis/index.js +2 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +16 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.js +50 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.types.d.ts +5 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.types.js +1 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +6 -0
- package/esm/ChartsAxisHighlight/ChartsAxisHighlightPath.js +34 -0
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +10 -0
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.js +53 -0
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +10 -0
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.js +53 -0
- package/esm/ChartsAxisHighlight/chartsAxisHighlightClasses.d.ts +7 -0
- package/esm/ChartsAxisHighlight/chartsAxisHighlightClasses.js +6 -0
- package/esm/ChartsAxisHighlight/index.d.ts +4 -0
- package/esm/ChartsAxisHighlight/index.js +4 -0
- package/esm/ChartsClipPath/ChartsClipPath.d.ts +20 -0
- package/esm/ChartsClipPath/ChartsClipPath.js +53 -0
- package/esm/ChartsClipPath/index.d.ts +1 -0
- package/esm/ChartsClipPath/index.js +1 -0
- package/esm/ChartsGrid/ChartsGrid.d.ts +30 -0
- package/esm/ChartsGrid/ChartsGrid.js +91 -0
- package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +14 -0
- package/esm/ChartsGrid/ChartsHorizontalGrid.js +37 -0
- package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +14 -0
- package/esm/ChartsGrid/ChartsVerticalGrid.js +37 -0
- package/esm/ChartsGrid/chartsGridClasses.d.ts +13 -0
- package/esm/ChartsGrid/chartsGridClasses.js +6 -0
- package/esm/ChartsGrid/index.d.ts +2 -0
- package/esm/ChartsGrid/index.js +2 -0
- package/esm/ChartsGrid/styledComponents.d.ts +2 -0
- package/esm/ChartsGrid/styledComponents.js +22 -0
- package/esm/ChartsLabel/ChartsLabel.d.ts +18 -0
- package/esm/ChartsLabel/ChartsLabel.js +43 -0
- package/esm/ChartsLabel/ChartsLabelGradient.d.ts +41 -0
- package/esm/ChartsLabel/ChartsLabelGradient.js +135 -0
- package/esm/ChartsLabel/ChartsLabelMark.d.ts +26 -0
- package/esm/ChartsLabel/ChartsLabelMark.js +111 -0
- package/esm/ChartsLabel/index.d.ts +7 -0
- package/esm/ChartsLabel/index.js +6 -0
- package/esm/ChartsLabel/labelClasses.d.ts +8 -0
- package/esm/ChartsLabel/labelClasses.js +13 -0
- package/esm/ChartsLabel/labelGradientClasses.d.ts +16 -0
- package/esm/ChartsLabel/labelGradientClasses.js +18 -0
- package/esm/ChartsLabel/labelMarkClasses.d.ts +18 -0
- package/esm/ChartsLabel/labelMarkClasses.js +18 -0
- package/esm/ChartsLegend/ChartsLegend.d.ts +27 -0
- package/esm/ChartsLegend/ChartsLegend.js +138 -0
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +56 -0
- package/esm/ChartsLegend/ContinuousColorLegend.js +271 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +42 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.js +267 -0
- package/esm/ChartsLegend/chartsLegend.types.d.ts +26 -0
- package/esm/ChartsLegend/chartsLegend.types.js +1 -0
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +18 -0
- package/esm/ChartsLegend/chartsLegendClasses.js +20 -0
- package/esm/ChartsLegend/colorLegend.types.d.ts +13 -0
- package/esm/ChartsLegend/colorLegend.types.js +1 -0
- package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +26 -0
- package/esm/ChartsLegend/continuousColorLegendClasses.js +23 -0
- package/esm/ChartsLegend/direction.d.ts +1 -0
- package/esm/ChartsLegend/direction.js +1 -0
- package/esm/ChartsLegend/index.d.ts +16 -0
- package/esm/ChartsLegend/index.js +12 -0
- package/esm/ChartsLegend/legend.types.d.ts +9 -0
- package/esm/ChartsLegend/legend.types.js +1 -0
- package/esm/ChartsLegend/legendContext.types.d.ts +55 -0
- package/esm/ChartsLegend/legendContext.types.js +1 -0
- package/esm/ChartsLegend/onClickContextBuilder.d.ts +2 -0
- package/esm/ChartsLegend/onClickContextBuilder.js +7 -0
- package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +2 -0
- package/esm/ChartsLegend/piecewiseColorDefaultLabelFormatter.js +9 -0
- package/esm/ChartsLegend/piecewiseColorLegend.types.d.ts +26 -0
- package/esm/ChartsLegend/piecewiseColorLegend.types.js +1 -0
- package/esm/ChartsLegend/piecewiseColorLegendClasses.d.ts +28 -0
- package/esm/ChartsLegend/piecewiseColorLegendClasses.js +23 -0
- package/esm/ChartsLegend/useAxis.d.ts +10 -0
- package/esm/ChartsLegend/useAxis.js +42 -0
- package/esm/ChartsOverlay/ChartsLoadingOverlay.d.ts +3 -0
- package/esm/ChartsOverlay/ChartsLoadingOverlay.js +36 -0
- package/esm/ChartsOverlay/ChartsNoDataOverlay.d.ts +3 -0
- package/esm/ChartsOverlay/ChartsNoDataOverlay.js +36 -0
- package/esm/ChartsOverlay/ChartsOverlay.d.ts +45 -0
- package/esm/ChartsOverlay/ChartsOverlay.js +33 -0
- package/esm/ChartsOverlay/index.d.ts +4 -0
- package/esm/ChartsOverlay/index.js +3 -0
- package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +10 -0
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +76 -0
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +13 -0
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +102 -0
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +13 -0
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +102 -0
- package/esm/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +15 -0
- package/esm/ChartsReferenceLine/chartsReferenceLineClasses.js +6 -0
- package/esm/ChartsReferenceLine/common.d.ts +41 -0
- package/esm/ChartsReferenceLine/common.js +20 -0
- package/esm/ChartsReferenceLine/index.d.ts +2 -0
- package/esm/ChartsReferenceLine/index.js +2 -0
- package/esm/ChartsSurface/ChartsSurface.d.ts +25 -0
- package/esm/ChartsSurface/ChartsSurface.js +100 -0
- package/esm/ChartsSurface/index.d.ts +1 -0
- package/esm/ChartsSurface/index.js +1 -0
- package/esm/ChartsText/ChartsText.d.ts +17 -0
- package/esm/ChartsText/ChartsText.js +94 -0
- package/esm/ChartsText/index.d.ts +3 -0
- package/esm/ChartsText/index.js +1 -0
- package/esm/ChartsTooltip/ChartTooltip.types.d.ts +15 -0
- package/esm/ChartsTooltip/ChartTooltip.types.js +1 -0
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +15 -0
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +96 -0
- package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +15 -0
- package/esm/ChartsTooltip/ChartsItemTooltipContent.js +65 -0
- package/esm/ChartsTooltip/ChartsTooltip.d.ts +17 -0
- package/esm/ChartsTooltip/ChartsTooltip.js +195 -0
- package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +33 -0
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +291 -0
- package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +16 -0
- package/esm/ChartsTooltip/ChartsTooltipTable.js +85 -0
- package/esm/ChartsTooltip/chartsTooltipClasses.d.ts +26 -0
- package/esm/ChartsTooltip/chartsTooltipClasses.js +22 -0
- package/esm/ChartsTooltip/index.d.ts +11 -0
- package/esm/ChartsTooltip/index.js +10 -0
- package/esm/ChartsTooltip/useAxisTooltip.d.ts +20 -0
- package/esm/ChartsTooltip/useAxisTooltip.js +88 -0
- package/esm/ChartsTooltip/useItemTooltip.d.ts +12 -0
- package/esm/ChartsTooltip/useItemTooltip.js +40 -0
- package/esm/ChartsTooltip/utils.d.ts +16 -0
- package/esm/ChartsTooltip/utils.js +84 -0
- package/esm/ChartsXAxis/ChartsXAxis.d.ts +16 -0
- package/esm/ChartsXAxis/ChartsXAxis.js +383 -0
- package/esm/ChartsXAxis/index.d.ts +1 -0
- package/esm/ChartsXAxis/index.js +1 -0
- package/esm/ChartsYAxis/ChartsYAxis.d.ts +16 -0
- package/esm/ChartsYAxis/ChartsYAxis.js +326 -0
- package/esm/ChartsYAxis/index.d.ts +1 -0
- package/esm/ChartsYAxis/index.js +1 -0
- package/esm/Gauge/Gauge.d.ts +10 -0
- package/esm/Gauge/Gauge.js +143 -0
- package/esm/Gauge/GaugeContainer.d.ts +10 -0
- package/esm/Gauge/GaugeContainer.js +172 -0
- package/esm/Gauge/GaugeProvider.d.ts +117 -0
- package/esm/Gauge/GaugeProvider.js +90 -0
- package/esm/Gauge/GaugeReferenceArc.d.ts +2 -0
- package/esm/Gauge/GaugeReferenceArc.js +37 -0
- package/esm/Gauge/GaugeValueArc.d.ts +2 -0
- package/esm/Gauge/GaugeValueArc.js +44 -0
- package/esm/Gauge/GaugeValueText.d.ts +15 -0
- package/esm/Gauge/GaugeValueText.js +71 -0
- package/esm/Gauge/gaugeClasses.d.ts +14 -0
- package/esm/Gauge/gaugeClasses.js +7 -0
- package/esm/Gauge/index.d.ts +7 -0
- package/esm/Gauge/index.js +7 -0
- package/esm/Gauge/utils.d.ts +24 -0
- package/esm/Gauge/utils.js +68 -0
- package/esm/LineChart/AnimatedArea.d.ts +26 -0
- package/esm/LineChart/AnimatedArea.js +78 -0
- package/esm/LineChart/AnimatedLine.d.ts +26 -0
- package/esm/LineChart/AnimatedLine.js +78 -0
- package/esm/LineChart/AppearingMask.d.ts +12 -0
- package/esm/LineChart/AppearingMask.js +43 -0
- package/esm/LineChart/AreaElement.d.ts +61 -0
- package/esm/LineChart/AreaElement.js +111 -0
- package/esm/LineChart/AreaPlot.d.ts +29 -0
- package/esm/LineChart/AreaPlot.js +213 -0
- package/esm/LineChart/CircleMarkElement.d.ts +30 -0
- package/esm/LineChart/CircleMarkElement.js +104 -0
- package/esm/LineChart/LineChart.d.ts +82 -0
- package/esm/LineChart/LineChart.js +337 -0
- package/esm/LineChart/LineChart.plugins.d.ts +7 -0
- package/esm/LineChart/LineChart.plugins.js +5 -0
- package/esm/LineChart/LineElement.d.ts +61 -0
- package/esm/LineChart/LineElement.js +111 -0
- package/esm/LineChart/LineHighlightElement.d.ts +36 -0
- package/esm/LineChart/LineHighlightElement.js +102 -0
- package/esm/LineChart/LineHighlightPlot.d.ts +36 -0
- package/esm/LineChart/LineHighlightPlot.js +122 -0
- package/esm/LineChart/LinePlot.d.ts +28 -0
- package/esm/LineChart/LinePlot.js +196 -0
- package/esm/LineChart/MarkElement.d.ts +32 -0
- package/esm/LineChart/MarkElement.js +117 -0
- package/esm/LineChart/MarkPlot.d.ts +42 -0
- package/esm/LineChart/MarkPlot.js +179 -0
- package/esm/LineChart/index.d.ts +13 -0
- package/esm/LineChart/index.js +12 -0
- package/esm/LineChart/markElementClasses.d.ts +20 -0
- package/esm/LineChart/markElementClasses.js +19 -0
- package/esm/LineChart/seriesConfig/extremums.d.ts +3 -0
- package/esm/LineChart/seriesConfig/getColor.d.ts +3 -0
- package/esm/LineChart/seriesConfig/index.d.ts +2 -0
- package/esm/LineChart/seriesConfig/index.js +13 -0
- package/esm/LineChart/seriesConfig/legend.d.ts +3 -0
- package/esm/LineChart/seriesConfig/legend.js +22 -0
- package/esm/LineChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/esm/LineChart/seriesConfig/seriesProcessor.js +77 -0
- package/esm/LineChart/seriesConfig/tooltip.d.ts +3 -0
- package/esm/LineChart/seriesConfig/tooltip.js +25 -0
- package/esm/LineChart/useLineChartProps.d.ts +39 -0
- package/esm/LineChart/useLineChartProps.js +153 -0
- package/esm/PieChart/PieArc.d.ts +36 -0
- package/esm/PieChart/PieArc.js +108 -0
- package/esm/PieChart/PieArcLabel.d.ts +37 -0
- package/esm/PieChart/PieArcLabel.js +113 -0
- package/esm/PieChart/PieArcLabelPlot.d.ts +36 -0
- package/esm/PieChart/PieArcLabelPlot.js +197 -0
- package/esm/PieChart/PieArcPlot.d.ts +43 -0
- package/esm/PieChart/PieArcPlot.js +170 -0
- package/esm/PieChart/PieChart.d.ts +49 -0
- package/esm/PieChart/PieChart.js +199 -0
- package/esm/PieChart/PieChart.plugins.d.ts +5 -0
- package/esm/PieChart/PieChart.plugins.js +3 -0
- package/esm/PieChart/PiePlot.d.ts +32 -0
- package/esm/PieChart/PiePlot.js +163 -0
- package/esm/PieChart/dataTransform/transition.d.ts +4 -0
- package/esm/PieChart/dataTransform/transition.js +137 -0
- package/esm/PieChart/dataTransform/useTransformData.d.ts +16 -0
- package/esm/PieChart/dataTransform/useTransformData.js +49 -0
- package/esm/PieChart/getPieCoordinates.d.ts +7 -0
- package/esm/PieChart/getPieCoordinates.js +19 -0
- package/esm/PieChart/index.d.ts +7 -0
- package/esm/PieChart/index.js +7 -0
- package/esm/PieChart/seriesConfig/getColor.d.ts +3 -0
- package/esm/PieChart/seriesConfig/index.d.ts +2 -0
- package/esm/PieChart/seriesConfig/index.js +10 -0
- package/esm/PieChart/seriesConfig/legend.d.ts +3 -0
- package/esm/PieChart/seriesConfig/legend.js +25 -0
- package/esm/PieChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/esm/PieChart/seriesConfig/seriesProcessor.js +49 -0
- package/esm/PieChart/seriesConfig/tooltip.d.ts +3 -0
- package/esm/PieChart/seriesConfig/tooltip.js +29 -0
- package/esm/ScatterChart/Scatter.d.ts +32 -0
- package/esm/ScatterChart/Scatter.js +117 -0
- package/esm/ScatterChart/ScatterChart.d.ts +70 -0
- package/esm/ScatterChart/ScatterChart.js +353 -0
- package/esm/ScatterChart/ScatterChart.plugins.d.ts +8 -0
- package/esm/ScatterChart/ScatterChart.plugins.js +6 -0
- package/esm/ScatterChart/ScatterPlot.d.ts +35 -0
- package/esm/ScatterChart/ScatterPlot.js +99 -0
- package/esm/ScatterChart/index.d.ts +3 -0
- package/esm/ScatterChart/index.js +3 -0
- package/esm/ScatterChart/seriesConfig/extremums.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/getColor.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/index.d.ts +2 -0
- package/esm/ScatterChart/seriesConfig/index.js +13 -0
- package/esm/ScatterChart/seriesConfig/legend.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/legend.js +22 -0
- package/esm/ScatterChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/seriesProcessor.js +32 -0
- package/esm/ScatterChart/seriesConfig/tooltip.d.ts +3 -0
- package/esm/ScatterChart/seriesConfig/tooltip.js +25 -0
- package/esm/ScatterChart/useScatterChartProps.d.ts +28 -0
- package/esm/ScatterChart/useScatterChartProps.js +115 -0
- package/esm/SparkLineChart/SparkLineChart.d.ts +105 -0
- package/esm/SparkLineChart/SparkLineChart.js +372 -0
- package/esm/SparkLineChart/index.d.ts +1 -0
- package/esm/SparkLineChart/index.js +1 -0
- package/esm/colorPalettes/colorPalettes.d.ts +16 -0
- package/esm/colorPalettes/colorPalettes.js +12 -0
- package/esm/colorPalettes/index.d.ts +1 -0
- package/esm/colorPalettes/index.js +1 -0
- package/esm/constants/index.d.ts +9 -0
- package/esm/constants/index.js +9 -0
- package/esm/context/AnimationProvider/Animation.types.d.ts +15 -0
- package/esm/context/AnimationProvider/Animation.types.js +1 -0
- package/esm/context/AnimationProvider/AnimationContext.d.ts +4 -0
- package/esm/context/AnimationProvider/AnimationContext.js +10 -0
- package/esm/context/AnimationProvider/AnimationProvider.d.ts +4 -0
- package/esm/context/AnimationProvider/AnimationProvider.js +55 -0
- package/esm/context/AnimationProvider/index.d.ts +4 -0
- package/esm/context/AnimationProvider/index.js +4 -0
- package/esm/context/AnimationProvider/useSkipAnimation.d.ts +6 -0
- package/esm/context/AnimationProvider/useSkipAnimation.js +20 -0
- package/esm/context/ChartProvider/ChartContext.d.ts +6 -0
- package/esm/context/ChartProvider/ChartContext.js +8 -0
- package/esm/context/ChartProvider/ChartProvider.d.ts +8 -0
- package/esm/context/ChartProvider/ChartProvider.js +40 -0
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +39 -0
- package/esm/context/ChartProvider/ChartProvider.types.js +1 -0
- package/esm/context/ChartProvider/index.d.ts +3 -0
- package/esm/context/ChartProvider/index.js +3 -0
- package/esm/context/ChartProvider/useChartContext.d.ts +3 -0
- package/esm/context/ChartProvider/useChartContext.js +11 -0
- package/esm/context/PolarProvider/Polar.types.d.ts +42 -0
- package/esm/context/PolarProvider/Polar.types.js +1 -0
- package/esm/context/PolarProvider/PolarContext.d.ts +4 -0
- package/esm/context/PolarProvider/PolarContext.js +13 -0
- package/esm/context/PolarProvider/PolarProvider.d.ts +0 -0
- package/esm/context/PolarProvider/PolarProvider.js +61 -0
- package/esm/context/PolarProvider/getAxisExtremum.d.ts +0 -0
- package/esm/context/PolarProvider/getAxisExtremum.js +48 -0
- package/esm/context/PolarProvider/index.d.ts +0 -0
- package/esm/context/PolarProvider/index.js +0 -0
- package/esm/context/PolarProvider/usePolarContext.d.ts +0 -0
- package/esm/context/PolarProvider/usePolarContext.js +11 -0
- package/esm/context/context.types.d.ts +4 -0
- package/esm/context/context.types.js +1 -0
- package/esm/context/index.d.ts +1 -0
- package/esm/context/index.js +1 -0
- package/esm/hooks/getValueToPositionMapper.d.ts +8 -0
- package/esm/hooks/getValueToPositionMapper.js +15 -0
- package/esm/hooks/index.d.ts +16 -0
- package/esm/hooks/index.js +16 -0
- package/esm/hooks/useAxis.d.ts +41 -0
- package/esm/hooks/useAxis.js +78 -0
- package/esm/hooks/useAxisEvents.d.ts +0 -0
- package/esm/hooks/useAxisEvents.js +0 -0
- package/esm/hooks/useBarSeries.d.ts +36 -0
- package/esm/hooks/useBarSeries.js +43 -0
- package/esm/hooks/useChartGradientId.d.ts +31 -0
- package/esm/hooks/useChartGradientId.js +47 -0
- package/esm/hooks/useChartId.d.ts +5 -0
- package/esm/hooks/useChartId.js +14 -0
- package/esm/hooks/useColorScale.d.ts +22 -0
- package/esm/hooks/useColorScale.js +37 -0
- package/esm/hooks/useDrawingArea.d.ts +16 -0
- package/esm/hooks/useDrawingArea.js +16 -0
- package/esm/hooks/useInteractionItemProps.d.ts +7 -0
- package/esm/hooks/useInteractionItemProps.js +38 -0
- package/esm/hooks/useItemHighlighted.d.ts +23 -0
- package/esm/hooks/useItemHighlighted.js +23 -0
- package/esm/hooks/useItemHighlightedGetter.d.ts +12 -0
- package/esm/hooks/useItemHighlightedGetter.js +23 -0
- package/esm/hooks/useLegend.d.ts +13 -0
- package/esm/hooks/useLegend.js +30 -0
- package/esm/hooks/useLineSeries.d.ts +36 -0
- package/esm/hooks/useLineSeries.js +43 -0
- package/esm/hooks/useMounted.d.ts +1 -0
- package/esm/hooks/useMounted.js +18 -0
- package/esm/hooks/usePieSeries.d.ts +35 -0
- package/esm/hooks/usePieSeries.js +42 -0
- package/esm/hooks/useScale.d.ts +22 -0
- package/esm/hooks/useScale.js +39 -0
- package/esm/hooks/useScatterSeries.d.ts +35 -0
- package/esm/hooks/useScatterSeries.js +42 -0
- package/esm/hooks/useSeries.d.ts +7 -0
- package/esm/hooks/useSeries.js +15 -0
- package/esm/hooks/useSvgRef.d.ts +6 -0
- package/esm/hooks/useSvgRef.js +15 -0
- package/esm/hooks/useTicks.d.ts +59 -0
- package/esm/hooks/useTicks.js +85 -0
- package/esm/hooks/useZAxis.d.ts +7 -0
- package/esm/hooks/useZAxis.js +27 -0
- package/esm/index.d.ts +25 -0
- package/esm/index.js +32 -0
- package/esm/internals/calculateMargins.d.ts +7 -0
- package/esm/internals/calculateMargins.js +25 -0
- package/esm/internals/cleanId.d.ts +4 -0
- package/esm/internals/cleanId.js +6 -0
- package/esm/internals/colorScale.d.ts +5 -0
- package/esm/internals/colorScale.js +16 -0
- package/esm/internals/components/AxisSharedComponents.d.ts +1 -0
- package/esm/internals/components/AxisSharedComponents.js +26 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +2 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsAxesGradients.js +133 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +19 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +56 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +13 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +61 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +12 -0
- package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.js +46 -0
- package/esm/internals/components/ChartsAxesGradients/index.d.ts +1 -0
- package/esm/internals/components/ChartsAxesGradients/index.js +1 -0
- package/esm/internals/components/ChartsWrapper/ChartsWrapper.d.ts +18 -0
- package/esm/internals/components/ChartsWrapper/ChartsWrapper.js +66 -0
- package/esm/internals/components/ChartsWrapper/index.d.ts +1 -0
- package/esm/internals/components/ChartsWrapper/index.js +1 -0
- package/esm/internals/configInit.d.ts +9 -0
- package/esm/internals/configInit.js +20 -0
- package/esm/internals/consumeSlots.d.ts +48 -0
- package/esm/internals/consumeSlots.js +101 -0
- package/esm/internals/consumeThemeProps.d.ts +50 -0
- package/esm/internals/consumeThemeProps.js +70 -0
- package/esm/internals/createSeriesSelectorOfType.d.ts +4 -0
- package/esm/internals/createSeriesSelectorOfType.js +43 -0
- package/esm/internals/defaultizeColor.d.ts +107 -0
- package/esm/internals/defaultizeColor.js +13 -0
- package/esm/internals/defaultizeValueFormatter.d.ts +6 -0
- package/esm/internals/defaultizeValueFormatter.js +10 -0
- package/esm/internals/domUtils.d.ts +15 -0
- package/esm/internals/domUtils.js +128 -0
- package/esm/internals/geometry.d.ts +9 -0
- package/esm/internals/geometry.js +34 -0
- package/esm/internals/getCurve.d.ts +2 -0
- package/esm/internals/getCurve.js +27 -0
- package/esm/internals/getLabel.d.ts +1 -0
- package/esm/internals/getLabel.js +3 -0
- package/esm/internals/getPercentageValue.d.ts +7 -0
- package/esm/internals/getPercentageValue.js +28 -0
- package/esm/internals/getSVGPoint.d.ts +6 -0
- package/esm/internals/getSVGPoint.js +11 -0
- package/esm/internals/getScale.d.ts +2 -0
- package/esm/internals/getScale.js +17 -0
- package/esm/internals/getSymbol.d.ts +2 -0
- package/esm/internals/getSymbol.js +21 -0
- package/esm/internals/getWordsByLines.d.ts +29 -0
- package/esm/internals/getWordsByLines.js +14 -0
- package/esm/internals/index.d.ts +44 -0
- package/esm/internals/index.js +58 -0
- package/esm/internals/isBandScale.d.ts +5 -0
- package/esm/internals/isBandScale.js +3 -0
- package/esm/internals/isCartesian.d.ts +7 -0
- package/esm/internals/isCartesian.js +7 -0
- package/esm/internals/isDefined.d.ts +1 -0
- package/esm/internals/isDefined.js +3 -0
- package/esm/internals/isInfinity.d.ts +1 -0
- package/esm/internals/isInfinity.js +3 -0
- package/esm/internals/notNull.d.ts +1 -0
- package/esm/internals/notNull.js +3 -0
- package/esm/internals/plugins/allPlugins.d.ts +10 -0
- package/esm/internals/plugins/allPlugins.js +8 -0
- package/esm/internals/plugins/corePlugins/corePlugins.d.ts +9 -0
- package/esm/internals/plugins/corePlugins/corePlugins.js +9 -0
- package/esm/internals/plugins/corePlugins/index.d.ts +2 -0
- package/esm/internals/plugins/corePlugins/index.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/index.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/index.js +2 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +175 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +264 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +25 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +99 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartId/index.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartId/index.js +2 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.js +32 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +36 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +9 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +20 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.types.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.utils.d.ts +1 -0
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.utils.js +5 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/index.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/index.js +2 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +23 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/processSeries.js +50 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +72 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +61 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +4 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +51 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js +1 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +8 -0
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +21 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +29 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +127 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +24 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +61 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +4 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +13 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +39 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +24 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +4 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +25 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts +6 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +22 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +9 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +59 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +7 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +6 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +205 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts +2202 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js +91 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +91 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.d.ts +10 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.js +19 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +68 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.js +12 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.js +12 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +20 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +4 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +44 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +678 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +31 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +71 -0
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +97 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +331 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +9 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +49 -0
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.js +231 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +29 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +3 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.d.ts +54 -0
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/index.js +2 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +3 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +86 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +45 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +3 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +38 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -0
- package/esm/internals/plugins/models/chart.d.ts +14 -0
- package/esm/internals/plugins/models/chart.js +1 -0
- package/esm/internals/plugins/models/helpers.d.ts +7 -0
- package/esm/internals/plugins/models/helpers.js +1 -0
- package/esm/internals/plugins/models/index.d.ts +4 -0
- package/esm/internals/plugins/models/index.js +4 -0
- package/esm/internals/plugins/models/plugin.d.ts +171 -0
- package/esm/internals/plugins/models/plugin.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -0
- package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/extremumGetter.types.d.ts +22 -0
- package/esm/internals/plugins/models/seriesConfig/extremumGetter.types.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/index.d.ts +6 -0
- package/esm/internals/plugins/models/seriesConfig/index.js +6 -0
- package/esm/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +4 -0
- package/esm/internals/plugins/models/seriesConfig/legendGetter.types.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +16 -0
- package/esm/internals/plugins/models/seriesConfig/seriesConfig.types.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +16 -0
- package/esm/internals/plugins/models/seriesConfig/seriesProcessor.types.js +1 -0
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -0
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.js +1 -0
- package/esm/internals/plugins/utils/ChartStore.d.ts +13 -0
- package/esm/internals/plugins/utils/ChartStore.js +24 -0
- package/esm/internals/plugins/utils/selectors.d.ts +9 -0
- package/esm/internals/plugins/utils/selectors.js +37 -0
- package/esm/internals/stackSeries.d.ts +27 -0
- package/esm/internals/stackSeries.js +94 -0
- package/esm/internals/store/extractPluginParamsFromProps.d.ts +13 -0
- package/esm/internals/store/extractPluginParamsFromProps.js +28 -0
- package/esm/internals/store/useChartModels.d.ts +7 -0
- package/esm/internals/store/useChartModels.js +64 -0
- package/esm/internals/store/useCharts.d.ts +25 -0
- package/esm/internals/store/useCharts.js +93 -0
- package/esm/internals/store/useCharts.types.d.ts +5 -0
- package/esm/internals/store/useCharts.types.js +1 -0
- package/esm/internals/store/useSelector.d.ts +4 -0
- package/esm/internals/store/useSelector.js +6 -0
- package/esm/internals/store/useStore.d.ts +5 -0
- package/esm/internals/store/useStore.js +9 -0
- package/esm/internals/ts-generic.d.ts +3 -0
- package/esm/internals/ts-generic.js +1 -0
- package/esm/internals/useStringInterpolator.d.ts +1 -0
- package/esm/internals/useStringInterpolator.js +21 -0
- package/esm/models/axis.d.ts +323 -0
- package/esm/models/axis.js +15 -0
- package/esm/models/colorMapping.d.ts +46 -0
- package/esm/models/colorMapping.js +1 -0
- package/esm/models/curve.d.ts +6 -0
- package/esm/models/curve.js +1 -0
- package/esm/models/index.d.ts +7 -0
- package/esm/models/index.js +6 -0
- package/esm/models/layout.d.ts +18 -0
- package/esm/models/layout.js +1 -0
- package/esm/models/position.d.ts +10 -0
- package/esm/models/position.js +1 -0
- package/esm/models/seriesType/bar.d.ts +38 -0
- package/esm/models/seriesType/bar.js +1 -0
- package/esm/models/seriesType/common.d.ts +60 -0
- package/esm/models/seriesType/common.js +1 -0
- package/esm/models/seriesType/config.d.ts +81 -0
- package/esm/models/seriesType/config.js +1 -0
- package/esm/models/seriesType/index.d.ts +15 -0
- package/esm/models/seriesType/index.js +16 -0
- package/esm/models/seriesType/line.d.ts +104 -0
- package/esm/models/seriesType/line.js +1 -0
- package/esm/models/seriesType/pie.d.ts +166 -0
- package/esm/models/seriesType/pie.js +1 -0
- package/esm/models/seriesType/scatter.d.ts +63 -0
- package/esm/models/seriesType/scatter.js +1 -0
- package/esm/models/stacking.d.ts +2 -0
- package/esm/models/stacking.js +1 -0
- package/esm/models/z-axis.d.ts +22 -0
- package/esm/models/z-axis.js +1 -0
- package/esm/package.json +1 -0
- package/esm/tests/firePointerEvent.js +35 -0
- package/esm/themeAugmentation/components.d.ts +62 -0
- package/esm/themeAugmentation/index.d.ts +3 -0
- package/esm/themeAugmentation/index.js +0 -0
- package/esm/themeAugmentation/overrides.d.ts +34 -0
- package/esm/themeAugmentation/props.d.ts +34 -0
- package/hooks/getValueToPositionMapper.d.ts +8 -0
- package/hooks/getValueToPositionMapper.js +20 -0
- package/hooks/index.d.ts +16 -12
- package/hooks/index.js +202 -12
- package/hooks/useAxis.d.ts +37 -6
- package/hooks/useAxis.js +58 -17
- package/hooks/useAxisEvents.js +1 -0
- package/hooks/useBarSeries.d.ts +36 -0
- package/hooks/useBarSeries.js +49 -0
- package/hooks/useChartGradientId.d.ts +2 -2
- package/hooks/useChartGradientId.js +17 -8
- package/hooks/useChartId.d.ts +5 -1
- package/hooks/useChartId.js +15 -6
- package/hooks/useColorScale.d.ts +22 -4
- package/hooks/useColorScale.js +38 -23
- package/hooks/useDrawingArea.d.ts +14 -14
- package/hooks/useDrawingArea.js +18 -6
- package/hooks/useInteractionItemProps.d.ts +5 -5
- package/hooks/useInteractionItemProps.js +10 -4
- package/hooks/useItemHighlighted.d.ts +10 -10
- package/hooks/useItemHighlighted.js +12 -7
- package/hooks/useItemHighlightedGetter.d.ts +3 -3
- package/hooks/useItemHighlightedGetter.js +12 -8
- package/hooks/useLegend.d.ts +2 -2
- package/hooks/useLegend.js +13 -8
- package/hooks/useLineSeries.d.ts +36 -0
- package/hooks/useLineSeries.js +49 -0
- package/hooks/useMounted.d.ts +1 -1
- package/hooks/useMounted.js +11 -4
- package/hooks/usePieSeries.d.ts +35 -0
- package/hooks/usePieSeries.js +48 -0
- package/hooks/useScale.d.ts +17 -5
- package/hooks/useScale.js +31 -11
- package/hooks/useScatterSeries.d.ts +35 -0
- package/hooks/useScatterSeries.js +48 -0
- package/hooks/useSeries.d.ts +1 -39
- package/hooks/useSeries.js +11 -55
- package/hooks/useSvgRef.d.ts +5 -1
- package/hooks/useSvgRef.js +12 -3
- package/hooks/useTicks.d.ts +52 -52
- package/hooks/useTicks.js +20 -10
- package/hooks/useZAxis.d.ts +5 -5
- package/hooks/useZAxis.js +13 -7
- package/index.d.ts +25 -26
- package/index.js +281 -27
- package/internals/calculateMargins.d.ts +3 -3
- package/internals/calculateMargins.js +21 -13
- package/internals/cleanId.d.ts +1 -1
- package/internals/cleanId.js +7 -1
- package/internals/colorScale.d.ts +2 -2
- package/internals/colorScale.js +16 -8
- package/internals/components/AxisSharedComponents.d.ts +1 -1
- package/internals/components/AxisSharedComponents.js +15 -8
- package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsAxesGradients.js +33 -25
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +15 -15
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +14 -7
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +6 -6
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +16 -8
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +8 -8
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.js +14 -7
- package/internals/components/ChartsAxesGradients/index.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/index.js +16 -1
- package/internals/components/ChartsWrapper/ChartsWrapper.d.ts +7 -7
- package/internals/components/ChartsWrapper/ChartsWrapper.js +13 -7
- package/internals/components/ChartsWrapper/index.d.ts +1 -1
- package/internals/components/ChartsWrapper/index.js +16 -1
- package/internals/configInit.d.ts +6 -6
- package/internals/configInit.js +7 -1
- package/internals/consumeSlots.d.ts +5 -5
- package/internals/consumeSlots.js +27 -19
- package/internals/consumeThemeProps.d.ts +3 -3
- package/internals/consumeThemeProps.js +19 -11
- package/internals/createSeriesSelectorOfType.d.ts +4 -0
- package/internals/createSeriesSelectorOfType.js +50 -0
- package/internals/defaultizeColor.d.ts +100 -100
- package/internals/defaultizeColor.js +12 -5
- package/internals/defaultizeValueFormatter.d.ts +4 -4
- package/internals/defaultizeValueFormatter.js +10 -3
- package/internals/domUtils.d.ts +1 -1
- package/internals/domUtils.js +16 -6
- package/internals/geometry.d.ts +1 -1
- package/internals/geometry.js +9 -3
- package/internals/getCurve.d.ts +2 -2
- package/internals/getCurve.js +19 -13
- package/internals/getLabel.d.ts +1 -1
- package/internals/getLabel.js +7 -1
- package/internals/getPercentageValue.d.ts +1 -1
- package/internals/getPercentageValue.js +7 -1
- package/internals/getSVGPoint.d.ts +1 -1
- package/internals/getSVGPoint.js +7 -1
- package/internals/getScale.d.ts +2 -2
- package/internals/getScale.js +14 -8
- package/internals/getSymbol.d.ts +1 -1
- package/internals/getSymbol.js +7 -1
- package/internals/getWordsByLines.d.ts +24 -20
- package/internals/getWordsByLines.js +12 -5
- package/internals/index.d.ts +43 -38
- package/internals/index.js +490 -49
- package/internals/isBandScale.d.ts +3 -3
- package/internals/isBandScale.js +7 -1
- package/internals/isCartesian.d.ts +4 -4
- package/internals/isCartesian.js +11 -4
- package/internals/isDefined.d.ts +1 -1
- package/internals/isDefined.js +7 -1
- package/internals/isInfinity.d.ts +1 -1
- package/internals/isInfinity.js +7 -1
- package/internals/notNull.d.ts +1 -1
- package/internals/notNull.js +7 -1
- package/internals/plugins/allPlugins.d.ts +9 -13
- package/internals/plugins/allPlugins.js +12 -5
- package/internals/plugins/corePlugins/corePlugins.d.ts +3 -4
- package/internals/plugins/corePlugins/corePlugins.js +9 -4
- package/internals/plugins/corePlugins/index.d.ts +2 -2
- package/internals/plugins/corePlugins/index.js +12 -1
- package/internals/plugins/corePlugins/useChartDimensions/index.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartDimensions/index.js +27 -2
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +26 -18
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +212 -212
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +13 -6
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +72 -72
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js +5 -1
- package/internals/plugins/corePlugins/useChartId/index.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartId/index.js +27 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartId/useChartId.js +16 -7
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +25 -25
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +8 -2
- package/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +14 -14
- package/internals/plugins/corePlugins/useChartId/useChartId.types.js +5 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.utils.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartId/useChartId.utils.js +9 -2
- package/internals/plugins/corePlugins/useChartSeries/index.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeries/index.js +27 -2
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +15 -10
- package/internals/plugins/corePlugins/useChartSeries/processSeries.js +14 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +19 -11
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +47 -47
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +11 -4
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +44 -47
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js +5 -1
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +6 -8
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +13 -7
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +20 -20
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +35 -28
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +20 -14
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +17 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +4 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +20 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +37 -37
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +13 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +4 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +33 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts +6 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +11 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +4 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +9 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +6 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +71 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +42 -34
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts +1855 -989
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js +31 -20
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +75 -76
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.js +9 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +60 -10
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.js +9 -2
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.js +9 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +17 -17
- package/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/index.js +27 -2
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +17 -9
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +510 -510
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +16 -10
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +44 -44
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartInteraction/index.js +27 -2
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +39 -24
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +251 -296
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +14 -9
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +42 -55
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/index.js +27 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +3 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.js +240 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +29 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +9 -0
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.d.ts +54 -0
- package/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartZAxis/index.js +27 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +18 -10
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +35 -35
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +8 -2
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +27 -28
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.js +5 -1
- package/internals/plugins/featurePlugins/useChartZAxis/utils.js +1 -0
- package/internals/plugins/models/chart.d.ts +6 -6
- package/internals/plugins/models/chart.js +5 -1
- package/internals/plugins/models/helpers.d.ts +1 -1
- package/internals/plugins/models/helpers.js +5 -1
- package/internals/plugins/models/index.d.ts +4 -4
- package/internals/plugins/models/index.js +49 -4
- package/internals/plugins/models/plugin.d.ts +152 -86
- package/internals/plugins/models/plugin.js +5 -1
- package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +1 -1
- package/internals/plugins/models/seriesConfig/colorProcessor.types.js +5 -1
- package/internals/plugins/models/seriesConfig/extremumGetter.types.d.ts +12 -12
- package/internals/plugins/models/seriesConfig/extremumGetter.types.js +5 -1
- package/internals/plugins/models/seriesConfig/index.d.ts +6 -6
- package/internals/plugins/models/seriesConfig/index.js +71 -6
- package/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +1 -1
- package/internals/plugins/models/seriesConfig/legendGetter.types.js +5 -1
- package/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +7 -9
- package/internals/plugins/models/seriesConfig/seriesConfig.types.js +5 -1
- package/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +7 -7
- package/internals/plugins/models/seriesConfig/seriesProcessor.types.js +5 -1
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +4 -4
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.js +5 -1
- package/internals/plugins/utils/ChartStore.d.ts +7 -7
- package/internals/plugins/utils/ChartStore.js +9 -2
- package/internals/plugins/utils/selectors.d.ts +2 -2
- package/internals/plugins/utils/selectors.js +12 -5
- package/internals/stackSeries.d.ts +13 -17
- package/internals/stackSeries.js +23 -16
- package/internals/store/extractPluginParamsFromProps.d.ts +13 -7
- package/internals/store/extractPluginParamsFromProps.js +12 -4
- package/internals/store/useChartModels.d.ts +3 -3
- package/internals/store/useChartModels.js +14 -5
- package/internals/store/useCharts.d.ts +22 -13
- package/internals/store/useCharts.js +42 -23
- package/internals/store/useCharts.types.d.ts +3 -3
- package/internals/store/useCharts.types.js +5 -1
- package/internals/store/useSelector.d.ts +4 -4
- package/internals/store/useSelector.js +11 -4
- package/internals/store/useStore.d.ts +5 -9
- package/internals/store/useStore.js +9 -3
- package/internals/ts-generic.d.ts +2 -4
- package/internals/ts-generic.js +5 -1
- package/internals/useStringInterpolator.d.ts +1 -1
- package/internals/useStringInterpolator.js +14 -5
- package/models/axis.d.ts +279 -268
- package/models/axis.js +9 -2
- package/models/colorMapping.d.ts +41 -41
- package/models/colorMapping.js +5 -1
- package/models/curve.d.ts +1 -1
- package/models/curve.js +5 -1
- package/models/index.d.ts +5 -5
- package/models/index.js +37 -5
- package/models/layout.d.ts +15 -15
- package/models/layout.js +5 -1
- package/models/position.d.ts +9 -9
- package/models/position.js +5 -1
- package/models/seriesType/bar.d.ts +28 -29
- package/models/seriesType/bar.js +5 -1
- package/models/seriesType/common.d.ts +47 -47
- package/models/seriesType/common.js +5 -1
- package/models/seriesType/config.d.ts +64 -68
- package/models/seriesType/config.js +5 -1
- package/models/seriesType/index.d.ts +8 -8
- package/models/seriesType/index.js +61 -6
- package/models/seriesType/line.d.ts +92 -93
- package/models/seriesType/line.js +5 -1
- package/models/seriesType/pie.d.ts +139 -139
- package/models/seriesType/pie.js +5 -1
- package/models/seriesType/scatter.d.ts +44 -45
- package/models/seriesType/scatter.js +5 -1
- package/models/stacking.d.ts +1 -1
- package/models/stacking.js +5 -1
- package/models/z-axis.d.ts +18 -18
- package/models/z-axis.js +5 -1
- package/modern/BarChart/AnimatedBarElement.d.ts +15 -0
- package/modern/BarChart/BarChart.d.ts +66 -0
- package/modern/BarChart/BarChart.plugins.d.ts +7 -0
- package/modern/BarChart/BarClipPath.d.ts +14 -0
- package/modern/BarChart/BarElement.d.ts +50 -0
- package/modern/BarChart/BarLabel/BarLabel.d.ts +861 -0
- package/modern/BarChart/BarLabel/BarLabel.types.d.ts +39 -0
- package/modern/BarChart/BarLabel/BarLabelItem.d.ts +54 -0
- package/modern/BarChart/BarLabel/BarLabelPlot.d.ts +13 -0
- package/modern/BarChart/BarLabel/barLabelClasses.d.ts +13 -0
- package/modern/BarChart/BarLabel/getBarLabel.d.ts +10 -0
- package/modern/BarChart/BarLabel/index.d.ts +6 -0
- package/modern/BarChart/BarPlot.d.ts +49 -0
- package/modern/BarChart/BarPlot.js +3 -3
- package/modern/BarChart/checkScaleErrors.d.ts +7 -0
- package/modern/BarChart/getRadius.d.ts +20 -0
- package/modern/BarChart/index.d.ts +4 -0
- package/modern/BarChart/seriesConfig/extremums.d.ts +3 -0
- package/modern/BarChart/seriesConfig/getColor.d.ts +3 -0
- package/modern/BarChart/seriesConfig/index.d.ts +2 -0
- package/modern/BarChart/seriesConfig/index.js +13 -0
- package/modern/BarChart/seriesConfig/legend.d.ts +3 -0
- package/modern/BarChart/seriesConfig/legend.js +22 -0
- package/modern/BarChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/modern/BarChart/seriesConfig/seriesProcessor.js +73 -0
- package/modern/BarChart/seriesConfig/tooltip.d.ts +3 -0
- package/modern/BarChart/seriesConfig/tooltip.js +25 -0
- package/modern/BarChart/types.d.ts +23 -0
- package/modern/BarChart/useBarChartProps.d.ts +33 -0
- package/modern/ChartContainer/ChartContainer.d.ts +35 -0
- package/modern/ChartContainer/ChartContainer.js +16 -0
- package/modern/ChartContainer/index.d.ts +1 -0
- package/modern/ChartContainer/useChartContainerProps.d.ts +15 -0
- package/modern/ChartContainer/useChartContainerProps.js +7 -1
- package/modern/ChartDataProvider/ChartDataProvider.d.ts +41 -0
- package/modern/ChartDataProvider/index.d.ts +1 -0
- package/modern/ChartDataProvider/useChartDataProviderProps.d.ts +11 -0
- package/modern/ChartDataProvider/useChartDataProviderProps.js +1 -15
- package/modern/ChartsAxis/ChartsAxis.d.ts +52 -0
- package/modern/ChartsAxis/axisClasses.d.ts +29 -0
- package/modern/ChartsAxis/index.d.ts +2 -0
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +16 -0
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.types.d.ts +5 -0
- package/modern/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +6 -0
- package/modern/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +10 -0
- package/modern/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +10 -0
- package/modern/ChartsAxisHighlight/chartsAxisHighlightClasses.d.ts +7 -0
- package/modern/ChartsAxisHighlight/index.d.ts +4 -0
- package/modern/ChartsClipPath/ChartsClipPath.d.ts +20 -0
- package/modern/ChartsClipPath/index.d.ts +1 -0
- package/modern/ChartsGrid/ChartsGrid.d.ts +30 -0
- package/modern/ChartsGrid/ChartsHorizontalGrid.d.ts +14 -0
- package/modern/ChartsGrid/ChartsVerticalGrid.d.ts +14 -0
- package/modern/ChartsGrid/chartsGridClasses.d.ts +13 -0
- package/modern/ChartsGrid/index.d.ts +2 -0
- package/modern/ChartsGrid/styledComponents.d.ts +2 -0
- package/modern/ChartsLabel/ChartsLabel.d.ts +18 -0
- package/modern/ChartsLabel/ChartsLabelGradient.d.ts +41 -0
- package/modern/ChartsLabel/ChartsLabelMark.d.ts +26 -0
- package/modern/ChartsLabel/index.d.ts +7 -0
- package/modern/ChartsLabel/labelClasses.d.ts +8 -0
- package/modern/ChartsLabel/labelGradientClasses.d.ts +16 -0
- package/modern/ChartsLabel/labelMarkClasses.d.ts +18 -0
- package/modern/ChartsLegend/ChartsLegend.d.ts +27 -0
- package/modern/ChartsLegend/ContinuousColorLegend.d.ts +56 -0
- package/modern/ChartsLegend/ContinuousColorLegend.js +2 -1
- package/modern/ChartsLegend/PiecewiseColorLegend.d.ts +42 -0
- package/modern/ChartsLegend/chartsLegend.types.d.ts +26 -0
- package/modern/ChartsLegend/chartsLegendClasses.d.ts +18 -0
- package/modern/ChartsLegend/colorLegend.types.d.ts +13 -0
- package/modern/ChartsLegend/continuousColorLegendClasses.d.ts +26 -0
- package/modern/ChartsLegend/direction.d.ts +1 -0
- package/modern/ChartsLegend/index.d.ts +16 -0
- package/modern/ChartsLegend/legend.types.d.ts +9 -0
- package/modern/ChartsLegend/legendContext.types.d.ts +55 -0
- package/modern/ChartsLegend/onClickContextBuilder.d.ts +2 -0
- package/modern/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +2 -0
- package/modern/ChartsLegend/piecewiseColorLegend.types.d.ts +26 -0
- package/modern/ChartsLegend/piecewiseColorLegendClasses.d.ts +28 -0
- package/modern/ChartsLegend/useAxis.d.ts +10 -0
- package/modern/ChartsOverlay/ChartsLoadingOverlay.d.ts +3 -0
- package/modern/ChartsOverlay/ChartsNoDataOverlay.d.ts +3 -0
- package/modern/ChartsOverlay/ChartsOverlay.d.ts +45 -0
- package/modern/ChartsOverlay/index.d.ts +4 -0
- package/modern/ChartsReferenceLine/ChartsReferenceLine.d.ts +10 -0
- package/modern/ChartsReferenceLine/ChartsXReferenceLine.d.ts +13 -0
- package/modern/ChartsReferenceLine/ChartsYReferenceLine.d.ts +13 -0
- package/modern/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +15 -0
- package/modern/ChartsReferenceLine/common.d.ts +41 -0
- package/modern/ChartsReferenceLine/index.d.ts +2 -0
- package/modern/ChartsSurface/ChartsSurface.d.ts +25 -0
- package/modern/ChartsSurface/index.d.ts +1 -0
- package/modern/ChartsText/ChartsText.d.ts +17 -0
- package/modern/ChartsText/index.d.ts +3 -0
- package/modern/ChartsTooltip/ChartTooltip.types.d.ts +15 -0
- package/modern/ChartsTooltip/ChartsAxisTooltipContent.d.ts +15 -0
- package/modern/ChartsTooltip/ChartsItemTooltipContent.d.ts +15 -0
- package/modern/ChartsTooltip/ChartsTooltip.d.ts +17 -0
- package/modern/ChartsTooltip/ChartsTooltipContainer.d.ts +33 -0
- package/modern/ChartsTooltip/ChartsTooltipContainer.js +30 -19
- package/modern/ChartsTooltip/ChartsTooltipTable.d.ts +16 -0
- package/modern/ChartsTooltip/chartsTooltipClasses.d.ts +26 -0
- package/modern/ChartsTooltip/index.d.ts +11 -0
- package/modern/ChartsTooltip/useAxisTooltip.d.ts +20 -0
- package/modern/ChartsTooltip/useAxisTooltip.js +2 -1
- package/modern/ChartsTooltip/useItemTooltip.d.ts +12 -0
- package/modern/ChartsTooltip/utils.d.ts +16 -0
- package/modern/ChartsXAxis/ChartsXAxis.d.ts +16 -0
- package/modern/ChartsXAxis/index.d.ts +1 -0
- package/modern/ChartsYAxis/ChartsYAxis.d.ts +16 -0
- package/modern/ChartsYAxis/index.d.ts +1 -0
- package/modern/Gauge/Gauge.d.ts +10 -0
- package/modern/Gauge/GaugeContainer.d.ts +10 -0
- package/modern/Gauge/GaugeProvider.d.ts +117 -0
- package/modern/Gauge/GaugeReferenceArc.d.ts +2 -0
- package/modern/Gauge/GaugeValueArc.d.ts +2 -0
- package/modern/Gauge/GaugeValueText.d.ts +15 -0
- package/modern/Gauge/gaugeClasses.d.ts +14 -0
- package/modern/Gauge/index.d.ts +7 -0
- package/modern/Gauge/utils.d.ts +24 -0
- package/modern/LineChart/AnimatedArea.d.ts +26 -0
- package/modern/LineChart/AnimatedLine.d.ts +26 -0
- package/modern/LineChart/AppearingMask.d.ts +12 -0
- package/modern/LineChart/AreaElement.d.ts +61 -0
- package/modern/LineChart/AreaPlot.d.ts +29 -0
- package/modern/LineChart/AreaPlot.js +2 -2
- package/modern/LineChart/CircleMarkElement.d.ts +30 -0
- package/modern/LineChart/LineChart.d.ts +82 -0
- package/modern/LineChart/LineChart.plugins.d.ts +7 -0
- package/modern/LineChart/LineElement.d.ts +61 -0
- package/modern/LineChart/LineHighlightElement.d.ts +36 -0
- package/modern/LineChart/LineHighlightPlot.d.ts +36 -0
- package/modern/LineChart/LineHighlightPlot.js +3 -3
- package/modern/LineChart/LinePlot.d.ts +28 -0
- package/modern/LineChart/LinePlot.js +2 -2
- package/modern/LineChart/MarkElement.d.ts +32 -0
- package/modern/LineChart/MarkPlot.d.ts +42 -0
- package/modern/LineChart/MarkPlot.js +3 -3
- package/modern/LineChart/index.d.ts +13 -0
- package/modern/LineChart/markElementClasses.d.ts +20 -0
- package/modern/LineChart/seriesConfig/extremums.d.ts +3 -0
- package/modern/LineChart/seriesConfig/getColor.d.ts +3 -0
- package/modern/LineChart/seriesConfig/index.d.ts +2 -0
- package/modern/LineChart/seriesConfig/index.js +13 -0
- package/modern/LineChart/seriesConfig/legend.d.ts +3 -0
- package/modern/LineChart/seriesConfig/legend.js +22 -0
- package/modern/LineChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/modern/LineChart/seriesConfig/seriesProcessor.js +77 -0
- package/modern/LineChart/seriesConfig/tooltip.d.ts +3 -0
- package/modern/LineChart/seriesConfig/tooltip.js +25 -0
- package/modern/LineChart/useLineChartProps.d.ts +39 -0
- package/modern/PieChart/PieArc.d.ts +36 -0
- package/modern/PieChart/PieArcLabel.d.ts +37 -0
- package/modern/PieChart/PieArcLabelPlot.d.ts +36 -0
- package/modern/PieChart/PieArcPlot.d.ts +43 -0
- package/modern/PieChart/PieChart.d.ts +49 -0
- package/modern/PieChart/PieChart.js +2 -4
- package/modern/PieChart/PieChart.plugins.d.ts +5 -0
- package/modern/PieChart/PiePlot.d.ts +32 -0
- package/modern/PieChart/PiePlot.js +2 -2
- package/modern/PieChart/dataTransform/transition.d.ts +4 -0
- package/modern/PieChart/dataTransform/useTransformData.d.ts +16 -0
- package/modern/PieChart/getPieCoordinates.d.ts +7 -0
- package/modern/PieChart/index.d.ts +7 -0
- package/modern/PieChart/seriesConfig/getColor.d.ts +3 -0
- package/modern/PieChart/seriesConfig/index.d.ts +2 -0
- package/modern/PieChart/seriesConfig/index.js +10 -0
- package/modern/PieChart/seriesConfig/legend.d.ts +3 -0
- package/modern/PieChart/seriesConfig/legend.js +25 -0
- package/modern/PieChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/modern/PieChart/seriesConfig/seriesProcessor.js +49 -0
- package/modern/PieChart/seriesConfig/tooltip.d.ts +3 -0
- package/modern/PieChart/seriesConfig/tooltip.js +29 -0
- package/modern/ScatterChart/Scatter.d.ts +32 -0
- package/modern/ScatterChart/Scatter.js +2 -2
- package/modern/ScatterChart/ScatterChart.d.ts +70 -0
- package/modern/ScatterChart/ScatterChart.js +1 -3
- package/modern/ScatterChart/ScatterChart.plugins.d.ts +8 -0
- package/modern/ScatterChart/ScatterChart.plugins.js +2 -1
- package/modern/ScatterChart/ScatterPlot.d.ts +35 -0
- package/modern/ScatterChart/ScatterPlot.js +3 -3
- package/modern/ScatterChart/index.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/extremums.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/getColor.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/index.d.ts +2 -0
- package/modern/ScatterChart/seriesConfig/index.js +13 -0
- package/modern/ScatterChart/seriesConfig/legend.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/legend.js +22 -0
- package/modern/ScatterChart/seriesConfig/seriesProcessor.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/seriesProcessor.js +32 -0
- package/modern/ScatterChart/seriesConfig/tooltip.d.ts +3 -0
- package/modern/ScatterChart/seriesConfig/tooltip.js +25 -0
- package/modern/ScatterChart/useScatterChartProps.d.ts +28 -0
- package/modern/ScatterChart/useScatterChartProps.js +3 -6
- package/modern/SparkLineChart/SparkLineChart.d.ts +105 -0
- package/modern/SparkLineChart/SparkLineChart.js +18 -9
- package/modern/SparkLineChart/index.d.ts +1 -0
- package/modern/colorPalettes/colorPalettes.d.ts +16 -0
- package/modern/colorPalettes/index.d.ts +1 -0
- package/modern/constants/index.d.ts +9 -0
- package/modern/context/AnimationProvider/Animation.types.d.ts +15 -0
- package/modern/context/AnimationProvider/AnimationContext.d.ts +4 -0
- package/modern/context/AnimationProvider/AnimationProvider.d.ts +4 -0
- package/modern/context/AnimationProvider/index.d.ts +4 -0
- package/modern/context/AnimationProvider/useSkipAnimation.d.ts +6 -0
- package/modern/context/ChartProvider/ChartContext.d.ts +6 -0
- package/modern/context/ChartProvider/ChartProvider.d.ts +8 -0
- package/modern/context/ChartProvider/ChartProvider.js +8 -8
- package/modern/context/ChartProvider/ChartProvider.types.d.ts +39 -0
- package/modern/context/ChartProvider/index.d.ts +3 -0
- package/modern/context/ChartProvider/useChartContext.d.ts +3 -0
- package/modern/context/PolarProvider/Polar.types.d.ts +42 -0
- package/modern/context/PolarProvider/PolarContext.d.ts +4 -0
- package/modern/context/PolarProvider/PolarProvider.d.ts +0 -0
- package/modern/context/PolarProvider/getAxisExtremum.d.ts +0 -0
- package/modern/context/PolarProvider/index.d.ts +0 -0
- package/modern/context/PolarProvider/usePolarContext.d.ts +0 -0
- package/modern/context/context.types.d.ts +4 -0
- package/modern/context/index.d.ts +1 -0
- package/modern/hooks/getValueToPositionMapper.d.ts +8 -0
- package/modern/hooks/getValueToPositionMapper.js +15 -0
- package/modern/hooks/index.d.ts +16 -0
- package/modern/hooks/index.js +5 -1
- package/modern/hooks/useAxis.d.ts +41 -0
- package/modern/hooks/useAxis.js +37 -4
- package/modern/hooks/useAxisEvents.d.ts +0 -0
- package/modern/hooks/useBarSeries.d.ts +36 -0
- package/modern/hooks/useBarSeries.js +43 -0
- package/modern/hooks/useChartGradientId.d.ts +31 -0
- package/modern/hooks/useChartId.d.ts +5 -0
- package/modern/hooks/useChartId.js +5 -0
- package/modern/hooks/useColorScale.d.ts +22 -0
- package/modern/hooks/useColorScale.js +32 -23
- package/modern/hooks/useDrawingArea.d.ts +16 -0
- package/modern/hooks/useDrawingArea.js +7 -0
- package/modern/hooks/useInteractionItemProps.d.ts +7 -0
- package/modern/hooks/useItemHighlighted.d.ts +23 -0
- package/modern/hooks/useItemHighlightedGetter.d.ts +12 -0
- package/modern/hooks/useLegend.d.ts +13 -0
- package/modern/hooks/useLineSeries.d.ts +36 -0
- package/modern/hooks/useLineSeries.js +43 -0
- package/modern/hooks/useMounted.d.ts +1 -0
- package/modern/hooks/usePieSeries.d.ts +35 -0
- package/modern/hooks/usePieSeries.js +42 -0
- package/modern/hooks/useScale.d.ts +22 -0
- package/modern/hooks/useScale.js +20 -6
- package/modern/hooks/useScatterSeries.d.ts +35 -0
- package/modern/hooks/useScatterSeries.js +42 -0
- package/modern/hooks/useSeries.d.ts +7 -0
- package/modern/hooks/useSeries.js +0 -49
- package/modern/hooks/useSvgRef.d.ts +6 -0
- package/modern/hooks/useSvgRef.js +5 -0
- package/modern/hooks/useTicks.d.ts +59 -0
- package/modern/hooks/useTicks.js +6 -3
- package/modern/hooks/useZAxis.d.ts +7 -0
- package/modern/index.d.ts +25 -0
- package/modern/index.js +1 -2
- package/modern/internals/calculateMargins.d.ts +7 -0
- package/modern/internals/cleanId.d.ts +4 -0
- package/modern/internals/colorScale.d.ts +5 -0
- package/modern/internals/components/AxisSharedComponents.d.ts +1 -0
- package/modern/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +2 -0
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +19 -0
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +13 -0
- package/modern/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +12 -0
- package/modern/internals/components/ChartsAxesGradients/index.d.ts +1 -0
- package/modern/internals/components/ChartsWrapper/ChartsWrapper.d.ts +18 -0
- package/modern/internals/components/ChartsWrapper/index.d.ts +1 -0
- package/modern/internals/configInit.d.ts +9 -0
- package/modern/internals/consumeSlots.d.ts +48 -0
- package/modern/internals/consumeThemeProps.d.ts +50 -0
- package/modern/internals/createSeriesSelectorOfType.d.ts +4 -0
- package/modern/internals/createSeriesSelectorOfType.js +43 -0
- package/modern/internals/defaultizeColor.d.ts +107 -0
- package/modern/internals/defaultizeValueFormatter.d.ts +6 -0
- package/modern/internals/domUtils.d.ts +15 -0
- package/modern/internals/geometry.d.ts +9 -0
- package/modern/internals/getCurve.d.ts +2 -0
- package/modern/internals/getLabel.d.ts +1 -0
- package/modern/internals/getPercentageValue.d.ts +7 -0
- package/modern/internals/getSVGPoint.d.ts +6 -0
- package/modern/internals/getScale.d.ts +2 -0
- package/modern/internals/getSymbol.d.ts +2 -0
- package/modern/internals/getWordsByLines.d.ts +29 -0
- package/modern/internals/index.d.ts +44 -0
- package/modern/internals/index.js +8 -0
- package/modern/internals/isBandScale.d.ts +5 -0
- package/modern/internals/isCartesian.d.ts +7 -0
- package/modern/internals/isDefined.d.ts +1 -0
- package/modern/internals/isInfinity.d.ts +1 -0
- package/modern/internals/notNull.d.ts +1 -0
- package/modern/internals/plugins/allPlugins.d.ts +10 -0
- package/modern/internals/plugins/allPlugins.js +3 -2
- package/modern/internals/plugins/corePlugins/corePlugins.d.ts +9 -0
- package/modern/internals/plugins/corePlugins/index.d.ts +2 -0
- package/modern/internals/plugins/corePlugins/useChartDimensions/index.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +264 -0
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +99 -0
- package/modern/internals/plugins/corePlugins/useChartId/index.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +36 -0
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +20 -0
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.utils.d.ts +1 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/index.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +23 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +3 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +61 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +51 -0
- package/modern/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +8 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +29 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +24 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +4 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +13 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +39 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +4 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +25 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts +6 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +9 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +7 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.d.ts +2202 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js +5 -3
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +91 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.d.ts +10 -0
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +68 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +20 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +4 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +678 -0
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +71 -0
- package/modern/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +9 -2
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +331 -0
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +1 -2
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +49 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.js +2 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.js +231 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +29 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +3 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.d.ts +54 -0
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.js +1 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +3 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +45 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +38 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
- package/modern/internals/plugins/models/chart.d.ts +14 -0
- package/modern/internals/plugins/models/helpers.d.ts +7 -0
- package/modern/internals/plugins/models/index.d.ts +4 -0
- package/modern/internals/plugins/models/plugin.d.ts +171 -0
- package/modern/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +5 -0
- package/modern/internals/plugins/models/seriesConfig/extremumGetter.types.d.ts +22 -0
- package/modern/internals/plugins/models/seriesConfig/index.d.ts +6 -0
- package/modern/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +4 -0
- package/modern/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +16 -0
- package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +16 -0
- package/modern/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +7 -0
- package/modern/internals/plugins/utils/ChartStore.d.ts +13 -0
- package/modern/internals/plugins/utils/selectors.d.ts +9 -0
- package/modern/internals/stackSeries.d.ts +27 -0
- package/modern/internals/store/extractPluginParamsFromProps.d.ts +13 -0
- package/modern/internals/store/useChartModels.d.ts +7 -0
- package/modern/internals/store/useCharts.d.ts +25 -0
- package/modern/internals/store/useCharts.js +21 -11
- package/modern/internals/store/useCharts.types.d.ts +5 -0
- package/modern/internals/store/useSelector.d.ts +4 -0
- package/modern/internals/store/useStore.d.ts +5 -0
- package/modern/internals/ts-generic.d.ts +3 -0
- package/modern/internals/useStringInterpolator.d.ts +1 -0
- package/modern/models/axis.d.ts +323 -0
- package/modern/models/colorMapping.d.ts +46 -0
- package/modern/models/curve.d.ts +6 -0
- package/modern/models/index.d.ts +7 -0
- package/modern/models/layout.d.ts +18 -0
- package/modern/models/position.d.ts +10 -0
- package/modern/models/seriesType/bar.d.ts +38 -0
- package/modern/models/seriesType/common.d.ts +60 -0
- package/modern/models/seriesType/config.d.ts +81 -0
- package/modern/models/seriesType/index.d.ts +15 -0
- package/modern/models/seriesType/line.d.ts +104 -0
- package/modern/models/seriesType/pie.d.ts +166 -0
- package/modern/models/seriesType/scatter.d.ts +63 -0
- package/modern/models/stacking.d.ts +2 -0
- package/modern/models/z-axis.d.ts +22 -0
- package/modern/package.json +1 -0
- package/modern/themeAugmentation/components.d.ts +62 -0
- package/modern/themeAugmentation/index.d.ts +3 -0
- package/modern/themeAugmentation/overrides.d.ts +34 -0
- package/modern/themeAugmentation/props.d.ts +34 -0
- package/package.json +39 -9
- package/tests/firePointerEvent.js +12 -5
- package/themeAugmentation/components.d.ts +1 -3
- package/themeAugmentation/index.d.ts +1 -1
- package/themeAugmentation/index.js +1 -0
- package/themeAugmentation/overrides.d.ts +7 -10
- package/themeAugmentation/props.d.ts +11 -13
- package/tsconfig.build.tsbuildinfo +1 -0
- package/BarChart/extremums.d.ts +0 -3
- package/BarChart/formatter.d.ts +0 -3
- package/BarChart/formatter.js +0 -73
- package/BarChart/getColor.d.ts +0 -3
- package/BarChart/legend.d.ts +0 -3
- package/BarChart/legend.js +0 -22
- package/BarChart/package.json +0 -6
- package/BarChart/plugin.d.ts +0 -2
- package/BarChart/plugin.js +0 -13
- package/BarChart/tooltip.d.ts +0 -3
- package/BarChart/tooltip.js +0 -25
- package/ChartContainer/package.json +0 -6
- package/ChartDataProvider/package.json +0 -6
- package/ChartsAxis/package.json +0 -6
- package/ChartsAxisHighlight/package.json +0 -6
- package/ChartsClipPath/package.json +0 -6
- package/ChartsGrid/package.json +0 -6
- package/ChartsLabel/package.json +0 -6
- package/ChartsLegend/package.json +0 -6
- package/ChartsOverlay/package.json +0 -6
- package/ChartsReferenceLine/package.json +0 -6
- package/ChartsSurface/package.json +0 -6
- package/ChartsText/package.json +0 -6
- package/ChartsTooltip/package.json +0 -6
- package/ChartsVoronoiHandler/ChartsVoronoiHandler.d.ts +0 -20
- package/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -249
- package/ChartsVoronoiHandler/index.d.ts +0 -1
- package/ChartsVoronoiHandler/index.js +0 -1
- package/ChartsVoronoiHandler/package.json +0 -6
- package/ChartsXAxis/package.json +0 -6
- package/ChartsYAxis/package.json +0 -6
- package/Gauge/package.json +0 -6
- package/LineChart/extremums.d.ts +0 -3
- package/LineChart/formatter.d.ts +0 -3
- package/LineChart/formatter.js +0 -77
- package/LineChart/getColor.d.ts +0 -3
- package/LineChart/legend.d.ts +0 -3
- package/LineChart/legend.js +0 -22
- package/LineChart/package.json +0 -6
- package/LineChart/plugin.d.ts +0 -2
- package/LineChart/plugin.js +0 -13
- package/LineChart/tooltip.d.ts +0 -3
- package/LineChart/tooltip.js +0 -25
- package/PieChart/formatter.d.ts +0 -3
- package/PieChart/formatter.js +0 -49
- package/PieChart/getColor.d.ts +0 -3
- package/PieChart/legend.d.ts +0 -3
- package/PieChart/legend.js +0 -25
- package/PieChart/package.json +0 -6
- package/PieChart/plugin.d.ts +0 -2
- package/PieChart/plugin.js +0 -10
- package/PieChart/tooltip.d.ts +0 -3
- package/PieChart/tooltip.js +0 -29
- package/ScatterChart/extremums.d.ts +0 -3
- package/ScatterChart/formatter.d.ts +0 -3
- package/ScatterChart/formatter.js +0 -32
- package/ScatterChart/getColor.d.ts +0 -3
- package/ScatterChart/legend.d.ts +0 -3
- package/ScatterChart/legend.js +0 -22
- package/ScatterChart/package.json +0 -6
- package/ScatterChart/plugin.d.ts +0 -2
- package/ScatterChart/plugin.js +0 -13
- package/ScatterChart/tooltip.d.ts +0 -3
- package/ScatterChart/tooltip.js +0 -25
- package/SparkLineChart/package.json +0 -6
- package/colorPalettes/package.json +0 -6
- package/constants/package.json +0 -6
- package/context/package.json +0 -6
- package/hooks/package.json +0 -6
- package/hooks/useChartDimensions.d.ts +0 -10
- package/hooks/useChartDimensions.js +0 -18
- package/internals/package.json +0 -6
- package/models/package.json +0 -6
- package/modern/BarChart/formatter.js +0 -73
- package/modern/BarChart/legend.js +0 -22
- package/modern/BarChart/plugin.js +0 -13
- package/modern/BarChart/tooltip.js +0 -25
- package/modern/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -249
- package/modern/ChartsVoronoiHandler/index.js +0 -1
- package/modern/LineChart/formatter.js +0 -77
- package/modern/LineChart/legend.js +0 -22
- package/modern/LineChart/plugin.js +0 -13
- package/modern/LineChart/tooltip.js +0 -25
- package/modern/PieChart/formatter.js +0 -49
- package/modern/PieChart/legend.js +0 -25
- package/modern/PieChart/plugin.js +0 -10
- package/modern/PieChart/tooltip.js +0 -29
- package/modern/ScatterChart/formatter.js +0 -32
- package/modern/ScatterChart/legend.js +0 -22
- package/modern/ScatterChart/plugin.js +0 -13
- package/modern/ScatterChart/tooltip.js +0 -25
- package/modern/hooks/useChartDimensions.js +0 -18
- package/node/BarChart/AnimatedBarElement.js +0 -29
- package/node/BarChart/BarChart.js +0 -343
- package/node/BarChart/BarChart.plugins.js +0 -11
- package/node/BarChart/BarClipPath.js +0 -49
- package/node/BarChart/BarElement.js +0 -109
- package/node/BarChart/BarLabel/BarLabel.js +0 -60
- package/node/BarChart/BarLabel/BarLabelItem.js +0 -126
- package/node/BarChart/BarLabel/BarLabelPlot.js +0 -82
- package/node/BarChart/BarLabel/barLabelClasses.js +0 -29
- package/node/BarChart/BarLabel/getBarLabel.js +0 -31
- package/node/BarChart/BarLabel/index.js +0 -25
- package/node/BarChart/BarPlot.js +0 -327
- package/node/BarChart/checkScaleErrors.js +0 -33
- package/node/BarChart/formatter.js +0 -80
- package/node/BarChart/getRadius.js +0 -37
- package/node/BarChart/index.js +0 -49
- package/node/BarChart/legend.js +0 -28
- package/node/BarChart/plugin.js +0 -20
- package/node/BarChart/tooltip.js +0 -31
- package/node/BarChart/types.js +0 -5
- package/node/BarChart/useBarChartProps.js +0 -151
- package/node/ChartContainer/ChartContainer.js +0 -270
- package/node/ChartContainer/index.js +0 -16
- package/node/ChartContainer/useChartContainerProps.js +0 -68
- package/node/ChartDataProvider/ChartDataProvider.js +0 -103
- package/node/ChartDataProvider/index.js +0 -16
- package/node/ChartDataProvider/useChartDataProviderProps.js +0 -52
- package/node/ChartsAxis/ChartsAxis.js +0 -137
- package/node/ChartsAxis/axisClasses.js +0 -14
- package/node/ChartsAxis/index.js +0 -27
- package/node/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -56
- package/node/ChartsAxisHighlight/ChartsAxisHighlight.types.js +0 -5
- package/node/ChartsAxisHighlight/ChartsAxisHighlightPath.js +0 -40
- package/node/ChartsAxisHighlight/ChartsXAxisHighlight.js +0 -57
- package/node/ChartsAxisHighlight/ChartsYAxisHighlight.js +0 -57
- package/node/ChartsAxisHighlight/chartsAxisHighlightClasses.js +0 -14
- package/node/ChartsAxisHighlight/index.js +0 -49
- package/node/ChartsClipPath/ChartsClipPath.js +0 -59
- package/node/ChartsClipPath/index.js +0 -16
- package/node/ChartsGrid/ChartsGrid.js +0 -97
- package/node/ChartsGrid/ChartsHorizontalGrid.js +0 -44
- package/node/ChartsGrid/ChartsVerticalGrid.js +0 -44
- package/node/ChartsGrid/chartsGridClasses.js +0 -14
- package/node/ChartsGrid/index.js +0 -27
- package/node/ChartsGrid/styledComponents.js +0 -28
- package/node/ChartsLabel/ChartsLabel.js +0 -49
- package/node/ChartsLabel/ChartsLabelGradient.js +0 -141
- package/node/ChartsLabel/ChartsLabelMark.js +0 -117
- package/node/ChartsLabel/index.js +0 -26
- package/node/ChartsLabel/labelClasses.js +0 -22
- package/node/ChartsLabel/labelGradientClasses.js +0 -27
- package/node/ChartsLabel/labelMarkClasses.js +0 -27
- package/node/ChartsLegend/ChartsLegend.js +0 -144
- package/node/ChartsLegend/ContinuousColorLegend.js +0 -276
- package/node/ChartsLegend/PiecewiseColorLegend.js +0 -273
- package/node/ChartsLegend/chartsLegend.types.js +0 -5
- package/node/ChartsLegend/chartsLegendClasses.js +0 -28
- package/node/ChartsLegend/colorLegend.types.js +0 -5
- package/node/ChartsLegend/continuousColorLegendClasses.js +0 -31
- package/node/ChartsLegend/direction.js +0 -5
- package/node/ChartsLegend/index.js +0 -135
- package/node/ChartsLegend/legend.types.js +0 -5
- package/node/ChartsLegend/legendContext.types.js +0 -5
- package/node/ChartsLegend/onClickContextBuilder.js +0 -14
- package/node/ChartsLegend/piecewiseColorDefaultLabelFormatter.js +0 -15
- package/node/ChartsLegend/piecewiseColorLegend.types.js +0 -5
- package/node/ChartsLegend/piecewiseColorLegendClasses.js +0 -31
- package/node/ChartsLegend/useAxis.js +0 -47
- package/node/ChartsOverlay/ChartsLoadingOverlay.js +0 -43
- package/node/ChartsOverlay/ChartsNoDataOverlay.js +0 -43
- package/node/ChartsOverlay/ChartsOverlay.js +0 -41
- package/node/ChartsOverlay/index.js +0 -26
- package/node/ChartsReferenceLine/ChartsReferenceLine.js +0 -82
- package/node/ChartsReferenceLine/ChartsXReferenceLine.js +0 -109
- package/node/ChartsReferenceLine/ChartsYReferenceLine.js +0 -109
- package/node/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -14
- package/node/ChartsReferenceLine/common.js +0 -27
- package/node/ChartsReferenceLine/index.js +0 -27
- package/node/ChartsSurface/ChartsSurface.js +0 -106
- package/node/ChartsSurface/index.js +0 -16
- package/node/ChartsText/ChartsText.js +0 -100
- package/node/ChartsText/index.js +0 -12
- package/node/ChartsTooltip/ChartTooltip.types.js +0 -5
- package/node/ChartsTooltip/ChartsAxisTooltipContent.js +0 -102
- package/node/ChartsTooltip/ChartsItemTooltipContent.js +0 -71
- package/node/ChartsTooltip/ChartsTooltip.js +0 -201
- package/node/ChartsTooltip/ChartsTooltipContainer.js +0 -286
- package/node/ChartsTooltip/ChartsTooltipTable.js +0 -90
- package/node/ChartsTooltip/chartsTooltipClasses.js +0 -32
- package/node/ChartsTooltip/index.js +0 -126
- package/node/ChartsTooltip/useAxisTooltip.js +0 -92
- package/node/ChartsTooltip/useItemTooltip.js +0 -45
- package/node/ChartsTooltip/utils.js +0 -92
- package/node/ChartsVoronoiHandler/ChartsVoronoiHandler.js +0 -255
- package/node/ChartsVoronoiHandler/index.js +0 -16
- package/node/ChartsXAxis/ChartsXAxis.js +0 -389
- package/node/ChartsXAxis/index.js +0 -16
- package/node/ChartsYAxis/ChartsYAxis.js +0 -332
- package/node/ChartsYAxis/index.js +0 -16
- package/node/Gauge/Gauge.js +0 -149
- package/node/Gauge/GaugeContainer.js +0 -178
- package/node/Gauge/GaugeProvider.js +0 -98
- package/node/Gauge/GaugeReferenceArc.js +0 -44
- package/node/Gauge/GaugeValueArc.js +0 -51
- package/node/Gauge/GaugeValueText.js +0 -77
- package/node/Gauge/gaugeClasses.js +0 -15
- package/node/Gauge/index.js +0 -87
- package/node/Gauge/utils.js +0 -75
- package/node/LineChart/AnimatedArea.js +0 -84
- package/node/LineChart/AnimatedLine.js +0 -84
- package/node/LineChart/AppearingMask.js +0 -49
- package/node/LineChart/AreaElement.js +0 -119
- package/node/LineChart/AreaPlot.js +0 -219
- package/node/LineChart/CircleMarkElement.js +0 -110
- package/node/LineChart/LineChart.js +0 -343
- package/node/LineChart/LineChart.plugins.js +0 -11
- package/node/LineChart/LineElement.js +0 -119
- package/node/LineChart/LineHighlightElement.js +0 -110
- package/node/LineChart/LineHighlightPlot.js +0 -128
- package/node/LineChart/LinePlot.js +0 -202
- package/node/LineChart/MarkElement.js +0 -123
- package/node/LineChart/MarkPlot.js +0 -185
- package/node/LineChart/formatter.js +0 -84
- package/node/LineChart/index.js +0 -154
- package/node/LineChart/legend.js +0 -28
- package/node/LineChart/markElementClasses.js +0 -28
- package/node/LineChart/plugin.js +0 -20
- package/node/LineChart/tooltip.js +0 -31
- package/node/LineChart/useLineChartProps.js +0 -159
- package/node/PieChart/PieArc.js +0 -116
- package/node/PieChart/PieArcLabel.js +0 -121
- package/node/PieChart/PieArcLabelPlot.js +0 -203
- package/node/PieChart/PieArcPlot.js +0 -176
- package/node/PieChart/PieChart.js +0 -207
- package/node/PieChart/PieChart.plugins.js +0 -9
- package/node/PieChart/PiePlot.js +0 -169
- package/node/PieChart/dataTransform/transition.js +0 -145
- package/node/PieChart/dataTransform/useTransformData.js +0 -56
- package/node/PieChart/formatter.js +0 -56
- package/node/PieChart/getPieCoordinates.js +0 -25
- package/node/PieChart/index.js +0 -82
- package/node/PieChart/legend.js +0 -31
- package/node/PieChart/plugin.js +0 -17
- package/node/PieChart/tooltip.js +0 -36
- package/node/ScatterChart/Scatter.js +0 -123
- package/node/ScatterChart/ScatterChart.js +0 -361
- package/node/ScatterChart/ScatterChart.plugins.js +0 -11
- package/node/ScatterChart/ScatterPlot.js +0 -105
- package/node/ScatterChart/formatter.js +0 -39
- package/node/ScatterChart/index.js +0 -38
- package/node/ScatterChart/legend.js +0 -28
- package/node/ScatterChart/plugin.js +0 -20
- package/node/ScatterChart/tooltip.js +0 -31
- package/node/ScatterChart/useScatterChartProps.js +0 -124
- package/node/SparkLineChart/SparkLineChart.js +0 -369
- package/node/SparkLineChart/index.js +0 -16
- package/node/colorPalettes/colorPalettes.js +0 -22
- package/node/colorPalettes/index.js +0 -16
- package/node/constants/index.js +0 -15
- package/node/context/AnimationProvider/Animation.types.js +0 -5
- package/node/context/AnimationProvider/AnimationContext.js +0 -17
- package/node/context/AnimationProvider/AnimationProvider.js +0 -60
- package/node/context/AnimationProvider/index.js +0 -49
- package/node/context/AnimationProvider/useSkipAnimation.js +0 -25
- package/node/context/ChartProvider/ChartContext.js +0 -15
- package/node/context/ChartProvider/ChartProvider.js +0 -46
- package/node/context/ChartProvider/ChartProvider.types.js +0 -5
- package/node/context/ChartProvider/index.js +0 -38
- package/node/context/ChartProvider/useChartContext.js +0 -18
- package/node/context/PolarProvider/Polar.types.js +0 -5
- package/node/context/PolarProvider/PolarContext.js +0 -20
- package/node/context/PolarProvider/PolarProvider.js +0 -62
- package/node/context/PolarProvider/getAxisExtremum.js +0 -49
- package/node/context/PolarProvider/index.js +0 -1
- package/node/context/PolarProvider/usePolarContext.js +0 -12
- package/node/context/context.types.js +0 -5
- package/node/context/index.js +0 -5
- package/node/hooks/index.js +0 -178
- package/node/hooks/useAxis.js +0 -53
- package/node/hooks/useAxisEvents.js +0 -1
- package/node/hooks/useChartDimensions.js +0 -25
- package/node/hooks/useChartGradientId.js +0 -56
- package/node/hooks/useChartId.js +0 -14
- package/node/hooks/useColorScale.js +0 -35
- package/node/hooks/useDrawingArea.js +0 -14
- package/node/hooks/useInteractionItemProps.js +0 -44
- package/node/hooks/useItemHighlighted.js +0 -28
- package/node/hooks/useItemHighlightedGetter.js +0 -27
- package/node/hooks/useLegend.js +0 -35
- package/node/hooks/useMounted.js +0 -25
- package/node/hooks/useScale.js +0 -31
- package/node/hooks/useSeries.js +0 -74
- package/node/hooks/useSvgRef.js +0 -15
- package/node/hooks/useTicks.js +0 -89
- package/node/hooks/useZAxis.js +0 -33
- package/node/index.js +0 -298
- package/node/internals/calculateMargins.js +0 -33
- package/node/internals/cleanId.js +0 -12
- package/node/internals/colorScale.js +0 -24
- package/node/internals/components/AxisSharedComponents.js +0 -33
- package/node/internals/components/ChartsAxesGradients/ChartsAxesGradients.js +0 -141
- package/node/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -63
- package/node/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -69
- package/node/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.js +0 -53
- package/node/internals/components/ChartsAxesGradients/index.js +0 -16
- package/node/internals/components/ChartsWrapper/ChartsWrapper.js +0 -72
- package/node/internals/components/ChartsWrapper/index.js +0 -16
- package/node/internals/configInit.js +0 -26
- package/node/internals/consumeSlots.js +0 -109
- package/node/internals/consumeThemeProps.js +0 -78
- package/node/internals/defaultizeColor.js +0 -20
- package/node/internals/defaultizeValueFormatter.js +0 -17
- package/node/internals/domUtils.js +0 -138
- package/node/internals/geometry.js +0 -40
- package/node/internals/getCurve.js +0 -33
- package/node/internals/getLabel.js +0 -9
- package/node/internals/getPercentageValue.js +0 -34
- package/node/internals/getSVGPoint.js +0 -17
- package/node/internals/getScale.js +0 -23
- package/node/internals/getSymbol.js +0 -27
- package/node/internals/getWordsByLines.js +0 -21
- package/node/internals/index.js +0 -431
- package/node/internals/isBandScale.js +0 -9
- package/node/internals/isCartesian.js +0 -14
- package/node/internals/isDefined.js +0 -9
- package/node/internals/isInfinity.js +0 -9
- package/node/internals/notNull.js +0 -9
- package/node/internals/plugins/allPlugins.js +0 -13
- package/node/internals/plugins/corePlugins/corePlugins.js +0 -14
- package/node/internals/plugins/corePlugins/index.js +0 -12
- package/node/internals/plugins/corePlugins/useChartDimensions/index.js +0 -27
- package/node/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +0 -183
- package/node/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +0 -32
- package/node/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js +0 -5
- package/node/internals/plugins/corePlugins/useChartId/index.js +0 -27
- package/node/internals/plugins/corePlugins/useChartId/useChartId.js +0 -41
- package/node/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +0 -15
- package/node/internals/plugins/corePlugins/useChartId/useChartId.types.js +0 -5
- package/node/internals/plugins/corePlugins/useChartId/useChartId.utils.js +0 -12
- package/node/internals/plugins/corePlugins/useChartSeries/index.js +0 -27
- package/node/internals/plugins/corePlugins/useChartSeries/processSeries.js +0 -58
- package/node/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +0 -80
- package/node/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +0 -11
- package/node/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js +0 -5
- package/node/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +0 -27
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +0 -134
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +0 -69
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +0 -31
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +0 -29
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +0 -65
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +0 -59
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +0 -213
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.selectors.js +0 -98
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.js +0 -26
- package/node/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.js +0 -19
- package/node/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.js +0 -19
- package/node/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartHighlight/index.js +0 -27
- package/node/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +0 -52
- package/node/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +0 -37
- package/node/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -27
- package/node/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +0 -98
- package/node/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -16
- package/node/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartZAxis/index.js +0 -27
- package/node/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +0 -94
- package/node/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +0 -9
- package/node/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.js +0 -5
- package/node/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -1
- package/node/internals/plugins/models/chart.js +0 -5
- package/node/internals/plugins/models/helpers.js +0 -5
- package/node/internals/plugins/models/index.js +0 -49
- package/node/internals/plugins/models/plugin.js +0 -5
- package/node/internals/plugins/models/seriesConfig/colorProcessor.types.js +0 -5
- package/node/internals/plugins/models/seriesConfig/extremumGetter.types.js +0 -5
- package/node/internals/plugins/models/seriesConfig/index.js +0 -71
- package/node/internals/plugins/models/seriesConfig/legendGetter.types.js +0 -5
- package/node/internals/plugins/models/seriesConfig/seriesConfig.types.js +0 -5
- package/node/internals/plugins/models/seriesConfig/seriesProcessor.types.js +0 -5
- package/node/internals/plugins/models/seriesConfig/tooltipGetter.types.js +0 -5
- package/node/internals/plugins/utils/ChartStore.js +0 -31
- package/node/internals/plugins/utils/selectors.js +0 -44
- package/node/internals/stackSeries.js +0 -101
- package/node/internals/store/extractPluginParamsFromProps.js +0 -36
- package/node/internals/store/useChartModels.js +0 -73
- package/node/internals/store/useCharts.js +0 -92
- package/node/internals/store/useCharts.types.js +0 -5
- package/node/internals/store/useSelector.js +0 -13
- package/node/internals/store/useStore.js +0 -15
- package/node/internals/ts-generic.js +0 -5
- package/node/internals/useStringInterpolator.js +0 -30
- package/node/models/axis.js +0 -22
- package/node/models/colorMapping.js +0 -5
- package/node/models/curve.js +0 -5
- package/node/models/index.js +0 -38
- package/node/models/layout.js +0 -5
- package/node/models/position.js +0 -5
- package/node/models/seriesType/bar.js +0 -5
- package/node/models/seriesType/common.js +0 -5
- package/node/models/seriesType/config.js +0 -5
- package/node/models/seriesType/index.js +0 -71
- package/node/models/seriesType/line.js +0 -5
- package/node/models/seriesType/pie.js +0 -5
- package/node/models/seriesType/scatter.js +0 -5
- package/node/models/stacking.js +0 -5
- package/node/models/z-axis.js +0 -5
- package/node/tests/firePointerEvent.js +0 -42
- package/node/themeAugmentation/index.js +0 -1
- package/themeAugmentation/package.json +0 -6
- /package/{node/BarChart → BarChart/seriesConfig}/extremums.js +0 -0
- /package/{node/BarChart → BarChart/seriesConfig}/getColor.js +0 -0
- /package/{node/LineChart → LineChart/seriesConfig}/extremums.js +0 -0
- /package/{node/LineChart → LineChart/seriesConfig}/getColor.js +0 -0
- /package/{node/PieChart → PieChart/seriesConfig}/getColor.js +0 -0
- /package/{node/ScatterChart → ScatterChart/seriesConfig}/extremums.js +0 -0
- /package/{node/ScatterChart → ScatterChart/seriesConfig}/getColor.js +0 -0
- /package/{BarChart → esm/BarChart/seriesConfig}/extremums.js +0 -0
- /package/{BarChart → esm/BarChart/seriesConfig}/getColor.js +0 -0
- /package/{LineChart → esm/LineChart/seriesConfig}/extremums.js +0 -0
- /package/{LineChart → esm/LineChart/seriesConfig}/getColor.js +0 -0
- /package/{PieChart → esm/PieChart/seriesConfig}/getColor.js +0 -0
- /package/{ScatterChart → esm/ScatterChart/seriesConfig}/extremums.js +0 -0
- /package/{ScatterChart → esm/ScatterChart/seriesConfig}/getColor.js +0 -0
- /package/{node/BarChart/BarLabel/BarLabel.types.js → internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.js} +0 -0
- /package/modern/BarChart/{extremums.js → seriesConfig/extremums.js} +0 -0
- /package/modern/BarChart/{getColor.js → seriesConfig/getColor.js} +0 -0
- /package/modern/LineChart/{extremums.js → seriesConfig/extremums.js} +0 -0
- /package/modern/LineChart/{getColor.js → seriesConfig/getColor.js} +0 -0
- /package/modern/PieChart/{getColor.js → seriesConfig/getColor.js} +0 -0
- /package/modern/ScatterChart/{extremums.js → seriesConfig/extremums.js} +0 -0
- /package/modern/ScatterChart/{getColor.js → seriesConfig/getColor.js} +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { useChartDataProviderProps } from "./useChartDataProviderProps.js";
|
|
7
|
+
import { AnimationProvider } from "../context/AnimationProvider/index.js";
|
|
8
|
+
import { ChartProvider } from "../context/ChartProvider/index.js";
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
/**
|
|
11
|
+
* Orchestrates the data providers for the chart components and hooks.
|
|
12
|
+
*
|
|
13
|
+
* Use this component if you have custom HTML components that need to access the chart data.
|
|
14
|
+
*
|
|
15
|
+
* Demos:
|
|
16
|
+
*
|
|
17
|
+
* - [Composition](https://mui.com/x/api/charts/composition/)
|
|
18
|
+
*
|
|
19
|
+
* API:
|
|
20
|
+
*
|
|
21
|
+
* - [ChartDataProvider API](https://mui.com/x/api/charts/chart-data-provider/)
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```jsx
|
|
25
|
+
* <ChartDataProvider
|
|
26
|
+
* series={[{ label: "Label", type: "bar", data: [10, 20] }]}
|
|
27
|
+
* xAxis={[{ data: ["A", "B"], scaleType: "band", id: "x-axis" }]}
|
|
28
|
+
* >
|
|
29
|
+
* <ChartsSurface>
|
|
30
|
+
* <BarPlot />
|
|
31
|
+
* <ChartsXAxis position="bottom" axisId="x-axis" />
|
|
32
|
+
* </ChartsSurface>
|
|
33
|
+
* {'Custom Legend Component'}
|
|
34
|
+
* </ChartDataProvider>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
function ChartDataProvider(props) {
|
|
38
|
+
const {
|
|
39
|
+
children,
|
|
40
|
+
animationProviderProps,
|
|
41
|
+
chartProviderProps
|
|
42
|
+
} = useChartDataProviderProps(props);
|
|
43
|
+
return /*#__PURE__*/_jsx(ChartProvider, _extends({}, chartProviderProps, {
|
|
44
|
+
children: /*#__PURE__*/_jsx(AnimationProvider, _extends({}, animationProviderProps, {
|
|
45
|
+
children: children
|
|
46
|
+
}))
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
process.env.NODE_ENV !== "production" ? ChartDataProvider.propTypes = {
|
|
50
|
+
// ----------------------------- Warning --------------------------------
|
|
51
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
52
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
53
|
+
// ----------------------------------------------------------------------
|
|
54
|
+
apiRef: PropTypes.any,
|
|
55
|
+
children: PropTypes.node,
|
|
56
|
+
/**
|
|
57
|
+
* Color palette used to colorize multiple series.
|
|
58
|
+
* @default rainbowSurgePalette
|
|
59
|
+
*/
|
|
60
|
+
colors: PropTypes.any,
|
|
61
|
+
/**
|
|
62
|
+
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
63
|
+
*/
|
|
64
|
+
dataset: PropTypes.any,
|
|
65
|
+
/**
|
|
66
|
+
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
67
|
+
*/
|
|
68
|
+
height: PropTypes.any,
|
|
69
|
+
/**
|
|
70
|
+
* This prop is used to help implement the accessibility logic.
|
|
71
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
72
|
+
*/
|
|
73
|
+
id: PropTypes.any,
|
|
74
|
+
/**
|
|
75
|
+
* The margin between the SVG and the drawing area.
|
|
76
|
+
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
77
|
+
* Accepts an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
78
|
+
*/
|
|
79
|
+
margin: PropTypes.any,
|
|
80
|
+
/**
|
|
81
|
+
* The array of series to display.
|
|
82
|
+
* Each type of series has its own specificity.
|
|
83
|
+
* Please refer to the appropriate docs page to learn more about it.
|
|
84
|
+
*/
|
|
85
|
+
series: PropTypes.any,
|
|
86
|
+
/**
|
|
87
|
+
* If `true`, animations are skipped.
|
|
88
|
+
* If unset or `false`, the animations respects the user's `prefers-reduced-motion` setting.
|
|
89
|
+
*/
|
|
90
|
+
skipAnimation: PropTypes.any,
|
|
91
|
+
theme: PropTypes.any,
|
|
92
|
+
/**
|
|
93
|
+
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
94
|
+
*/
|
|
95
|
+
width: PropTypes.any
|
|
96
|
+
} : void 0;
|
|
97
|
+
export { ChartDataProvider };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ChartDataProvider.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ChartDataProvider.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartDataProviderProps } from './ChartDataProvider';
|
|
2
|
+
import { AnimationProviderProps } from "../context/AnimationProvider/index.js";
|
|
3
|
+
import { ChartProviderProps } from "../context/ChartProvider/index.js";
|
|
4
|
+
import { ChartAnyPluginSignature } from "../internals/plugins/models/index.js";
|
|
5
|
+
import { ChartSeriesType } from "../models/seriesType/config.js";
|
|
6
|
+
import { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
|
|
7
|
+
export declare const useChartDataProviderProps: <TSeries extends ChartSeriesType = keyof import("../internals").ChartsSeriesConfig, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartDataProviderProps<TSeries, TSignatures>) => {
|
|
8
|
+
children: import("react").ReactNode;
|
|
9
|
+
animationProviderProps: Omit<AnimationProviderProps, "children">;
|
|
10
|
+
chartProviderProps: Omit<ChartProviderProps<TSeries, TSignatures>, "children">;
|
|
11
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
|
+
const _excluded = ["children", "skipAnimation", "plugins", "seriesConfig"];
|
|
6
|
+
import { useTheme } from '@mui/material/styles';
|
|
7
|
+
export const useChartDataProviderProps = props => {
|
|
8
|
+
const {
|
|
9
|
+
children,
|
|
10
|
+
skipAnimation,
|
|
11
|
+
plugins,
|
|
12
|
+
seriesConfig
|
|
13
|
+
} = props,
|
|
14
|
+
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
15
|
+
const theme = useTheme();
|
|
16
|
+
const chartProviderProps = {
|
|
17
|
+
plugins,
|
|
18
|
+
seriesConfig,
|
|
19
|
+
pluginParams: _extends({
|
|
20
|
+
theme: theme.palette.mode
|
|
21
|
+
}, other)
|
|
22
|
+
};
|
|
23
|
+
const animationProviderProps = {
|
|
24
|
+
skipAnimation
|
|
25
|
+
};
|
|
26
|
+
return {
|
|
27
|
+
children,
|
|
28
|
+
animationProviderProps,
|
|
29
|
+
chartProviderProps
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartsAxisSlotProps, ChartsAxisSlots, ChartsXAxisProps, ChartsYAxisProps } from "../models/axis.js";
|
|
3
|
+
export interface ChartsAxisProps {
|
|
4
|
+
/**
|
|
5
|
+
* Indicate which axis to display the top of the charts.
|
|
6
|
+
* Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
|
|
7
|
+
* @default null
|
|
8
|
+
*/
|
|
9
|
+
topAxis?: null | string | ChartsXAxisProps;
|
|
10
|
+
/**
|
|
11
|
+
* Indicate which axis to display the bottom of the charts.
|
|
12
|
+
* Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
|
|
13
|
+
* @default xAxisIds[0] The id of the first provided axis
|
|
14
|
+
*/
|
|
15
|
+
bottomAxis?: null | string | ChartsXAxisProps;
|
|
16
|
+
/**
|
|
17
|
+
* Indicate which axis to display the left of the charts.
|
|
18
|
+
* Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
|
|
19
|
+
* @default yAxisIds[0] The id of the first provided axis
|
|
20
|
+
*/
|
|
21
|
+
leftAxis?: null | string | ChartsYAxisProps;
|
|
22
|
+
/**
|
|
23
|
+
* Indicate which axis to display the right of the charts.
|
|
24
|
+
* Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
|
|
25
|
+
* @default null
|
|
26
|
+
*/
|
|
27
|
+
rightAxis?: null | string | ChartsYAxisProps;
|
|
28
|
+
/**
|
|
29
|
+
* Overridable component slots.
|
|
30
|
+
* @default {}
|
|
31
|
+
*/
|
|
32
|
+
slots?: ChartsAxisSlots;
|
|
33
|
+
/**
|
|
34
|
+
* The props used for each component slot.
|
|
35
|
+
* @default {}
|
|
36
|
+
*/
|
|
37
|
+
slotProps?: ChartsAxisSlotProps;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Demos:
|
|
41
|
+
*
|
|
42
|
+
* - [Axis](https://mui.com/x/react-charts/axis/)
|
|
43
|
+
*
|
|
44
|
+
* API:
|
|
45
|
+
*
|
|
46
|
+
* - [ChartsAxis API](https://mui.com/x/api/charts/charts-axis/)
|
|
47
|
+
*/
|
|
48
|
+
declare function ChartsAxis(props: ChartsAxisProps): React.JSX.Element;
|
|
49
|
+
declare namespace ChartsAxis {
|
|
50
|
+
var propTypes: any;
|
|
51
|
+
}
|
|
52
|
+
export { ChartsAxis };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { ChartsXAxis } from "../ChartsXAxis/index.js";
|
|
7
|
+
import { ChartsYAxis } from "../ChartsYAxis/index.js";
|
|
8
|
+
import { useXAxes, useYAxes } from "../hooks/index.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const getAxisId = (propsValue, defaultAxisId) => {
|
|
11
|
+
if (propsValue == null) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
if (typeof propsValue === 'object') {
|
|
15
|
+
return propsValue.axisId ?? defaultAxisId ?? null;
|
|
16
|
+
}
|
|
17
|
+
return propsValue;
|
|
18
|
+
};
|
|
19
|
+
const mergeProps = (axisConfig, slots, slotProps) => {
|
|
20
|
+
return typeof axisConfig === 'object' ? _extends({}, axisConfig, {
|
|
21
|
+
slots: _extends({}, slots, axisConfig?.slots),
|
|
22
|
+
slotProps: _extends({}, slotProps, axisConfig?.slotProps)
|
|
23
|
+
}) : {
|
|
24
|
+
slots,
|
|
25
|
+
slotProps
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Demos:
|
|
31
|
+
*
|
|
32
|
+
* - [Axis](https://mui.com/x/react-charts/axis/)
|
|
33
|
+
*
|
|
34
|
+
* API:
|
|
35
|
+
*
|
|
36
|
+
* - [ChartsAxis API](https://mui.com/x/api/charts/charts-axis/)
|
|
37
|
+
*/
|
|
38
|
+
function ChartsAxis(props) {
|
|
39
|
+
const {
|
|
40
|
+
topAxis,
|
|
41
|
+
leftAxis,
|
|
42
|
+
rightAxis,
|
|
43
|
+
bottomAxis,
|
|
44
|
+
slots,
|
|
45
|
+
slotProps
|
|
46
|
+
} = props;
|
|
47
|
+
const {
|
|
48
|
+
xAxis,
|
|
49
|
+
xAxisIds
|
|
50
|
+
} = useXAxes();
|
|
51
|
+
const {
|
|
52
|
+
yAxis,
|
|
53
|
+
yAxisIds
|
|
54
|
+
} = useYAxes();
|
|
55
|
+
const leftId = getAxisId(leftAxis === undefined ? yAxisIds[0] : leftAxis, yAxisIds[0]);
|
|
56
|
+
const bottomId = getAxisId(bottomAxis === undefined ? xAxisIds[0] : bottomAxis, xAxisIds[0]);
|
|
57
|
+
const topId = getAxisId(topAxis, xAxisIds[0]);
|
|
58
|
+
const rightId = getAxisId(rightAxis, yAxisIds[0]);
|
|
59
|
+
if (topId !== null && !xAxis[topId]) {
|
|
60
|
+
throw new Error([`MUI X: id used for top axis "${topId}" is not defined.`, `Available ids are: ${xAxisIds.join(', ')}.`].join('\n'));
|
|
61
|
+
}
|
|
62
|
+
if (leftId !== null && !yAxis[leftId]) {
|
|
63
|
+
throw new Error([`MUI X: id used for left axis "${leftId}" is not defined.`, `Available ids are: ${yAxisIds.join(', ')}.`].join('\n'));
|
|
64
|
+
}
|
|
65
|
+
if (rightId !== null && !yAxis[rightId]) {
|
|
66
|
+
throw new Error([`MUI X: id used for right axis "${rightId}" is not defined.`, `Available ids are: ${yAxisIds.join(', ')}.`].join('\n'));
|
|
67
|
+
}
|
|
68
|
+
if (bottomId !== null && !xAxis[bottomId]) {
|
|
69
|
+
throw new Error([`MUI X: id used for bottom axis "${bottomId}" is not defined.`, `Available ids are: ${xAxisIds.join(', ')}.`].join('\n'));
|
|
70
|
+
}
|
|
71
|
+
const topAxisProps = mergeProps(topAxis, slots, slotProps);
|
|
72
|
+
const bottomAxisProps = mergeProps(bottomAxis, slots, slotProps);
|
|
73
|
+
const leftAxisProps = mergeProps(leftAxis, slots, slotProps);
|
|
74
|
+
const rightAxisProps = mergeProps(rightAxis, slots, slotProps);
|
|
75
|
+
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
76
|
+
children: [topId && /*#__PURE__*/_jsx(ChartsXAxis, _extends({}, topAxisProps, {
|
|
77
|
+
position: "top",
|
|
78
|
+
axisId: topId
|
|
79
|
+
})), bottomId && /*#__PURE__*/_jsx(ChartsXAxis, _extends({}, bottomAxisProps, {
|
|
80
|
+
position: "bottom",
|
|
81
|
+
axisId: bottomId
|
|
82
|
+
})), leftId && /*#__PURE__*/_jsx(ChartsYAxis, _extends({}, leftAxisProps, {
|
|
83
|
+
position: "left",
|
|
84
|
+
axisId: leftId
|
|
85
|
+
})), rightId && /*#__PURE__*/_jsx(ChartsYAxis, _extends({}, rightAxisProps, {
|
|
86
|
+
position: "right",
|
|
87
|
+
axisId: rightId
|
|
88
|
+
}))]
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
process.env.NODE_ENV !== "production" ? ChartsAxis.propTypes = {
|
|
92
|
+
// ----------------------------- Warning --------------------------------
|
|
93
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
94
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
95
|
+
// ----------------------------------------------------------------------
|
|
96
|
+
/**
|
|
97
|
+
* Indicate which axis to display the bottom of the charts.
|
|
98
|
+
* Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
|
|
99
|
+
* @default xAxisIds[0] The id of the first provided axis
|
|
100
|
+
*/
|
|
101
|
+
bottomAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
102
|
+
/**
|
|
103
|
+
* Indicate which axis to display the left of the charts.
|
|
104
|
+
* Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
|
|
105
|
+
* @default yAxisIds[0] The id of the first provided axis
|
|
106
|
+
*/
|
|
107
|
+
leftAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
108
|
+
/**
|
|
109
|
+
* Indicate which axis to display the right of the charts.
|
|
110
|
+
* Can be a string (the id of the axis) or an object `ChartsYAxisProps`.
|
|
111
|
+
* @default null
|
|
112
|
+
*/
|
|
113
|
+
rightAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
114
|
+
/**
|
|
115
|
+
* The props used for each component slot.
|
|
116
|
+
* @default {}
|
|
117
|
+
*/
|
|
118
|
+
slotProps: PropTypes.object,
|
|
119
|
+
/**
|
|
120
|
+
* Overridable component slots.
|
|
121
|
+
* @default {}
|
|
122
|
+
*/
|
|
123
|
+
slots: PropTypes.object,
|
|
124
|
+
/**
|
|
125
|
+
* Indicate which axis to display the top of the charts.
|
|
126
|
+
* Can be a string (the id of the axis) or an object `ChartsXAxisProps`.
|
|
127
|
+
* @default null
|
|
128
|
+
*/
|
|
129
|
+
topAxis: PropTypes.oneOfType([PropTypes.object, PropTypes.string])
|
|
130
|
+
} : void 0;
|
|
131
|
+
export { ChartsAxis };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ChartsAxisClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the main line element. */
|
|
5
|
+
line: string;
|
|
6
|
+
/** Styles applied to group including the tick and its label. */
|
|
7
|
+
tickContainer: string;
|
|
8
|
+
/** Styles applied to ticks. */
|
|
9
|
+
tick: string;
|
|
10
|
+
/** Styles applied to ticks label. */
|
|
11
|
+
tickLabel: string;
|
|
12
|
+
/** Styles applied to the group containing the axis label. */
|
|
13
|
+
label: string;
|
|
14
|
+
/** Styles applied to x-axes. */
|
|
15
|
+
directionX: string;
|
|
16
|
+
/** Styles applied to y-axes. */
|
|
17
|
+
directionY: string;
|
|
18
|
+
/** Styles applied to the top axis. */
|
|
19
|
+
top: string;
|
|
20
|
+
/** Styles applied to the bottom axis. */
|
|
21
|
+
bottom: string;
|
|
22
|
+
/** Styles applied to the left axis. */
|
|
23
|
+
left: string;
|
|
24
|
+
/** Styles applied to the right axis. */
|
|
25
|
+
right: string;
|
|
26
|
+
}
|
|
27
|
+
export type ChartsAxisClassKey = keyof ChartsAxisClasses;
|
|
28
|
+
export declare function getAxisUtilityClass(slot: string): string;
|
|
29
|
+
export declare const axisClasses: ChartsAxisClasses;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
|
+
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
3
|
+
export function getAxisUtilityClass(slot) {
|
|
4
|
+
return generateUtilityClass('MuiChartsAxis', slot);
|
|
5
|
+
}
|
|
6
|
+
export const axisClasses = generateUtilityClasses('MuiChartsAxis', ['root', 'line', 'tickContainer', 'tick', 'tickLabel', 'label', 'directionX', 'directionY', 'top', 'bottom', 'left', 'right']);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartsAxisHighlightProps } from "./ChartsAxisHighlight.types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Demos:
|
|
5
|
+
*
|
|
6
|
+
* - [Custom components](https://mui.com/x/react-charts/components/)
|
|
7
|
+
*
|
|
8
|
+
* API:
|
|
9
|
+
*
|
|
10
|
+
* - [ChartsAxisHighlight API](https://mui.com/x/api/charts/charts-axis-highlight/)
|
|
11
|
+
*/
|
|
12
|
+
declare function ChartsAxisHighlight(props: ChartsAxisHighlightProps): React.JSX.Element;
|
|
13
|
+
declare namespace ChartsAxisHighlight {
|
|
14
|
+
var propTypes: any;
|
|
15
|
+
}
|
|
16
|
+
export { ChartsAxisHighlight };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
6
|
+
import { getAxisHighlightUtilityClass } from "./chartsAxisHighlightClasses.js";
|
|
7
|
+
import ChartsYHighlight from "./ChartsYAxisHighlight.js";
|
|
8
|
+
import ChartsXHighlight from "./ChartsXAxisHighlight.js";
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
const useUtilityClasses = () => {
|
|
11
|
+
const slots = {
|
|
12
|
+
root: ['root']
|
|
13
|
+
};
|
|
14
|
+
return composeClasses(slots, getAxisHighlightUtilityClass);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Demos:
|
|
19
|
+
*
|
|
20
|
+
* - [Custom components](https://mui.com/x/react-charts/components/)
|
|
21
|
+
*
|
|
22
|
+
* API:
|
|
23
|
+
*
|
|
24
|
+
* - [ChartsAxisHighlight API](https://mui.com/x/api/charts/charts-axis-highlight/)
|
|
25
|
+
*/
|
|
26
|
+
function ChartsAxisHighlight(props) {
|
|
27
|
+
const {
|
|
28
|
+
x: xAxisHighlight,
|
|
29
|
+
y: yAxisHighlight
|
|
30
|
+
} = props;
|
|
31
|
+
const classes = useUtilityClasses();
|
|
32
|
+
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
33
|
+
children: [xAxisHighlight && /*#__PURE__*/_jsx(ChartsXHighlight, {
|
|
34
|
+
type: xAxisHighlight,
|
|
35
|
+
classes: classes
|
|
36
|
+
}), yAxisHighlight && /*#__PURE__*/_jsx(ChartsYHighlight, {
|
|
37
|
+
type: yAxisHighlight,
|
|
38
|
+
classes: classes
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
process.env.NODE_ENV !== "production" ? ChartsAxisHighlight.propTypes = {
|
|
43
|
+
// ----------------------------- Warning --------------------------------
|
|
44
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
45
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
46
|
+
// ----------------------------------------------------------------------
|
|
47
|
+
x: PropTypes.oneOf(['band', 'line', 'none']),
|
|
48
|
+
y: PropTypes.oneOf(['band', 'line', 'none'])
|
|
49
|
+
} : void 0;
|
|
50
|
+
export { ChartsAxisHighlight };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
|
|
2
|
+
export declare const ChartsAxisHighlightPath: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
+
ownerState: {
|
|
4
|
+
axisHighlight: ChartsAxisHighlightType;
|
|
5
|
+
};
|
|
6
|
+
}, Pick<import("react").SVGProps<SVGPathElement>, keyof import("react").SVGProps<SVGPathElement>>, {}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import { styled } from '@mui/material/styles';
|
|
5
|
+
export const ChartsAxisHighlightPath = styled('path', {
|
|
6
|
+
name: 'MuiChartsAxisHighlight',
|
|
7
|
+
slot: 'Root',
|
|
8
|
+
overridesResolver: (_, styles) => styles.root
|
|
9
|
+
})(({
|
|
10
|
+
theme
|
|
11
|
+
}) => ({
|
|
12
|
+
pointerEvents: 'none',
|
|
13
|
+
variants: [{
|
|
14
|
+
props: {
|
|
15
|
+
axisHighlight: 'band'
|
|
16
|
+
},
|
|
17
|
+
style: _extends({
|
|
18
|
+
fill: 'white',
|
|
19
|
+
fillOpacity: 0.1
|
|
20
|
+
}, theme.applyStyles('light', {
|
|
21
|
+
fill: 'gray'
|
|
22
|
+
}))
|
|
23
|
+
}, {
|
|
24
|
+
props: {
|
|
25
|
+
axisHighlight: 'line'
|
|
26
|
+
},
|
|
27
|
+
style: _extends({
|
|
28
|
+
strokeDasharray: '5 2',
|
|
29
|
+
stroke: '#ffffff'
|
|
30
|
+
}, theme.applyStyles('light', {
|
|
31
|
+
stroke: '#000000'
|
|
32
|
+
}))
|
|
33
|
+
}]
|
|
34
|
+
}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
|
|
3
|
+
import { ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default function ChartsXHighlight(props: {
|
|
8
|
+
type: ChartsAxisHighlightType;
|
|
9
|
+
classes: ChartsAxisHighlightClasses;
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { getValueToPositionMapper, useXScale } from "../hooks/useScale.js";
|
|
5
|
+
import { isBandScale } from "../internals/isBandScale.js";
|
|
6
|
+
import { useSelector } from "../internals/store/useSelector.js";
|
|
7
|
+
import { useStore } from "../internals/store/useStore.js";
|
|
8
|
+
import { selectorChartsInteractionXAxis } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
9
|
+
import { useDrawingArea } from "../hooks/index.js";
|
|
10
|
+
import { ChartsAxisHighlightPath } from "./ChartsAxisHighlightPath.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - internal component.
|
|
14
|
+
*/
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
export default function ChartsXHighlight(props) {
|
|
17
|
+
const {
|
|
18
|
+
type,
|
|
19
|
+
classes
|
|
20
|
+
} = props;
|
|
21
|
+
const {
|
|
22
|
+
top,
|
|
23
|
+
height
|
|
24
|
+
} = useDrawingArea();
|
|
25
|
+
const xScale = useXScale();
|
|
26
|
+
const store = useStore();
|
|
27
|
+
const axisX = useSelector(store, selectorChartsInteractionXAxis);
|
|
28
|
+
const getXPosition = getValueToPositionMapper(xScale);
|
|
29
|
+
const isBandScaleX = type === 'band' && axisX !== null && isBandScale(xScale);
|
|
30
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
31
|
+
const isError = isBandScaleX && xScale(axisX.value) === undefined;
|
|
32
|
+
if (isError) {
|
|
33
|
+
console.error([`MUI X: The position value provided for the axis is not valid for the current scale.`, `This probably means something is wrong with the data passed to the chart.`, `The ChartsAxisHighlight component will not be displayed.`].join('\n'));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
37
|
+
children: [isBandScaleX && xScale(axisX.value) !== undefined && /*#__PURE__*/_jsx(ChartsAxisHighlightPath
|
|
38
|
+
// @ts-expect-error, xScale value is checked in the statement above
|
|
39
|
+
, {
|
|
40
|
+
d: `M ${xScale(axisX.value) - (xScale.step() - xScale.bandwidth()) / 2} ${top} l ${xScale.step()} 0 l 0 ${height} l ${-xScale.step()} 0 Z`,
|
|
41
|
+
className: classes.root,
|
|
42
|
+
ownerState: {
|
|
43
|
+
axisHighlight: 'band'
|
|
44
|
+
}
|
|
45
|
+
}), type === 'line' && axisX !== null && /*#__PURE__*/_jsx(ChartsAxisHighlightPath, {
|
|
46
|
+
d: `M ${getXPosition(axisX.value)} ${top} L ${getXPosition(axisX.value)} ${top + height}`,
|
|
47
|
+
className: classes.root,
|
|
48
|
+
ownerState: {
|
|
49
|
+
axisHighlight: 'line'
|
|
50
|
+
}
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartsAxisHighlightType } from "./ChartsAxisHighlight.types.js";
|
|
3
|
+
import { ChartsAxisHighlightClasses } from "./chartsAxisHighlightClasses.js";
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default function ChartsYHighlight(props: {
|
|
8
|
+
type: ChartsAxisHighlightType;
|
|
9
|
+
classes: ChartsAxisHighlightClasses;
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { getValueToPositionMapper, useYScale } from "../hooks/useScale.js";
|
|
5
|
+
import { isBandScale } from "../internals/isBandScale.js";
|
|
6
|
+
import { useSelector } from "../internals/store/useSelector.js";
|
|
7
|
+
import { useStore } from "../internals/store/useStore.js";
|
|
8
|
+
import { selectorChartsInteractionYAxis } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
9
|
+
import { useDrawingArea } from "../hooks/index.js";
|
|
10
|
+
import { ChartsAxisHighlightPath } from "./ChartsAxisHighlightPath.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @ignore - internal component.
|
|
14
|
+
*/
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
export default function ChartsYHighlight(props) {
|
|
17
|
+
const {
|
|
18
|
+
type,
|
|
19
|
+
classes
|
|
20
|
+
} = props;
|
|
21
|
+
const {
|
|
22
|
+
left,
|
|
23
|
+
width
|
|
24
|
+
} = useDrawingArea();
|
|
25
|
+
const yScale = useYScale();
|
|
26
|
+
const store = useStore();
|
|
27
|
+
const axisY = useSelector(store, selectorChartsInteractionYAxis);
|
|
28
|
+
const getYPosition = getValueToPositionMapper(yScale);
|
|
29
|
+
const isBandScaleY = type === 'band' && axisY !== null && isBandScale(yScale);
|
|
30
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
31
|
+
const isError = isBandScaleY && yScale(axisY.value) === undefined;
|
|
32
|
+
if (isError) {
|
|
33
|
+
console.error([`MUI X: The position value provided for the axis is not valid for the current scale.`, `This probably means something is wrong with the data passed to the chart.`, `The ChartsAxisHighlight component will not be displayed.`].join('\n'));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
37
|
+
children: [isBandScaleY && yScale(axisY.value) !== undefined && /*#__PURE__*/_jsx(ChartsAxisHighlightPath, {
|
|
38
|
+
d: `M ${left} ${
|
|
39
|
+
// @ts-expect-error, yScale value is checked in the statement above
|
|
40
|
+
yScale(axisY.value) - (yScale.step() - yScale.bandwidth()) / 2} l 0 ${yScale.step()} l ${width} 0 l 0 ${-yScale.step()} Z`,
|
|
41
|
+
className: classes.root,
|
|
42
|
+
ownerState: {
|
|
43
|
+
axisHighlight: 'band'
|
|
44
|
+
}
|
|
45
|
+
}), type === 'line' && axisY !== null && /*#__PURE__*/_jsx(ChartsAxisHighlightPath, {
|
|
46
|
+
d: `M ${left} ${getYPosition(axisY.value)} L ${left + width} ${getYPosition(axisY.value)}`,
|
|
47
|
+
className: classes.root,
|
|
48
|
+
ownerState: {
|
|
49
|
+
axisHighlight: 'line'
|
|
50
|
+
}
|
|
51
|
+
})]
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface ChartsAxisHighlightClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type ChartsAxisHighlightClassKey = keyof ChartsAxisHighlightClasses;
|
|
6
|
+
export declare function getAxisHighlightUtilityClass(slot: string): string;
|
|
7
|
+
export declare const chartsAxisHighlightClasses: ChartsAxisHighlightClasses;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
|
+
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
3
|
+
export function getAxisHighlightUtilityClass(slot) {
|
|
4
|
+
return generateUtilityClass('MuiChartsAxisHighlight', slot);
|
|
5
|
+
}
|
|
6
|
+
export const chartsAxisHighlightClasses = generateUtilityClasses('MuiChartsAxisHighlight', ['root']);
|