@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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { D3OrdinalScale } from "../models/axis.js";
|
|
2
|
+
interface SampledBandHighlightParams {
|
|
3
|
+
scale: D3OrdinalScale;
|
|
4
|
+
/** The highlighted value. */
|
|
5
|
+
value: number | Date;
|
|
6
|
+
/** The data index of the highlighted value, when known (O(1) lookup). */
|
|
7
|
+
dataIndex: number | undefined;
|
|
8
|
+
/** The axis data. */
|
|
9
|
+
data: readonly any[] | undefined;
|
|
10
|
+
/** The number of merged data points per band when the series is sampled. */
|
|
11
|
+
bucketSize: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
15
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getSampledBandHighlight({
|
|
18
|
+
scale,
|
|
19
|
+
value,
|
|
20
|
+
dataIndex,
|
|
21
|
+
data,
|
|
22
|
+
bucketSize
|
|
23
|
+
}: SampledBandHighlightParams): {
|
|
24
|
+
bandStart: number;
|
|
25
|
+
bandSize: number;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getSampledBandHighlight = getSampledBandHighlight;
|
|
7
|
+
/**
|
|
8
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
9
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
10
|
+
*/
|
|
11
|
+
function getSampledBandHighlight({
|
|
12
|
+
scale,
|
|
13
|
+
value,
|
|
14
|
+
dataIndex,
|
|
15
|
+
data,
|
|
16
|
+
bucketSize
|
|
17
|
+
}) {
|
|
18
|
+
const step = scale.step();
|
|
19
|
+
const halfPadding = (step - scale.bandwidth()) / 2;
|
|
20
|
+
let bandStart = scale(value) - halfPadding;
|
|
21
|
+
let bandSize = step;
|
|
22
|
+
if (bucketSize > 1 && data) {
|
|
23
|
+
const index = dataIndex ?? data.indexOf(value);
|
|
24
|
+
if (index >= 0) {
|
|
25
|
+
const bucketStart = Math.floor(index / bucketSize) * bucketSize;
|
|
26
|
+
const bucketEnd = Math.min(bucketStart + bucketSize - 1, data.length - 1);
|
|
27
|
+
bandStart = scale(data[bucketStart]) - halfPadding;
|
|
28
|
+
bandSize = (bucketEnd - bucketStart + 1) * step;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
bandStart,
|
|
33
|
+
bandSize
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Computes the band highlight rectangle along the ordinal axis.
|
|
3
|
+
* When the series is sampled (`bucketSize > 1`), the band is widened to cover the whole merged bucket.
|
|
4
|
+
*/
|
|
5
|
+
export function getSampledBandHighlight({
|
|
6
|
+
scale,
|
|
7
|
+
value,
|
|
8
|
+
dataIndex,
|
|
9
|
+
data,
|
|
10
|
+
bucketSize
|
|
11
|
+
}) {
|
|
12
|
+
const step = scale.step();
|
|
13
|
+
const halfPadding = (step - scale.bandwidth()) / 2;
|
|
14
|
+
let bandStart = scale(value) - halfPadding;
|
|
15
|
+
let bandSize = step;
|
|
16
|
+
if (bucketSize > 1 && data) {
|
|
17
|
+
const index = dataIndex ?? data.indexOf(value);
|
|
18
|
+
if (index >= 0) {
|
|
19
|
+
const bucketStart = Math.floor(index / bucketSize) * bucketSize;
|
|
20
|
+
const bucketEnd = Math.min(bucketStart + bucketSize - 1, data.length - 1);
|
|
21
|
+
bandStart = scale(data[bucketStart]) - halfPadding;
|
|
22
|
+
bandSize = (bucketEnd - bucketStart + 1) * step;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
bandStart,
|
|
27
|
+
bandSize
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react").JSX.Element[] | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -48,7 +48,7 @@ export interface ChartsAxisHighlightValueProps {
|
|
|
48
48
|
*
|
|
49
49
|
* - [ChartsAxisHighlightValue API](https://mui.com/x/api/charts/charts-axis-highlight-value/)
|
|
50
50
|
*/
|
|
51
|
-
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react
|
|
51
|
+
declare function ChartsAxisHighlightValue(props: ChartsAxisHighlightValueProps): import("react").ReactPortal | import("react").JSX.Element[] | null;
|
|
52
52
|
declare namespace ChartsAxisHighlightValue {
|
|
53
53
|
var propTypes: any;
|
|
54
54
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps } from '@mui/material/styles';
|
|
2
3
|
export interface ChartsAxisHighlightValueItemProps {
|
|
3
4
|
x: number;
|
|
@@ -9,5 +10,5 @@ export interface ChartsAxisHighlightValueItemProps {
|
|
|
9
10
|
space: number;
|
|
10
11
|
sx?: SxProps;
|
|
11
12
|
}
|
|
12
|
-
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps):
|
|
13
|
+
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps): React.JSX.Element;
|
|
13
14
|
export { ChartsAxisHighlightValueItem };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { SxProps } from '@mui/material/styles';
|
|
2
3
|
export interface ChartsAxisHighlightValueItemProps {
|
|
3
4
|
x: number;
|
|
@@ -9,5 +10,5 @@ export interface ChartsAxisHighlightValueItemProps {
|
|
|
9
10
|
space: number;
|
|
10
11
|
sx?: SxProps;
|
|
11
12
|
}
|
|
12
|
-
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps):
|
|
13
|
+
declare function ChartsAxisHighlightValueItem(props: ChartsAxisHighlightValueItemProps): React.JSX.Element;
|
|
13
14
|
export { ChartsAxisHighlightValueItem };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface ChartsBrushOverlayProps {
|
|
2
3
|
/**
|
|
3
4
|
* A CSS class name applied to the root element.
|
|
@@ -7,7 +8,7 @@ export interface ChartsBrushOverlayProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Component that renders visual feedback during brush interaction
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps):
|
|
11
|
+
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps): React.JSX.Element | null;
|
|
11
12
|
declare namespace ChartsBrushOverlay {
|
|
12
13
|
var propTypes: any;
|
|
13
14
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface ChartsBrushOverlayProps {
|
|
2
3
|
/**
|
|
3
4
|
* A CSS class name applied to the root element.
|
|
@@ -7,7 +8,7 @@ export interface ChartsBrushOverlayProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Component that renders visual feedback during brush interaction
|
|
9
10
|
*/
|
|
10
|
-
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps):
|
|
11
|
+
declare function ChartsBrushOverlay(props: ChartsBrushOverlayProps): React.JSX.Element | null;
|
|
11
12
|
declare namespace ChartsBrushOverlay {
|
|
12
13
|
var propTypes: any;
|
|
13
14
|
}
|
|
@@ -20,7 +20,7 @@ export type ChartsClipPathProps = {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsClipPath API](https://mui.com/x/api/charts/charts-clip-path/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsClipPath(props: ChartsClipPathProps): import("react
|
|
23
|
+
declare function ChartsClipPath(props: ChartsClipPathProps): import("react").JSX.Element;
|
|
24
24
|
declare namespace ChartsClipPath {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -20,7 +20,7 @@ export type ChartsClipPathProps = {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsClipPath API](https://mui.com/x/api/charts/charts-clip-path/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsClipPath(props: ChartsClipPathProps): import("react
|
|
23
|
+
declare function ChartsClipPath(props: ChartsClipPathProps): import("react").JSX.Element;
|
|
24
24
|
declare namespace ChartsClipPath {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSe
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>):
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -44,7 +44,7 @@ export type ChartsDataProviderProps<SeriesType extends ChartSeriesType = ChartSe
|
|
|
44
44
|
* </ChartsDataProvider>
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>):
|
|
47
|
+
declare function ChartsDataProvider<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
48
48
|
declare namespace ChartsDataProvider {
|
|
49
49
|
var propTypes: any;
|
|
50
50
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsGrid API](https://mui.com/x/api/charts/charts-axis/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsGrid(inProps: ChartsGridProps): import("react
|
|
29
|
+
declare function ChartsGrid(inProps: ChartsGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsGrid API](https://mui.com/x/api/charts/charts-axis/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsGrid(inProps: ChartsGridProps): import("react
|
|
29
|
+
declare function ChartsGrid(inProps: ChartsGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedYAxis } from "../models/axis.mjs";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.mjs";
|
|
3
4
|
interface ChartsGridHorizontalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridHorizontalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps):
|
|
13
|
+
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedYAxis } from "../models/axis.js";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.js";
|
|
3
4
|
interface ChartsGridHorizontalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridHorizontalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps):
|
|
13
|
+
export declare function ChartsGridHorizontal(props: ChartsGridHorizontalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedXAxis } from "../models/axis.mjs";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.mjs";
|
|
3
4
|
interface ChartsGridVerticalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridVerticalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridVertical(props: ChartsGridVerticalProps):
|
|
13
|
+
export declare function ChartsGridVertical(props: ChartsGridVerticalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ComputedXAxis } from "../models/axis.js";
|
|
2
3
|
import type { ChartsGridClasses } from "./chartsGridClasses.js";
|
|
3
4
|
interface ChartsGridVerticalProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsGridVerticalProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsGridVertical(props: ChartsGridVerticalProps):
|
|
13
|
+
export declare function ChartsGridVertical(props: ChartsGridVerticalProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -20,7 +20,7 @@ export interface ChartsLocalizationProviderProps {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsLocalizationProvider API](https://mui.com/x/api/charts/charts-localization-provider/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps):
|
|
23
|
+
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps): React.JSX.Element;
|
|
24
24
|
declare namespace ChartsLocalizationProvider {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -20,7 +20,7 @@ export interface ChartsLocalizationProviderProps {
|
|
|
20
20
|
*
|
|
21
21
|
* - [ChartsLocalizationProvider API](https://mui.com/x/api/charts/charts-localization-provider/)
|
|
22
22
|
*/
|
|
23
|
-
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps):
|
|
23
|
+
declare function ChartsLocalizationProvider(inProps: ChartsLocalizationProviderProps): React.JSX.Element;
|
|
24
24
|
declare namespace ChartsLocalizationProvider {
|
|
25
25
|
var propTypes: any;
|
|
26
26
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.mjs";
|
|
2
|
-
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.js";
|
|
2
|
-
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsLoadingOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.mjs";
|
|
2
|
-
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CommonOverlayProps } from "./ChartsOverlay.js";
|
|
2
|
-
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react
|
|
2
|
+
export declare function ChartsNoDataOverlay(props: CommonOverlayProps): import("react").JSX.Element;
|
|
@@ -39,4 +39,4 @@ export interface ChartsOverlayProps {
|
|
|
39
39
|
*/
|
|
40
40
|
slotProps?: ChartsOverlaySlotProps;
|
|
41
41
|
}
|
|
42
|
-
export declare function ChartsOverlay(props: ChartsOverlayProps):
|
|
42
|
+
export declare function ChartsOverlay(props: ChartsOverlayProps): React.JSX.Element | null;
|
|
@@ -39,4 +39,4 @@ export interface ChartsOverlayProps {
|
|
|
39
39
|
*/
|
|
40
40
|
slotProps?: ChartsOverlaySlotProps;
|
|
41
41
|
}
|
|
42
|
-
export declare function ChartsOverlay(props: ChartsOverlayProps):
|
|
42
|
+
export declare function ChartsOverlay(props: ChartsOverlayProps): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
/**
|
|
3
4
|
* Demos:
|
|
@@ -8,7 +9,7 @@ import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight
|
|
|
8
9
|
*
|
|
9
10
|
* - [ChartsRadialAxisHighlight API](https://mui.com/x/api/charts/charts-radial-axis-highlight/)
|
|
10
11
|
*/
|
|
11
|
-
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps):
|
|
12
|
+
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps): React.JSX.Element;
|
|
12
13
|
declare namespace ChartsRadialAxisHighlight {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
/**
|
|
3
4
|
* Demos:
|
|
@@ -8,7 +9,7 @@ import type { ChartsRadialAxisHighlightProps } from "./ChartsRadialAxisHighlight
|
|
|
8
9
|
*
|
|
9
10
|
* - [ChartsRadialAxisHighlight API](https://mui.com/x/api/charts/charts-radial-axis-highlight/)
|
|
10
11
|
*/
|
|
11
|
-
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps):
|
|
12
|
+
declare function ChartsRadialAxisHighlight(props: ChartsRadialAxisHighlightProps): React.JSX.Element;
|
|
12
13
|
declare namespace ChartsRadialAxisHighlight {
|
|
13
14
|
var propTypes: any;
|
|
14
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRadiusType } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.mjs";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRadiusAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRadiusType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRadiusType } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.js";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRadiusAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRadiusType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRotationType } from "./ChartsRadialAxisHighlight.types.mjs";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.mjs";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRotationAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRotationType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialAxisHighlightRotationType } from "./ChartsRadialAxisHighlight.types.js";
|
|
2
3
|
import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlightClasses.js";
|
|
3
4
|
/**
|
|
@@ -6,4 +7,4 @@ import type { ChartsRadialAxisHighlightClasses } from "./chartsRadialAxisHighlig
|
|
|
6
7
|
export default function ChartsRotationAxisHighlight(props: {
|
|
7
8
|
type: ChartsRadialAxisHighlightRotationType;
|
|
8
9
|
classes: ChartsRadialAxisHighlightClasses;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -31,7 +31,7 @@ export type ChartsRadialDataProviderProps<SeriesType extends PolarChartSeriesTyp
|
|
|
31
31
|
*
|
|
32
32
|
* - [ChartsRadialDataProvider API](https://mui.com/x/api/charts/charts-radial-data-provider/)
|
|
33
33
|
*/
|
|
34
|
-
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>):
|
|
34
|
+
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
35
35
|
declare namespace ChartsRadialDataProvider {
|
|
36
36
|
var propTypes: any;
|
|
37
37
|
}
|
|
@@ -31,7 +31,7 @@ export type ChartsRadialDataProviderProps<SeriesType extends PolarChartSeriesTyp
|
|
|
31
31
|
*
|
|
32
32
|
* - [ChartsRadialDataProvider API](https://mui.com/x/api/charts/charts-radial-data-provider/)
|
|
33
33
|
*/
|
|
34
|
-
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>):
|
|
34
|
+
declare function ChartsRadialDataProvider<SeriesType extends PolarChartSeriesType = PolarChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = RadialPluginSignatures<SeriesType>>(props: ChartsRadialDataProviderProps<SeriesType, TSignatures>): React.JSX.Element;
|
|
35
35
|
declare namespace ChartsRadialDataProvider {
|
|
36
36
|
var propTypes: any;
|
|
37
37
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsRadialGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsRadialGrid API](https://mui.com/x/api/charts/charts-radial-grid/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react
|
|
29
|
+
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsRadialGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -26,7 +26,7 @@ export interface ChartsRadialGridProps {
|
|
|
26
26
|
*
|
|
27
27
|
* - [ChartsRadialGrid API](https://mui.com/x/api/charts/charts-radial-grid/)
|
|
28
28
|
*/
|
|
29
|
-
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react
|
|
29
|
+
declare function ChartsRadialGrid(inProps: ChartsRadialGridProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace ChartsRadialGrid {
|
|
31
31
|
var propTypes: any;
|
|
32
32
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.mjs";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.mjs";
|
|
3
4
|
interface ChartsRadiusGridProps {
|
|
@@ -10,5 +11,5 @@ interface ChartsRadiusGridProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* @ignore - internal component.
|
|
12
13
|
*/
|
|
13
|
-
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps):
|
|
14
|
+
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps): React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.js";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.js";
|
|
3
4
|
interface ChartsRadiusGridProps {
|
|
@@ -10,5 +11,5 @@ interface ChartsRadiusGridProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* @ignore - internal component.
|
|
12
13
|
*/
|
|
13
|
-
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps):
|
|
14
|
+
export declare function ChartsRadiusGrid(props: ChartsRadiusGridProps): React.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.mjs";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.mjs";
|
|
3
4
|
interface ChartsRotationGridProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsRotationGridProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsRotationGrid(props: ChartsRotationGridProps):
|
|
13
|
+
export declare function ChartsRotationGrid(props: ChartsRotationGridProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import type { ChartsRadialGridClasses } from "./chartsRadialGridClasses.js";
|
|
2
3
|
import type { PolarAxisDefaultized } from "../models/axis.js";
|
|
3
4
|
interface ChartsRotationGridProps {
|
|
@@ -9,5 +10,5 @@ interface ChartsRotationGridProps {
|
|
|
9
10
|
/**
|
|
10
11
|
* @ignore - internal component.
|
|
11
12
|
*/
|
|
12
|
-
export declare function ChartsRotationGrid(props: ChartsRotationGridProps):
|
|
13
|
+
export declare function ChartsRotationGrid(props: ChartsRotationGridProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartsRadiusAxisProps, ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.mjs";
|
|
2
2
|
export interface ChartsRadiusAxisSlots extends ChartsAxisSlots {}
|
|
3
3
|
export interface ChartsRadiusAxisSlotProps extends ChartsAxisSlotProps {}
|
|
4
|
-
declare function ChartsRadiusAxis(props: ChartsRadiusAxisProps): import("react
|
|
4
|
+
declare function ChartsRadiusAxis(props: ChartsRadiusAxisProps): import("react").JSX.Element | null;
|
|
5
5
|
declare namespace ChartsRadiusAxis {
|
|
6
6
|
var propTypes: any;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartsRadiusAxisProps, ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.js";
|
|
2
2
|
export interface ChartsRadiusAxisSlots extends ChartsAxisSlots {}
|
|
3
3
|
export interface ChartsRadiusAxisSlotProps extends ChartsAxisSlotProps {}
|
|
4
|
-
declare function ChartsRadiusAxis(props: ChartsRadiusAxisProps): import("react
|
|
4
|
+
declare function ChartsRadiusAxis(props: ChartsRadiusAxisProps): import("react").JSX.Element | null;
|
|
5
5
|
declare namespace ChartsRadiusAxis {
|
|
6
6
|
var propTypes: any;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import type { ChartsXReferenceLineProps } from "./ChartsXReferenceLine.mjs";
|
|
|
2
2
|
import type { ChartsYReferenceLineProps } from "./ChartsYReferenceLine.mjs";
|
|
3
3
|
import type { XOR } from "../internals/ts-generic.mjs";
|
|
4
4
|
type ChartsReferenceLineProps<TValue extends string | number | Date = string | number | Date> = XOR<ChartsXReferenceLineProps<TValue>, ChartsYReferenceLineProps<TValue>>;
|
|
5
|
-
declare function ChartsReferenceLine(props: ChartsReferenceLineProps): import("react
|
|
5
|
+
declare function ChartsReferenceLine(props: ChartsReferenceLineProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace ChartsReferenceLine {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import type { ChartsXReferenceLineProps } from "./ChartsXReferenceLine.js";
|
|
|
2
2
|
import type { ChartsYReferenceLineProps } from "./ChartsYReferenceLine.js";
|
|
3
3
|
import type { XOR } from "../internals/ts-generic.js";
|
|
4
4
|
type ChartsReferenceLineProps<TValue extends string | number | Date = string | number | Date> = XOR<ChartsXReferenceLineProps<TValue>, ChartsYReferenceLineProps<TValue>>;
|
|
5
|
-
declare function ChartsReferenceLine(props: ChartsReferenceLineProps): import("react
|
|
5
|
+
declare function ChartsReferenceLine(props: ChartsReferenceLineProps): import("react").JSX.Element;
|
|
6
6
|
declare namespace ChartsReferenceLine {
|
|
7
7
|
var propTypes: any;
|
|
8
8
|
}
|
|
@@ -8,7 +8,7 @@ export type ChartsXReferenceLineProps<TValue extends string | number | Date = st
|
|
|
8
8
|
x: TValue;
|
|
9
9
|
};
|
|
10
10
|
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"root" | "line" | "label", string>;
|
|
11
|
-
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react
|
|
11
|
+
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsXReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ export type ChartsXReferenceLineProps<TValue extends string | number | Date = st
|
|
|
8
8
|
x: TValue;
|
|
9
9
|
};
|
|
10
10
|
export declare function getXReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"root" | "line" | "label", string>;
|
|
11
|
-
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react
|
|
11
|
+
declare function ChartsXReferenceLine(props: ChartsXReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsXReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ export type ChartsYReferenceLineProps<TValue extends string | number | Date = st
|
|
|
8
8
|
y: TValue;
|
|
9
9
|
};
|
|
10
10
|
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"root" | "line" | "label", string>;
|
|
11
|
-
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react
|
|
11
|
+
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsYReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ export type ChartsYReferenceLineProps<TValue extends string | number | Date = st
|
|
|
8
8
|
y: TValue;
|
|
9
9
|
};
|
|
10
10
|
export declare function getYReferenceLineClasses(classes?: Partial<ChartsReferenceLineClasses>): Record<"root" | "line" | "label", string>;
|
|
11
|
-
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react
|
|
11
|
+
declare function ChartsYReferenceLine(props: ChartsYReferenceLineProps): import("react").JSX.Element | null;
|
|
12
12
|
declare namespace ChartsYReferenceLine {
|
|
13
13
|
var propTypes: any;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartsRotationAxisProps, ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.mjs";
|
|
2
2
|
export interface ChartsRotationAxisSlots extends ChartsAxisSlots {}
|
|
3
3
|
export interface ChartsRotationAxisSlotProps extends ChartsAxisSlotProps {}
|
|
4
|
-
declare function ChartsRotationAxis(props: ChartsRotationAxisProps): import("react
|
|
4
|
+
declare function ChartsRotationAxis(props: ChartsRotationAxisProps): import("react").JSX.Element | null;
|
|
5
5
|
declare namespace ChartsRotationAxis {
|
|
6
6
|
var propTypes: any;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartsRotationAxisProps, ChartsAxisSlots, ChartsAxisSlotProps } from "../models/axis.js";
|
|
2
2
|
export interface ChartsRotationAxisSlots extends ChartsAxisSlots {}
|
|
3
3
|
export interface ChartsRotationAxisSlotProps extends ChartsAxisSlotProps {}
|
|
4
|
-
declare function ChartsRotationAxis(props: ChartsRotationAxisProps): import("react
|
|
4
|
+
declare function ChartsRotationAxis(props: ChartsRotationAxisProps): import("react").JSX.Element | null;
|
|
5
5
|
declare namespace ChartsRotationAxis {
|
|
6
6
|
var propTypes: any;
|
|
7
7
|
}
|
|
@@ -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
|
}
|