@mui/x-charts 8.0.0-beta.3 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BarChart/BarChart.js +663 -12
- package/BarChart/BarClipPath.js +14 -15
- package/BarChart/BarLabel/barLabelClasses.d.ts +5 -0
- package/BarChart/BarPlot.js +5 -2
- package/BarChart/barElementClasses.d.ts +5 -0
- package/BarChart/barElementClasses.js +1 -1
- package/BarChart/seriesConfig/getColor.js +6 -0
- package/CHANGELOG.md +282 -96
- package/ChartContainer/ChartContainer.js +1010 -23
- package/ChartDataProvider/ChartDataProvider.d.ts +1 -4
- package/ChartDataProvider/ChartDataProvider.js +18 -16
- package/ChartDataProvider/useChartDataProviderProps.d.ts +1 -3
- package/ChartDataProvider/useChartDataProviderProps.js +4 -8
- package/ChartsTooltip/ChartsAxisTooltipContent.js +4 -12
- package/ChartsTooltip/ChartsItemTooltipContent.js +43 -1
- package/ChartsTooltip/ChartsTooltipContainer.js +5 -1
- package/ChartsTooltip/ChartsTooltipTable.js +5 -5
- package/ChartsTooltip/index.d.ts +3 -1
- package/ChartsTooltip/index.js +14 -11
- package/ChartsTooltip/useAxisTooltip.d.ts +7 -6
- package/ChartsTooltip/useAxisTooltip.js +57 -2
- package/ChartsTooltip/useItemTooltip.d.ts +15 -11
- package/ChartsTooltip/useItemTooltip.js +48 -4
- package/Gauge/Gauge.js +10 -3
- package/Gauge/GaugeContainer.js +5 -0
- package/Gauge/GaugeValueArc.d.ts +7 -1
- package/Gauge/GaugeValueArc.js +60 -10
- package/Gauge/gaugeClasses.d.ts +1 -2
- package/Gauge/gaugeClasses.js +2 -3
- package/LineChart/AreaElement.d.ts +5 -0
- package/LineChart/AreaElement.js +1 -1
- package/LineChart/AreaPlot.js +2 -2
- package/LineChart/LineChart.js +663 -12
- package/LineChart/LineElement.d.ts +5 -0
- package/LineChart/LineElement.js +1 -1
- package/LineChart/LinePlot.js +2 -2
- package/LineChart/MarkPlot.js +2 -2
- package/LineChart/markElementClasses.d.ts +5 -0
- package/LineChart/markElementClasses.js +1 -1
- package/LineChart/seriesConfig/getColor.js +6 -0
- package/PieChart/PieArc.d.ts +5 -0
- package/PieChart/PieArc.js +1 -1
- package/PieChart/PieArcLabel.d.ts +5 -0
- package/PieChart/PieArcLabel.js +1 -1
- package/PieChart/PiePlot.js +2 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -8
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +53 -15
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -2
- package/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +1 -1
- package/RadarChart/RadarChart.d.ts +6 -4
- package/RadarChart/RadarChart.js +10 -13
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.js +1 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.js +11 -7
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +6 -0
- package/RadarChart/RadarGrid/CircularRadarStripes.js +38 -0
- package/RadarChart/RadarGrid/RadarGrid.js +52 -12
- package/RadarChart/RadarGrid/RadarGrid.types.d.ts +26 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.js +11 -7
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +6 -0
- package/RadarChart/RadarGrid/SharpRadarStripes.js +44 -0
- package/RadarChart/RadarGrid/radarGridClasses.d.ts +12 -0
- package/RadarChart/RadarGrid/radarGridClasses.js +25 -0
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +16 -0
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +54 -7
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +16 -0
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +59 -10
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +21 -24
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +1 -2
- package/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/index.js +14 -22
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +6 -2
- package/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +3 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -1
- package/RadarChart/seriesConfig/index.js +3 -1
- package/RadarChart/seriesConfig/tooltip.d.ts +2 -1
- package/RadarChart/seriesConfig/tooltip.js +25 -10
- package/RadarChart/useRadarChartProps.d.ts +0 -2
- package/RadarChart/useRadarChartProps.js +4 -7
- package/ScatterChart/Scatter.d.ts +2 -1
- package/ScatterChart/ScatterChart.js +663 -12
- package/ScatterChart/seriesConfig/getColor.js +9 -0
- package/SparkLineChart/SparkLineChart.d.ts +3 -4
- package/SparkLineChart/SparkLineChart.js +662 -11
- package/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.types.d.ts +1 -2
- package/esm/BarChart/BarChart.js +663 -12
- package/esm/BarChart/BarClipPath.js +14 -15
- package/esm/BarChart/BarLabel/barLabelClasses.d.ts +5 -0
- package/esm/BarChart/BarPlot.js +4 -1
- package/esm/BarChart/barElementClasses.d.ts +5 -0
- package/esm/BarChart/barElementClasses.js +1 -1
- package/esm/BarChart/seriesConfig/getColor.js +6 -0
- package/esm/ChartContainer/ChartContainer.js +1010 -23
- package/esm/ChartDataProvider/ChartDataProvider.d.ts +1 -4
- package/esm/ChartDataProvider/ChartDataProvider.js +18 -16
- package/esm/ChartDataProvider/useChartDataProviderProps.d.ts +1 -3
- package/esm/ChartDataProvider/useChartDataProviderProps.js +4 -8
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +4 -12
- package/esm/ChartsTooltip/ChartsItemTooltipContent.js +44 -2
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +5 -1
- package/esm/ChartsTooltip/ChartsTooltipTable.js +5 -5
- package/esm/ChartsTooltip/index.d.ts +3 -1
- package/esm/ChartsTooltip/index.js +1 -1
- package/esm/ChartsTooltip/useAxisTooltip.d.ts +7 -6
- package/esm/ChartsTooltip/useAxisTooltip.js +58 -3
- package/esm/ChartsTooltip/useItemTooltip.d.ts +15 -11
- package/esm/ChartsTooltip/useItemTooltip.js +45 -4
- package/esm/Gauge/Gauge.js +10 -3
- package/esm/Gauge/GaugeContainer.js +5 -0
- package/esm/Gauge/GaugeValueArc.d.ts +7 -1
- package/esm/Gauge/GaugeValueArc.js +61 -10
- package/esm/Gauge/gaugeClasses.d.ts +1 -2
- package/esm/Gauge/gaugeClasses.js +1 -2
- package/esm/LineChart/AreaElement.d.ts +5 -0
- package/esm/LineChart/AreaElement.js +1 -1
- package/esm/LineChart/AreaPlot.js +1 -1
- package/esm/LineChart/LineChart.js +663 -12
- package/esm/LineChart/LineElement.d.ts +5 -0
- package/esm/LineChart/LineElement.js +1 -1
- package/esm/LineChart/LinePlot.js +1 -1
- package/esm/LineChart/MarkPlot.js +1 -1
- package/esm/LineChart/markElementClasses.d.ts +5 -0
- package/esm/LineChart/markElementClasses.js +1 -1
- package/esm/LineChart/seriesConfig/getColor.js +6 -0
- package/esm/PieChart/PieArc.d.ts +5 -0
- package/esm/PieChart/PieArc.js +1 -1
- package/esm/PieChart/PieArcLabel.d.ts +5 -0
- package/esm/PieChart/PieArcLabel.js +1 -1
- package/esm/PieChart/PiePlot.js +1 -1
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -8
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +53 -15
- package/esm/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -2
- package/esm/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +1 -1
- package/esm/RadarChart/RadarChart.d.ts +6 -4
- package/esm/RadarChart/RadarChart.js +11 -14
- package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -1
- package/esm/RadarChart/RadarDataProvider/RadarDataProvider.js +1 -1
- package/esm/RadarChart/RadarGrid/CircularRadarGrid.js +11 -7
- package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +6 -0
- package/esm/RadarChart/RadarGrid/CircularRadarStripes.js +31 -0
- package/esm/RadarChart/RadarGrid/RadarGrid.js +53 -13
- package/esm/RadarChart/RadarGrid/RadarGrid.types.d.ts +26 -1
- package/esm/RadarChart/RadarGrid/SharpRadarGrid.js +11 -7
- package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +6 -0
- package/esm/RadarChart/RadarGrid/SharpRadarStripes.js +37 -0
- package/esm/RadarChart/RadarGrid/radarGridClasses.d.ts +12 -0
- package/esm/RadarChart/RadarGrid/radarGridClasses.js +15 -0
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +16 -0
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +53 -7
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +16 -0
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +58 -10
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +21 -24
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +1 -2
- package/esm/RadarChart/RadarSeriesPlot/index.d.ts +2 -2
- package/esm/RadarChart/RadarSeriesPlot/index.js +2 -2
- package/esm/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +6 -2
- package/esm/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +3 -1
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +2 -1
- package/esm/RadarChart/seriesConfig/index.js +2 -1
- package/esm/RadarChart/seriesConfig/tooltip.d.ts +2 -1
- package/esm/RadarChart/seriesConfig/tooltip.js +23 -9
- package/esm/RadarChart/useRadarChartProps.d.ts +0 -2
- package/esm/RadarChart/useRadarChartProps.js +4 -7
- package/esm/ScatterChart/Scatter.d.ts +2 -1
- package/esm/ScatterChart/ScatterChart.js +663 -12
- package/esm/ScatterChart/seriesConfig/getColor.js +9 -0
- package/esm/SparkLineChart/SparkLineChart.d.ts +3 -4
- package/esm/SparkLineChart/SparkLineChart.js +662 -11
- package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +1 -2
- package/esm/hooks/animation/index.d.ts +1 -0
- package/esm/hooks/animation/index.js +1 -0
- package/esm/hooks/animation/useAnimate.d.ts +83 -0
- package/esm/hooks/animation/useAnimate.js +47 -0
- package/esm/hooks/animation/useAnimateArea.js +5 -8
- package/esm/hooks/animation/useAnimateBar.js +5 -11
- package/esm/hooks/animation/useAnimateBarLabel.js +5 -11
- package/esm/hooks/animation/useAnimateGaugeValueArc.d.ts +19 -0
- package/esm/hooks/animation/useAnimateGaugeValueArc.js +54 -0
- package/esm/hooks/animation/useAnimateLine.js +5 -8
- package/esm/hooks/animation/useAnimatePieArc.js +17 -25
- package/esm/hooks/animation/useAnimatePieArcLabel.js +14 -18
- package/esm/hooks/useAxisSystem.d.ts +8 -0
- package/esm/hooks/useAxisSystem.js +26 -0
- package/esm/hooks/useIsHydrated.js +1 -1
- package/{context/AnimationProvider → esm/hooks}/useSkipAnimation.d.ts +2 -2
- package/esm/hooks/useSkipAnimation.js +16 -0
- package/esm/index.js +1 -1
- package/{modern/internals/animation/useAnimate.d.ts → esm/internals/animation/useAnimateInternal.d.ts} +3 -1
- package/{modern/internals/animation/useAnimate.js → esm/internals/animation/useAnimateInternal.js} +3 -1
- package/esm/internals/domUtils.js +11 -6
- package/esm/internals/index.d.ts +0 -2
- package/esm/internals/index.js +0 -2
- package/esm/internals/isCartesian.d.ts +2 -7
- package/esm/internals/isCartesian.js +0 -3
- package/esm/internals/isPolar.d.ts +2 -7
- package/esm/internals/isPolar.js +0 -3
- package/esm/internals/plugins/allPlugins.d.ts +1 -6
- package/esm/internals/plugins/allPlugins.js +0 -2
- package/esm/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/corePlugins.js +2 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/index.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/index.js +2 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +3 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +88 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +31 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +3 -0
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +39 -0
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +23 -23
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -5
- package/esm/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +1 -0
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +8 -8
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +7 -9
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +121 -121
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +0 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +10 -1
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -23
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +9 -9
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +9 -3
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +6 -0
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/{getAxisValue.js → getAxisIndex.js} +0 -12
- package/{modern/internals/plugins/featurePlugins/useChartCartesianAxis → esm/internals/plugins/featurePlugins/useChartPolarAxis}/getAxisTriggerTooltip.d.ts +2 -2
- package/{modern/internals/plugins/featurePlugins/useChartCartesianAxis → esm/internals/plugins/featurePlugins/useChartPolarAxis}/getAxisTriggerTooltip.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +106 -130
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -22
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +7 -3669
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +65 -9
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -1
- package/esm/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +10 -1
- package/esm/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -4
- package/esm/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +64 -5
- package/esm/internals/store/useCharts.d.ts +1 -1
- package/esm/internals/store/useSelector.js +1 -4
- package/esm/models/axis.d.ts +15 -3
- package/esm/models/axis.js +4 -0
- package/esm/models/index.d.ts +1 -1
- package/esm/models/seriesType/common.d.ts +1 -2
- package/esm/models/seriesType/index.d.ts +21 -1
- package/esm/models/seriesType/index.js +24 -0
- package/esm/models/seriesType/radar.d.ts +6 -2
- package/hooks/animation/index.d.ts +1 -0
- package/hooks/animation/index.js +11 -0
- package/hooks/animation/useAnimate.d.ts +83 -0
- package/hooks/animation/useAnimate.js +54 -0
- package/hooks/animation/useAnimateArea.js +5 -9
- package/hooks/animation/useAnimateBar.js +5 -11
- package/hooks/animation/useAnimateBarLabel.js +5 -11
- package/hooks/animation/useAnimateGaugeValueArc.d.ts +19 -0
- package/hooks/animation/useAnimateGaugeValueArc.js +60 -0
- package/hooks/animation/useAnimateLine.js +5 -9
- package/hooks/animation/useAnimatePieArc.js +17 -26
- package/hooks/animation/useAnimatePieArcLabel.js +14 -19
- package/hooks/useAxisSystem.d.ts +8 -0
- package/hooks/useAxisSystem.js +30 -0
- package/hooks/useIsHydrated.js +1 -1
- package/{esm/context/AnimationProvider → hooks}/useSkipAnimation.d.ts +2 -2
- package/hooks/useSkipAnimation.js +20 -0
- package/index.js +1 -1
- package/{esm/internals/animation/useAnimate.d.ts → internals/animation/useAnimateInternal.d.ts} +3 -1
- package/internals/animation/{useAnimate.js → useAnimateInternal.js} +4 -2
- package/internals/domUtils.js +11 -6
- package/internals/index.d.ts +0 -2
- package/internals/index.js +0 -12
- package/internals/isCartesian.d.ts +2 -7
- package/internals/isCartesian.js +0 -4
- package/internals/isPolar.d.ts +2 -7
- package/internals/isPolar.js +0 -4
- package/internals/plugins/allPlugins.d.ts +1 -6
- package/internals/plugins/allPlugins.js +1 -3
- package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/internals/plugins/corePlugins/corePlugins.js +2 -1
- package/internals/plugins/corePlugins/useChartAnimation/index.d.ts +3 -0
- package/internals/plugins/corePlugins/useChartAnimation/index.js +27 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.d.ts +3 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +96 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +31 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +9 -0
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.d.ts +39 -0
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +23 -23
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -5
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +1 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +1 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +12 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +8 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +7 -9
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +121 -121
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +1 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +10 -1
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -23
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +9 -9
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +9 -3
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisIndex.d.ts +6 -0
- package/internals/plugins/featurePlugins/useChartPolarAxis/{getAxisValue.js → getAxisIndex.js} +0 -13
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +5 -0
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.js +28 -0
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +106 -130
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +3 -22
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +7 -3669
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +66 -10
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -1
- package/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +10 -1
- package/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -4
- package/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +64 -5
- package/internals/store/useCharts.d.ts +1 -1
- package/internals/store/useSelector.js +1 -5
- package/models/axis.d.ts +15 -3
- package/models/axis.js +4 -0
- package/models/index.d.ts +1 -1
- package/models/seriesType/common.d.ts +1 -2
- package/models/seriesType/index.d.ts +21 -1
- package/models/seriesType/index.js +24 -0
- package/models/seriesType/radar.d.ts +6 -2
- package/package.json +5 -13
- package/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
- package/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -54
- package/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
- package/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -57
- package/context/AnimationProvider/Animation.types.d.ts +0 -15
- package/context/AnimationProvider/AnimationContext.d.ts +0 -4
- package/context/AnimationProvider/AnimationContext.js +0 -17
- package/context/AnimationProvider/AnimationProvider.d.ts +0 -4
- package/context/AnimationProvider/AnimationProvider.js +0 -58
- package/context/AnimationProvider/index.d.ts +0 -4
- package/context/AnimationProvider/index.js +0 -49
- package/context/AnimationProvider/useSkipAnimation.js +0 -25
- package/context/context.types.d.ts +0 -4
- package/context/context.types.js +0 -5
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -47
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -50
- package/esm/context/AnimationProvider/Animation.types.d.ts +0 -15
- package/esm/context/AnimationProvider/AnimationContext.d.ts +0 -4
- package/esm/context/AnimationProvider/AnimationContext.js +0 -10
- package/esm/context/AnimationProvider/AnimationProvider.d.ts +0 -4
- package/esm/context/AnimationProvider/AnimationProvider.js +0 -52
- package/esm/context/AnimationProvider/index.d.ts +0 -4
- package/esm/context/AnimationProvider/index.js +0 -4
- package/esm/context/AnimationProvider/useSkipAnimation.js +0 -20
- package/esm/context/context.types.d.ts +0 -4
- package/esm/context/context.types.js +0 -1
- package/esm/hooks/getValueToPositionMapper.d.ts +0 -8
- package/esm/hooks/getValueToPositionMapper.js +0 -15
- package/esm/hooks/useAxisEvents.d.ts +0 -0
- package/esm/hooks/useAxisEvents.js +0 -0
- package/esm/internals/animation/useAnimate.js +0 -74
- package/esm/internals/notNull.d.ts +0 -1
- package/esm/internals/notNull.js +0 -3
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
- package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
- package/esm/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -0
- package/esm/internals/useStringInterpolator.d.ts +0 -1
- package/esm/internals/useStringInterpolator.js +0 -21
- package/hooks/getValueToPositionMapper.d.ts +0 -8
- package/hooks/getValueToPositionMapper.js +0 -20
- package/hooks/useAxisEvents.d.ts +0 -0
- package/hooks/useAxisEvents.js +0 -1
- package/internals/animation/useAnimate.d.ts +0 -19
- package/internals/notNull.d.ts +0 -1
- package/internals/notNull.js +0 -9
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
- package/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
- package/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -1
- package/internals/useStringInterpolator.d.ts +0 -1
- package/internals/useStringInterpolator.js +0 -30
- package/modern/BarChart/AnimatedBarElement.d.ts +0 -42
- package/modern/BarChart/AnimatedBarElement.js +0 -19
- package/modern/BarChart/BarChart.d.ts +0 -66
- package/modern/BarChart/BarChart.js +0 -323
- package/modern/BarChart/BarChart.plugins.d.ts +0 -7
- package/modern/BarChart/BarChart.plugins.js +0 -5
- package/modern/BarChart/BarClipPath.d.ts +0 -32
- package/modern/BarChart/BarClipPath.js +0 -109
- package/modern/BarChart/BarElement.d.ts +0 -39
- package/modern/BarChart/BarElement.js +0 -106
- package/modern/BarChart/BarLabel/BarLabel.d.ts +0 -34
- package/modern/BarChart/BarLabel/BarLabel.js +0 -80
- package/modern/BarChart/BarLabel/BarLabel.types.d.ts +0 -41
- package/modern/BarChart/BarLabel/BarLabel.types.js +0 -1
- package/modern/BarChart/BarLabel/BarLabelItem.d.ts +0 -78
- package/modern/BarChart/BarLabel/BarLabelItem.js +0 -131
- package/modern/BarChart/BarLabel/BarLabelPlot.d.ts +0 -13
- package/modern/BarChart/BarLabel/BarLabelPlot.js +0 -45
- package/modern/BarChart/BarLabel/barLabelClasses.d.ts +0 -15
- package/modern/BarChart/BarLabel/barLabelClasses.js +0 -20
- package/modern/BarChart/BarLabel/getBarLabel.d.ts +0 -10
- package/modern/BarChart/BarLabel/getBarLabel.js +0 -24
- package/modern/BarChart/BarLabel/index.d.ts +0 -6
- package/modern/BarChart/BarLabel/index.js +0 -2
- package/modern/BarChart/BarPlot.d.ts +0 -49
- package/modern/BarChart/BarPlot.js +0 -303
- package/modern/BarChart/barElementClasses.d.ts +0 -21
- package/modern/BarChart/barElementClasses.js +0 -19
- package/modern/BarChart/checkScaleErrors.d.ts +0 -10
- package/modern/BarChart/checkScaleErrors.js +0 -33
- package/modern/BarChart/getRadius.d.ts +0 -20
- package/modern/BarChart/getRadius.js +0 -30
- package/modern/BarChart/index.d.ts +0 -5
- package/modern/BarChart/index.js +0 -5
- package/modern/BarChart/seriesConfig/extremums.d.ts +0 -3
- package/modern/BarChart/seriesConfig/extremums.js +0 -75
- package/modern/BarChart/seriesConfig/getColor.d.ts +0 -3
- package/modern/BarChart/seriesConfig/getColor.js +0 -28
- package/modern/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/modern/BarChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
- package/modern/BarChart/seriesConfig/index.d.ts +0 -2
- package/modern/BarChart/seriesConfig/index.js +0 -16
- package/modern/BarChart/seriesConfig/legend.d.ts +0 -3
- package/modern/BarChart/seriesConfig/legend.js +0 -22
- package/modern/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/modern/BarChart/seriesConfig/seriesProcessor.js +0 -73
- package/modern/BarChart/seriesConfig/tooltip.d.ts +0 -4
- package/modern/BarChart/seriesConfig/tooltip.js +0 -37
- package/modern/BarChart/types.d.ts +0 -23
- package/modern/BarChart/types.js +0 -1
- package/modern/BarChart/useBarChartProps.d.ts +0 -34
- package/modern/BarChart/useBarChartProps.js +0 -136
- package/modern/ChartContainer/ChartContainer.d.ts +0 -35
- package/modern/ChartContainer/ChartContainer.js +0 -400
- package/modern/ChartContainer/index.d.ts +0 -1
- package/modern/ChartContainer/index.js +0 -1
- package/modern/ChartContainer/useChartContainerProps.d.ts +0 -15
- package/modern/ChartContainer/useChartContainerProps.js +0 -71
- package/modern/ChartDataProvider/ChartDataProvider.d.ts +0 -41
- package/modern/ChartDataProvider/ChartDataProvider.js +0 -98
- package/modern/ChartDataProvider/index.d.ts +0 -1
- package/modern/ChartDataProvider/index.js +0 -1
- package/modern/ChartDataProvider/useChartDataProviderProps.d.ts +0 -11
- package/modern/ChartDataProvider/useChartDataProviderProps.js +0 -31
- package/modern/ChartsAxis/ChartsAxis.d.ts +0 -28
- package/modern/ChartsAxis/ChartsAxis.js +0 -69
- package/modern/ChartsAxis/axisClasses.d.ts +0 -33
- package/modern/ChartsAxis/axisClasses.js +0 -6
- package/modern/ChartsAxis/index.d.ts +0 -2
- package/modern/ChartsAxis/index.js +0 -2
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +0 -16
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.js +0 -50
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.types.d.ts +0 -5
- package/modern/ChartsAxisHighlight/ChartsAxisHighlight.types.js +0 -1
- package/modern/ChartsAxisHighlight/ChartsAxisHighlightPath.d.ts +0 -6
- package/modern/ChartsAxisHighlight/ChartsAxisHighlightPath.js +0 -34
- package/modern/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +0 -10
- package/modern/ChartsAxisHighlight/ChartsXAxisHighlight.js +0 -53
- package/modern/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +0 -10
- package/modern/ChartsAxisHighlight/ChartsYAxisHighlight.js +0 -53
- package/modern/ChartsAxisHighlight/chartsAxisHighlightClasses.d.ts +0 -7
- package/modern/ChartsAxisHighlight/chartsAxisHighlightClasses.js +0 -6
- package/modern/ChartsAxisHighlight/index.d.ts +0 -4
- package/modern/ChartsAxisHighlight/index.js +0 -4
- package/modern/ChartsClipPath/ChartsClipPath.d.ts +0 -20
- package/modern/ChartsClipPath/ChartsClipPath.js +0 -53
- package/modern/ChartsClipPath/index.d.ts +0 -1
- package/modern/ChartsClipPath/index.js +0 -1
- package/modern/ChartsGrid/ChartsGrid.d.ts +0 -30
- package/modern/ChartsGrid/ChartsGrid.js +0 -91
- package/modern/ChartsGrid/ChartsHorizontalGrid.d.ts +0 -14
- package/modern/ChartsGrid/ChartsHorizontalGrid.js +0 -37
- package/modern/ChartsGrid/ChartsVerticalGrid.d.ts +0 -14
- package/modern/ChartsGrid/ChartsVerticalGrid.js +0 -37
- package/modern/ChartsGrid/chartsGridClasses.d.ts +0 -13
- package/modern/ChartsGrid/chartsGridClasses.js +0 -6
- package/modern/ChartsGrid/index.d.ts +0 -2
- package/modern/ChartsGrid/index.js +0 -2
- package/modern/ChartsGrid/styledComponents.d.ts +0 -2
- package/modern/ChartsGrid/styledComponents.js +0 -22
- package/modern/ChartsLabel/ChartsLabel.d.ts +0 -18
- package/modern/ChartsLabel/ChartsLabel.js +0 -43
- package/modern/ChartsLabel/ChartsLabelGradient.d.ts +0 -41
- package/modern/ChartsLabel/ChartsLabelGradient.js +0 -135
- package/modern/ChartsLabel/ChartsLabelMark.d.ts +0 -31
- package/modern/ChartsLabel/ChartsLabelMark.js +0 -120
- package/modern/ChartsLabel/index.d.ts +0 -8
- package/modern/ChartsLabel/index.js +0 -4
- package/modern/ChartsLabel/labelClasses.d.ts +0 -8
- package/modern/ChartsLabel/labelClasses.js +0 -13
- package/modern/ChartsLabel/labelGradientClasses.d.ts +0 -16
- package/modern/ChartsLabel/labelGradientClasses.js +0 -18
- package/modern/ChartsLabel/labelMarkClasses.d.ts +0 -18
- package/modern/ChartsLabel/labelMarkClasses.js +0 -18
- package/modern/ChartsLegend/ChartsLegend.d.ts +0 -27
- package/modern/ChartsLegend/ChartsLegend.js +0 -138
- package/modern/ChartsLegend/ContinuousColorLegend.d.ts +0 -56
- package/modern/ChartsLegend/ContinuousColorLegend.js +0 -271
- package/modern/ChartsLegend/PiecewiseColorLegend.d.ts +0 -42
- package/modern/ChartsLegend/PiecewiseColorLegend.js +0 -267
- package/modern/ChartsLegend/chartsLegend.types.d.ts +0 -26
- package/modern/ChartsLegend/chartsLegend.types.js +0 -1
- package/modern/ChartsLegend/chartsLegendClasses.d.ts +0 -18
- package/modern/ChartsLegend/chartsLegendClasses.js +0 -20
- package/modern/ChartsLegend/colorLegend.types.d.ts +0 -13
- package/modern/ChartsLegend/colorLegend.types.js +0 -1
- package/modern/ChartsLegend/continuousColorLegendClasses.d.ts +0 -26
- package/modern/ChartsLegend/continuousColorLegendClasses.js +0 -23
- package/modern/ChartsLegend/direction.d.ts +0 -1
- package/modern/ChartsLegend/direction.js +0 -1
- package/modern/ChartsLegend/index.d.ts +0 -16
- package/modern/ChartsLegend/index.js +0 -12
- package/modern/ChartsLegend/legend.types.d.ts +0 -9
- package/modern/ChartsLegend/legend.types.js +0 -1
- package/modern/ChartsLegend/legendContext.types.d.ts +0 -55
- package/modern/ChartsLegend/legendContext.types.js +0 -1
- package/modern/ChartsLegend/onClickContextBuilder.d.ts +0 -2
- package/modern/ChartsLegend/onClickContextBuilder.js +0 -7
- package/modern/ChartsLegend/piecewiseColorDefaultLabelFormatter.d.ts +0 -2
- package/modern/ChartsLegend/piecewiseColorDefaultLabelFormatter.js +0 -9
- package/modern/ChartsLegend/piecewiseColorLegend.types.d.ts +0 -26
- package/modern/ChartsLegend/piecewiseColorLegend.types.js +0 -1
- package/modern/ChartsLegend/piecewiseColorLegendClasses.d.ts +0 -28
- package/modern/ChartsLegend/piecewiseColorLegendClasses.js +0 -23
- package/modern/ChartsLegend/useAxis.d.ts +0 -10
- package/modern/ChartsLegend/useAxis.js +0 -42
- package/modern/ChartsOverlay/ChartsLoadingOverlay.d.ts +0 -3
- package/modern/ChartsOverlay/ChartsLoadingOverlay.js +0 -36
- package/modern/ChartsOverlay/ChartsNoDataOverlay.d.ts +0 -3
- package/modern/ChartsOverlay/ChartsNoDataOverlay.js +0 -36
- package/modern/ChartsOverlay/ChartsOverlay.d.ts +0 -45
- package/modern/ChartsOverlay/ChartsOverlay.js +0 -33
- package/modern/ChartsOverlay/index.d.ts +0 -4
- package/modern/ChartsOverlay/index.js +0 -3
- package/modern/ChartsReferenceLine/ChartsReferenceLine.d.ts +0 -10
- package/modern/ChartsReferenceLine/ChartsReferenceLine.js +0 -76
- package/modern/ChartsReferenceLine/ChartsXReferenceLine.d.ts +0 -13
- package/modern/ChartsReferenceLine/ChartsXReferenceLine.js +0 -102
- package/modern/ChartsReferenceLine/ChartsYReferenceLine.d.ts +0 -13
- package/modern/ChartsReferenceLine/ChartsYReferenceLine.js +0 -102
- package/modern/ChartsReferenceLine/chartsReferenceLineClasses.d.ts +0 -15
- package/modern/ChartsReferenceLine/chartsReferenceLineClasses.js +0 -6
- package/modern/ChartsReferenceLine/common.d.ts +0 -41
- package/modern/ChartsReferenceLine/common.js +0 -20
- package/modern/ChartsReferenceLine/index.d.ts +0 -2
- package/modern/ChartsReferenceLine/index.js +0 -2
- package/modern/ChartsSurface/ChartsSurface.d.ts +0 -25
- package/modern/ChartsSurface/ChartsSurface.js +0 -100
- package/modern/ChartsSurface/index.d.ts +0 -1
- package/modern/ChartsSurface/index.js +0 -1
- package/modern/ChartsText/ChartsText.d.ts +0 -17
- package/modern/ChartsText/ChartsText.js +0 -89
- package/modern/ChartsText/defaultTextPlacement.d.ts +0 -9
- package/modern/ChartsText/defaultTextPlacement.js +0 -34
- package/modern/ChartsText/index.d.ts +0 -3
- package/modern/ChartsText/index.js +0 -1
- package/modern/ChartsTooltip/ChartTooltip.types.d.ts +0 -15
- package/modern/ChartsTooltip/ChartTooltip.types.js +0 -1
- package/modern/ChartsTooltip/ChartsAxisTooltipContent.d.ts +0 -15
- package/modern/ChartsTooltip/ChartsAxisTooltipContent.js +0 -88
- package/modern/ChartsTooltip/ChartsItemTooltipContent.d.ts +0 -15
- package/modern/ChartsTooltip/ChartsItemTooltipContent.js +0 -67
- package/modern/ChartsTooltip/ChartsTooltip.d.ts +0 -17
- package/modern/ChartsTooltip/ChartsTooltip.js +0 -199
- package/modern/ChartsTooltip/ChartsTooltipContainer.d.ts +0 -33
- package/modern/ChartsTooltip/ChartsTooltipContainer.js +0 -291
- package/modern/ChartsTooltip/ChartsTooltipTable.d.ts +0 -18
- package/modern/ChartsTooltip/ChartsTooltipTable.js +0 -99
- package/modern/ChartsTooltip/chartsTooltipClasses.d.ts +0 -26
- package/modern/ChartsTooltip/chartsTooltipClasses.js +0 -22
- package/modern/ChartsTooltip/index.d.ts +0 -12
- package/modern/ChartsTooltip/index.js +0 -11
- package/modern/ChartsTooltip/useAxesTooltip.d.ts +0 -7
- package/modern/ChartsTooltip/useAxesTooltip.js +0 -12
- package/modern/ChartsTooltip/useAxisTooltip.d.ts +0 -41
- package/modern/ChartsTooltip/useAxisTooltip.js +0 -122
- package/modern/ChartsTooltip/useItemTooltip.d.ts +0 -12
- package/modern/ChartsTooltip/useItemTooltip.js +0 -43
- package/modern/ChartsTooltip/utils.d.ts +0 -16
- package/modern/ChartsTooltip/utils.js +0 -84
- package/modern/ChartsXAxis/ChartsXAxis.d.ts +0 -16
- package/modern/ChartsXAxis/ChartsXAxis.js +0 -460
- package/modern/ChartsXAxis/index.d.ts +0 -1
- package/modern/ChartsXAxis/index.js +0 -1
- package/modern/ChartsYAxis/ChartsYAxis.d.ts +0 -16
- package/modern/ChartsYAxis/ChartsYAxis.js +0 -379
- package/modern/ChartsYAxis/index.d.ts +0 -1
- package/modern/ChartsYAxis/index.js +0 -1
- package/modern/Gauge/Gauge.d.ts +0 -10
- package/modern/Gauge/Gauge.js +0 -144
- package/modern/Gauge/GaugeContainer.d.ts +0 -10
- package/modern/Gauge/GaugeContainer.js +0 -174
- package/modern/Gauge/GaugeProvider.d.ts +0 -117
- package/modern/Gauge/GaugeProvider.js +0 -91
- package/modern/Gauge/GaugeReferenceArc.d.ts +0 -2
- package/modern/Gauge/GaugeReferenceArc.js +0 -37
- package/modern/Gauge/GaugeValueArc.d.ts +0 -2
- package/modern/Gauge/GaugeValueArc.js +0 -44
- package/modern/Gauge/GaugeValueText.d.ts +0 -15
- package/modern/Gauge/GaugeValueText.js +0 -71
- package/modern/Gauge/gaugeClasses.d.ts +0 -14
- package/modern/Gauge/gaugeClasses.js +0 -7
- package/modern/Gauge/index.d.ts +0 -7
- package/modern/Gauge/index.js +0 -7
- package/modern/Gauge/utils.d.ts +0 -24
- package/modern/Gauge/utils.js +0 -66
- package/modern/LineChart/AnimatedArea.d.ts +0 -26
- package/modern/LineChart/AnimatedArea.js +0 -61
- package/modern/LineChart/AnimatedLine.d.ts +0 -23
- package/modern/LineChart/AnimatedLine.js +0 -63
- package/modern/LineChart/AppearingMask.d.ts +0 -17
- package/modern/LineChart/AppearingMask.js +0 -48
- package/modern/LineChart/AreaElement.d.ts +0 -61
- package/modern/LineChart/AreaElement.js +0 -111
- package/modern/LineChart/AreaPlot.d.ts +0 -29
- package/modern/LineChart/AreaPlot.js +0 -215
- package/modern/LineChart/CircleMarkElement.d.ts +0 -30
- package/modern/LineChart/CircleMarkElement.js +0 -105
- package/modern/LineChart/LineChart.d.ts +0 -82
- package/modern/LineChart/LineChart.js +0 -323
- package/modern/LineChart/LineChart.plugins.d.ts +0 -7
- package/modern/LineChart/LineChart.plugins.js +0 -5
- package/modern/LineChart/LineElement.d.ts +0 -61
- package/modern/LineChart/LineElement.js +0 -111
- package/modern/LineChart/LineHighlightElement.d.ts +0 -36
- package/modern/LineChart/LineHighlightElement.js +0 -79
- package/modern/LineChart/LineHighlightPlot.d.ts +0 -36
- package/modern/LineChart/LineHighlightPlot.js +0 -121
- package/modern/LineChart/LinePlot.d.ts +0 -28
- package/modern/LineChart/LinePlot.js +0 -199
- package/modern/LineChart/MarkElement.d.ts +0 -32
- package/modern/LineChart/MarkElement.js +0 -113
- package/modern/LineChart/MarkPlot.d.ts +0 -42
- package/modern/LineChart/MarkPlot.js +0 -180
- package/modern/LineChart/index.d.ts +0 -13
- package/modern/LineChart/index.js +0 -12
- package/modern/LineChart/markElementClasses.d.ts +0 -23
- package/modern/LineChart/markElementClasses.js +0 -20
- package/modern/LineChart/seriesConfig/extremums.d.ts +0 -3
- package/modern/LineChart/seriesConfig/extremums.js +0 -57
- package/modern/LineChart/seriesConfig/getColor.d.ts +0 -3
- package/modern/LineChart/seriesConfig/getColor.js +0 -26
- package/modern/LineChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/modern/LineChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
- package/modern/LineChart/seriesConfig/index.d.ts +0 -2
- package/modern/LineChart/seriesConfig/index.js +0 -16
- package/modern/LineChart/seriesConfig/legend.d.ts +0 -3
- package/modern/LineChart/seriesConfig/legend.js +0 -22
- package/modern/LineChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/modern/LineChart/seriesConfig/seriesProcessor.js +0 -77
- package/modern/LineChart/seriesConfig/tooltip.d.ts +0 -4
- package/modern/LineChart/seriesConfig/tooltip.js +0 -31
- package/modern/LineChart/useLineChartProps.d.ts +0 -40
- package/modern/LineChart/useLineChartProps.js +0 -140
- package/modern/PieChart/PieArc.d.ts +0 -44
- package/modern/PieChart/PieArc.js +0 -121
- package/modern/PieChart/PieArcLabel.d.ts +0 -46
- package/modern/PieChart/PieArcLabel.js +0 -117
- package/modern/PieChart/PieArcLabelPlot.d.ts +0 -36
- package/modern/PieChart/PieArcLabelPlot.js +0 -179
- package/modern/PieChart/PieArcPlot.d.ts +0 -43
- package/modern/PieChart/PieArcPlot.js +0 -157
- package/modern/PieChart/PieChart.d.ts +0 -49
- package/modern/PieChart/PieChart.js +0 -201
- package/modern/PieChart/PieChart.plugins.d.ts +0 -5
- package/modern/PieChart/PieChart.plugins.js +0 -3
- package/modern/PieChart/PiePlot.d.ts +0 -32
- package/modern/PieChart/PiePlot.js +0 -163
- package/modern/PieChart/dataTransform/useTransformData.d.ts +0 -16
- package/modern/PieChart/dataTransform/useTransformData.js +0 -50
- package/modern/PieChart/getPieCoordinates.d.ts +0 -7
- package/modern/PieChart/getPieCoordinates.js +0 -19
- package/modern/PieChart/index.d.ts +0 -7
- package/modern/PieChart/index.js +0 -7
- package/modern/PieChart/seriesConfig/getColor.d.ts +0 -3
- package/modern/PieChart/seriesConfig/getColor.js +0 -6
- package/modern/PieChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/modern/PieChart/seriesConfig/getSeriesWithDefaultValues.js +0 -11
- package/modern/PieChart/seriesConfig/index.d.ts +0 -2
- package/modern/PieChart/seriesConfig/index.js +0 -12
- package/modern/PieChart/seriesConfig/legend.d.ts +0 -3
- package/modern/PieChart/seriesConfig/legend.js +0 -25
- package/modern/PieChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/modern/PieChart/seriesConfig/seriesProcessor.js +0 -49
- package/modern/PieChart/seriesConfig/tooltip.d.ts +0 -3
- package/modern/PieChart/seriesConfig/tooltip.js +0 -32
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +0 -20
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +0 -42
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.d.ts +0 -13
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisPointsHighlight.js +0 -47
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.d.ts +0 -13
- package/modern/RadarChart/RadarAxisHighlight/RadarAxisSliceHighlight.js +0 -50
- package/modern/RadarChart/RadarAxisHighlight/index.d.ts +0 -1
- package/modern/RadarChart/RadarAxisHighlight/index.js +0 -1
- package/modern/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.d.ts +0 -13
- package/modern/RadarChart/RadarAxisHighlight/radarAxisHighlightClasses.js +0 -6
- package/modern/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.d.ts +0 -62
- package/modern/RadarChart/RadarAxisHighlight/useRadarAxisHighlight.js +0 -96
- package/modern/RadarChart/RadarChart.d.ts +0 -25
- package/modern/RadarChart/RadarChart.js +0 -177
- package/modern/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +0 -30
- package/modern/RadarChart/RadarDataProvider/RadarDataProvider.js +0 -192
- package/modern/RadarChart/RadarDataProvider/index.d.ts +0 -1
- package/modern/RadarChart/RadarDataProvider/index.js +0 -1
- package/modern/RadarChart/RadarDataProvider/radar.types.d.ts +0 -43
- package/modern/RadarChart/RadarDataProvider/radar.types.js +0 -1
- package/modern/RadarChart/RadarGrid/CircularRadarGrid.d.ts +0 -6
- package/modern/RadarChart/RadarGrid/CircularRadarGrid.js +0 -36
- package/modern/RadarChart/RadarGrid/RadarGrid.d.ts +0 -7
- package/modern/RadarChart/RadarGrid/RadarGrid.js +0 -49
- package/modern/RadarChart/RadarGrid/RadarGrid.types.d.ts +0 -24
- package/modern/RadarChart/RadarGrid/RadarGrid.types.js +0 -1
- package/modern/RadarChart/RadarGrid/SharpRadarGrid.d.ts +0 -6
- package/modern/RadarChart/RadarGrid/SharpRadarGrid.js +0 -36
- package/modern/RadarChart/RadarGrid/index.d.ts +0 -2
- package/modern/RadarChart/RadarGrid/index.js +0 -2
- package/modern/RadarChart/RadarGrid/useRadarGridData.d.ts +0 -11
- package/modern/RadarChart/RadarGrid/useRadarGridData.js +0 -38
- package/modern/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +0 -3
- package/modern/RadarChart/RadarMetricLabels/RadarMetricLabels.js +0 -35
- package/modern/RadarChart/RadarMetricLabels/index.d.ts +0 -1
- package/modern/RadarChart/RadarMetricLabels/index.js +0 -1
- package/modern/RadarChart/RadarMetricLabels/useRadarMetricData.d.ts +0 -8
- package/modern/RadarChart/RadarMetricLabels/useRadarMetricData.js +0 -35
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +0 -7
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +0 -39
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +0 -7
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +0 -38
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +0 -7
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +0 -68
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.d.ts +0 -18
- package/modern/RadarChart/RadarSeriesPlot/RadarSeriesPlot.types.js +0 -1
- package/modern/RadarChart/RadarSeriesPlot/getAreaPath.d.ts +0 -4
- package/modern/RadarChart/RadarSeriesPlot/getAreaPath.js +0 -3
- package/modern/RadarChart/RadarSeriesPlot/index.d.ts +0 -6
- package/modern/RadarChart/RadarSeriesPlot/index.js +0 -4
- package/modern/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.d.ts +0 -12
- package/modern/RadarChart/RadarSeriesPlot/radarSeriesPlotClasses.js +0 -15
- package/modern/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +0 -27
- package/modern/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +0 -62
- package/modern/RadarChart/index.d.ts +0 -8
- package/modern/RadarChart/index.js +0 -6
- package/modern/RadarChart/seriesConfig/extremums.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/extremums.js +0 -18
- package/modern/RadarChart/seriesConfig/formatter.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/formatter.js +0 -12
- package/modern/RadarChart/seriesConfig/getColor.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/getColor.js +0 -4
- package/modern/RadarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
- package/modern/RadarChart/seriesConfig/index.d.ts +0 -2
- package/modern/RadarChart/seriesConfig/index.js +0 -15
- package/modern/RadarChart/seriesConfig/legend.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/legend.js +0 -22
- package/modern/RadarChart/seriesConfig/tooltip.d.ts +0 -3
- package/modern/RadarChart/seriesConfig/tooltip.js +0 -25
- package/modern/RadarChart/useRadarChartProps.d.ts +0 -26
- package/modern/RadarChart/useRadarChartProps.js +0 -77
- package/modern/ScatterChart/Scatter.d.ts +0 -36
- package/modern/ScatterChart/Scatter.js +0 -134
- package/modern/ScatterChart/ScatterChart.d.ts +0 -70
- package/modern/ScatterChart/ScatterChart.js +0 -339
- package/modern/ScatterChart/ScatterChart.plugins.d.ts +0 -8
- package/modern/ScatterChart/ScatterChart.plugins.js +0 -6
- package/modern/ScatterChart/ScatterMarker.d.ts +0 -46
- package/modern/ScatterChart/ScatterMarker.js +0 -70
- package/modern/ScatterChart/ScatterMarker.types.d.ts +0 -24
- package/modern/ScatterChart/ScatterMarker.types.js +0 -1
- package/modern/ScatterChart/ScatterPlot.d.ts +0 -35
- package/modern/ScatterChart/ScatterPlot.js +0 -99
- package/modern/ScatterChart/index.d.ts +0 -5
- package/modern/ScatterChart/index.js +0 -5
- package/modern/ScatterChart/seriesConfig/extremums.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/extremums.js +0 -55
- package/modern/ScatterChart/seriesConfig/getColor.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/getColor.js +0 -43
- package/modern/ScatterChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/getSeriesWithDefaultValues.js +0 -8
- package/modern/ScatterChart/seriesConfig/index.d.ts +0 -2
- package/modern/ScatterChart/seriesConfig/index.js +0 -15
- package/modern/ScatterChart/seriesConfig/legend.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/legend.js +0 -22
- package/modern/ScatterChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/seriesProcessor.js +0 -33
- package/modern/ScatterChart/seriesConfig/tooltip.d.ts +0 -3
- package/modern/ScatterChart/seriesConfig/tooltip.js +0 -25
- package/modern/ScatterChart/useScatterChartProps.d.ts +0 -29
- package/modern/ScatterChart/useScatterChartProps.js +0 -102
- package/modern/SparkLineChart/SparkLineChart.d.ts +0 -101
- package/modern/SparkLineChart/SparkLineChart.js +0 -376
- package/modern/SparkLineChart/index.d.ts +0 -1
- package/modern/SparkLineChart/index.js +0 -1
- package/modern/colorPalettes/colorPalettes.d.ts +0 -16
- package/modern/colorPalettes/colorPalettes.js +0 -12
- package/modern/colorPalettes/index.d.ts +0 -1
- package/modern/colorPalettes/index.js +0 -1
- package/modern/constants/index.d.ts +0 -13
- package/modern/constants/index.js +0 -15
- package/modern/context/AnimationProvider/Animation.types.d.ts +0 -15
- package/modern/context/AnimationProvider/Animation.types.js +0 -1
- package/modern/context/AnimationProvider/AnimationContext.d.ts +0 -4
- package/modern/context/AnimationProvider/AnimationContext.js +0 -10
- package/modern/context/AnimationProvider/AnimationProvider.d.ts +0 -4
- package/modern/context/AnimationProvider/AnimationProvider.js +0 -52
- package/modern/context/AnimationProvider/index.d.ts +0 -4
- package/modern/context/AnimationProvider/index.js +0 -4
- package/modern/context/AnimationProvider/useSkipAnimation.d.ts +0 -6
- package/modern/context/AnimationProvider/useSkipAnimation.js +0 -20
- package/modern/context/ChartProvider/ChartContext.d.ts +0 -6
- package/modern/context/ChartProvider/ChartContext.js +0 -8
- package/modern/context/ChartProvider/ChartProvider.d.ts +0 -8
- package/modern/context/ChartProvider/ChartProvider.js +0 -40
- package/modern/context/ChartProvider/ChartProvider.types.d.ts +0 -39
- package/modern/context/ChartProvider/ChartProvider.types.js +0 -1
- package/modern/context/ChartProvider/index.d.ts +0 -3
- package/modern/context/ChartProvider/index.js +0 -3
- package/modern/context/ChartProvider/useChartContext.d.ts +0 -3
- package/modern/context/ChartProvider/useChartContext.js +0 -11
- package/modern/context/context.types.d.ts +0 -4
- package/modern/context/context.types.js +0 -1
- package/modern/context/index.d.ts +0 -1
- package/modern/context/index.js +0 -1
- package/modern/hooks/animation/index.d.ts +0 -6
- package/modern/hooks/animation/index.js +0 -6
- package/modern/hooks/animation/useAnimateArea.d.ts +0 -15
- package/modern/hooks/animation/useAnimateArea.js +0 -27
- package/modern/hooks/animation/useAnimateBar.d.ts +0 -17
- package/modern/hooks/animation/useAnimateBar.js +0 -56
- package/modern/hooks/animation/useAnimateBarLabel.d.ts +0 -19
- package/modern/hooks/animation/useAnimateBarLabel.js +0 -59
- package/modern/hooks/animation/useAnimateLine.d.ts +0 -14
- package/modern/hooks/animation/useAnimateLine.js +0 -26
- package/modern/hooks/animation/useAnimatePieArc.d.ts +0 -15
- package/modern/hooks/animation/useAnimatePieArc.js +0 -70
- package/modern/hooks/animation/useAnimatePieArcLabel.d.ts +0 -15
- package/modern/hooks/animation/useAnimatePieArcLabel.js +0 -72
- package/modern/hooks/getValueToPositionMapper.d.ts +0 -8
- package/modern/hooks/getValueToPositionMapper.js +0 -15
- package/modern/hooks/index.d.ts +0 -17
- package/modern/hooks/index.js +0 -17
- package/modern/hooks/useAxis.d.ts +0 -51
- package/modern/hooks/useAxis.js +0 -119
- package/modern/hooks/useAxisEvents.d.ts +0 -0
- package/modern/hooks/useAxisEvents.js +0 -0
- package/modern/hooks/useBarSeries.d.ts +0 -36
- package/modern/hooks/useBarSeries.js +0 -43
- package/modern/hooks/useChartGradientId.d.ts +0 -31
- package/modern/hooks/useChartGradientId.js +0 -47
- package/modern/hooks/useChartId.d.ts +0 -5
- package/modern/hooks/useChartId.js +0 -14
- package/modern/hooks/useColorScale.d.ts +0 -22
- package/modern/hooks/useColorScale.js +0 -37
- package/modern/hooks/useDrawingArea.d.ts +0 -16
- package/modern/hooks/useDrawingArea.js +0 -16
- package/modern/hooks/useInteractionItemProps.d.ts +0 -16
- package/modern/hooks/useInteractionItemProps.js +0 -87
- package/modern/hooks/useIsHydrated.d.ts +0 -4
- package/modern/hooks/useIsHydrated.js +0 -14
- package/modern/hooks/useItemHighlighted.d.ts +0 -23
- package/modern/hooks/useItemHighlighted.js +0 -23
- package/modern/hooks/useItemHighlightedGetter.d.ts +0 -12
- package/modern/hooks/useItemHighlightedGetter.js +0 -23
- package/modern/hooks/useLegend.d.ts +0 -13
- package/modern/hooks/useLegend.js +0 -30
- package/modern/hooks/useLineSeries.d.ts +0 -36
- package/modern/hooks/useLineSeries.js +0 -43
- package/modern/hooks/useMounted.d.ts +0 -1
- package/modern/hooks/useMounted.js +0 -18
- package/modern/hooks/usePieSeries.d.ts +0 -35
- package/modern/hooks/usePieSeries.js +0 -42
- package/modern/hooks/useRadarSeries.d.ts +0 -35
- package/modern/hooks/useRadarSeries.js +0 -42
- package/modern/hooks/useScale.d.ts +0 -24
- package/modern/hooks/useScale.js +0 -47
- package/modern/hooks/useScatterSeries.d.ts +0 -35
- package/modern/hooks/useScatterSeries.js +0 -42
- package/modern/hooks/useSeries.d.ts +0 -7
- package/modern/hooks/useSeries.js +0 -15
- package/modern/hooks/useSvgRef.d.ts +0 -6
- package/modern/hooks/useSvgRef.js +0 -15
- package/modern/hooks/useTicks.d.ts +0 -59
- package/modern/hooks/useTicks.js +0 -91
- package/modern/hooks/useZAxis.d.ts +0 -7
- package/modern/hooks/useZAxis.js +0 -27
- package/modern/index.d.ts +0 -26
- package/modern/index.js +0 -33
- package/modern/internals/angleConversion.d.ts +0 -2
- package/modern/internals/angleConversion.js +0 -12
- package/modern/internals/animation/Transition.d.ts +0 -37
- package/modern/internals/animation/Transition.js +0 -83
- package/modern/internals/animation/animation.d.ts +0 -4
- package/modern/internals/animation/animation.js +0 -4
- package/modern/internals/clampAngle.d.ts +0 -6
- package/modern/internals/clampAngle.js +0 -11
- package/modern/internals/cleanId.d.ts +0 -4
- package/modern/internals/cleanId.js +0 -6
- package/modern/internals/colorScale.d.ts +0 -5
- package/modern/internals/colorScale.js +0 -16
- package/modern/internals/components/AxisSharedComponents.d.ts +0 -1
- package/modern/internals/components/AxisSharedComponents.js +0 -26
- package/modern/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +0 -2
- package/modern/internals/components/ChartsAxesGradients/ChartsAxesGradients.js +0 -133
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +0 -19
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -56
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +0 -13
- package/modern/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -61
- package/modern/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +0 -12
- package/modern/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.js +0 -46
- package/modern/internals/components/ChartsAxesGradients/index.d.ts +0 -1
- package/modern/internals/components/ChartsAxesGradients/index.js +0 -1
- package/modern/internals/components/ChartsWrapper/ChartsWrapper.d.ts +0 -18
- package/modern/internals/components/ChartsWrapper/ChartsWrapper.js +0 -66
- package/modern/internals/components/ChartsWrapper/index.d.ts +0 -1
- package/modern/internals/components/ChartsWrapper/index.js +0 -1
- package/modern/internals/configInit.d.ts +0 -16
- package/modern/internals/configInit.js +0 -38
- package/modern/internals/consumeSlots.d.ts +0 -48
- package/modern/internals/consumeSlots.js +0 -97
- package/modern/internals/consumeThemeProps.d.ts +0 -50
- package/modern/internals/consumeThemeProps.js +0 -70
- package/modern/internals/createSeriesSelectorOfType.d.ts +0 -4
- package/modern/internals/createSeriesSelectorOfType.js +0 -43
- package/modern/internals/defaultizeMargin.d.ts +0 -3
- package/modern/internals/defaultizeMargin.js +0 -15
- package/modern/internals/defaultizeValueFormatter.d.ts +0 -6
- package/modern/internals/defaultizeValueFormatter.js +0 -10
- package/modern/internals/degToRad.d.ts +0 -2
- package/modern/internals/degToRad.js +0 -4
- package/modern/internals/domUtils.d.ts +0 -18
- package/modern/internals/domUtils.js +0 -129
- package/modern/internals/ellipsize.d.ts +0 -20
- package/modern/internals/ellipsize.js +0 -53
- package/modern/internals/geometry.d.ts +0 -9
- package/modern/internals/geometry.js +0 -35
- package/modern/internals/getCurve.d.ts +0 -2
- package/modern/internals/getCurve.js +0 -27
- package/modern/internals/getGraphemeCount.d.ts +0 -4
- package/modern/internals/getGraphemeCount.js +0 -19
- package/modern/internals/getLabel.d.ts +0 -1
- package/modern/internals/getLabel.js +0 -3
- package/modern/internals/getPercentageValue.d.ts +0 -7
- package/modern/internals/getPercentageValue.js +0 -28
- package/modern/internals/getSVGPoint.d.ts +0 -6
- package/modern/internals/getSVGPoint.js +0 -11
- package/modern/internals/getScale.d.ts +0 -2
- package/modern/internals/getScale.js +0 -17
- package/modern/internals/getSymbol.d.ts +0 -2
- package/modern/internals/getSymbol.js +0 -21
- package/modern/internals/getWordsByLines.d.ts +0 -33
- package/modern/internals/getWordsByLines.js +0 -14
- package/modern/internals/index.d.ts +0 -49
- package/modern/internals/index.js +0 -63
- package/modern/internals/invertTextAnchor.d.ts +0 -2
- package/modern/internals/invertTextAnchor.js +0 -10
- package/modern/internals/isBandScale.d.ts +0 -5
- package/modern/internals/isBandScale.js +0 -3
- package/modern/internals/isCartesian.d.ts +0 -7
- package/modern/internals/isCartesian.js +0 -7
- package/modern/internals/isDefined.d.ts +0 -1
- package/modern/internals/isDefined.js +0 -3
- package/modern/internals/isInfinity.d.ts +0 -1
- package/modern/internals/isInfinity.js +0 -3
- package/modern/internals/isPolar.d.ts +0 -7
- package/modern/internals/isPolar.js +0 -7
- package/modern/internals/notNull.d.ts +0 -1
- package/modern/internals/notNull.js +0 -3
- package/modern/internals/plugins/allPlugins.d.ts +0 -14
- package/modern/internals/plugins/allPlugins.js +0 -10
- package/modern/internals/plugins/corePlugins/corePlugins.d.ts +0 -9
- package/modern/internals/plugins/corePlugins/corePlugins.js +0 -9
- package/modern/internals/plugins/corePlugins/index.d.ts +0 -2
- package/modern/internals/plugins/corePlugins/index.js +0 -1
- package/modern/internals/plugins/corePlugins/useChartDimensions/index.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartDimensions/index.js +0 -2
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +0 -196
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +0 -708
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +0 -26
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.d.ts +0 -90
- package/modern/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types.js +0 -1
- package/modern/internals/plugins/corePlugins/useChartId/index.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartId/index.js +0 -2
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.js +0 -32
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +0 -36
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +0 -9
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.types.d.ts +0 -20
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.types.js +0 -1
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.utils.d.ts +0 -1
- package/modern/internals/plugins/corePlugins/useChartId/useChartId.utils.js +0 -5
- package/modern/internals/plugins/corePlugins/useChartSeries/index.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartSeries/index.js +0 -2
- package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +0 -23
- package/modern/internals/plugins/corePlugins/useChartSeries/processSeries.js +0 -44
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.d.ts +0 -3
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +0 -71
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +0 -61
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +0 -4
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +0 -51
- package/modern/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.js +0 -1
- package/modern/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +0 -8
- package/modern/internals/plugins/corePlugins/useChartSeries/useColorProcessor.js +0 -21
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +0 -29
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.js +0 -141
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.d.ts +0 -22
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createAxisFilterMapper.js +0 -63
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +0 -4
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.js +0 -13
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.d.ts +0 -6
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeAxis.js +0 -92
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +0 -4
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.js +0 -25
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.d.ts +0 -6
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisExtremum.js +0 -22
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.d.ts +0 -11
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisValue.js +0 -65
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +0 -8
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +0 -7
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +0 -216
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +0 -6
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +0 -170
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +0 -75
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +0 -70
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +0 -4
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +0 -3082
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +0 -89
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +0 -9
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +0 -75
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.d.ts +0 -10
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/useInternalIsZoomInteracting.js +0 -19
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.d.ts +0 -10
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.js +0 -19
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.d.ts +0 -68
- package/modern/internals/plugins/featurePlugins/useChartCartesianAxis/zoom.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.js +0 -12
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.js +0 -12
- package/modern/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.d.ts +0 -20
- package/modern/internals/plugins/featurePlugins/useChartHighlight/highlightConfig.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartHighlight/index.d.ts +0 -4
- package/modern/internals/plugins/featurePlugins/useChartHighlight/index.js +0 -2
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +0 -44
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +0 -634
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +0 -31
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.d.ts +0 -71
- package/modern/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartInteraction/index.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartInteraction/index.js +0 -2
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +0 -67
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +0 -242
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +0 -8
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.d.ts +0 -43
- package/modern/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +0 -27
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.js +0 -128
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.d.ts +0 -12
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/coordinateTransformation.js +0 -8
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.d.ts +0 -5
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/defaultizeAxis.js +0 -24
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +0 -5
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.js +0 -21
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.d.ts +0 -11
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/getAxisValue.js +0 -38
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/index.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/index.js +0 -2
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +0 -164
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +0 -2056
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +0 -30
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.d.ts +0 -85
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +0 -3669
- package/modern/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +0 -22
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/index.js +0 -2
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.js +0 -231
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +0 -29
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +0 -3
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.d.ts +0 -54
- package/modern/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartZAxis/index.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartZAxis/index.js +0 -2
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.d.ts +0 -3
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +0 -86
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +0 -45
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.js +0 -3
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.d.ts +0 -38
- package/modern/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.types.js +0 -1
- package/modern/internals/plugins/featurePlugins/useChartZAxis/utils.d.ts +0 -0
- package/modern/internals/plugins/featurePlugins/useChartZAxis/utils.js +0 -0
- package/modern/internals/plugins/models/chart.d.ts +0 -14
- package/modern/internals/plugins/models/chart.js +0 -1
- package/modern/internals/plugins/models/helpers.d.ts +0 -7
- package/modern/internals/plugins/models/helpers.js +0 -1
- package/modern/internals/plugins/models/index.d.ts +0 -4
- package/modern/internals/plugins/models/index.js +0 -4
- package/modern/internals/plugins/models/plugin.d.ts +0 -171
- package/modern/internals/plugins/models/plugin.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.d.ts +0 -22
- package/modern/internals/plugins/models/seriesConfig/cartesianExtremumGetter.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/colorProcessor.types.d.ts +0 -5
- package/modern/internals/plugins/models/seriesConfig/colorProcessor.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.d.ts +0 -3
- package/modern/internals/plugins/models/seriesConfig/getSeriesWithDefaultValues.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/index.d.ts +0 -8
- package/modern/internals/plugins/models/seriesConfig/index.js +0 -8
- package/modern/internals/plugins/models/seriesConfig/legendGetter.types.d.ts +0 -4
- package/modern/internals/plugins/models/seriesConfig/legendGetter.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/polarExtremumGetter.types.d.ts +0 -16
- package/modern/internals/plugins/models/seriesConfig/polarExtremumGetter.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/seriesConfig.types.d.ts +0 -24
- package/modern/internals/plugins/models/seriesConfig/seriesConfig.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.d.ts +0 -16
- package/modern/internals/plugins/models/seriesConfig/seriesProcessor.types.js +0 -1
- package/modern/internals/plugins/models/seriesConfig/tooltipGetter.types.d.ts +0 -13
- package/modern/internals/plugins/models/seriesConfig/tooltipGetter.types.js +0 -1
- package/modern/internals/plugins/utils/ChartStore.d.ts +0 -13
- package/modern/internals/plugins/utils/ChartStore.js +0 -24
- package/modern/internals/plugins/utils/selectors.d.ts +0 -10
- package/modern/internals/plugins/utils/selectors.js +0 -37
- package/modern/internals/shallowEqual.d.ts +0 -8
- package/modern/internals/shallowEqual.js +0 -31
- package/modern/internals/sliceUntil.d.ts +0 -4
- package/modern/internals/sliceUntil.js +0 -22
- package/modern/internals/stackSeries.d.ts +0 -25
- package/modern/internals/stackSeries.js +0 -94
- package/modern/internals/store/extractPluginParamsFromProps.d.ts +0 -13
- package/modern/internals/store/extractPluginParamsFromProps.js +0 -28
- package/modern/internals/store/useChartModels.d.ts +0 -7
- package/modern/internals/store/useChartModels.js +0 -64
- package/modern/internals/store/useCharts.d.ts +0 -25
- package/modern/internals/store/useCharts.js +0 -85
- package/modern/internals/store/useCharts.types.d.ts +0 -5
- package/modern/internals/store/useCharts.types.js +0 -1
- package/modern/internals/store/useSelector.d.ts +0 -4
- package/modern/internals/store/useSelector.js +0 -9
- package/modern/internals/store/useStore.d.ts +0 -5
- package/modern/internals/store/useStore.js +0 -9
- package/modern/internals/ts-generic.d.ts +0 -3
- package/modern/internals/ts-generic.js +0 -1
- package/modern/internals/useStringInterpolator.d.ts +0 -1
- package/modern/internals/useStringInterpolator.js +0 -21
- package/modern/models/axis.d.ts +0 -396
- package/modern/models/axis.js +0 -19
- package/modern/models/colorMapping.d.ts +0 -46
- package/modern/models/colorMapping.js +0 -1
- package/modern/models/curve.d.ts +0 -6
- package/modern/models/curve.js +0 -1
- package/modern/models/index.d.ts +0 -6
- package/modern/models/index.js +0 -5
- package/modern/models/position.d.ts +0 -10
- package/modern/models/position.js +0 -1
- package/modern/models/seriesType/bar.d.ts +0 -38
- package/modern/models/seriesType/bar.js +0 -1
- package/modern/models/seriesType/common.d.ts +0 -60
- package/modern/models/seriesType/common.js +0 -1
- package/modern/models/seriesType/config.d.ts +0 -91
- package/modern/models/seriesType/config.js +0 -1
- package/modern/models/seriesType/index.d.ts +0 -16
- package/modern/models/seriesType/index.js +0 -17
- package/modern/models/seriesType/line.d.ts +0 -104
- package/modern/models/seriesType/line.js +0 -1
- package/modern/models/seriesType/pie.d.ts +0 -166
- package/modern/models/seriesType/pie.js +0 -1
- package/modern/models/seriesType/radar.d.ts +0 -24
- package/modern/models/seriesType/radar.js +0 -1
- package/modern/models/seriesType/scatter.d.ts +0 -63
- package/modern/models/seriesType/scatter.js +0 -1
- package/modern/models/stacking.d.ts +0 -2
- package/modern/models/stacking.js +0 -1
- package/modern/models/z-axis.d.ts +0 -22
- package/modern/models/z-axis.js +0 -1
- package/modern/package.json +0 -1
- package/modern/themeAugmentation/components.d.ts +0 -62
- package/modern/themeAugmentation/index.d.ts +0 -3
- package/modern/themeAugmentation/index.js +0 -0
- package/modern/themeAugmentation/overrides.d.ts +0 -34
- package/modern/themeAugmentation/props.d.ts +0 -34
- package/tsconfig.build.tsbuildinfo +0 -1
- /package/esm/{context/AnimationProvider/Animation.types.js → internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.js} +0 -0
- /package/{context/AnimationProvider/Animation.types.js → internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types.js} +0 -0
|
@@ -1,339 +0,0 @@
|
|
|
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 { useThemeProps } from '@mui/material/styles';
|
|
7
|
-
import { ScatterPlot } from "./ScatterPlot.js";
|
|
8
|
-
import { ChartsAxis } from "../ChartsAxis/index.js";
|
|
9
|
-
import { ChartsTooltip } from "../ChartsTooltip/index.js";
|
|
10
|
-
import { ChartsLegend } from "../ChartsLegend/index.js";
|
|
11
|
-
import { ChartsOverlay } from "../ChartsOverlay/index.js";
|
|
12
|
-
import { ChartsAxisHighlight } from "../ChartsAxisHighlight/index.js";
|
|
13
|
-
import { ChartsGrid } from "../ChartsGrid/index.js";
|
|
14
|
-
import { useScatterChartProps } from "./useScatterChartProps.js";
|
|
15
|
-
import { useChartContainerProps } from "../ChartContainer/useChartContainerProps.js";
|
|
16
|
-
import { ChartDataProvider } from "../ChartDataProvider/index.js";
|
|
17
|
-
import { ChartsSurface } from "../ChartsSurface/index.js";
|
|
18
|
-
import { ChartsWrapper } from "../internals/components/ChartsWrapper/index.js";
|
|
19
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
-
/**
|
|
21
|
-
* Demos:
|
|
22
|
-
*
|
|
23
|
-
* - [Scatter](https://mui.com/x/react-charts/scatter/)
|
|
24
|
-
* - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/)
|
|
25
|
-
*
|
|
26
|
-
* API:
|
|
27
|
-
*
|
|
28
|
-
* - [ScatterChart API](https://mui.com/x/api/charts/scatter-chart/)
|
|
29
|
-
*/
|
|
30
|
-
const ScatterChart = /*#__PURE__*/React.forwardRef(function ScatterChart(inProps, ref) {
|
|
31
|
-
const props = useThemeProps({
|
|
32
|
-
props: inProps,
|
|
33
|
-
name: 'MuiScatterChart'
|
|
34
|
-
});
|
|
35
|
-
const {
|
|
36
|
-
chartsWrapperProps,
|
|
37
|
-
chartContainerProps,
|
|
38
|
-
chartsAxisProps,
|
|
39
|
-
gridProps,
|
|
40
|
-
scatterPlotProps,
|
|
41
|
-
overlayProps,
|
|
42
|
-
legendProps,
|
|
43
|
-
axisHighlightProps,
|
|
44
|
-
children
|
|
45
|
-
} = useScatterChartProps(props);
|
|
46
|
-
const {
|
|
47
|
-
chartDataProviderProps,
|
|
48
|
-
chartsSurfaceProps
|
|
49
|
-
} = useChartContainerProps(chartContainerProps, ref);
|
|
50
|
-
const Tooltip = props.slots?.tooltip ?? ChartsTooltip;
|
|
51
|
-
return /*#__PURE__*/_jsx(ChartDataProvider, _extends({}, chartDataProviderProps, {
|
|
52
|
-
children: /*#__PURE__*/_jsxs(ChartsWrapper, _extends({}, chartsWrapperProps, {
|
|
53
|
-
children: [!props.hideLegend && /*#__PURE__*/_jsx(ChartsLegend, _extends({}, legendProps)), /*#__PURE__*/_jsxs(ChartsSurface, _extends({}, chartsSurfaceProps, {
|
|
54
|
-
children: [/*#__PURE__*/_jsx(ChartsAxis, _extends({}, chartsAxisProps)), /*#__PURE__*/_jsx(ChartsGrid, _extends({}, gridProps)), /*#__PURE__*/_jsx("g", {
|
|
55
|
-
"data-drawing-container": true,
|
|
56
|
-
children: /*#__PURE__*/_jsx(ScatterPlot, _extends({}, scatterPlotProps))
|
|
57
|
-
}), /*#__PURE__*/_jsx(ChartsOverlay, _extends({}, overlayProps)), /*#__PURE__*/_jsx(ChartsAxisHighlight, _extends({}, axisHighlightProps)), !props.loading && /*#__PURE__*/_jsx(Tooltip, _extends({
|
|
58
|
-
trigger: "item"
|
|
59
|
-
}, props.slotProps?.tooltip)), children]
|
|
60
|
-
}))]
|
|
61
|
-
}))
|
|
62
|
-
}));
|
|
63
|
-
});
|
|
64
|
-
process.env.NODE_ENV !== "production" ? ScatterChart.propTypes = {
|
|
65
|
-
// ----------------------------- Warning --------------------------------
|
|
66
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
67
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
68
|
-
// ----------------------------------------------------------------------
|
|
69
|
-
apiRef: PropTypes.shape({
|
|
70
|
-
current: PropTypes.object
|
|
71
|
-
}),
|
|
72
|
-
/**
|
|
73
|
-
* The configuration of axes highlight.
|
|
74
|
-
* @see See {@link https://mui.com/x/react-charts/highlighting/ highlighting docs} for more details.
|
|
75
|
-
* @default { x: 'none', y: 'none' }
|
|
76
|
-
*/
|
|
77
|
-
axisHighlight: PropTypes.shape({
|
|
78
|
-
x: PropTypes.oneOf(['band', 'line', 'none']),
|
|
79
|
-
y: PropTypes.oneOf(['band', 'line', 'none'])
|
|
80
|
-
}),
|
|
81
|
-
children: PropTypes.node,
|
|
82
|
-
className: PropTypes.string,
|
|
83
|
-
/**
|
|
84
|
-
* Color palette used to colorize multiple series.
|
|
85
|
-
* @default rainbowSurgePalette
|
|
86
|
-
*/
|
|
87
|
-
colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]),
|
|
88
|
-
/**
|
|
89
|
-
* An array of objects that can be used to populate series and axes data using their `dataKey` property.
|
|
90
|
-
*/
|
|
91
|
-
dataset: PropTypes.arrayOf(PropTypes.object),
|
|
92
|
-
desc: PropTypes.string,
|
|
93
|
-
/**
|
|
94
|
-
* If `true`, the charts will not listen to the mouse move event.
|
|
95
|
-
* It might break interactive features, but will improve performance.
|
|
96
|
-
* @default false
|
|
97
|
-
*/
|
|
98
|
-
disableAxisListener: PropTypes.bool,
|
|
99
|
-
/**
|
|
100
|
-
* If true, the interaction will not use the Voronoi cell and fall back to hover events.
|
|
101
|
-
* @default false
|
|
102
|
-
*/
|
|
103
|
-
disableVoronoi: PropTypes.bool,
|
|
104
|
-
/**
|
|
105
|
-
* Option to display a cartesian grid in the background.
|
|
106
|
-
*/
|
|
107
|
-
grid: PropTypes.shape({
|
|
108
|
-
horizontal: PropTypes.bool,
|
|
109
|
-
vertical: PropTypes.bool
|
|
110
|
-
}),
|
|
111
|
-
/**
|
|
112
|
-
* The height of the chart in px. If not defined, it takes the height of the parent element.
|
|
113
|
-
*/
|
|
114
|
-
height: PropTypes.number,
|
|
115
|
-
/**
|
|
116
|
-
* If `true`, the legend is not rendered.
|
|
117
|
-
*/
|
|
118
|
-
hideLegend: PropTypes.bool,
|
|
119
|
-
/**
|
|
120
|
-
* The highlighted item.
|
|
121
|
-
* Used when the highlight is controlled.
|
|
122
|
-
*/
|
|
123
|
-
highlightedItem: PropTypes.shape({
|
|
124
|
-
dataIndex: PropTypes.number,
|
|
125
|
-
seriesId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
|
|
126
|
-
}),
|
|
127
|
-
/**
|
|
128
|
-
* This prop is used to help implement the accessibility logic.
|
|
129
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
130
|
-
*/
|
|
131
|
-
id: PropTypes.string,
|
|
132
|
-
/**
|
|
133
|
-
* If `true`, a loading overlay is displayed.
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
136
|
-
loading: PropTypes.bool,
|
|
137
|
-
/**
|
|
138
|
-
* The margin between the SVG and the drawing area.
|
|
139
|
-
* It's used for leaving some space for extra information such as the x- and y-axis or legend.
|
|
140
|
-
*
|
|
141
|
-
* Accepts a `number` to be used on all sides or an object with the optional properties: `top`, `bottom`, `left`, and `right`.
|
|
142
|
-
*/
|
|
143
|
-
margin: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
144
|
-
bottom: PropTypes.number,
|
|
145
|
-
left: PropTypes.number,
|
|
146
|
-
right: PropTypes.number,
|
|
147
|
-
top: PropTypes.number
|
|
148
|
-
})]),
|
|
149
|
-
/**
|
|
150
|
-
* The function called for onClick events.
|
|
151
|
-
* The second argument contains information about all line/bar elements at the current mouse position.
|
|
152
|
-
* @param {MouseEvent} event The mouse event recorded on the `<svg/>` element.
|
|
153
|
-
* @param {null | AxisData} data The data about the clicked axis and items associated with it.
|
|
154
|
-
*/
|
|
155
|
-
onAxisClick: PropTypes.func,
|
|
156
|
-
/**
|
|
157
|
-
* The callback fired when the highlighted item changes.
|
|
158
|
-
*
|
|
159
|
-
* @param {HighlightItemData | null} highlightedItem The newly highlighted item.
|
|
160
|
-
*/
|
|
161
|
-
onHighlightChange: PropTypes.func,
|
|
162
|
-
/**
|
|
163
|
-
* Callback fired when clicking on a scatter item.
|
|
164
|
-
* @param {MouseEvent} event The mouse event recorded on the `<svg/>` element if using Voronoi cells. Or the Mouse event from the scatter element, when `disableVoronoi=true`.
|
|
165
|
-
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
166
|
-
*/
|
|
167
|
-
onItemClick: PropTypes.func,
|
|
168
|
-
/**
|
|
169
|
-
* The series to display in the scatter chart.
|
|
170
|
-
* An array of [[ScatterSeriesType]] objects.
|
|
171
|
-
*/
|
|
172
|
-
series: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
173
|
-
/**
|
|
174
|
-
* If `true`, animations are skipped.
|
|
175
|
-
* If unset or `false`, the animations respects the user's `prefers-reduced-motion` setting.
|
|
176
|
-
*/
|
|
177
|
-
skipAnimation: PropTypes.bool,
|
|
178
|
-
/**
|
|
179
|
-
* The props used for each component slot.
|
|
180
|
-
* @default {}
|
|
181
|
-
*/
|
|
182
|
-
slotProps: PropTypes.object,
|
|
183
|
-
/**
|
|
184
|
-
* Overridable component slots.
|
|
185
|
-
* @default {}
|
|
186
|
-
*/
|
|
187
|
-
slots: PropTypes.object,
|
|
188
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
189
|
-
theme: PropTypes.oneOf(['dark', 'light']),
|
|
190
|
-
title: PropTypes.string,
|
|
191
|
-
/**
|
|
192
|
-
* Defines the maximal distance between a scatter point and the pointer that triggers the interaction.
|
|
193
|
-
* If `undefined`, the radius is assumed to be infinite.
|
|
194
|
-
*/
|
|
195
|
-
voronoiMaxRadius: PropTypes.number,
|
|
196
|
-
/**
|
|
197
|
-
* The width of the chart in px. If not defined, it takes the width of the parent element.
|
|
198
|
-
*/
|
|
199
|
-
width: PropTypes.number,
|
|
200
|
-
/**
|
|
201
|
-
* The configuration of the x-axes.
|
|
202
|
-
* If not provided, a default axis config is used.
|
|
203
|
-
* An array of [[AxisConfig]] objects.
|
|
204
|
-
*/
|
|
205
|
-
xAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
206
|
-
axis: PropTypes.oneOf(['x']),
|
|
207
|
-
classes: PropTypes.object,
|
|
208
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
209
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
210
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
211
|
-
unknownColor: PropTypes.string,
|
|
212
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
213
|
-
}), PropTypes.shape({
|
|
214
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
215
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
216
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
217
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
218
|
-
}), PropTypes.shape({
|
|
219
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
220
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
221
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
222
|
-
})]),
|
|
223
|
-
data: PropTypes.array,
|
|
224
|
-
dataKey: PropTypes.string,
|
|
225
|
-
disableLine: PropTypes.bool,
|
|
226
|
-
disableTicks: PropTypes.bool,
|
|
227
|
-
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
228
|
-
fill: PropTypes.string,
|
|
229
|
-
height: PropTypes.number,
|
|
230
|
-
hideTooltip: PropTypes.bool,
|
|
231
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
232
|
-
ignoreTooltip: PropTypes.bool,
|
|
233
|
-
label: PropTypes.string,
|
|
234
|
-
labelStyle: PropTypes.object,
|
|
235
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
236
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
237
|
-
offset: PropTypes.number,
|
|
238
|
-
position: PropTypes.oneOf(['bottom', 'none', 'top']),
|
|
239
|
-
reverse: PropTypes.bool,
|
|
240
|
-
scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
|
|
241
|
-
slotProps: PropTypes.object,
|
|
242
|
-
slots: PropTypes.object,
|
|
243
|
-
stroke: PropTypes.string,
|
|
244
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
245
|
-
tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
|
|
246
|
-
tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
|
|
247
|
-
tickLabelMinGap: PropTypes.number,
|
|
248
|
-
tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
|
|
249
|
-
tickLabelStyle: PropTypes.object,
|
|
250
|
-
tickMaxStep: PropTypes.number,
|
|
251
|
-
tickMinStep: PropTypes.number,
|
|
252
|
-
tickNumber: PropTypes.number,
|
|
253
|
-
tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
|
|
254
|
-
tickSize: PropTypes.number,
|
|
255
|
-
valueFormatter: PropTypes.func
|
|
256
|
-
})),
|
|
257
|
-
/**
|
|
258
|
-
* The configuration of the y-axes.
|
|
259
|
-
* If not provided, a default axis config is used.
|
|
260
|
-
* An array of [[AxisConfig]] objects.
|
|
261
|
-
*/
|
|
262
|
-
yAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
263
|
-
axis: PropTypes.oneOf(['y']),
|
|
264
|
-
classes: PropTypes.object,
|
|
265
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
266
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
267
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
268
|
-
unknownColor: PropTypes.string,
|
|
269
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
270
|
-
}), PropTypes.shape({
|
|
271
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
272
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
273
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
274
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
275
|
-
}), PropTypes.shape({
|
|
276
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
277
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
278
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
279
|
-
})]),
|
|
280
|
-
data: PropTypes.array,
|
|
281
|
-
dataKey: PropTypes.string,
|
|
282
|
-
disableLine: PropTypes.bool,
|
|
283
|
-
disableTicks: PropTypes.bool,
|
|
284
|
-
domainLimit: PropTypes.oneOfType([PropTypes.oneOf(['nice', 'strict']), PropTypes.func]),
|
|
285
|
-
fill: PropTypes.string,
|
|
286
|
-
hideTooltip: PropTypes.bool,
|
|
287
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
288
|
-
ignoreTooltip: PropTypes.bool,
|
|
289
|
-
label: PropTypes.string,
|
|
290
|
-
labelStyle: PropTypes.object,
|
|
291
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
292
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
293
|
-
offset: PropTypes.number,
|
|
294
|
-
position: PropTypes.oneOf(['left', 'none', 'right']),
|
|
295
|
-
reverse: PropTypes.bool,
|
|
296
|
-
scaleType: PropTypes.oneOf(['band', 'linear', 'log', 'point', 'pow', 'sqrt', 'time', 'utc']),
|
|
297
|
-
slotProps: PropTypes.object,
|
|
298
|
-
slots: PropTypes.object,
|
|
299
|
-
stroke: PropTypes.string,
|
|
300
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
301
|
-
tickInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.array, PropTypes.func]),
|
|
302
|
-
tickLabelInterval: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.func]),
|
|
303
|
-
tickLabelPlacement: PropTypes.oneOf(['middle', 'tick']),
|
|
304
|
-
tickLabelStyle: PropTypes.object,
|
|
305
|
-
tickMaxStep: PropTypes.number,
|
|
306
|
-
tickMinStep: PropTypes.number,
|
|
307
|
-
tickNumber: PropTypes.number,
|
|
308
|
-
tickPlacement: PropTypes.oneOf(['end', 'extremities', 'middle', 'start']),
|
|
309
|
-
tickSize: PropTypes.number,
|
|
310
|
-
valueFormatter: PropTypes.func,
|
|
311
|
-
width: PropTypes.number
|
|
312
|
-
})),
|
|
313
|
-
/**
|
|
314
|
-
* The configuration of the z-axes.
|
|
315
|
-
*/
|
|
316
|
-
zAxis: PropTypes.arrayOf(PropTypes.shape({
|
|
317
|
-
colorMap: PropTypes.oneOfType([PropTypes.shape({
|
|
318
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
319
|
-
type: PropTypes.oneOf(['ordinal']).isRequired,
|
|
320
|
-
unknownColor: PropTypes.string,
|
|
321
|
-
values: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number, PropTypes.string]).isRequired)
|
|
322
|
-
}), PropTypes.shape({
|
|
323
|
-
color: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string.isRequired), PropTypes.func]).isRequired,
|
|
324
|
-
max: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
325
|
-
min: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]),
|
|
326
|
-
type: PropTypes.oneOf(['continuous']).isRequired
|
|
327
|
-
}), PropTypes.shape({
|
|
328
|
-
colors: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
329
|
-
thresholds: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.number]).isRequired).isRequired,
|
|
330
|
-
type: PropTypes.oneOf(['piecewise']).isRequired
|
|
331
|
-
})]),
|
|
332
|
-
data: PropTypes.array,
|
|
333
|
-
dataKey: PropTypes.string,
|
|
334
|
-
id: PropTypes.string,
|
|
335
|
-
max: PropTypes.number,
|
|
336
|
-
min: PropTypes.number
|
|
337
|
-
}))
|
|
338
|
-
} : void 0;
|
|
339
|
-
export { ScatterChart };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { UseChartZAxisSignature } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
|
|
2
|
-
import { UseChartCartesianAxisSignature } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
|
|
3
|
-
import { UseChartInteractionSignature } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
4
|
-
import { UseChartHighlightSignature } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
|
|
5
|
-
import { ConvertSignaturesIntoPlugins } from "../internals/plugins/models/helpers.js";
|
|
6
|
-
import { UseChartVoronoiSignature } from "../internals/plugins/featurePlugins/useChartVoronoi/index.js";
|
|
7
|
-
export type ScatterChartPluginsSignatures = [UseChartZAxisSignature, UseChartCartesianAxisSignature<'scatter'>, UseChartInteractionSignature, UseChartHighlightSignature, UseChartVoronoiSignature];
|
|
8
|
-
export declare const SCATTER_CHART_PLUGINS: ConvertSignaturesIntoPlugins<ScatterChartPluginsSignatures>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { useChartZAxis } from "../internals/plugins/featurePlugins/useChartZAxis/index.js";
|
|
2
|
-
import { useChartCartesianAxis } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.js";
|
|
3
|
-
import { useChartInteraction } from "../internals/plugins/featurePlugins/useChartInteraction/index.js";
|
|
4
|
-
import { useChartHighlight } from "../internals/plugins/featurePlugins/useChartHighlight/index.js";
|
|
5
|
-
import { useChartVoronoi } from "../internals/plugins/featurePlugins/useChartVoronoi/index.js";
|
|
6
|
-
export const SCATTER_CHART_PLUGINS = [useChartZAxis, useChartCartesianAxis, useChartInteraction, useChartHighlight, useChartVoronoi];
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SeriesId } from "../models/seriesType/common.js";
|
|
3
|
-
export interface ScatterMarkerProps {
|
|
4
|
-
/**
|
|
5
|
-
* The series ID.
|
|
6
|
-
*/
|
|
7
|
-
seriesId: SeriesId;
|
|
8
|
-
/**
|
|
9
|
-
* The index of the data point.
|
|
10
|
-
*/
|
|
11
|
-
dataIndex: number;
|
|
12
|
-
/**
|
|
13
|
-
* The x coordinate of the data point.
|
|
14
|
-
*/
|
|
15
|
-
x: number;
|
|
16
|
-
/**
|
|
17
|
-
* The y coordinate of the data point.
|
|
18
|
-
*/
|
|
19
|
-
y: number;
|
|
20
|
-
/**
|
|
21
|
-
* The fill color of the marker.
|
|
22
|
-
*/
|
|
23
|
-
color: string;
|
|
24
|
-
/**
|
|
25
|
-
* The size of the marker.
|
|
26
|
-
*/
|
|
27
|
-
size: number;
|
|
28
|
-
/**
|
|
29
|
-
* If `true`, the marker is highlighted.
|
|
30
|
-
*/
|
|
31
|
-
isHighlighted: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* If `true`, the marker is faded.
|
|
34
|
-
*/
|
|
35
|
-
isFaded: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Callback fired when clicking on a scatter item.
|
|
38
|
-
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
39
|
-
*/
|
|
40
|
-
onClick?: (event: React.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
41
|
-
}
|
|
42
|
-
declare function ScatterMarker(props: ScatterMarkerProps): React.JSX.Element;
|
|
43
|
-
declare namespace ScatterMarker {
|
|
44
|
-
var propTypes: any;
|
|
45
|
-
}
|
|
46
|
-
export { ScatterMarker };
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
-
const _excluded = ["seriesId", "isFaded", "isHighlighted", "x", "y", "color", "size", "dataIndex"];
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import PropTypes from 'prop-types';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
function ScatterMarker(props) {
|
|
8
|
-
const {
|
|
9
|
-
isFaded,
|
|
10
|
-
isHighlighted,
|
|
11
|
-
x,
|
|
12
|
-
y,
|
|
13
|
-
color,
|
|
14
|
-
size
|
|
15
|
-
} = props,
|
|
16
|
-
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
17
|
-
return /*#__PURE__*/_jsx("circle", _extends({
|
|
18
|
-
cx: 0,
|
|
19
|
-
cy: 0,
|
|
20
|
-
r: (isHighlighted ? 1.2 : 1) * size,
|
|
21
|
-
transform: `translate(${x}, ${y})`,
|
|
22
|
-
fill: color,
|
|
23
|
-
opacity: isFaded ? 0.3 : 1,
|
|
24
|
-
cursor: other.onClick ? 'pointer' : 'unset'
|
|
25
|
-
}, other));
|
|
26
|
-
}
|
|
27
|
-
process.env.NODE_ENV !== "production" ? ScatterMarker.propTypes = {
|
|
28
|
-
// ----------------------------- Warning --------------------------------
|
|
29
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
30
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
31
|
-
// ----------------------------------------------------------------------
|
|
32
|
-
/**
|
|
33
|
-
* The fill color of the marker.
|
|
34
|
-
*/
|
|
35
|
-
color: PropTypes.string.isRequired,
|
|
36
|
-
/**
|
|
37
|
-
* The index of the data point.
|
|
38
|
-
*/
|
|
39
|
-
dataIndex: PropTypes.number.isRequired,
|
|
40
|
-
/**
|
|
41
|
-
* If `true`, the marker is faded.
|
|
42
|
-
*/
|
|
43
|
-
isFaded: PropTypes.bool.isRequired,
|
|
44
|
-
/**
|
|
45
|
-
* If `true`, the marker is highlighted.
|
|
46
|
-
*/
|
|
47
|
-
isHighlighted: PropTypes.bool.isRequired,
|
|
48
|
-
/**
|
|
49
|
-
* Callback fired when clicking on a scatter item.
|
|
50
|
-
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
51
|
-
*/
|
|
52
|
-
onClick: PropTypes.func,
|
|
53
|
-
/**
|
|
54
|
-
* The series ID.
|
|
55
|
-
*/
|
|
56
|
-
seriesId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
|
|
57
|
-
/**
|
|
58
|
-
* The size of the marker.
|
|
59
|
-
*/
|
|
60
|
-
size: PropTypes.number.isRequired,
|
|
61
|
-
/**
|
|
62
|
-
* The x coordinate of the data point.
|
|
63
|
-
*/
|
|
64
|
-
x: PropTypes.number.isRequired,
|
|
65
|
-
/**
|
|
66
|
-
* The y coordinate of the data point.
|
|
67
|
-
*/
|
|
68
|
-
y: PropTypes.number.isRequired
|
|
69
|
-
} : void 0;
|
|
70
|
-
export { ScatterMarker };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ScatterMarkerProps } from './ScatterMarker';
|
|
3
|
-
export interface ScatterMarkerSlots {
|
|
4
|
-
/**
|
|
5
|
-
* The component that renders the marker for a scatter point.
|
|
6
|
-
* @default ScatterMarker
|
|
7
|
-
*/
|
|
8
|
-
marker?: React.JSXElementConstructor<ScatterMarkerProps>;
|
|
9
|
-
}
|
|
10
|
-
export interface ScatterMarkerSlotProps {
|
|
11
|
-
marker?: ScatterMarkerProps;
|
|
12
|
-
}
|
|
13
|
-
export interface ScatterMarkerSlotExtension {
|
|
14
|
-
/**
|
|
15
|
-
* The props used for each component slot.
|
|
16
|
-
* @default {}
|
|
17
|
-
*/
|
|
18
|
-
slotProps?: ScatterMarkerSlotProps;
|
|
19
|
-
/**
|
|
20
|
-
* Overridable component slots.
|
|
21
|
-
* @default {}
|
|
22
|
-
*/
|
|
23
|
-
slots?: ScatterMarkerSlots;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ScatterProps, ScatterSlotProps, ScatterSlots } from "./Scatter.js";
|
|
3
|
-
export interface ScatterPlotSlots extends ScatterSlots {
|
|
4
|
-
scatter?: React.JSXElementConstructor<ScatterProps>;
|
|
5
|
-
}
|
|
6
|
-
export interface ScatterPlotSlotProps extends ScatterSlotProps {
|
|
7
|
-
scatter?: Partial<ScatterProps>;
|
|
8
|
-
}
|
|
9
|
-
export interface ScatterPlotProps extends Pick<ScatterProps, 'onItemClick'> {
|
|
10
|
-
/**
|
|
11
|
-
* Overridable component slots.
|
|
12
|
-
* @default {}
|
|
13
|
-
*/
|
|
14
|
-
slots?: ScatterPlotSlots;
|
|
15
|
-
/**
|
|
16
|
-
* The props used for each component slot.
|
|
17
|
-
* @default {}
|
|
18
|
-
*/
|
|
19
|
-
slotProps?: ScatterPlotSlotProps;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Demos:
|
|
23
|
-
*
|
|
24
|
-
* - [Scatter](https://mui.com/x/react-charts/scatter/)
|
|
25
|
-
* - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/)
|
|
26
|
-
*
|
|
27
|
-
* API:
|
|
28
|
-
*
|
|
29
|
-
* - [ScatterPlot API](https://mui.com/x/api/charts/scatter-plot/)
|
|
30
|
-
*/
|
|
31
|
-
declare function ScatterPlot(props: ScatterPlotProps): React.JSX.Element | null;
|
|
32
|
-
declare namespace ScatterPlot {
|
|
33
|
-
var propTypes: any;
|
|
34
|
-
}
|
|
35
|
-
export { ScatterPlot };
|
|
@@ -1,99 +0,0 @@
|
|
|
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 { Scatter } from "./Scatter.js";
|
|
7
|
-
import { useScatterSeriesContext } from "../hooks/useScatterSeries.js";
|
|
8
|
-
import getColor from "./seriesConfig/getColor.js";
|
|
9
|
-
import { useXAxes, useYAxes } from "../hooks/index.js";
|
|
10
|
-
import { useZAxes } from "../hooks/useZAxis.js";
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
/**
|
|
13
|
-
* Demos:
|
|
14
|
-
*
|
|
15
|
-
* - [Scatter](https://mui.com/x/react-charts/scatter/)
|
|
16
|
-
* - [Scatter demonstration](https://mui.com/x/react-charts/scatter-demo/)
|
|
17
|
-
*
|
|
18
|
-
* API:
|
|
19
|
-
*
|
|
20
|
-
* - [ScatterPlot API](https://mui.com/x/api/charts/scatter-plot/)
|
|
21
|
-
*/
|
|
22
|
-
function ScatterPlot(props) {
|
|
23
|
-
const {
|
|
24
|
-
slots,
|
|
25
|
-
slotProps,
|
|
26
|
-
onItemClick
|
|
27
|
-
} = props;
|
|
28
|
-
const seriesData = useScatterSeriesContext();
|
|
29
|
-
const {
|
|
30
|
-
xAxis,
|
|
31
|
-
xAxisIds
|
|
32
|
-
} = useXAxes();
|
|
33
|
-
const {
|
|
34
|
-
yAxis,
|
|
35
|
-
yAxisIds
|
|
36
|
-
} = useYAxes();
|
|
37
|
-
const {
|
|
38
|
-
zAxis,
|
|
39
|
-
zAxisIds
|
|
40
|
-
} = useZAxes();
|
|
41
|
-
if (seriesData === undefined) {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
const {
|
|
45
|
-
series,
|
|
46
|
-
seriesOrder
|
|
47
|
-
} = seriesData;
|
|
48
|
-
const defaultXAxisId = xAxisIds[0];
|
|
49
|
-
const defaultYAxisId = yAxisIds[0];
|
|
50
|
-
const defaultZAxisId = zAxisIds[0];
|
|
51
|
-
const ScatterItems = slots?.scatter ?? Scatter;
|
|
52
|
-
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
53
|
-
children: seriesOrder.map(seriesId => {
|
|
54
|
-
const {
|
|
55
|
-
id,
|
|
56
|
-
xAxisId,
|
|
57
|
-
yAxisId,
|
|
58
|
-
zAxisId,
|
|
59
|
-
color
|
|
60
|
-
} = series[seriesId];
|
|
61
|
-
const colorGetter = getColor(series[seriesId], xAxis[xAxisId ?? defaultXAxisId], yAxis[yAxisId ?? defaultYAxisId], zAxis[zAxisId ?? defaultZAxisId]);
|
|
62
|
-
const xScale = xAxis[xAxisId ?? defaultXAxisId].scale;
|
|
63
|
-
const yScale = yAxis[yAxisId ?? defaultYAxisId].scale;
|
|
64
|
-
return /*#__PURE__*/_jsx(ScatterItems, _extends({
|
|
65
|
-
xScale: xScale,
|
|
66
|
-
yScale: yScale,
|
|
67
|
-
color: color,
|
|
68
|
-
colorGetter: colorGetter,
|
|
69
|
-
series: series[seriesId],
|
|
70
|
-
onItemClick: onItemClick,
|
|
71
|
-
slots: slots,
|
|
72
|
-
slotProps: slotProps
|
|
73
|
-
}, slotProps?.scatter), id);
|
|
74
|
-
})
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
process.env.NODE_ENV !== "production" ? ScatterPlot.propTypes = {
|
|
78
|
-
// ----------------------------- Warning --------------------------------
|
|
79
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
80
|
-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
81
|
-
// ----------------------------------------------------------------------
|
|
82
|
-
/**
|
|
83
|
-
* Callback fired when clicking on a scatter item.
|
|
84
|
-
* @param {MouseEvent} event Mouse event recorded on the `<svg/>` element.
|
|
85
|
-
* @param {ScatterItemIdentifier} scatterItemIdentifier The scatter item identifier.
|
|
86
|
-
*/
|
|
87
|
-
onItemClick: PropTypes.func,
|
|
88
|
-
/**
|
|
89
|
-
* The props used for each component slot.
|
|
90
|
-
* @default {}
|
|
91
|
-
*/
|
|
92
|
-
slotProps: PropTypes.object,
|
|
93
|
-
/**
|
|
94
|
-
* Overridable component slots.
|
|
95
|
-
* @default {}
|
|
96
|
-
*/
|
|
97
|
-
slots: PropTypes.object
|
|
98
|
-
} : void 0;
|
|
99
|
-
export { ScatterPlot };
|