@mui/x-charts 9.8.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 +119 -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/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 +1 -5
- package/ChartsTooltip/ChartsTooltipContainer.mjs +2 -6
- 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/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/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/index.js +1 -1
- package/index.mjs +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/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/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 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +2 -2
- 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/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/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 -53
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +2 -53
- package/models/seriesType/config.d.mts +6 -2
- package/models/seriesType/config.d.ts +6 -2
- package/package.json +5 -5
- 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
|
@@ -10,7 +10,7 @@ export interface ChartsTextProps extends Omit<React.SVGTextElementAttributes<SVG
|
|
|
10
10
|
/**
|
|
11
11
|
* Helper component to manage multiline text in SVG
|
|
12
12
|
*/
|
|
13
|
-
declare function ChartsText(props: ChartsTextProps):
|
|
13
|
+
declare function ChartsText(props: ChartsTextProps): React.JSX.Element;
|
|
14
14
|
declare namespace ChartsText {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -14,7 +14,7 @@ export interface ChartsAxisTooltipContentProps {
|
|
|
14
14
|
*/
|
|
15
15
|
sort?: 'none' | 'asc' | 'desc';
|
|
16
16
|
}
|
|
17
|
-
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react
|
|
17
|
+
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react").JSX.Element | null;
|
|
18
18
|
declare namespace ChartsAxisTooltipContent {
|
|
19
19
|
var propTypes: any;
|
|
20
20
|
}
|
|
@@ -14,7 +14,7 @@ export interface ChartsAxisTooltipContentProps {
|
|
|
14
14
|
*/
|
|
15
15
|
sort?: 'none' | 'asc' | 'desc';
|
|
16
16
|
}
|
|
17
|
-
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react
|
|
17
|
+
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react").JSX.Element | null;
|
|
18
18
|
declare namespace ChartsAxisTooltipContent {
|
|
19
19
|
var propTypes: any;
|
|
20
20
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
2
3
|
import type { ChartsTooltipClasses } from "./chartsTooltipClasses.mjs";
|
|
3
4
|
export interface ChartsItemTooltipContentClasses extends ChartsTooltipClasses {}
|
|
@@ -8,7 +9,7 @@ export interface ChartsItemTooltipContentProps {
|
|
|
8
9
|
classes?: Partial<ChartsTooltipClasses>;
|
|
9
10
|
sx?: SxProps<Theme>;
|
|
10
11
|
}
|
|
11
|
-
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps):
|
|
12
|
+
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): React.JSX.Element | null;
|
|
12
13
|
declare namespace ChartsItemTooltipContent {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps, Theme } from '@mui/material/styles';
|
|
2
3
|
import type { ChartsTooltipClasses } from "./chartsTooltipClasses.js";
|
|
3
4
|
export interface ChartsItemTooltipContentClasses extends ChartsTooltipClasses {}
|
|
@@ -8,7 +9,7 @@ export interface ChartsItemTooltipContentProps {
|
|
|
8
9
|
classes?: Partial<ChartsTooltipClasses>;
|
|
9
10
|
sx?: SxProps<Theme>;
|
|
10
11
|
}
|
|
11
|
-
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps):
|
|
12
|
+
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): React.JSX.Element | null;
|
|
12
13
|
declare namespace ChartsItemTooltipContent {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -18,7 +18,7 @@ export type ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> = T ex
|
|
|
18
18
|
*
|
|
19
19
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
20
20
|
*/
|
|
21
|
-
declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react
|
|
21
|
+
declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react").JSX.Element;
|
|
22
22
|
declare namespace ChartsTooltip {
|
|
23
23
|
var propTypes: any;
|
|
24
24
|
}
|
|
@@ -18,7 +18,7 @@ export type ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> = T ex
|
|
|
18
18
|
*
|
|
19
19
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
20
20
|
*/
|
|
21
|
-
declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react
|
|
21
|
+
declare function ChartsTooltip<T extends TriggerOptions>(props: ChartsTooltipProps<T>): import("react").JSX.Element;
|
|
22
22
|
declare namespace ChartsTooltip {
|
|
23
23
|
var propTypes: any;
|
|
24
24
|
}
|
|
@@ -50,7 +50,7 @@ export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerO
|
|
|
50
50
|
*
|
|
51
51
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
52
52
|
*/
|
|
53
|
-
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps):
|
|
53
|
+
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): React.JSX.Element | null;
|
|
54
54
|
declare namespace ChartsTooltipContainer {
|
|
55
55
|
var propTypes: any;
|
|
56
56
|
}
|
|
@@ -50,7 +50,7 @@ export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerO
|
|
|
50
50
|
*
|
|
51
51
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
52
52
|
*/
|
|
53
|
-
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps):
|
|
53
|
+
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): React.JSX.Element | null;
|
|
54
54
|
declare namespace ChartsTooltipContainer {
|
|
55
55
|
var propTypes: any;
|
|
56
56
|
}
|
|
@@ -129,13 +129,9 @@ function ChartsTooltipContainer(inProps) {
|
|
|
129
129
|
const lastInteraction = store.use(_useChartInteraction.selectorChartsLastInteraction);
|
|
130
130
|
const pointerAnchorUnavailable = lastInteraction === 'keyboard' || pointerType === null;
|
|
131
131
|
const computedAnchor = pointerAnchorUnavailable ? defaultAnchorByTrigger[trigger] : anchor;
|
|
132
|
-
|
|
133
|
-
// A series type can override how its item tooltip is positioned (e.g. map
|
|
134
|
-
// shapes position from the geo projection); otherwise the generic item
|
|
135
|
-
// selector is used.
|
|
136
132
|
const tooltipItem = store.use(_useChartTooltip.selectorChartsTooltipItem);
|
|
137
133
|
const seriesConfig = store.use(_useChartSeriesConfig.selectorChartSeriesConfig);
|
|
138
|
-
const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition ||
|
|
134
|
+
const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || selectorReturnNull;
|
|
139
135
|
const itemPosition = store.use(getPositionSelectorByAnchor(computedAnchor, selectorItemPosition), props.position);
|
|
140
136
|
const isTooltipNodeAnchored = itemPosition !== null;
|
|
141
137
|
React.useEffect(() => {
|
|
@@ -20,7 +20,7 @@ import { useUtilityClasses } from "./chartsTooltipClasses.mjs";
|
|
|
20
20
|
import { useStore } from "../internals/store/useStore.mjs";
|
|
21
21
|
import { selectorChartSeriesConfig } from "../internals/plugins/corePlugins/useChartSeriesConfig/index.mjs";
|
|
22
22
|
import { selectorChartsLastInteraction, selectorChartsPointerType } from "../internals/plugins/featurePlugins/useChartInteraction/index.mjs";
|
|
23
|
-
import { selectorChartsTooltipItem, selectorChartsTooltipItemIsDefined
|
|
23
|
+
import { selectorChartsTooltipItem, selectorChartsTooltipItemIsDefined } from "../internals/plugins/featurePlugins/useChartTooltip/index.mjs";
|
|
24
24
|
import { selectorChartsInteractionAxisTooltip, selectorChartsTooltipAxisPosition } from "../internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianTooltip.selectors.mjs";
|
|
25
25
|
import { selectorChartsInteractionPolarAxisTooltip } from "../internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs";
|
|
26
26
|
import { useAxisSystem } from "../hooks/useAxisSystem.mjs";
|
|
@@ -122,13 +122,9 @@ function ChartsTooltipContainer(inProps) {
|
|
|
122
122
|
const lastInteraction = store.use(selectorChartsLastInteraction);
|
|
123
123
|
const pointerAnchorUnavailable = lastInteraction === 'keyboard' || pointerType === null;
|
|
124
124
|
const computedAnchor = pointerAnchorUnavailable ? defaultAnchorByTrigger[trigger] : anchor;
|
|
125
|
-
|
|
126
|
-
// A series type can override how its item tooltip is positioned (e.g. map
|
|
127
|
-
// shapes position from the geo projection); otherwise the generic item
|
|
128
|
-
// selector is used.
|
|
129
125
|
const tooltipItem = store.use(selectorChartsTooltipItem);
|
|
130
126
|
const seriesConfig = store.use(selectorChartSeriesConfig);
|
|
131
|
-
const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition ||
|
|
127
|
+
const selectorItemPosition = tooltipItem && seriesConfig[tooltipItem.type]?.selectorTooltipItemPosition || selectorReturnNull;
|
|
132
128
|
const itemPosition = store.use(getPositionSelectorByAnchor(computedAnchor, selectorItemPosition), props.position);
|
|
133
129
|
const isTooltipNodeAnchored = itemPosition !== null;
|
|
134
130
|
React.useEffect(() => {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps } from "../models/axis.mjs";
|
|
2
3
|
interface ChartsGroupedXAxisProps extends ChartsXAxisProps {}
|
|
3
4
|
/**
|
|
4
5
|
* @ignore - internal component.
|
|
5
6
|
*/
|
|
6
|
-
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps):
|
|
7
|
+
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): React.JSX.Element;
|
|
7
8
|
export { ChartsGroupedXAxisTicks };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps } from "../models/axis.js";
|
|
2
3
|
interface ChartsGroupedXAxisProps extends ChartsXAxisProps {}
|
|
3
4
|
/**
|
|
4
5
|
* @ignore - internal component.
|
|
5
6
|
*/
|
|
6
|
-
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps):
|
|
7
|
+
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): React.JSX.Element;
|
|
7
8
|
export { ChartsGroupedXAxisTicks };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps } from "../models/axis.mjs";
|
|
2
3
|
import type { OrdinalTimeTicks } from "../models/timeTicks.mjs";
|
|
3
4
|
interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
@@ -7,5 +8,5 @@ interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* @ignore - internal component.
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps):
|
|
11
|
+
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): React.JSX.Element;
|
|
11
12
|
export { ChartsSingleXAxisTicks };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps } from "../models/axis.js";
|
|
2
3
|
import type { OrdinalTimeTicks } from "../models/timeTicks.js";
|
|
3
4
|
interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
@@ -7,5 +8,5 @@ interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* @ignore - internal component.
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps):
|
|
11
|
+
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): React.JSX.Element;
|
|
11
12
|
export { ChartsSingleXAxisTicks };
|
|
@@ -10,7 +10,7 @@ export interface ChartsXAxisSlotProps extends ChartsAxisSlotProps {}
|
|
|
10
10
|
*
|
|
11
11
|
* - [ChartsXAxis API](https://mui.com/x/api/charts/charts-x-axis/)
|
|
12
12
|
*/
|
|
13
|
-
declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react
|
|
13
|
+
declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react").JSX.Element | null;
|
|
14
14
|
declare namespace ChartsXAxis {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export interface ChartsXAxisSlotProps extends ChartsAxisSlotProps {}
|
|
|
10
10
|
*
|
|
11
11
|
* - [ChartsXAxis API](https://mui.com/x/api/charts/charts-x-axis/)
|
|
12
12
|
*/
|
|
13
|
-
declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react
|
|
13
|
+
declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react").JSX.Element | null;
|
|
14
14
|
declare namespace ChartsXAxis {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps, ComputedAxis, ScaleName } from "../models/axis.mjs";
|
|
2
3
|
interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
3
4
|
axis: ComputedAxis<ScaleName, any, ChartsXAxisProps>;
|
|
@@ -8,5 +9,5 @@ interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
|
8
9
|
export declare function ChartsXAxisImpl({
|
|
9
10
|
axis,
|
|
10
11
|
...inProps
|
|
11
|
-
}: ChartsXAxisImplProps):
|
|
12
|
+
}: ChartsXAxisImplProps): React.JSX.Element | null;
|
|
12
13
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsXAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
|
|
2
3
|
interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
3
4
|
axis: ComputedAxis<ScaleName, any, ChartsXAxisProps>;
|
|
@@ -8,5 +9,5 @@ interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
|
8
9
|
export declare function ChartsXAxisImpl({
|
|
9
10
|
axis,
|
|
10
11
|
...inProps
|
|
11
|
-
}: ChartsXAxisImplProps):
|
|
12
|
+
}: ChartsXAxisImplProps): React.JSX.Element | null;
|
|
12
13
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps } from "../models/axis.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps):
|
|
6
|
+
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): React.JSX.Element;
|
|
6
7
|
export { ChartsGroupedYAxisTicks };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps } from "../models/axis.js";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps):
|
|
6
|
+
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): React.JSX.Element;
|
|
6
7
|
export { ChartsGroupedYAxisTicks };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps } from "../models/axis.mjs";
|
|
2
3
|
import type { OrdinalTimeTicks } from "../models/timeTicks.mjs";
|
|
3
4
|
interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
@@ -7,5 +8,5 @@ interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* @ignore - internal component.
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps):
|
|
11
|
+
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): React.JSX.Element;
|
|
11
12
|
export { ChartsSingleYAxisTicks };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps } from "../models/axis.js";
|
|
2
3
|
import type { OrdinalTimeTicks } from "../models/timeTicks.js";
|
|
3
4
|
interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
@@ -7,5 +8,5 @@ interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* @ignore - internal component.
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps):
|
|
11
|
+
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): React.JSX.Element;
|
|
11
12
|
export { ChartsSingleYAxisTicks };
|
|
@@ -10,7 +10,7 @@ export interface ChartsYAxisSlotProps extends ChartsAxisSlotProps {}
|
|
|
10
10
|
*
|
|
11
11
|
* - [ChartsYAxis API](https://mui.com/x/api/charts/charts-y-axis/)
|
|
12
12
|
*/
|
|
13
|
-
declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react
|
|
13
|
+
declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react").JSX.Element | null;
|
|
14
14
|
declare namespace ChartsYAxis {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ export interface ChartsYAxisSlotProps extends ChartsAxisSlotProps {}
|
|
|
10
10
|
*
|
|
11
11
|
* - [ChartsYAxis API](https://mui.com/x/api/charts/charts-y-axis/)
|
|
12
12
|
*/
|
|
13
|
-
declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react
|
|
13
|
+
declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react").JSX.Element | null;
|
|
14
14
|
declare namespace ChartsYAxis {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps, ComputedAxis, ScaleName } from "../models/axis.mjs";
|
|
2
3
|
interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
|
|
3
4
|
axis: ComputedAxis<ScaleName, any, ChartsYAxisProps>;
|
|
@@ -8,5 +9,5 @@ interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
|
|
|
8
9
|
export declare function ChartsYAxisImpl({
|
|
9
10
|
axis,
|
|
10
11
|
...inProps
|
|
11
|
-
}: ChartsYAxisImplProps):
|
|
12
|
+
}: ChartsYAxisImplProps): React.JSX.Element | null;
|
|
12
13
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsYAxisProps, ComputedAxis, ScaleName } from "../models/axis.js";
|
|
2
3
|
interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
|
|
3
4
|
axis: ComputedAxis<ScaleName, any, ChartsYAxisProps>;
|
|
@@ -8,5 +9,5 @@ interface ChartsYAxisImplProps extends Omit<ChartsYAxisProps, 'axis'> {
|
|
|
8
9
|
export declare function ChartsYAxisImpl({
|
|
9
10
|
axis,
|
|
10
11
|
...inProps
|
|
11
|
-
}: ChartsYAxisImplProps):
|
|
12
|
+
}: ChartsYAxisImplProps): React.JSX.Element | null;
|
|
12
13
|
export {};
|
|
@@ -103,7 +103,7 @@ export declare const GaugeContext: React.Context<Required<GaugeConfig> & Process
|
|
|
103
103
|
export interface GaugeProviderProps extends GaugeConfig, CircularConfig {
|
|
104
104
|
children: React.ReactNode;
|
|
105
105
|
}
|
|
106
|
-
export declare function GaugeProvider(props: GaugeProviderProps):
|
|
106
|
+
export declare function GaugeProvider(props: GaugeProviderProps): React.JSX.Element;
|
|
107
107
|
export declare function useGaugeState(): Required<GaugeConfig> & ProcessedCircularConfig & {
|
|
108
108
|
/**
|
|
109
109
|
* The maximal radius from (cx, cy) that fits the arc in the drawing area.
|
package/Gauge/GaugeProvider.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare const GaugeContext: React.Context<Required<GaugeConfig> & Process
|
|
|
103
103
|
export interface GaugeProviderProps extends GaugeConfig, CircularConfig {
|
|
104
104
|
children: React.ReactNode;
|
|
105
105
|
}
|
|
106
|
-
export declare function GaugeProvider(props: GaugeProviderProps):
|
|
106
|
+
export declare function GaugeProvider(props: GaugeProviderProps): React.JSX.Element;
|
|
107
107
|
export declare function useGaugeState(): Required<GaugeConfig> & ProcessedCircularConfig & {
|
|
108
108
|
/**
|
|
109
109
|
* The maximal radius from (cx, cy) that fits the arc in the drawing area.
|
package/Gauge/GaugeValueArc.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface GaugeFormatterParams {
|
|
|
7
7
|
export interface GaugeValueTextProps extends Omit<ChartsTextProps, 'text'> {
|
|
8
8
|
text?: string | ((params: GaugeFormatterParams) => string | null);
|
|
9
9
|
}
|
|
10
|
-
declare function GaugeValueText(props: GaugeValueTextProps): import("react
|
|
10
|
+
declare function GaugeValueText(props: GaugeValueTextProps): import("react").JSX.Element | null;
|
|
11
11
|
declare namespace GaugeValueText {
|
|
12
12
|
var propTypes: any;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export interface GaugeFormatterParams {
|
|
|
7
7
|
export interface GaugeValueTextProps extends Omit<ChartsTextProps, 'text'> {
|
|
8
8
|
text?: string | ((params: GaugeFormatterParams) => string | null);
|
|
9
9
|
}
|
|
10
|
-
declare function GaugeValueText(props: GaugeValueTextProps): import("react
|
|
10
|
+
declare function GaugeValueText(props: GaugeValueTextProps): import("react").JSX.Element | null;
|
|
11
11
|
declare namespace GaugeValueText {
|
|
12
12
|
var propTypes: any;
|
|
13
13
|
}
|
|
@@ -19,7 +19,7 @@ export interface AnimatedAreaProps extends React.ComponentPropsWithoutRef<'path'
|
|
|
19
19
|
*
|
|
20
20
|
* - [AreaElement API](https://mui.com/x/api/charts/animated-area/)
|
|
21
21
|
*/
|
|
22
|
-
declare function AnimatedArea(props: AnimatedAreaProps):
|
|
22
|
+
declare function AnimatedArea(props: AnimatedAreaProps): React.JSX.Element;
|
|
23
23
|
declare namespace AnimatedArea {
|
|
24
24
|
var propTypes: any;
|
|
25
25
|
}
|
|
@@ -19,7 +19,7 @@ export interface AnimatedAreaProps extends React.ComponentPropsWithoutRef<'path'
|
|
|
19
19
|
*
|
|
20
20
|
* - [AreaElement API](https://mui.com/x/api/charts/animated-area/)
|
|
21
21
|
*/
|
|
22
|
-
declare function AnimatedArea(props: AnimatedAreaProps):
|
|
22
|
+
declare function AnimatedArea(props: AnimatedAreaProps): React.JSX.Element;
|
|
23
23
|
declare namespace AnimatedArea {
|
|
24
24
|
var propTypes: any;
|
|
25
25
|
}
|
|
@@ -13,5 +13,5 @@ export declare const appearingMaskClasses: AppearingMaskClasses;
|
|
|
13
13
|
/**
|
|
14
14
|
* @ignore - internal component.
|
|
15
15
|
*/
|
|
16
|
-
export declare function AppearingMask(props: AppearingMaskProps):
|
|
16
|
+
export declare function AppearingMask(props: AppearingMaskProps): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -13,5 +13,5 @@ export declare const appearingMaskClasses: AppearingMaskClasses;
|
|
|
13
13
|
/**
|
|
14
14
|
* @ignore - internal component.
|
|
15
15
|
*/
|
|
16
|
-
export declare function AppearingMask(props: AppearingMaskProps):
|
|
16
|
+
export declare function AppearingMask(props: AppearingMaskProps): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -45,7 +45,7 @@ export interface AreaElementProps extends Omit<AreaElementOwnerState, 'isFaded'
|
|
|
45
45
|
*
|
|
46
46
|
* - [AreaElement API](https://mui.com/x/api/charts/area-element/)
|
|
47
47
|
*/
|
|
48
|
-
declare function AreaElement(props: AreaElementProps):
|
|
48
|
+
declare function AreaElement(props: AreaElementProps): React.JSX.Element;
|
|
49
49
|
declare namespace AreaElement {
|
|
50
50
|
var propTypes: any;
|
|
51
51
|
}
|
|
@@ -45,7 +45,7 @@ export interface AreaElementProps extends Omit<AreaElementOwnerState, 'isFaded'
|
|
|
45
45
|
*
|
|
46
46
|
* - [AreaElement API](https://mui.com/x/api/charts/area-element/)
|
|
47
47
|
*/
|
|
48
|
-
declare function AreaElement(props: AreaElementProps):
|
|
48
|
+
declare function AreaElement(props: AreaElementProps): React.JSX.Element;
|
|
49
49
|
declare namespace AreaElement {
|
|
50
50
|
var propTypes: any;
|
|
51
51
|
}
|
package/LineChart/AreaPlot.d.mts
CHANGED
|
@@ -22,7 +22,7 @@ export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
|
|
|
22
22
|
*
|
|
23
23
|
* - [AreaPlot API](https://mui.com/x/api/charts/area-plot/)
|
|
24
24
|
*/
|
|
25
|
-
declare function AreaPlot(props: AreaPlotProps):
|
|
25
|
+
declare function AreaPlot(props: AreaPlotProps): React.JSX.Element;
|
|
26
26
|
declare namespace AreaPlot {
|
|
27
27
|
var propTypes: any;
|
|
28
28
|
}
|
package/LineChart/AreaPlot.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface AreaPlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
|
|
|
22
22
|
*
|
|
23
23
|
* - [AreaPlot API](https://mui.com/x/api/charts/area-plot/)
|
|
24
24
|
*/
|
|
25
|
-
declare function AreaPlot(props: AreaPlotProps):
|
|
25
|
+
declare function AreaPlot(props: AreaPlotProps): React.JSX.Element;
|
|
26
26
|
declare namespace AreaPlot {
|
|
27
27
|
var propTypes: any;
|
|
28
28
|
}
|
|
@@ -38,7 +38,7 @@ type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlig
|
|
|
38
38
|
*
|
|
39
39
|
* - [CircleMarkElement API](https://mui.com/x/api/charts/circle-mark-element/)
|
|
40
40
|
*/
|
|
41
|
-
declare function CircleMarkElement(props: CircleMarkElementProps):
|
|
41
|
+
declare function CircleMarkElement(props: CircleMarkElementProps): React.JSX.Element;
|
|
42
42
|
declare namespace CircleMarkElement {
|
|
43
43
|
var propTypes: any;
|
|
44
44
|
}
|
|
@@ -38,7 +38,7 @@ type CircleMarkElementProps = Omit<MarkElementOwnerState, 'isFaded' | 'isHighlig
|
|
|
38
38
|
*
|
|
39
39
|
* - [CircleMarkElement API](https://mui.com/x/api/charts/circle-mark-element/)
|
|
40
40
|
*/
|
|
41
|
-
declare function CircleMarkElement(props: CircleMarkElementProps):
|
|
41
|
+
declare function CircleMarkElement(props: CircleMarkElementProps): React.JSX.Element;
|
|
42
42
|
declare namespace CircleMarkElement {
|
|
43
43
|
var propTypes: any;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function FocusedLineMark(): import("react
|
|
1
|
+
export declare function FocusedLineMark(): import("react").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function FocusedLineMark(): import("react
|
|
1
|
+
export declare function FocusedLineMark(): import("react").JSX.Element | null;
|
|
@@ -49,7 +49,7 @@ export interface LineElementProps extends Omit<LineElementOwnerState, 'isFaded'
|
|
|
49
49
|
*
|
|
50
50
|
* - [LineElement API](https://mui.com/x/api/charts/line-element/)
|
|
51
51
|
*/
|
|
52
|
-
declare function LineElement(props: LineElementProps):
|
|
52
|
+
declare function LineElement(props: LineElementProps): React.JSX.Element;
|
|
53
53
|
declare namespace LineElement {
|
|
54
54
|
var propTypes: any;
|
|
55
55
|
}
|
|
@@ -49,7 +49,7 @@ export interface LineElementProps extends Omit<LineElementOwnerState, 'isFaded'
|
|
|
49
49
|
*
|
|
50
50
|
* - [LineElement API](https://mui.com/x/api/charts/line-element/)
|
|
51
51
|
*/
|
|
52
|
-
declare function LineElement(props: LineElementProps):
|
|
52
|
+
declare function LineElement(props: LineElementProps): React.JSX.Element;
|
|
53
53
|
declare namespace LineElement {
|
|
54
54
|
var propTypes: any;
|
|
55
55
|
}
|
|
@@ -21,7 +21,7 @@ export type LineHighlightElementProps = (LineHighlightElementCommonProps & {
|
|
|
21
21
|
*
|
|
22
22
|
* - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
|
|
23
23
|
*/
|
|
24
|
-
declare function LineHighlightElement(props: LineHighlightElementProps):
|
|
24
|
+
declare function LineHighlightElement(props: LineHighlightElementProps): React.JSX.Element;
|
|
25
25
|
declare namespace LineHighlightElement {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
|
@@ -21,7 +21,7 @@ export type LineHighlightElementProps = (LineHighlightElementCommonProps & {
|
|
|
21
21
|
*
|
|
22
22
|
* - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
|
|
23
23
|
*/
|
|
24
|
-
declare function LineHighlightElement(props: LineHighlightElementProps):
|
|
24
|
+
declare function LineHighlightElement(props: LineHighlightElementProps): React.JSX.Element;
|
|
25
25
|
declare namespace LineHighlightElement {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
|
@@ -30,7 +30,7 @@ export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElemen
|
|
|
30
30
|
*
|
|
31
31
|
* - [LineHighlightPlot API](https://mui.com/x/api/charts/line-highlight-plot/)
|
|
32
32
|
*/
|
|
33
|
-
declare function LineHighlightPlot(props: LineHighlightPlotProps):
|
|
33
|
+
declare function LineHighlightPlot(props: LineHighlightPlotProps): React.JSX.Element | null;
|
|
34
34
|
declare namespace LineHighlightPlot {
|
|
35
35
|
var propTypes: any;
|
|
36
36
|
}
|
|
@@ -30,7 +30,7 @@ export interface LineHighlightPlotProps extends React.SVGAttributes<SVGSVGElemen
|
|
|
30
30
|
*
|
|
31
31
|
* - [LineHighlightPlot API](https://mui.com/x/api/charts/line-highlight-plot/)
|
|
32
32
|
*/
|
|
33
|
-
declare function LineHighlightPlot(props: LineHighlightPlotProps):
|
|
33
|
+
declare function LineHighlightPlot(props: LineHighlightPlotProps): React.JSX.Element | null;
|
|
34
34
|
declare namespace LineHighlightPlot {
|
|
35
35
|
var propTypes: any;
|
|
36
36
|
}
|
package/LineChart/LinePlot.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ export interface LinePlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
|
|
|
21
21
|
*
|
|
22
22
|
* - [LinePlot API](https://mui.com/x/api/charts/line-plot/)
|
|
23
23
|
*/
|
|
24
|
-
declare function LinePlot(props: LinePlotProps):
|
|
24
|
+
declare function LinePlot(props: LinePlotProps): React.JSX.Element;
|
|
25
25
|
declare namespace LinePlot {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
package/LineChart/LinePlot.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface LinePlotProps extends React.SVGAttributes<SVGSVGElement>, Pick<
|
|
|
21
21
|
*
|
|
22
22
|
* - [LinePlot API](https://mui.com/x/api/charts/line-plot/)
|
|
23
23
|
*/
|
|
24
|
-
declare function LinePlot(props: LinePlotProps):
|
|
24
|
+
declare function LinePlot(props: LinePlotProps): React.JSX.Element;
|
|
25
25
|
declare namespace LinePlot {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
package/LineChart/LinePlot.js
CHANGED
|
@@ -73,7 +73,8 @@ function LinePlot(props) {
|
|
|
73
73
|
seriesId,
|
|
74
74
|
color,
|
|
75
75
|
gradientId,
|
|
76
|
-
hidden
|
|
76
|
+
hidden,
|
|
77
|
+
isSampled
|
|
77
78
|
}) => {
|
|
78
79
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_LineElement.LineElement, {
|
|
79
80
|
seriesId: seriesId,
|
|
@@ -81,7 +82,7 @@ function LinePlot(props) {
|
|
|
81
82
|
color: color,
|
|
82
83
|
gradientId: gradientId,
|
|
83
84
|
hidden: hidden,
|
|
84
|
-
skipAnimation: skipAnimation,
|
|
85
|
+
skipAnimation: skipAnimation || isSampled,
|
|
85
86
|
slots: slots,
|
|
86
87
|
slotProps: slotProps,
|
|
87
88
|
onClick: onItemClick && (event => onItemClick(event, {
|