@mui/x-charts 9.8.0 → 9.10.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/barClasses.d.mts +1 -1
- package/BarChart/barClasses.d.ts +1 -1
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.mts +10 -10
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +10 -10
- 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 +230 -0
- 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/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.mts +1 -1
- package/ChartsAxisHighlightValue/chartsAxisHighlightValueClasses.d.ts +1 -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/ChartsDataProvider/useChartsDataProviderProps.d.mts +1 -1
- package/ChartsDataProvider/useChartsDataProviderProps.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/ChartsLabel/labelGradientClasses.d.mts +1 -1
- package/ChartsLabel/labelGradientClasses.d.ts +1 -1
- package/ChartsLabel/labelMarkClasses.d.mts +1 -1
- package/ChartsLabel/labelMarkClasses.d.ts +1 -1
- package/ChartsLegend/chartsLegend.types.d.mts +2 -1
- package/ChartsLegend/chartsLegend.types.d.ts +2 -1
- package/ChartsLegend/chartsLegendClasses.d.mts +1 -1
- package/ChartsLegend/chartsLegendClasses.d.ts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.mts +1 -1
- package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.mts +1 -1
- package/ChartsLegend/piecewiseColorLegendClasses.d.ts +1 -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/ChartsRadialDataProvider/useChartsRadialDataProviderProps.d.mts +1 -1
- package/ChartsRadialDataProvider/useChartsRadialDataProviderProps.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/ChartsRadiusAxis/chartsRadiusAxisClasses.d.mts +1 -1
- package/ChartsRadiusAxis/chartsRadiusAxisClasses.d.ts +1 -1
- package/ChartsRadiusAxis/createGetLabelTextAnchors.d.mts +6 -6
- package/ChartsRadiusAxis/createGetLabelTextAnchors.d.ts +6 -6
- package/ChartsReferenceLine/ChartsReferenceLine.d.mts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -1
- package/ChartsReferenceLine/ChartsXReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.mts +2 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +2 -2
- package/ChartsRotationAxis/ChartsRotationAxis.d.mts +1 -1
- package/ChartsRotationAxis/ChartsRotationAxis.d.ts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.mts +1 -1
- package/ChartsRotationAxis/chartsRotationAxisClasses.d.ts +1 -1
- package/ChartsText/ChartsText.d.mts +1 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsTooltip/ChartTooltip.types.d.mts +2 -1
- package/ChartsTooltip/ChartTooltip.types.d.ts +2 -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 +5 -2
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +5 -2
- package/ChartsTooltip/ChartsTooltipContainer.js +1 -5
- package/ChartsTooltip/ChartsTooltipContainer.mjs +2 -6
- package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/chartsTooltipClasses.d.mts +1 -1
- package/ChartsTooltip/chartsTooltipClasses.d.ts +1 -1
- package/ChartsTooltip/useItemTooltip.d.mts +1 -1
- package/ChartsTooltip/useItemTooltip.d.ts +1 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.mts +2 -1
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +2 -1
- 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/ChartsXAxis/useAxisTicksProps.d.mts +2573 -2573
- package/ChartsXAxis/useAxisTicksProps.d.ts +2573 -2573
- package/ChartsXAxis/utilities.d.mts +1 -1
- package/ChartsXAxis/utilities.d.ts +1 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.mts +2 -1
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +2 -1
- 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/ChartsYAxis/useAxisTicksProps.d.mts +2573 -2573
- package/ChartsYAxis/useAxisTicksProps.d.ts +2573 -2573
- package/ChartsYAxis/utilities.d.mts +1 -1
- package/ChartsYAxis/utilities.d.ts +1 -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 +4 -4
- package/LineChart/AreaPlot.d.ts +4 -4
- package/LineChart/AreaPlot.js +4 -5
- package/LineChart/AreaPlot.mjs +4 -5
- 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 +4 -4
- package/LineChart/LinePlot.d.ts +4 -4
- package/LineChart/LinePlot.js +7 -7
- package/LineChart/LinePlot.mjs +7 -7
- package/LineChart/MarkElement.d.mts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkPlot.d.mts +6 -5
- package/LineChart/MarkPlot.d.ts +6 -5
- package/LineChart/MarkPlot.js +1 -1
- package/LineChart/MarkPlot.mjs +1 -1
- package/LineChart/lineClasses.d.mts +1 -1
- package/LineChart/lineClasses.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/useLineItemClickHandler.d.mts +12 -0
- package/LineChart/useLineItemClickHandler.d.ts +12 -0
- package/LineChart/useLineItemClickHandler.js +54 -0
- package/LineChart/useLineItemClickHandler.mjs +48 -0
- 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 +3 -2
- package/PieChart/PieArcLabelPlot.d.ts +3 -2
- package/PieChart/PieArcPlot.d.mts +3 -2
- package/PieChart/PieArcPlot.d.ts +3 -2
- package/PieChart/PiePlot.d.mts +1 -1
- package/PieChart/PiePlot.d.ts +1 -1
- package/PieChart/pieClasses.d.mts +1 -1
- package/PieChart/pieClasses.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/RadarAxis/RadarAxis.utils.d.mts +5 -5
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +5 -5
- 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/RadarSeriesPlot/useInteractionAllItemProps.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useInteractionAllItemProps.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +12 -12
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +12 -12
- package/RadarChart/radarClasses.d.mts +1 -1
- package/RadarChart/radarClasses.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/RadarChart/useRadarChartProps.d.mts +1 -1
- package/RadarChart/useRadarChartProps.d.ts +1 -1
- 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/ScatterChart.d.mts +2 -1
- package/ScatterChart/ScatterChart.d.ts +2 -1
- package/ScatterChart/ScatterMarker.d.mts +1 -1
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterMarker.types.d.mts +2 -1
- package/ScatterChart/ScatterMarker.types.d.ts +2 -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/scatterClasses.d.mts +1 -1
- package/ScatterChart/scatterClasses.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/ScatterChart/useScatterPlotData.d.mts +1 -1
- package/ScatterChart/useScatterPlotData.d.ts +1 -1
- package/SparkLineChart/SparkLineChart.d.mts +1 -1
- package/SparkLineChart/SparkLineChart.d.ts +1 -1
- package/Toolbar/Toolbar.types.d.mts +2 -1
- package/Toolbar/Toolbar.types.d.ts +2 -1
- 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/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/colorScale.d.mts +1 -1
- package/internals/colorScale.d.ts +1 -1
- 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/configInit.d.mts +1 -1
- package/internals/configInit.d.ts +1 -1
- package/internals/consumeSlots.d.mts +1 -1
- package/internals/consumeSlots.d.ts +1 -1
- package/internals/consumeThemeProps.d.mts +1 -1
- package/internals/consumeThemeProps.d.ts +1 -1
- package/internals/createCommonKeyboardFocusHandler.d.mts +1 -1
- package/internals/createCommonKeyboardFocusHandler.d.ts +1 -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/getGraphemeCount.d.mts +2 -2
- package/internals/getGraphemeCount.d.ts +2 -2
- package/internals/getGroupingConfig.d.mts +1 -1
- package/internals/getGroupingConfig.d.ts +1 -1
- package/internals/identifierCleaner.d.mts +1 -1
- package/internals/identifierCleaner.d.ts +1 -1
- 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/invertScale.d.mts +1 -1
- package/internals/invertScale.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +4 -4
- 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 +11 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +11 -6
- 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/useChartBrush/useChartBrush.selectors.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/createZoomLookup.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.mts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/defaultizeZoom.d.ts +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisDomainLimit.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
- 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/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +70 -70
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +70 -70
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.mts +78 -78
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +78 -78
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +7 -7
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +7 -7
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartItemClick/useChartItemClick.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.mts +4 -9
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.d.ts +4 -9
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.js +2 -53
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +2 -53
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.mts +1 -1
- package/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.d.ts +1 -1
- package/internals/seriesSelectorOfType.d.mts +6 -6
- package/internals/seriesSelectorOfType.d.ts +6 -6
- package/internals/sizeScale.d.mts +1 -1
- package/internals/sizeScale.d.ts +1 -1
- package/internals/sliceUntil.d.mts +2 -2
- package/internals/sliceUntil.d.ts +2 -2
- package/models/axis.d.mts +5 -4
- package/models/axis.d.ts +5 -4
- package/models/seriesType/config.d.mts +8 -4
- package/models/seriesType/config.d.ts +8 -4
- package/models/seriesType/index.d.mts +1 -1
- package/models/seriesType/index.d.ts +1 -1
- package/models/seriesType/line.d.mts +14 -1
- package/models/seriesType/line.d.ts +14 -1
- package/package.json +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +0 -45
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +0 -45
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.mts +0 -48
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.selectors.d.ts +0 -48
- 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 -73
- package/internals/plugins/featurePlugins/useGeoProjection/useGeoProjection.types.d.ts +0 -73
- /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
|
@@ -1,16 +1,47 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import * as React from 'react';
|
|
2
4
|
import { warnOnce } from '@mui/x-internals/warning';
|
|
3
5
|
import { line as d3Line } from '@mui/x-charts-vendor/d3-shape';
|
|
4
6
|
import { useChartGradientIdBuilder } from "../hooks/useChartGradientId.mjs";
|
|
5
7
|
import { isOrdinalScale } from "../internals/scaleGuards.mjs";
|
|
8
|
+
import { selectorChartSamplingState, selectorChartSamplingPyramids, getFullRangeZoom } from "../internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs";
|
|
9
|
+
import { selectorChartZoomMap, selectorChartZoomOptionsLookup } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs";
|
|
10
|
+
import { selectorChartSeriesConfig } from "../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
|
|
11
|
+
import { useStore } from "../internals/store/useStore.mjs";
|
|
6
12
|
import { getCurveFactory } from "../internals/getCurve.mjs";
|
|
7
|
-
import { getValueToPositionMapper, useLineSeriesContext, useXAxes, useYAxes } from "../hooks/index.mjs";
|
|
13
|
+
import { getValueToPositionMapper, useDrawingArea, useLineSeriesContext, useXAxes, useYAxes } from "../hooks/index.mjs";
|
|
8
14
|
import { DEFAULT_X_AXIS_KEY } from "../constants/index.mjs";
|
|
9
|
-
export function useLinePlotData(xAxes, yAxes
|
|
15
|
+
export function useLinePlotData(xAxes, yAxes,
|
|
16
|
+
/**
|
|
17
|
+
* Overrides the zoom span and pixel size used for sampling. The zoom-slider preview passes its
|
|
18
|
+
* full-range zoom and own width so its density stays stable while the main chart zooms, instead
|
|
19
|
+
* of reading the active zoom from the store.
|
|
20
|
+
*/
|
|
21
|
+
samplingOverride) {
|
|
10
22
|
const seriesData = useLineSeriesContext();
|
|
11
23
|
const defaultXAxisId = useXAxes().xAxisIds[0];
|
|
12
24
|
const defaultYAxisId = useYAxes().yAxisIds[0];
|
|
13
25
|
const getGradientId = useChartGradientIdBuilder();
|
|
26
|
+
const drawingArea = useDrawingArea();
|
|
27
|
+
const store = useStore();
|
|
28
|
+
const samplingState = store.use(selectorChartSamplingState);
|
|
29
|
+
const sampledSeries = store.use(selectorChartSamplingPyramids);
|
|
30
|
+
const activeZoomMap = store.use(selectorChartZoomMap);
|
|
31
|
+
const zoomOptions = store.use(selectorChartZoomOptionsLookup);
|
|
32
|
+
const sampler = store.use(selectorChartSeriesConfig).line?.sampler;
|
|
33
|
+
const zoomMap = samplingOverride?.zoomMap ?? activeZoomMap;
|
|
34
|
+
const samplingSize = samplingOverride?.availableSize ?? drawingArea.width;
|
|
35
|
+
|
|
36
|
+
// Skip the line animation while sampling is on, plus the first render after it turns off: the
|
|
37
|
+
// point count changes, so the path would morph.
|
|
38
|
+
const lineMethod = samplingState?.methods.line;
|
|
39
|
+
const samplingEnabled = lineMethod != null && lineMethod !== 'none';
|
|
40
|
+
const wasSamplingEnabled = React.useRef(samplingEnabled);
|
|
41
|
+
const skipSamplingAnimation = samplingEnabled || wasSamplingEnabled.current;
|
|
42
|
+
React.useEffect(() => {
|
|
43
|
+
wasSamplingEnabled.current = samplingEnabled;
|
|
44
|
+
}, [samplingEnabled]);
|
|
14
45
|
|
|
15
46
|
// This memo prevents odd line chart behavior when hydrating.
|
|
16
47
|
const allData = React.useMemo(() => {
|
|
@@ -54,39 +85,65 @@ export function useLinePlotData(xAxes, yAxes) {
|
|
|
54
85
|
}
|
|
55
86
|
}
|
|
56
87
|
const shouldExpand = curve?.includes('step') && !strictStepCurve && isOrdinalScale(xScale);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
88
|
+
|
|
89
|
+
// Only the plain (non-step) path is sampled; step expansion falls back to the full render.
|
|
90
|
+
const built = sampledSeries[seriesId];
|
|
91
|
+
const zoom = zoomMap?.get(xAxisId) ?? (built ? getFullRangeZoom(xAxisId) : undefined);
|
|
92
|
+
let sampledBuckets = null;
|
|
93
|
+
if (samplingEnabled && built && zoom && !shouldExpand && xData) {
|
|
94
|
+
// Pro owns the sampling math; community flattens the buckets into a polyline.
|
|
95
|
+
sampledBuckets = sampler?.sample?.({
|
|
96
|
+
built,
|
|
97
|
+
zoom,
|
|
98
|
+
availableSize: samplingSize,
|
|
99
|
+
minSpan: zoomOptions[xAxisId]?.minSpan ?? 0,
|
|
100
|
+
algorithm: lineMethod,
|
|
101
|
+
getValues: () => Float64Array.from(visibleStackedData, point => point[1])
|
|
102
|
+
}) ?? null;
|
|
103
|
+
}
|
|
104
|
+
let formattedData;
|
|
105
|
+
if (sampledBuckets) {
|
|
106
|
+
// Buckets already hold the indices to render; flatten them.
|
|
107
|
+
formattedData = sampledBuckets.flatMap(bucket => Array.from(bucket.indices, index => ({
|
|
108
|
+
x: xData[index],
|
|
109
|
+
y: visibleStackedData[index],
|
|
110
|
+
nullData: data[index] == null
|
|
111
|
+
})));
|
|
112
|
+
} else {
|
|
113
|
+
formattedData = xData?.flatMap((x, index) => {
|
|
114
|
+
const nullData = data[index] == null;
|
|
115
|
+
if (shouldExpand) {
|
|
116
|
+
const rep = [{
|
|
117
|
+
x,
|
|
77
118
|
y: visibleStackedData[index],
|
|
78
119
|
nullData,
|
|
79
|
-
isExtension:
|
|
80
|
-
}
|
|
120
|
+
isExtension: false
|
|
121
|
+
}];
|
|
122
|
+
if (!nullData && (index === 0 || data[index - 1] == null)) {
|
|
123
|
+
rep.unshift({
|
|
124
|
+
x: (xScale(x) ?? 0) - (xScale.step() - xScale.bandwidth()) / 2,
|
|
125
|
+
y: visibleStackedData[index],
|
|
126
|
+
nullData,
|
|
127
|
+
isExtension: true
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
if (!nullData && (index === data.length - 1 || data[index + 1] == null)) {
|
|
131
|
+
rep.push({
|
|
132
|
+
x: (xScale(x) ?? 0) + (xScale.step() + xScale.bandwidth()) / 2,
|
|
133
|
+
y: visibleStackedData[index],
|
|
134
|
+
nullData,
|
|
135
|
+
isExtension: true
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
return rep;
|
|
81
139
|
}
|
|
82
|
-
return
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}) ?? [];
|
|
140
|
+
return {
|
|
141
|
+
x,
|
|
142
|
+
y: visibleStackedData[index],
|
|
143
|
+
nullData
|
|
144
|
+
};
|
|
145
|
+
}) ?? [];
|
|
146
|
+
}
|
|
90
147
|
const d3Data = connectNulls ? formattedData.filter(d => !d.nullData) : formattedData;
|
|
91
148
|
const hidden = series[seriesId].hidden;
|
|
92
149
|
const linePath = d3Line().x(d => d.isExtension ? d.x : xPosition(d.x)).defined(d => connectNulls || !d.nullData || !!d.isExtension).y(d => {
|
|
@@ -101,11 +158,12 @@ export function useLinePlotData(xAxes, yAxes) {
|
|
|
101
158
|
gradientId,
|
|
102
159
|
d,
|
|
103
160
|
seriesId,
|
|
104
|
-
hidden: series[seriesId].hidden
|
|
161
|
+
hidden: series[seriesId].hidden,
|
|
162
|
+
isSampled: skipSamplingAnimation
|
|
105
163
|
});
|
|
106
164
|
}
|
|
107
165
|
}
|
|
108
166
|
return linePlotData;
|
|
109
|
-
}, [seriesData, defaultXAxisId, defaultYAxisId, xAxes, yAxes, getGradientId]);
|
|
167
|
+
}, [seriesData, defaultXAxisId, defaultYAxisId, xAxes, yAxes, getGradientId, samplingEnabled, lineMethod, sampledSeries, zoomMap, samplingSize, zoomOptions, sampler, skipSamplingAnimation]);
|
|
110
168
|
return allData;
|
|
111
169
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PieArcProps } from "./PieArc.mjs";
|
|
2
|
-
declare function FocusedPieArc(props: Partial<Omit<PieArcProps, 'startAngle' | 'endAngle' | 'seriesId' | 'dataIndex' | 'isFaded' | 'isHighlighted' | 'isFocused'>>): import("react
|
|
2
|
+
declare function FocusedPieArc(props: Partial<Omit<PieArcProps, 'startAngle' | 'endAngle' | 'seriesId' | 'dataIndex' | 'isFaded' | 'isHighlighted' | 'isFocused'>>): import("react").JSX.Element | null;
|
|
3
3
|
declare namespace FocusedPieArc {
|
|
4
4
|
var propTypes: any;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PieArcProps } from "./PieArc.js";
|
|
2
|
-
declare function FocusedPieArc(props: Partial<Omit<PieArcProps, 'startAngle' | 'endAngle' | 'seriesId' | 'dataIndex' | 'isFaded' | 'isHighlighted' | 'isFocused'>>): import("react
|
|
2
|
+
declare function FocusedPieArc(props: Partial<Omit<PieArcProps, 'startAngle' | 'endAngle' | 'seriesId' | 'dataIndex' | 'isFaded' | 'isHighlighted' | 'isFocused'>>): import("react").JSX.Element | null;
|
|
3
3
|
declare namespace FocusedPieArc {
|
|
4
4
|
var propTypes: any;
|
|
5
5
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ComputedPieRadius, DefaultizedPieSeriesType } from "../models/seriesType/pie.mjs";
|
|
3
4
|
import type { PieArcLabelProps } from "./PieArcLabel.mjs";
|
|
4
5
|
import type { PieArcLabelPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs";
|
|
@@ -6,7 +7,7 @@ export interface PieArcLabelPlotSlots {
|
|
|
6
7
|
pieArcLabel?: React.JSXElementConstructor<PieArcLabelProps & PieArcLabelPropsOverrides>;
|
|
7
8
|
}
|
|
8
9
|
export interface PieArcLabelPlotSlotProps {
|
|
9
|
-
pieArcLabel?: Partial<PieArcLabelProps> & PieArcLabelPropsOverrides
|
|
10
|
+
pieArcLabel?: WithDataAttributes<Partial<PieArcLabelProps> & PieArcLabelPropsOverrides>;
|
|
10
11
|
}
|
|
11
12
|
export interface PieArcLabelPlotProps extends Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'cornerRadius' | 'paddingAngle' | 'arcLabel' | 'arcLabelMinAngle'>, ComputedPieRadius {
|
|
12
13
|
/**
|
|
@@ -34,7 +35,7 @@ export interface PieArcLabelPlotProps extends Pick<DefaultizedPieSeriesType, 'da
|
|
|
34
35
|
*/
|
|
35
36
|
skipAnimation?: boolean;
|
|
36
37
|
}
|
|
37
|
-
declare function PieArcLabelPlot(props: PieArcLabelPlotProps):
|
|
38
|
+
declare function PieArcLabelPlot(props: PieArcLabelPlotProps): React.JSX.Element | null;
|
|
38
39
|
declare namespace PieArcLabelPlot {
|
|
39
40
|
var propTypes: any;
|
|
40
41
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { ComputedPieRadius, DefaultizedPieSeriesType } from "../models/seriesType/pie.js";
|
|
3
4
|
import type { PieArcLabelProps } from "./PieArcLabel.js";
|
|
4
5
|
import type { PieArcLabelPropsOverrides } from "../models/chartsSlotsComponentsProps.js";
|
|
@@ -6,7 +7,7 @@ export interface PieArcLabelPlotSlots {
|
|
|
6
7
|
pieArcLabel?: React.JSXElementConstructor<PieArcLabelProps & PieArcLabelPropsOverrides>;
|
|
7
8
|
}
|
|
8
9
|
export interface PieArcLabelPlotSlotProps {
|
|
9
|
-
pieArcLabel?: Partial<PieArcLabelProps> & PieArcLabelPropsOverrides
|
|
10
|
+
pieArcLabel?: WithDataAttributes<Partial<PieArcLabelProps> & PieArcLabelPropsOverrides>;
|
|
10
11
|
}
|
|
11
12
|
export interface PieArcLabelPlotProps extends Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'cornerRadius' | 'paddingAngle' | 'arcLabel' | 'arcLabelMinAngle'>, ComputedPieRadius {
|
|
12
13
|
/**
|
|
@@ -34,7 +35,7 @@ export interface PieArcLabelPlotProps extends Pick<DefaultizedPieSeriesType, 'da
|
|
|
34
35
|
*/
|
|
35
36
|
skipAnimation?: boolean;
|
|
36
37
|
}
|
|
37
|
-
declare function PieArcLabelPlot(props: PieArcLabelPlotProps):
|
|
38
|
+
declare function PieArcLabelPlot(props: PieArcLabelPlotProps): React.JSX.Element | null;
|
|
38
39
|
declare namespace PieArcLabelPlot {
|
|
39
40
|
var propTypes: any;
|
|
40
41
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { PieArcProps } from "./PieArc.mjs";
|
|
3
4
|
import type { ComputedPieRadius, DefaultizedPieSeriesType, DefaultizedPieValueType, PieItemIdentifier } from "../models/seriesType/pie.mjs";
|
|
4
5
|
import type { PieArcPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs";
|
|
@@ -6,7 +7,7 @@ export interface PieArcPlotSlots {
|
|
|
6
7
|
pieArc?: React.JSXElementConstructor<PieArcProps & PieArcPropsOverrides>;
|
|
7
8
|
}
|
|
8
9
|
export interface PieArcPlotSlotProps {
|
|
9
|
-
pieArc?: Partial<PieArcProps> & PieArcPropsOverrides
|
|
10
|
+
pieArc?: WithDataAttributes<Partial<PieArcProps> & PieArcPropsOverrides>;
|
|
10
11
|
}
|
|
11
12
|
export interface PieArcPlotProps extends Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'cornerRadius' | 'paddingAngle'>, ComputedPieRadius {
|
|
12
13
|
/**
|
|
@@ -41,7 +42,7 @@ export interface PieArcPlotProps extends Pick<DefaultizedPieSeriesType, 'data' |
|
|
|
41
42
|
*/
|
|
42
43
|
skipAnimation?: boolean;
|
|
43
44
|
}
|
|
44
|
-
declare function PieArcPlot(props: PieArcPlotProps):
|
|
45
|
+
declare function PieArcPlot(props: PieArcPlotProps): React.JSX.Element | null;
|
|
45
46
|
declare namespace PieArcPlot {
|
|
46
47
|
var propTypes: any;
|
|
47
48
|
}
|
package/PieChart/PieArcPlot.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { WithDataAttributes } from '@mui/utils/types';
|
|
2
3
|
import type { PieArcProps } from "./PieArc.js";
|
|
3
4
|
import type { ComputedPieRadius, DefaultizedPieSeriesType, DefaultizedPieValueType, PieItemIdentifier } from "../models/seriesType/pie.js";
|
|
4
5
|
import type { PieArcPropsOverrides } from "../models/chartsSlotsComponentsProps.js";
|
|
@@ -6,7 +7,7 @@ export interface PieArcPlotSlots {
|
|
|
6
7
|
pieArc?: React.JSXElementConstructor<PieArcProps & PieArcPropsOverrides>;
|
|
7
8
|
}
|
|
8
9
|
export interface PieArcPlotSlotProps {
|
|
9
|
-
pieArc?: Partial<PieArcProps> & PieArcPropsOverrides
|
|
10
|
+
pieArc?: WithDataAttributes<Partial<PieArcProps> & PieArcPropsOverrides>;
|
|
10
11
|
}
|
|
11
12
|
export interface PieArcPlotProps extends Pick<DefaultizedPieSeriesType, 'data' | 'faded' | 'highlighted' | 'cornerRadius' | 'paddingAngle'>, ComputedPieRadius {
|
|
12
13
|
/**
|
|
@@ -41,7 +42,7 @@ export interface PieArcPlotProps extends Pick<DefaultizedPieSeriesType, 'data' |
|
|
|
41
42
|
*/
|
|
42
43
|
skipAnimation?: boolean;
|
|
43
44
|
}
|
|
44
|
-
declare function PieArcPlot(props: PieArcPlotProps):
|
|
45
|
+
declare function PieArcPlot(props: PieArcPlotProps): React.JSX.Element | null;
|
|
45
46
|
declare namespace PieArcPlot {
|
|
46
47
|
var propTypes: any;
|
|
47
48
|
}
|
package/PieChart/PiePlot.d.mts
CHANGED
|
@@ -25,7 +25,7 @@ export interface PiePlotProps extends Pick<PieArcPlotProps, 'skipAnimation' | 'o
|
|
|
25
25
|
*
|
|
26
26
|
* - [PiePlot API](https://mui.com/x/api/charts/pie-plot/)
|
|
27
27
|
*/
|
|
28
|
-
declare function PiePlot(props: PiePlotProps): import("react
|
|
28
|
+
declare function PiePlot(props: PiePlotProps): import("react").JSX.Element | null;
|
|
29
29
|
declare namespace PiePlot {
|
|
30
30
|
var propTypes: any;
|
|
31
31
|
}
|
package/PieChart/PiePlot.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface PiePlotProps extends Pick<PieArcPlotProps, 'skipAnimation' | 'o
|
|
|
25
25
|
*
|
|
26
26
|
* - [PiePlot API](https://mui.com/x/api/charts/pie-plot/)
|
|
27
27
|
*/
|
|
28
|
-
declare function PiePlot(props: PiePlotProps): import("react
|
|
28
|
+
declare function PiePlot(props: PiePlotProps): import("react").JSX.Element | null;
|
|
29
29
|
declare namespace PiePlot {
|
|
30
30
|
var propTypes: any;
|
|
31
31
|
}
|
|
@@ -30,4 +30,4 @@ export declare const pieClasses: PieClasses;
|
|
|
30
30
|
export declare const useUtilityClasses: (options?: {
|
|
31
31
|
classes?: Partial<PieClasses>;
|
|
32
32
|
skipAnimation?: boolean;
|
|
33
|
-
}) => Record<"
|
|
33
|
+
}) => Record<"arc" | "arcLabel" | "focusIndicator" | "root" | "series" | "seriesLabels", string>;
|
package/PieChart/pieClasses.d.ts
CHANGED
|
@@ -30,4 +30,4 @@ export declare const pieClasses: PieClasses;
|
|
|
30
30
|
export declare const useUtilityClasses: (options?: {
|
|
31
31
|
classes?: Partial<PieClasses>;
|
|
32
32
|
skipAnimation?: boolean;
|
|
33
|
-
}) => Record<"
|
|
33
|
+
}) => Record<"arc" | "arcLabel" | "focusIndicator" | "root" | "series" | "seriesLabels", string>;
|
|
@@ -11,7 +11,7 @@ var _legend = _interopRequireDefault(require("./legend"));
|
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("./tooltip"));
|
|
12
12
|
var _seriesLayout = _interopRequireDefault(require("./seriesLayout"));
|
|
13
13
|
var _getSeriesWithDefaultValues = _interopRequireDefault(require("./getSeriesWithDefaultValues"));
|
|
14
|
-
var _tooltipPosition =
|
|
14
|
+
var _tooltipPosition = require("./tooltipPosition");
|
|
15
15
|
var _keyboardFocusHandler = _interopRequireDefault(require("./keyboardFocusHandler"));
|
|
16
16
|
var _identifierSerializer = require("../../internals/identifierSerializer");
|
|
17
17
|
var _identifierCleaner = require("../../internals/identifierCleaner");
|
|
@@ -23,7 +23,7 @@ const pieSeriesConfig = exports.pieSeriesConfig = {
|
|
|
23
23
|
seriesLayout: _seriesLayout.default,
|
|
24
24
|
legendGetter: _legend.default,
|
|
25
25
|
tooltipGetter: _tooltip.default,
|
|
26
|
-
|
|
26
|
+
selectorTooltipItemPosition: _tooltipPosition.selectorTooltipItemPosition,
|
|
27
27
|
getSeriesWithDefaultValues: _getSeriesWithDefaultValues.default,
|
|
28
28
|
keyboardFocusHandler: _keyboardFocusHandler.default,
|
|
29
29
|
identifierSerializer: _identifierSerializer.identifierSerializerSeriesIdDataIndex,
|
|
@@ -4,7 +4,7 @@ import legendGetter from "./legend.mjs";
|
|
|
4
4
|
import tooltipGetter from "./tooltip.mjs";
|
|
5
5
|
import seriesLayout from "./seriesLayout.mjs";
|
|
6
6
|
import getSeriesWithDefaultValues from "./getSeriesWithDefaultValues.mjs";
|
|
7
|
-
import
|
|
7
|
+
import { selectorTooltipItemPosition } from "./tooltipPosition.mjs";
|
|
8
8
|
import keyboardFocusHandler from "./keyboardFocusHandler.mjs";
|
|
9
9
|
import { identifierSerializerSeriesIdDataIndex } from "../../internals/identifierSerializer.mjs";
|
|
10
10
|
import { identifierCleanerSeriesIdDataIndex } from "../../internals/identifierCleaner.mjs";
|
|
@@ -16,7 +16,7 @@ export const pieSeriesConfig = {
|
|
|
16
16
|
seriesLayout,
|
|
17
17
|
legendGetter,
|
|
18
18
|
tooltipGetter,
|
|
19
|
-
|
|
19
|
+
selectorTooltipItemPosition,
|
|
20
20
|
getSeriesWithDefaultValues,
|
|
21
21
|
keyboardFocusHandler,
|
|
22
22
|
identifierSerializer: identifierSerializerSeriesIdDataIndex,
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from "../../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'pie'>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const
|
|
3
|
-
export default tooltipItemPositionGetter;
|
|
1
|
+
import type { TooltipItemPositionSelector } from "../../internals/plugins/corePlugins/useChartSeriesConfig/index.js";
|
|
2
|
+
export declare const selectorTooltipItemPosition: TooltipItemPositionSelector<'pie'>;
|
|
@@ -3,16 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.selectorTooltipItemPosition = void 0;
|
|
7
|
+
var _store = require("@mui/x-internals/store");
|
|
7
8
|
var _findMinMax = require("../../internals/findMinMax");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
placement,
|
|
13
|
-
seriesLayout
|
|
14
|
-
} = params;
|
|
15
|
-
if (!identifier || identifier.dataIndex === undefined) {
|
|
9
|
+
var _useChartTooltip = require("../../internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors");
|
|
10
|
+
var _useChartSeries = require("../../internals/plugins/corePlugins/useChartSeries");
|
|
11
|
+
const selectorTooltipItemPosition = exports.selectorTooltipItemPosition = (0, _store.createSelectorMemoized)(_useChartTooltip.selectorChartsTooltipItem, _useChartSeries.selectorChartSeriesProcessed, _useChartSeries.selectorChartSeriesLayout, function selectorTooltipItemPosition(identifier, series, seriesLayout, placement) {
|
|
12
|
+
if (!identifier || identifier.type !== 'pie' || identifier.dataIndex === undefined) {
|
|
16
13
|
return null;
|
|
17
14
|
}
|
|
18
15
|
const itemSeries = series.pie?.series[identifier.seriesId];
|
|
@@ -62,5 +59,4 @@ const tooltipItemPositionGetter = params => {
|
|
|
62
59
|
y: y0
|
|
63
60
|
};
|
|
64
61
|
}
|
|
65
|
-
};
|
|
66
|
-
var _default = exports.default = tooltipItemPositionGetter;
|
|
62
|
+
});
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import { createSelectorMemoized } from '@mui/x-internals/store';
|
|
1
2
|
import { findMinMax } from "../../internals/findMinMax.mjs";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
placement,
|
|
7
|
-
seriesLayout
|
|
8
|
-
} = params;
|
|
9
|
-
if (!identifier || identifier.dataIndex === undefined) {
|
|
3
|
+
import { selectorChartsTooltipItem } from "../../internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs";
|
|
4
|
+
import { selectorChartSeriesProcessed, selectorChartSeriesLayout } from "../../internals/plugins/corePlugins/useChartSeries/index.mjs";
|
|
5
|
+
export const selectorTooltipItemPosition = createSelectorMemoized(selectorChartsTooltipItem, selectorChartSeriesProcessed, selectorChartSeriesLayout, function selectorTooltipItemPosition(identifier, series, seriesLayout, placement) {
|
|
6
|
+
if (!identifier || identifier.type !== 'pie' || identifier.dataIndex === undefined) {
|
|
10
7
|
return null;
|
|
11
8
|
}
|
|
12
9
|
const itemSeries = series.pie?.series[identifier.seriesId];
|
|
@@ -56,5 +53,4 @@ const tooltipItemPositionGetter = params => {
|
|
|
56
53
|
y: y0
|
|
57
54
|
};
|
|
58
55
|
}
|
|
59
|
-
};
|
|
60
|
-
export default tooltipItemPositionGetter;
|
|
56
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare function FocusedRadarMark(props: React.SVGAttributes<SVGRectElement>):
|
|
2
|
+
export declare function FocusedRadarMark(props: React.SVGAttributes<SVGRectElement>): React.JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare function FocusedRadarMark(props: React.SVGAttributes<SVGRectElement>):
|
|
2
|
+
export declare function FocusedRadarMark(props: React.SVGAttributes<SVGRectElement>): React.JSX.Element | null;
|
|
@@ -26,7 +26,7 @@ export interface RadarAxisProps extends UseRadarAxisParams {
|
|
|
26
26
|
*/
|
|
27
27
|
classes?: Partial<Pick<RadarClasses, 'axisRoot' | 'axisLine' | 'axisLabel'>>;
|
|
28
28
|
}
|
|
29
|
-
declare function RadarAxis(props: RadarAxisProps):
|
|
29
|
+
declare function RadarAxis(props: RadarAxisProps): React.JSX.Element | null;
|
|
30
30
|
declare namespace RadarAxis {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ export interface RadarAxisProps extends UseRadarAxisParams {
|
|
|
26
26
|
*/
|
|
27
27
|
classes?: Partial<Pick<RadarClasses, 'axisRoot' | 'axisLine' | 'axisLabel'>>;
|
|
28
28
|
}
|
|
29
|
-
declare function RadarAxis(props: RadarAxisProps):
|
|
29
|
+
declare function RadarAxis(props: RadarAxisProps): React.JSX.Element | null;
|
|
30
30
|
declare namespace RadarAxis {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -5,16 +5,16 @@ interface GetLabelAttributesParams extends Required<Pick<RadarAxisProps, 'labelO
|
|
|
5
5
|
angle: number;
|
|
6
6
|
}
|
|
7
7
|
export declare function getLabelAttributes(params: GetLabelAttributesParams): {
|
|
8
|
+
transform?: undefined;
|
|
8
9
|
x: number;
|
|
9
10
|
y: number;
|
|
10
|
-
textAnchor: "
|
|
11
|
-
dominantBaseline: "
|
|
12
|
-
transform?: undefined;
|
|
11
|
+
textAnchor: "end" | "inherit" | "middle" | "start" | undefined;
|
|
12
|
+
dominantBaseline: "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "no-change" | "reset-size" | "text-after-edge" | "text-before-edge" | "use-script" | undefined;
|
|
13
13
|
} | {
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
|
-
textAnchor: "
|
|
17
|
-
dominantBaseline: "
|
|
16
|
+
textAnchor: "end" | "inherit" | "middle" | "start" | undefined;
|
|
17
|
+
dominantBaseline: "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "no-change" | "reset-size" | "text-after-edge" | "text-before-edge" | "use-script" | undefined;
|
|
18
18
|
transform: string;
|
|
19
19
|
};
|
|
20
20
|
export {};
|
|
@@ -5,16 +5,16 @@ interface GetLabelAttributesParams extends Required<Pick<RadarAxisProps, 'labelO
|
|
|
5
5
|
angle: number;
|
|
6
6
|
}
|
|
7
7
|
export declare function getLabelAttributes(params: GetLabelAttributesParams): {
|
|
8
|
+
transform?: undefined;
|
|
8
9
|
x: number;
|
|
9
10
|
y: number;
|
|
10
|
-
textAnchor: "
|
|
11
|
-
dominantBaseline: "
|
|
12
|
-
transform?: undefined;
|
|
11
|
+
textAnchor: "end" | "inherit" | "middle" | "start" | undefined;
|
|
12
|
+
dominantBaseline: "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "no-change" | "reset-size" | "text-after-edge" | "text-before-edge" | "use-script" | undefined;
|
|
13
13
|
} | {
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
|
-
textAnchor: "
|
|
17
|
-
dominantBaseline: "
|
|
16
|
+
textAnchor: "end" | "inherit" | "middle" | "start" | undefined;
|
|
17
|
+
dominantBaseline: "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "inherit" | "mathematical" | "middle" | "no-change" | "reset-size" | "text-after-edge" | "text-before-edge" | "use-script" | undefined;
|
|
18
18
|
transform: string;
|
|
19
19
|
};
|
|
20
20
|
export {};
|
|
@@ -9,7 +9,7 @@ export interface RadarAxisHighlightProps {
|
|
|
9
9
|
*/
|
|
10
10
|
classes?: Partial<Pick<RadarClasses, 'axisHighlightRoot' | 'axisHighlightLine' | 'axisHighlightDot'>>;
|
|
11
11
|
}
|
|
12
|
-
declare function RadarAxisHighlight(props: RadarAxisHighlightProps): import("react
|
|
12
|
+
declare function RadarAxisHighlight(props: RadarAxisHighlightProps): import("react").JSX.Element | null;
|
|
13
13
|
declare namespace RadarAxisHighlight {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
@@ -9,7 +9,7 @@ export interface RadarAxisHighlightProps {
|
|
|
9
9
|
*/
|
|
10
10
|
classes?: Partial<Pick<RadarClasses, 'axisHighlightRoot' | 'axisHighlightLine' | 'axisHighlightDot'>>;
|
|
11
11
|
}
|
|
12
|
-
declare function RadarAxisHighlight(props: RadarAxisHighlightProps): import("react
|
|
12
|
+
declare function RadarAxisHighlight(props: RadarAxisHighlightProps): import("react").JSX.Element | null;
|
|
13
13
|
declare namespace RadarAxisHighlight {
|
|
14
14
|
var propTypes: any;
|
|
15
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
3
|
import type { RadarChartPluginSignatures } from "../RadarChart.plugins.mjs";
|
|
3
4
|
import type { RadarSeriesType } from "../../models/seriesType/radar.mjs";
|
|
@@ -21,5 +22,5 @@ export type RadarDataProviderProps<TSignatures extends readonly ChartAnyPluginSi
|
|
|
21
22
|
*/
|
|
22
23
|
highlight?: 'axis' | 'series' | 'none';
|
|
23
24
|
};
|
|
24
|
-
declare function RadarDataProvider<TSignatures extends readonly ChartAnyPluginSignature[] = RadarChartPluginSignatures>(props: RadarDataProviderProps<TSignatures>):
|
|
25
|
+
declare function RadarDataProvider<TSignatures extends readonly ChartAnyPluginSignature[] = RadarChartPluginSignatures>(props: RadarDataProviderProps<TSignatures>): React.JSX.Element;
|
|
25
26
|
export { RadarDataProvider };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
3
|
import type { RadarChartPluginSignatures } from "../RadarChart.plugins.js";
|
|
3
4
|
import type { RadarSeriesType } from "../../models/seriesType/radar.js";
|
|
@@ -21,5 +22,5 @@ export type RadarDataProviderProps<TSignatures extends readonly ChartAnyPluginSi
|
|
|
21
22
|
*/
|
|
22
23
|
highlight?: 'axis' | 'series' | 'none';
|
|
23
24
|
};
|
|
24
|
-
declare function RadarDataProvider<TSignatures extends readonly ChartAnyPluginSignature[] = RadarChartPluginSignatures>(props: RadarDataProviderProps<TSignatures>):
|
|
25
|
+
declare function RadarDataProvider<TSignatures extends readonly ChartAnyPluginSignature[] = RadarChartPluginSignatures>(props: RadarDataProviderProps<TSignatures>): React.JSX.Element;
|
|
25
26
|
export { RadarDataProvider };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridRenderProps } from "./RadarGrid.types.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function CircularRadarGrid(props: RadarGridRenderProps):
|
|
6
|
+
export declare function CircularRadarGrid(props: RadarGridRenderProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridRenderProps } from "./RadarGrid.types.js";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function CircularRadarGrid(props: RadarGridRenderProps):
|
|
6
|
+
export declare function CircularRadarGrid(props: RadarGridRenderProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridStripeRenderProps } from "./RadarGrid.types.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function CircularRadarStripes(props: RadarGridStripeRenderProps):
|
|
6
|
+
export declare function CircularRadarStripes(props: RadarGridStripeRenderProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridStripeRenderProps } from "./RadarGrid.types.js";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function CircularRadarStripes(props: RadarGridStripeRenderProps):
|
|
6
|
+
export declare function CircularRadarStripes(props: RadarGridStripeRenderProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridProps } from "./RadarGrid.types.mjs";
|
|
2
|
-
declare function RadarGrid(props: RadarGridProps):
|
|
3
|
+
declare function RadarGrid(props: RadarGridProps): React.JSX.Element | null;
|
|
3
4
|
declare namespace RadarGrid {
|
|
4
5
|
var propTypes: any;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridProps } from "./RadarGrid.types.js";
|
|
2
|
-
declare function RadarGrid(props: RadarGridProps):
|
|
3
|
+
declare function RadarGrid(props: RadarGridProps): React.JSX.Element | null;
|
|
3
4
|
declare namespace RadarGrid {
|
|
4
5
|
var propTypes: any;
|
|
5
6
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridRenderProps } from "./RadarGrid.types.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function SharpRadarGrid(props: RadarGridRenderProps):
|
|
6
|
+
export declare function SharpRadarGrid(props: RadarGridRenderProps): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { RadarGridRenderProps } from "./RadarGrid.types.js";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
export declare function SharpRadarGrid(props: RadarGridRenderProps):
|
|
6
|
+
export declare function SharpRadarGrid(props: RadarGridRenderProps): React.JSX.Element;
|