@mui/x-charts 9.7.0 → 9.9.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/AnimatedBarElement.d.mts +1 -1
- package/BarChart/AnimatedBarElement.d.ts +1 -1
- package/BarChart/BarClipPath.d.mts +1 -1
- package/BarChart/BarClipPath.d.ts +1 -1
- package/BarChart/BarElement.d.mts +1 -1
- package/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarLabel/BarLabelItem.d.mts +1 -1
- package/BarChart/BarLabel/BarLabelItem.d.ts +1 -1
- package/BarChart/BarLabel/BarLabelPlot.d.mts +2 -1
- package/BarChart/BarLabel/BarLabelPlot.d.ts +2 -1
- package/BarChart/BatchBarPlot/BarGroup.d.mts +1 -1
- package/BarChart/BatchBarPlot/BarGroup.d.ts +1 -1
- package/BarChart/BatchBarPlot/BatchBarPlot.d.mts +2 -1
- package/BarChart/BatchBarPlot/BatchBarPlot.d.ts +2 -1
- package/BarChart/FocusedBar.d.mts +1 -1
- package/BarChart/FocusedBar.d.ts +1 -1
- package/BarChart/IndividualBarPlot.d.mts +2 -1
- package/BarChart/IndividualBarPlot.d.ts +2 -1
- package/BarChart/seriesConfig/bar/tooltipPosition.d.mts +2 -3
- package/BarChart/seriesConfig/bar/tooltipPosition.d.ts +2 -3
- package/BarChart/seriesConfig/bar/tooltipPosition.js +19 -15
- package/BarChart/seriesConfig/bar/tooltipPosition.mjs +18 -14
- package/BarChart/seriesConfig/index.js +2 -2
- package/BarChart/seriesConfig/index.mjs +2 -2
- package/BarChart/useBarPlotData.d.mts +5 -1
- package/BarChart/useBarPlotData.d.ts +5 -1
- package/BarChart/useBarPlotData.js +102 -25
- package/BarChart/useBarPlotData.mjs +102 -26
- package/CHANGELOG.md +249 -1
- package/ChartsAxis/ChartsAxis.d.mts +2 -1
- package/ChartsAxis/ChartsAxis.d.ts +2 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.mts +2 -1
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +2 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.mts +2 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +2 -1
- package/ChartsAxisHighlight/ChartsXAxisHighlight.js +22 -5
- package/ChartsAxisHighlight/ChartsXAxisHighlight.mjs +23 -6
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.mts +2 -1
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +2 -1
- package/ChartsAxisHighlight/ChartsYAxisHighlight.js +22 -5
- package/ChartsAxisHighlight/ChartsYAxisHighlight.mjs +23 -6
- package/ChartsAxisHighlight/getSampledBandHighlight.d.mts +27 -0
- package/ChartsAxisHighlight/getSampledBandHighlight.d.ts +27 -0
- package/ChartsAxisHighlight/getSampledBandHighlight.js +35 -0
- package/ChartsAxisHighlight/getSampledBandHighlight.mjs +29 -0
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.mts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValue.d.ts +1 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.mts +2 -1
- package/ChartsAxisHighlightValue/ChartsAxisHighlightValueItem.d.ts +2 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.mts +2 -1
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +2 -1
- package/ChartsClipPath/ChartsClipPath.d.mts +1 -1
- package/ChartsClipPath/ChartsClipPath.d.ts +1 -1
- package/ChartsDataProvider/ChartsDataProvider.d.mts +1 -1
- package/ChartsDataProvider/ChartsDataProvider.d.ts +1 -1
- package/ChartsGrid/ChartsGrid.d.mts +1 -1
- package/ChartsGrid/ChartsGrid.d.ts +1 -1
- package/ChartsGrid/ChartsHorizontalGrid.d.mts +2 -1
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +2 -1
- package/ChartsGrid/ChartsVerticalGrid.d.mts +2 -1
- package/ChartsGrid/ChartsVerticalGrid.d.ts +2 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.mts +1 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
- package/ChartsOverlay/ChartsLoadingOverlay.d.mts +1 -1
- package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -1
- package/ChartsOverlay/ChartsNoDataOverlay.d.mts +1 -1
- package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -1
- package/ChartsOverlay/ChartsOverlay.d.mts +1 -1
- package/ChartsOverlay/ChartsOverlay.d.ts +1 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.mts +2 -1
- package/ChartsRadialAxisHighlight/ChartsRadialAxisHighlight.d.ts +2 -1
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.mts +2 -1
- package/ChartsRadialAxisHighlight/ChartsRadiusAxisHighlight.d.ts +2 -1
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.mts +2 -1
- package/ChartsRadialAxisHighlight/ChartsRotationAxisHighlight.d.ts +2 -1
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.mts +1 -1
- package/ChartsRadialDataProvider/ChartsRadialDataProvider.d.ts +1 -1
- package/ChartsRadialGrid/ChartsRadialGrid.d.mts +1 -1
- package/ChartsRadialGrid/ChartsRadialGrid.d.ts +1 -1
- package/ChartsRadialGrid/ChartsRadiusGrid.d.mts +2 -1
- package/ChartsRadialGrid/ChartsRadiusGrid.d.ts +2 -1
- package/ChartsRadialGrid/ChartsRotationGrid.d.mts +2 -1
- package/ChartsRadialGrid/ChartsRotationGrid.d.ts +2 -1
- package/ChartsRadiusAxis/ChartsRadiusAxis.d.mts +1 -1
- package/ChartsRadiusAxis/ChartsRadiusAxis.d.ts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -1
- package/ChartsRotationAxis/ChartsRotationAxis.d.mts +1 -1
- package/ChartsRotationAxis/ChartsRotationAxis.d.ts +1 -1
- package/ChartsText/ChartsText.d.mts +1 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.d.mts +1 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -1
- package/ChartsTooltip/ChartsItemTooltipContent.d.mts +2 -1
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +2 -1
- package/ChartsTooltip/ChartsTooltip.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltip.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipContainer.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipContainer.js +10 -3
- package/ChartsTooltip/ChartsTooltipContainer.mjs +11 -4
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +2 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +2 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.js +3 -13
- package/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +2 -12
- package/ChartsXAxis/ChartsSingleXAxisTicks.d.mts +2 -1
- package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +2 -1
- package/ChartsXAxis/ChartsXAxis.d.mts +1 -1
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -1
- package/ChartsXAxis/ChartsXAxisImpl.d.mts +2 -1
- package/ChartsXAxis/ChartsXAxisImpl.d.ts +2 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +2 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +2 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.js +4 -16
- package/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +3 -13
- package/ChartsYAxis/ChartsSingleYAxisTicks.d.mts +2 -1
- package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +2 -1
- package/ChartsYAxis/ChartsYAxis.d.mts +1 -1
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -1
- package/ChartsYAxis/ChartsYAxisImpl.d.mts +2 -1
- package/ChartsYAxis/ChartsYAxisImpl.d.ts +2 -1
- package/Gauge/GaugeProvider.d.mts +1 -1
- package/Gauge/GaugeProvider.d.ts +1 -1
- package/Gauge/GaugeReferenceArc.d.mts +1 -1
- package/Gauge/GaugeReferenceArc.d.ts +1 -1
- package/Gauge/GaugeValueArc.d.mts +1 -1
- package/Gauge/GaugeValueArc.d.ts +1 -1
- package/Gauge/GaugeValueText.d.mts +1 -1
- package/Gauge/GaugeValueText.d.ts +1 -1
- package/LineChart/AnimatedArea.d.mts +1 -1
- package/LineChart/AnimatedArea.d.ts +1 -1
- package/LineChart/AppearingMask.d.mts +1 -1
- package/LineChart/AppearingMask.d.ts +1 -1
- package/LineChart/AreaElement.d.mts +1 -1
- package/LineChart/AreaElement.d.ts +1 -1
- package/LineChart/AreaPlot.d.mts +1 -1
- package/LineChart/AreaPlot.d.ts +1 -1
- package/LineChart/CircleMarkElement.d.mts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/FocusedLineMark.d.mts +1 -1
- package/LineChart/FocusedLineMark.d.ts +1 -1
- package/LineChart/LineElement.d.mts +1 -1
- package/LineChart/LineElement.d.ts +1 -1
- package/LineChart/LineHighlightElement.d.mts +1 -1
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightPlot.d.mts +1 -1
- package/LineChart/LineHighlightPlot.d.ts +1 -1
- package/LineChart/LinePlot.d.mts +1 -1
- package/LineChart/LinePlot.d.ts +1 -1
- package/LineChart/LinePlot.js +3 -2
- package/LineChart/LinePlot.mjs +3 -2
- package/LineChart/MarkElement.d.mts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkPlot.d.mts +1 -1
- package/LineChart/MarkPlot.d.ts +1 -1
- package/LineChart/seriesConfig/index.js +2 -2
- package/LineChart/seriesConfig/index.mjs +2 -2
- package/LineChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/LineChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/LineChart/seriesConfig/tooltipPosition.js +14 -14
- package/LineChart/seriesConfig/tooltipPosition.mjs +13 -13
- package/LineChart/useLinePlotData.d.mts +13 -1
- package/LineChart/useLinePlotData.d.ts +13 -1
- package/LineChart/useLinePlotData.js +90 -33
- package/LineChart/useLinePlotData.mjs +92 -34
- package/PieChart/FocusedPieArc.d.mts +1 -1
- package/PieChart/FocusedPieArc.d.ts +1 -1
- package/PieChart/PieArcLabelPlot.d.mts +1 -1
- package/PieChart/PieArcLabelPlot.d.ts +1 -1
- package/PieChart/PieArcPlot.d.mts +1 -1
- package/PieChart/PieArcPlot.d.ts +1 -1
- package/PieChart/PiePlot.d.mts +1 -1
- package/PieChart/PiePlot.d.ts +1 -1
- package/PieChart/seriesConfig/index.js +2 -2
- package/PieChart/seriesConfig/index.mjs +2 -2
- package/PieChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/PieChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/PieChart/seriesConfig/tooltipPosition.js +7 -11
- package/PieChart/seriesConfig/tooltipPosition.mjs +6 -10
- package/RadarChart/FocusedRadarMark.d.mts +1 -1
- package/RadarChart/FocusedRadarMark.d.ts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.d.mts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.mts +1 -1
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.mts +2 -1
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +2 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.mts +2 -1
- package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +2 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.mts +2 -1
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +2 -1
- package/RadarChart/RadarGrid/RadarGrid.d.mts +2 -1
- package/RadarChart/RadarGrid/RadarGrid.d.ts +2 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.mts +2 -1
- package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +2 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.mts +2 -1
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +2 -1
- package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.mts +2 -1
- package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +2 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +2 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +2 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +2 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +2 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -1
- package/RadarChart/seriesConfig/index.js +2 -2
- package/RadarChart/seriesConfig/index.mjs +2 -2
- package/RadarChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/RadarChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/RadarChart/seriesConfig/tooltipPosition.js +9 -16
- package/RadarChart/seriesConfig/tooltipPosition.mjs +8 -15
- package/ScatterChart/BatchScatter.d.mts +2 -1
- package/ScatterChart/BatchScatter.d.ts +2 -1
- package/ScatterChart/FocusedScatterMark.d.mts +1 -1
- package/ScatterChart/FocusedScatterMark.d.ts +1 -1
- package/ScatterChart/HighlightedScatterMark.d.mts +1 -1
- package/ScatterChart/HighlightedScatterMark.d.ts +1 -1
- package/ScatterChart/Scatter.d.mts +1 -1
- package/ScatterChart/Scatter.d.ts +1 -1
- package/ScatterChart/ScatterMarker.d.mts +1 -1
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterPlot.d.mts +1 -1
- package/ScatterChart/ScatterPlot.d.ts +1 -1
- package/ScatterChart/async/ScatterAsync.d.mts +2 -1
- package/ScatterChart/async/ScatterAsync.d.ts +2 -1
- package/ScatterChart/async/ScatterAsyncBatch.d.mts +1 -1
- package/ScatterChart/async/ScatterAsyncBatch.d.ts +1 -1
- package/ScatterChart/seriesConfig/index.js +2 -2
- package/ScatterChart/seriesConfig/index.mjs +2 -2
- package/ScatterChart/seriesConfig/tooltipPosition.d.mts +2 -3
- package/ScatterChart/seriesConfig/tooltipPosition.d.ts +2 -3
- package/ScatterChart/seriesConfig/tooltipPosition.js +13 -13
- package/ScatterChart/seriesConfig/tooltipPosition.mjs +12 -12
- package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
- package/context/ChartsSlotsContext.d.mts +1 -1
- package/context/ChartsSlotsContext.d.ts +1 -1
- package/hooks/index.d.mts +2 -1
- package/hooks/index.d.ts +2 -1
- package/hooks/index.js +10 -2
- package/hooks/index.mjs +2 -1
- package/hooks/usePolarGeometry.d.mts +51 -0
- package/hooks/usePolarGeometry.d.ts +51 -0
- package/hooks/usePolarGeometry.js +47 -0
- package/hooks/usePolarGeometry.mjs +41 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/animation/animation.d.mts +1 -1
- package/internals/animation/animation.d.ts +1 -1
- package/internals/commonNextFocusItem.d.mts +15 -5
- package/internals/commonNextFocusItem.d.ts +15 -5
- package/internals/commonNextFocusItem.js +6 -0
- package/internals/commonNextFocusItem.mjs +7 -0
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.mts +2 -1
- package/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.d.ts +2 -1
- package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.mts +2 -1
- package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +2 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.mts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.mts +2 -1
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +2 -1
- package/internals/createCommonKeyboardFocusHandler.d.mts +5 -1
- package/internals/createCommonKeyboardFocusHandler.d.ts +5 -1
- package/internals/createGetBarDimensions.d.mts +14 -1
- package/internals/createGetBarDimensions.d.ts +14 -1
- package/internals/createGetBarDimensions.js +45 -0
- package/internals/createGetBarDimensions.mjs +45 -0
- package/internals/geometry.js +1 -1
- package/internals/geometry.mjs +1 -1
- package/internals/getGroupingConfig.d.mts +6 -0
- package/internals/getGroupingConfig.d.ts +6 -0
- package/internals/getGroupingConfig.js +20 -0
- package/internals/getGroupingConfig.mjs +12 -0
- package/internals/index.d.mts +1 -2
- package/internals/index.d.ts +1 -2
- package/internals/index.js +12 -8
- package/internals/index.mjs +1 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +2 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.js +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/index.mjs +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +13 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +13 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionSelector.types.d.mts +18 -0
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionSelector.types.d.ts +18 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.mts +2 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.d.ts +2 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.js +12 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs +1 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.d.mts +26 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.d.ts +26 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.js +89 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs +81 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.types.d.mts +93 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.types.d.ts +93 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.mts +5 -0
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.types.d.ts +5 -0
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsFaded.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartHighlight/createIsHighlighted.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +3 -8
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +3 -8
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +2 -57
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +2 -57
- package/internals/shallowEqual.d.mts +1 -1
- package/internals/shallowEqual.d.ts +1 -1
- package/internals/shallowEqual.js +1 -1
- package/internals/shallowEqual.mjs +1 -1
- package/models/seriesType/config.d.mts +6 -2
- package/models/seriesType/config.d.ts +6 -2
- package/package.json +6 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +0 -34
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +0 -34
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +0 -49
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +0 -49
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.js +0 -124
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.mjs +0 -117
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.mts +0 -64
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +0 -64
- /package/internals/plugins/corePlugins/useChartSeriesConfig/types/{tooltipItemPositionGetter.types.js → tooltipItemPositionSelector.types.js} +0 -0
- /package/internals/plugins/corePlugins/useChartSeriesConfig/types/{tooltipItemPositionGetter.types.mjs → tooltipItemPositionSelector.types.mjs} +0 -0
- /package/internals/plugins/featurePlugins/{useGeoProjection/useGeoProjection.types.js → useChartCartesianAxis/sampling.types.js} +0 -0
- /package/internals/plugins/featurePlugins/{useGeoProjection/useGeoProjection.types.mjs → useChartCartesianAxis/sampling.types.mjs} +0 -0
|
@@ -13,6 +13,7 @@ var _useStore = require("../internals/store/useStore");
|
|
|
13
13
|
var _useChartCartesianAxis = require("../internals/plugins/featurePlugins/useChartCartesianAxis");
|
|
14
14
|
var _hooks = require("../hooks");
|
|
15
15
|
var _ChartsAxisHighlightPath = require("./ChartsAxisHighlightPath");
|
|
16
|
+
var _getSampledBandHighlight = require("./getSampledBandHighlight");
|
|
16
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
18
|
/**
|
|
18
19
|
* @ignore - internal component.
|
|
@@ -29,13 +30,15 @@ function ChartsYHighlight(props) {
|
|
|
29
30
|
const store = (0, _useStore.useStore)();
|
|
30
31
|
const axisYValues = store.use(_useChartCartesianAxis.selectorChartsHighlightYAxisValue);
|
|
31
32
|
const yAxes = store.use(_useChartCartesianAxis.selectorChartYAxis);
|
|
33
|
+
const bucketSizeByAxis = store.use(_useChartCartesianAxis.selectorChartHighlightBucketSize);
|
|
32
34
|
if (axisYValues.length === 0) {
|
|
33
35
|
return null;
|
|
34
36
|
}
|
|
35
|
-
return axisYValues.map(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
return axisYValues.map(axisValue => {
|
|
38
|
+
const {
|
|
39
|
+
axisId,
|
|
40
|
+
value
|
|
41
|
+
} = axisValue;
|
|
39
42
|
const yAxis = yAxes.axis[axisId];
|
|
40
43
|
const yScale = yAxis.scale;
|
|
41
44
|
const getYPosition = (0, _getValueToPositionMapper.getValueToPositionMapper)(yScale);
|
|
@@ -46,9 +49,23 @@ function ChartsYHighlight(props) {
|
|
|
46
49
|
console.error([`MUI X Charts: The position value provided for the axis is not valid for the current scale.`, `This probably means something is wrong with the data passed to the chart.`, `The ChartsAxisHighlight component will not be displayed.`].join('\n'));
|
|
47
50
|
}
|
|
48
51
|
}
|
|
52
|
+
let bandStart = 0;
|
|
53
|
+
let bandSize = 0;
|
|
54
|
+
if (isYScaleOrdinal) {
|
|
55
|
+
({
|
|
56
|
+
bandStart,
|
|
57
|
+
bandSize
|
|
58
|
+
} = (0, _getSampledBandHighlight.getSampledBandHighlight)({
|
|
59
|
+
scale: yScale,
|
|
60
|
+
value,
|
|
61
|
+
dataIndex: axisValue.dataIndex,
|
|
62
|
+
data: yAxis.data,
|
|
63
|
+
bucketSize: bucketSizeByAxis.get(axisId) ?? 1
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
49
66
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
50
67
|
children: [isYScaleOrdinal && yScale(value) !== undefined && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChartsAxisHighlightPath.ChartsAxisHighlightPath, {
|
|
51
|
-
d: `M ${left} ${
|
|
68
|
+
d: `M ${left} ${bandStart} l 0 ${bandSize} l ${width} 0 l 0 ${-bandSize} Z`,
|
|
52
69
|
className: classes.root,
|
|
53
70
|
ownerState: {
|
|
54
71
|
axisHighlight: 'band'
|
|
@@ -4,9 +4,10 @@ import * as React from 'react';
|
|
|
4
4
|
import { getValueToPositionMapper } from "../hooks/getValueToPositionMapper.mjs";
|
|
5
5
|
import { isOrdinalScale } from "../internals/scaleGuards.mjs";
|
|
6
6
|
import { useStore } from "../internals/store/useStore.mjs";
|
|
7
|
-
import { selectorChartsHighlightYAxisValue, selectorChartYAxis } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs";
|
|
7
|
+
import { selectorChartsHighlightYAxisValue, selectorChartHighlightBucketSize, selectorChartYAxis } from "../internals/plugins/featurePlugins/useChartCartesianAxis/index.mjs";
|
|
8
8
|
import { useDrawingArea } from "../hooks/index.mjs";
|
|
9
9
|
import { ChartsAxisHighlightPath } from "./ChartsAxisHighlightPath.mjs";
|
|
10
|
+
import { getSampledBandHighlight } from "./getSampledBandHighlight.mjs";
|
|
10
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
12
|
/**
|
|
12
13
|
* @ignore - internal component.
|
|
@@ -23,13 +24,15 @@ export default function ChartsYHighlight(props) {
|
|
|
23
24
|
const store = useStore();
|
|
24
25
|
const axisYValues = store.use(selectorChartsHighlightYAxisValue);
|
|
25
26
|
const yAxes = store.use(selectorChartYAxis);
|
|
27
|
+
const bucketSizeByAxis = store.use(selectorChartHighlightBucketSize);
|
|
26
28
|
if (axisYValues.length === 0) {
|
|
27
29
|
return null;
|
|
28
30
|
}
|
|
29
|
-
return axisYValues.map(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
return axisYValues.map(axisValue => {
|
|
32
|
+
const {
|
|
33
|
+
axisId,
|
|
34
|
+
value
|
|
35
|
+
} = axisValue;
|
|
33
36
|
const yAxis = yAxes.axis[axisId];
|
|
34
37
|
const yScale = yAxis.scale;
|
|
35
38
|
const getYPosition = getValueToPositionMapper(yScale);
|
|
@@ -40,9 +43,23 @@ export default function ChartsYHighlight(props) {
|
|
|
40
43
|
console.error([`MUI X Charts: The position value provided for the axis is not valid for the current scale.`, `This probably means something is wrong with the data passed to the chart.`, `The ChartsAxisHighlight component will not be displayed.`].join('\n'));
|
|
41
44
|
}
|
|
42
45
|
}
|
|
46
|
+
let bandStart = 0;
|
|
47
|
+
let bandSize = 0;
|
|
48
|
+
if (isYScaleOrdinal) {
|
|
49
|
+
({
|
|
50
|
+
bandStart,
|
|
51
|
+
bandSize
|
|
52
|
+
} = getSampledBandHighlight({
|
|
53
|
+
scale: yScale,
|
|
54
|
+
value,
|
|
55
|
+
dataIndex: axisValue.dataIndex,
|
|
56
|
+
data: yAxis.data,
|
|
57
|
+
bucketSize: bucketSizeByAxis.get(axisId) ?? 1
|
|
58
|
+
}));
|
|
59
|
+
}
|
|
43
60
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
44
61
|
children: [isYScaleOrdinal && yScale(value) !== undefined && /*#__PURE__*/_jsx(ChartsAxisHighlightPath, {
|
|
45
|
-
d: `M ${left} ${
|
|
62
|
+
d: `M ${left} ${bandStart} l 0 ${bandSize} l ${width} 0 l 0 ${-bandSize} Z`,
|
|
46
63
|
className: classes.root,
|
|
47
64
|
ownerState: {
|
|
48
65
|
axisHighlight: 'band'
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { D3OrdinalScale } from "../models/axis.mjs";
|
|
2
|
+
interface SampledBandHighlightParams {
|
|
3
|
+
scale: D3OrdinalScale;
|
|
4
|
+
/** The highlighted value. */
|
|
5
|
+
value: number | Date;
|
|
6
|
+
/** The data index of the highlighted value, when known (O(1) lookup). */
|
|
7
|
+
dataIndex: number | undefined;
|
|
8
|
+
/** The axis data. */
|
|
9
|
+
data: readonly any[] | undefined;
|
|
10
|
+
/** The number of merged data points per band when the series is sampled. */
|
|
11
|
+
bucketSize: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
15
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSampledBandHighlight({
|
|
18
|
+
scale,
|
|
19
|
+
value,
|
|
20
|
+
dataIndex,
|
|
21
|
+
data,
|
|
22
|
+
bucketSize
|
|
23
|
+
}: SampledBandHighlightParams): {
|
|
24
|
+
bandStart: number;
|
|
25
|
+
bandSize: number;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { D3OrdinalScale } from "../models/axis.js";
|
|
2
|
+
interface SampledBandHighlightParams {
|
|
3
|
+
scale: D3OrdinalScale;
|
|
4
|
+
/** The highlighted value. */
|
|
5
|
+
value: number | Date;
|
|
6
|
+
/** The data index of the highlighted value, when known (O(1) lookup). */
|
|
7
|
+
dataIndex: number | undefined;
|
|
8
|
+
/** The axis data. */
|
|
9
|
+
data: readonly any[] | undefined;
|
|
10
|
+
/** The number of merged data points per band when the series is sampled. */
|
|
11
|
+
bucketSize: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
15
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSampledBandHighlight({
|
|
18
|
+
scale,
|
|
19
|
+
value,
|
|
20
|
+
dataIndex,
|
|
21
|
+
data,
|
|
22
|
+
bucketSize
|
|
23
|
+
}: SampledBandHighlightParams): {
|
|
24
|
+
bandStart: number;
|
|
25
|
+
bandSize: number;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getSampledBandHighlight = getSampledBandHighlight;
|
|
7
|
+
/**
|
|
8
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
9
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
10
|
+
*/
|
|
11
|
+
function getSampledBandHighlight({
|
|
12
|
+
scale,
|
|
13
|
+
value,
|
|
14
|
+
dataIndex,
|
|
15
|
+
data,
|
|
16
|
+
bucketSize
|
|
17
|
+
}) {
|
|
18
|
+
const step = scale.step();
|
|
19
|
+
const halfPadding = (step - scale.bandwidth()) / 2;
|
|
20
|
+
let bandStart = scale(value) - halfPadding;
|
|
21
|
+
let bandSize = step;
|
|
22
|
+
if (bucketSize > 1 && data) {
|
|
23
|
+
const index = dataIndex ?? data.indexOf(value);
|
|
24
|
+
if (index >= 0) {
|
|
25
|
+
const bucketStart = Math.floor(index / bucketSize) * bucketSize;
|
|
26
|
+
const bucketEnd = Math.min(bucketStart + bucketSize - 1, data.length - 1);
|
|
27
|
+
bandStart = scale(data[bucketStart]) - halfPadding;
|
|
28
|
+
bandSize = (bucketEnd - bucketStart + 1) * step;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
bandStart,
|
|
33
|
+
bandSize
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
3
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
4
|
+
*/
|
|
5
|
+
export function getSampledBandHighlight({
|
|
6
|
+
scale,
|
|
7
|
+
value,
|
|
8
|
+
dataIndex,
|
|
9
|
+
data,
|
|
10
|
+
bucketSize
|
|
11
|
+
}) {
|
|
12
|
+
const step = scale.step();
|
|
13
|
+
const halfPadding = (step - scale.bandwidth()) / 2;
|
|
14
|
+
let bandStart = scale(value) - halfPadding;
|
|
15
|
+
let bandSize = step;
|
|
16
|
+
if (bucketSize > 1 && data) {
|
|
17
|
+
const index = dataIndex ?? data.indexOf(value);
|
|
18
|
+
if (index >= 0) {
|
|
19
|
+
const bucketStart = Math.floor(index / bucketSize) * bucketSize;
|
|
20
|
+
const bucketEnd = Math.min(bucketStart + bucketSize - 1, data.length - 1);
|
|
21
|
+
bandStart = scale(data[bucketStart]) - halfPadding;
|
|
22
|
+
bandSize = (bucketEnd - bucketStart + 1) * step;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
bandStart,
|
|
27
|
+
bandSize
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react").JSX.Element[] | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react").JSX.Element[] | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps } from '@mui/material/styles';
|
|
2
3
|
export interface ChartsAxisHighlightValueItemProps {
|
|
3
4
|
x: number;
|
|
@@ -9,5 +10,5 @@ export interface ChartsAxisHighlightValueItemProps {
|
|
|
9
10
|
space: number;
|
|
10
11
|
sx?: SxProps;
|
|
11
12
|
}
|
|
12
|
-
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps):
|
|
13
|
+
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps): React.JSX.Element;
|
|
13
14
|
export { ChartsAxisHighlightValueItem };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps } from '@mui/material/styles';
|
|
2
3
|
export interface ChartsAxisHighlightValueItemProps {
|
|
3
4
|
x: number;
|
|
@@ -9,5 +10,5 @@ export interface ChartsAxisHighlightValueItemProps {
|
|
|
9
10
|
space: number;
|
|
10
11
|
sx?: SxProps;
|
|
11
12
|
}
|
|
12
|
-
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps):
|
|
13
|
+
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps): React.JSX.Element;
|
|
13
14
|
export { ChartsAxisHighlightValueItem };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface ChartsBrushOverlayProps {
|
|
2
3
|
/**
|
|
3
4
|
* A CSS class name applied to the root element.
|
|
@@ -7,7 +8,7 @@ export interface ChartsBrushOverlayProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Component that renders visual feedback during brush interaction
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps):
|
|
11
|
+
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps): React.JSX.Element | null;
|
|
11
12
|
declare namespace ChartsBrushOverlay {
|
|
12
13
|
var propTypes: any;
|
|
13
14
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface ChartsBrushOverlayProps {
|
|
2
3
|
/**
|
|
3
4
|
* A CSS class name applied to the root element.
|
|
@@ -7,7 +8,7 @@ export interface ChartsBrushOverlayProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Component that renders visual feedback during brush interaction
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps):
|
|
11
|
+
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps): React.JSX.Element | null;
|
|
11
12
|
declare namespace ChartsBrushOverlay {
|
|
12
13
|
var propTypes: any;
|
|
13
14
|
}
|
|
@@ -20,7 +20,7 @@ export type ChartsClipPathProps = {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsClipPath API](https://mui.com/x/api/charts/charts-clip-path/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsClipPath(props: ChartsClipPathProps): import("react
|
|
23
|
+
declare function ChartsClipPath(props: ChartsClipPathProps): import("react").JSX.Element;
|
|
24
24
|
declare namespace ChartsClipPath {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -20,7 +20,7 @@ export type ChartsClipPathProps = {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsClipPath API](https://mui.com/x/api/charts/charts-clip-path/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsClipPath(props: ChartsClipPathProps): import("react
|
|
23
|
+
declare function ChartsClipPath(props: ChartsClipPathProps): import("react").JSX.Element;
|
|
24
24
|
declare namespace ChartsClipPath {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSe
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>):
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSe
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>):
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsGrid API](https://mui.com/x/api/charts/charts-axis/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsGrid(inProps: ChartsGridProps): import("react
|
|
29
|
+
declare function ChartsGrid(inProps: ChartsGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsGrid API](https://mui.com/x/api/charts/charts-axis/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsGrid(inProps: ChartsGridProps): import("react
|
|
29
|
+
declare function ChartsGrid(inProps: ChartsGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedYAxis } from "../models/axis.mjs";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.mjs";
|
|
3
4
|
interface ChartsGridHorizontalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridHorizontalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps):
|
|
13
|
+
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedYAxis } from "../models/axis.js";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.js";
|
|
3
4
|
interface ChartsGridHorizontalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridHorizontalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps):
|
|
13
|
+
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedXAxis } from "../models/axis.mjs";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.mjs";
|
|
3
4
|
interface ChartsGridVerticalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridVerticalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridVertical(props: ChartsGridVerticalProps):
|
|
13
|
+
export declare function ChartsGridVertical(props: ChartsGridVerticalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedXAxis } from "../models/axis.js";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.js";
|
|
3
4
|
interface ChartsGridVerticalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridVerticalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridVertical(props: ChartsGridVerticalProps):
|
|
13
|
+
export declare function ChartsGridVertical(props: ChartsGridVerticalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -20,7 +20,7 @@ export interface ChartsLocalizationProviderProps {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsLocalizationProvider API](https://mui.com/x/api/charts/charts-localization-provider/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps):
|
|
23
|
+
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps): React.JSX.Element;
|
|
24
24
|
declare namespace ChartsLocalizationProvider {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -20,7 +20,7 @@ export interface ChartsLocalizationProviderProps {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsLocalizationProvider API](https://mui.com/x/api/charts/charts-localization-provider/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps):
|
|
23
|
+
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps): React.JSX.Element;
|
|
24
24
|
declare namespace ChartsLocalizationProvider {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.mjs";
|
|
2
|
-
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.js";
|
|
2
|
-
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.mjs";
|
|
2
|
-
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.js";
|
|
2
|
-
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -39,4 +39,4 @@ export interface ChartsOverlayProps {
|
|
|
39
39
|
*/
|
|
40
40
|
slotProps?: ChartsOverlaySlotProps;
|
|
41
41
|
}
|
|
42
|
-
export declare function ChartsOverlay(props: ChartsOverlayProps):
|
|
42
|
+
export declare function ChartsOverlay(props: ChartsOverlayProps): React.JSX.Element | null;
|
|
@@ -39,4 +39,4 @@ export interface ChartsOverlayProps {
|
|
|
39
39
|
*/
|
|
40
40
|
slotProps?: ChartsOverlaySlotProps;
|
|
41
41
|
}
|
|
42
|
-
export declare function ChartsOverlay(props: ChartsOverlayProps):
|
|
42
|
+
export declare function ChartsOverlay(props: ChartsOverlayProps): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* Demos:
|
|
@@ -8,7 +9,7 @@ import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight
|
|
|
8
9
|
*
|
|
9
10
|
* - [ChartsRadialAxisHighlight API](https://mui.com/x/api/charts/charts-radial-axis-highlight/)
|
|
10
11
|
*/
|
|
11
|
-
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps):
|
|
12
|
+
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps): React.JSX.Element;
|
|
12
13
|
declare namespace ChartsRadialAxisHighlight {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
/**
|
|
3
4
|
* Demos:
|
|
@@ -8,7 +9,7 @@ import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight
|
|
|
8
9
|
*
|
|
9
10
|
* - [ChartsRadialAxisHighlight API](https://mui.com/x/api/charts/charts-radial-axis-highlight/)
|
|
10
11
|
*/
|
|
11
|
-
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps):
|
|
12
|
+
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps): React.JSX.Element;
|
|
12
13
|
declare namespace ChartsRadialAxisHighlight {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRadiusType } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.mjs";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRadiusAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRadiusType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRadiusType } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.js";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRadiusAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRadiusType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRotationType } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.mjs";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRotationAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRotationType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRotationType } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.js";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRotationAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRotationType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -31,7 +31,7 @@ export type ChartsRadialDataProviderProps<SeriesType extends PolarChartSeriesTyp
|
|
|
31
31
|
*
|
|
32
32
|
* - [ChartsRadialDataProvider API](https://mui.com/x/api/charts/charts-radial-data-provider/)
|
|
33
33
|
*/
|
|
34
|
-
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>):
|
|
34
|
+
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
35
35
|
declare namespace ChartsRadialDataProvider {
|
|
36
36
|
var propTypes: any;
|
|
37
37
|
}
|
|
@@ -31,7 +31,7 @@ export type ChartsRadialDataProviderProps<SeriesType extends PolarChartSeriesTyp
|
|
|
31
31
|
*
|
|
32
32
|
* - [ChartsRadialDataProvider API](https://mui.com/x/api/charts/charts-radial-data-provider/)
|
|
33
33
|
*/
|
|
34
|
-
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>):
|
|
34
|
+
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
35
35
|
declare namespace ChartsRadialDataProvider {
|
|
36
36
|
var propTypes: any;
|
|
37
37
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsRadialGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsRadialGrid API](https://mui.com/x/api/charts/charts-radial-grid/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react
|
|
29
|
+
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsRadialGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsRadialGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsRadialGrid API](https://mui.com/x/api/charts/charts-radial-grid/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react
|
|
29
|
+
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsRadialGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.mjs";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.mjs";
|
|
3
4
|
interface ChartsRadiusGridProps {
|
|
@@ -10,5 +11,5 @@ interface ChartsRadiusGridProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* @ignore - internal component.
|
|
12
13
|
*/
|
|
13
|
-
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps):
|
|
14
|
+
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps): React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.js";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.js";
|
|
3
4
|
interface ChartsRadiusGridProps {
|
|
@@ -10,5 +11,5 @@ interface ChartsRadiusGridProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* @ignore - internal component.
|
|
12
13
|
*/
|
|
13
|
-
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps):
|
|
14
|
+
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps): React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.mjs";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.mjs";
|
|
3
4
|
interface ChartsRotationGridProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsRotationGridProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsRotationGrid(props: ChartsRotationGridProps):
|
|
13
|
+
export declare function ChartsRotationGrid(props: ChartsRotationGridProps): React.JSX.Element;
|
|
13
14
|
export {};
|