@mui/x-charts 9.0.0-alpha.2 → 9.0.0-alpha.3
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/BarChart.js +5 -2
- package/BarChart/BarChart.mjs +5 -2
- package/BarChart/BarElement.d.mts +1 -1
- package/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarElement.js +8 -7
- package/BarChart/BarElement.mjs +8 -7
- package/BarChart/BarLabel/BarLabel.js +4 -0
- package/BarChart/BarLabel/BarLabel.mjs +4 -0
- package/BarChart/BarLabel/BarLabel.types.d.mts +2 -2
- package/BarChart/BarLabel/BarLabel.types.d.ts +2 -2
- package/BarChart/BarLabel/BarLabelItem.js +8 -7
- package/BarChart/BarLabel/BarLabelItem.mjs +8 -7
- package/BarChart/BarLabel/barLabelClasses.d.mts +15 -0
- package/BarChart/BarLabel/barLabelClasses.d.ts +15 -0
- package/BarChart/BarLabel/barLabelClasses.js +19 -0
- package/BarChart/BarLabel/barLabelClasses.mjs +20 -0
- package/BarChart/BarPlot.js +1 -2
- package/BarChart/BarPlot.mjs +2 -3
- package/BarChart/barClasses.d.mts +21 -1
- package/BarChart/barClasses.d.ts +21 -1
- package/BarChart/barClasses.js +9 -3
- package/BarChart/barClasses.mjs +9 -3
- package/BarChart/barElementClasses.d.mts +17 -10
- package/BarChart/barElementClasses.d.ts +17 -10
- package/BarChart/barElementClasses.js +19 -0
- package/BarChart/barElementClasses.mjs +20 -0
- package/BarChart/index.d.mts +1 -1
- package/BarChart/index.d.ts +1 -1
- package/BarChart/index.js +1 -8
- package/BarChart/index.mjs +1 -1
- package/CHANGELOG.md +123 -1
- package/ChartContainer/ChartContainer.d.mts +1 -1
- package/ChartContainer/ChartContainer.d.ts +1 -1
- package/ChartContainer/useChartContainerProps.d.mts +2 -2
- package/ChartContainer/useChartContainerProps.d.ts +2 -2
- package/ChartDataProvider/ChartDataProvider.d.mts +1 -1
- package/ChartDataProvider/ChartDataProvider.d.ts +1 -1
- package/ChartDataProvider/useChartDataProviderProps.d.mts +2 -2
- package/ChartDataProvider/useChartDataProviderProps.d.ts +2 -2
- package/ChartsContainer/ChartsContainer.d.mts +1 -1
- package/ChartsContainer/ChartsContainer.d.ts +1 -1
- package/ChartsContainer/ChartsContainer.js +5 -2
- package/ChartsContainer/ChartsContainer.mjs +5 -2
- package/ChartsContainer/useChartsContainerProps.d.mts +3 -3
- package/ChartsContainer/useChartsContainerProps.d.ts +3 -3
- package/ChartsContainer/useChartsContainerProps.js +3 -3
- package/ChartsContainer/useChartsContainerProps.mjs +3 -3
- package/ChartsDataProvider/ChartsDataProvider.d.mts +2 -2
- package/ChartsDataProvider/ChartsDataProvider.d.ts +2 -2
- package/ChartsDataProvider/useChartsDataProviderProps.d.mts +2 -2
- package/ChartsDataProvider/useChartsDataProviderProps.d.ts +2 -2
- package/ChartsLabel/ChartsLabelMark.d.mts +8 -1
- package/ChartsLabel/ChartsLabelMark.d.ts +8 -1
- package/ChartsLabel/ChartsLabelMark.js +29 -3
- package/ChartsLabel/ChartsLabelMark.mjs +29 -3
- package/ChartsLabel/labelMarkClasses.d.mts +2 -0
- package/ChartsLabel/labelMarkClasses.d.ts +2 -0
- package/ChartsLabel/labelMarkClasses.js +1 -1
- package/ChartsLabel/labelMarkClasses.mjs +1 -1
- package/ChartsLegend/ChartsLegend.js +4 -2
- package/ChartsLegend/ChartsLegend.mjs +4 -2
- package/ChartsLegend/legendContext.types.d.mts +1 -0
- package/ChartsLegend/legendContext.types.d.ts +1 -0
- package/ChartsTooltip/ChartsAxisTooltipContent.js +3 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.mjs +3 -1
- package/ChartsTooltip/ChartsItemTooltipContent.js +6 -2
- package/ChartsTooltip/ChartsItemTooltipContent.mjs +6 -2
- package/ChartsTooltip/ChartsTooltipContainer.js +7 -5
- package/ChartsTooltip/ChartsTooltipContainer.mjs +6 -4
- package/ChartsTooltip/ChartsTooltipTable.d.mts +1 -1
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsTooltip/useAxesTooltip.d.mts +1 -0
- package/ChartsTooltip/useAxesTooltip.d.ts +1 -0
- package/ChartsTooltip/useAxesTooltip.js +6 -4
- package/ChartsTooltip/useAxesTooltip.mjs +6 -4
- package/ChartsTooltip/useItemTooltip.d.mts +5 -3
- package/ChartsTooltip/useItemTooltip.d.ts +5 -3
- package/ChartsXAxis/useAxisTicksProps.d.mts +286 -286
- package/ChartsXAxis/useAxisTicksProps.d.ts +286 -286
- package/ChartsYAxis/useAxisTicksProps.d.mts +286 -286
- package/ChartsYAxis/useAxisTicksProps.d.ts +286 -286
- package/LineChart/AreaElement.d.mts +12 -0
- package/LineChart/AreaElement.d.ts +12 -0
- package/LineChart/AreaElement.js +28 -9
- package/LineChart/AreaElement.mjs +30 -9
- package/LineChart/AreaPlot.js +10 -4
- package/LineChart/AreaPlot.mjs +11 -5
- package/LineChart/CircleMarkElement.js +9 -2
- package/LineChart/CircleMarkElement.mjs +10 -3
- package/LineChart/LineChart.js +5 -2
- package/LineChart/LineChart.mjs +5 -2
- package/LineChart/LineElement.d.mts +12 -0
- package/LineChart/LineElement.d.ts +12 -0
- package/LineChart/LineElement.js +28 -9
- package/LineChart/LineElement.mjs +30 -9
- package/LineChart/LineHighlightElement.d.mts +12 -0
- package/LineChart/LineHighlightElement.d.ts +12 -0
- package/LineChart/LineHighlightElement.js +22 -3
- package/LineChart/LineHighlightElement.mjs +24 -3
- package/LineChart/LinePlot.js +11 -5
- package/LineChart/LinePlot.mjs +12 -6
- package/LineChart/MarkElement.js +9 -2
- package/LineChart/MarkElement.mjs +10 -3
- package/LineChart/MarkPlot.js +19 -9
- package/LineChart/MarkPlot.mjs +20 -10
- package/LineChart/index.d.mts +3 -1
- package/LineChart/index.d.ts +3 -1
- package/LineChart/index.js +10 -2
- package/LineChart/index.mjs +2 -1
- package/LineChart/lineClasses.d.mts +34 -0
- package/LineChart/lineClasses.d.ts +34 -0
- package/LineChart/lineClasses.js +32 -0
- package/LineChart/lineClasses.mjs +23 -0
- package/LineChart/markElementClasses.d.mts +17 -8
- package/LineChart/markElementClasses.d.ts +17 -8
- package/LineChart/markElementClasses.js +19 -0
- package/LineChart/markElementClasses.mjs +20 -0
- package/LineChart/seriesConfig/legend.js +1 -0
- package/LineChart/seriesConfig/legend.mjs +1 -0
- package/LineChart/seriesConfig/seriesProcessor.js +1 -1
- package/LineChart/seriesConfig/seriesProcessor.mjs +1 -1
- package/LineChart/seriesConfig/tooltip.js +2 -1
- package/LineChart/seriesConfig/tooltip.mjs +2 -1
- package/PieChart/FocusedPieArc.js +8 -6
- package/PieChart/FocusedPieArc.mjs +8 -6
- package/PieChart/PieArc.d.mts +14 -11
- package/PieChart/PieArc.d.ts +14 -11
- package/PieChart/PieArc.js +22 -4
- package/PieChart/PieArc.mjs +24 -4
- package/PieChart/PieArcLabel.d.mts +16 -2
- package/PieChart/PieArcLabel.d.ts +16 -2
- package/PieChart/PieArcLabel.js +26 -5
- package/PieChart/PieArcLabel.mjs +28 -5
- package/PieChart/PieArcLabelPlot.js +6 -1
- package/PieChart/PieArcLabelPlot.mjs +6 -1
- package/PieChart/PieArcPlot.js +6 -1
- package/PieChart/PieArcPlot.mjs +6 -1
- package/PieChart/PieChart.js +5 -2
- package/PieChart/PieChart.mjs +5 -2
- package/PieChart/PiePlot.d.mts +1 -0
- package/PieChart/PiePlot.d.ts +1 -0
- package/PieChart/PiePlot.js +4 -1
- package/PieChart/PiePlot.mjs +4 -1
- package/PieChart/dataTransform/useTransformData.js +6 -8
- package/PieChart/dataTransform/useTransformData.mjs +6 -8
- package/PieChart/pieClasses.d.mts +22 -1
- package/PieChart/pieClasses.d.ts +22 -1
- package/PieChart/pieClasses.js +10 -3
- package/PieChart/pieClasses.mjs +10 -3
- package/RadarChart/RadarChart.js +5 -2
- package/RadarChart/RadarChart.mjs +5 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.mts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +3 -3
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.js +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.mjs +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.mts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +2 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.mjs +7 -14
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +4 -9
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.mjs +4 -9
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.mts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -16
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.mjs +8 -16
- package/RadarChart/seriesConfig/tooltip.js +13 -8
- package/RadarChart/seriesConfig/tooltip.mjs +13 -8
- package/RadarChart/useRadarChartProps.js +3 -3
- package/RadarChart/useRadarChartProps.mjs +3 -3
- package/ScatterChart/BatchScatter.d.mts +2 -1
- package/ScatterChart/BatchScatter.d.ts +2 -1
- package/ScatterChart/BatchScatter.js +5 -3
- package/ScatterChart/BatchScatter.mjs +4 -3
- package/ScatterChart/FocusedScatterMark.d.mts +4 -1
- package/ScatterChart/FocusedScatterMark.d.ts +4 -1
- package/ScatterChart/FocusedScatterMark.js +12 -2
- package/ScatterChart/FocusedScatterMark.mjs +11 -1
- package/ScatterChart/Scatter.d.mts +1 -1
- package/ScatterChart/Scatter.d.ts +1 -1
- package/ScatterChart/Scatter.js +11 -9
- package/ScatterChart/Scatter.mjs +11 -9
- package/ScatterChart/ScatterChart.js +5 -2
- package/ScatterChart/ScatterChart.mjs +5 -2
- package/ScatterChart/ScatterPlot.d.mts +2 -1
- package/ScatterChart/ScatterPlot.d.ts +2 -1
- package/ScatterChart/ScatterPlot.js +16 -2
- package/ScatterChart/ScatterPlot.mjs +16 -2
- package/ScatterChart/index.d.mts +2 -2
- package/ScatterChart/index.d.ts +2 -2
- package/ScatterChart/scatterClasses.d.mts +14 -2
- package/ScatterChart/scatterClasses.d.ts +14 -2
- package/ScatterChart/scatterClasses.js +9 -3
- package/ScatterChart/scatterClasses.mjs +9 -3
- package/SparkLineChart/SparkLineChart.js +5 -2
- package/SparkLineChart/SparkLineChart.mjs +5 -2
- package/context/ChartApi.d.mts +1 -1
- package/context/ChartApi.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.types.d.mts +2 -2
- package/context/ChartProvider/ChartProvider.types.d.ts +2 -2
- package/context/ChartsProvider/ChartsProvider.d.mts +1 -1
- package/context/ChartsProvider/ChartsProvider.d.ts +1 -1
- package/context/ChartsProvider/ChartsProvider.types.d.mts +3 -3
- package/context/ChartsProvider/ChartsProvider.types.d.ts +3 -3
- package/hooks/index.d.mts +2 -2
- package/hooks/index.d.ts +2 -2
- package/hooks/index.js +8 -8
- package/hooks/index.mjs +2 -2
- package/hooks/useInteractionItemProps.d.mts +1 -2
- package/hooks/useInteractionItemProps.d.ts +1 -2
- package/hooks/{useItemHighlighted.d.mts → useItemHighlightState.d.mts} +5 -13
- package/hooks/{useItemHighlighted.d.ts → useItemHighlightState.d.ts} +5 -13
- package/hooks/{useItemHighlighted.js → useItemHighlightState.js} +5 -10
- package/hooks/useItemHighlightState.mjs +17 -0
- package/hooks/useItemHighlightStateGetter.d.mts +9 -0
- package/hooks/useItemHighlightStateGetter.d.ts +9 -0
- package/hooks/useItemHighlightStateGetter.js +21 -0
- package/hooks/useItemHighlightStateGetter.mjs +16 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/commonNextFocusItem.d.mts +5 -5
- package/internals/commonNextFocusItem.d.ts +5 -5
- package/internals/createCommonKeyboardFocusHandler.d.mts +2 -2
- package/internals/createCommonKeyboardFocusHandler.d.ts +2 -2
- package/internals/identifierCleaner.d.mts +8 -4
- package/internals/identifierCleaner.d.ts +8 -4
- package/internals/identifierCleaner.js +5 -1
- package/internals/identifierCleaner.mjs +5 -1
- package/internals/identifierSerializer.d.mts +10 -2
- package/internals/identifierSerializer.d.ts +10 -2
- package/internals/identifierSerializer.js +8 -0
- package/internals/identifierSerializer.mjs +8 -0
- package/internals/plugins/allPlugins.d.mts +2 -2
- package/internals/plugins/allPlugins.d.ts +2 -2
- package/internals/plugins/corePlugins/corePlugins.d.mts +1 -1
- package/internals/plugins/corePlugins/corePlugins.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/processSeries.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.mts +9 -9
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +9 -9
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeries/useColorProcessor.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/cartesianExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/colorProcessor.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getItemAtPosition.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/getSeriesWithDefaultValues.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierCleaner.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/identifierSerializer.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.mts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/legendGetter.types.d.ts +1 -1
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/polarExtremumGetter.types.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.mts +28 -28
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesConfig.types.d.ts +28 -28
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.mts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesLayout.types.d.ts +2 -2
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.mts +6 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.ts +6 -6
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.mts +21 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipGetter.types.d.ts +21 -11
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.mts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/types/tooltipItemPositionGetter.types.d.ts +4 -4
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.mts +10 -10
- package/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.d.ts +10 -10
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/cleanIdentifier.d.ts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.mts +3 -3
- package/internals/plugins/corePlugins/useChartSeriesConfig/utils/serializeIdentifier.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.mts +1 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.d.ts +1 -2
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.js +0 -5
- package/internals/plugins/featurePlugins/useChartHighlight/highlightStates.mjs +0 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.mts +10 -29
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +10 -29
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +27 -64
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.mjs +24 -60
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.mts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/keyboardFocusHandler.types.d.ts +3 -3
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +8 -10
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.mjs +8 -10
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.mjs +1 -1
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.mts +8 -2
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.types.d.ts +8 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.mts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.d.ts +5 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisExtremum.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.mts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/getAxisTriggerTooltip.d.ts +1 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +6 -4
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.mjs +6 -4
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.mts +10 -10
- package/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.types.d.ts +10 -10
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.mts +16 -16
- package/internals/plugins/featurePlugins/useChartVisibilityManager/useChartVisibilityManager.types.d.ts +16 -16
- package/internals/plugins/models/chart.d.mts +1 -1
- package/internals/plugins/models/chart.d.ts +1 -1
- package/models/seriesType/config.d.mts +18 -6
- package/models/seriesType/config.d.ts +18 -6
- package/models/seriesType/index.d.mts +8 -8
- package/models/seriesType/index.d.ts +8 -8
- package/models/seriesType/line.d.mts +2 -1
- package/models/seriesType/line.d.ts +2 -1
- package/models/seriesType/radar.d.mts +1 -1
- package/models/seriesType/radar.d.ts +1 -1
- package/package.json +3 -3
- package/themeAugmentation/components.d.mts +26 -1
- package/themeAugmentation/components.d.ts +26 -1
- package/themeAugmentation/overrides.d.mts +15 -1
- package/themeAugmentation/overrides.d.ts +15 -1
- package/hooks/useItemHighlighted.mjs +0 -22
- package/hooks/useItemHighlightedGetter.d.mts +0 -53
- package/hooks/useItemHighlightedGetter.d.ts +0 -53
- package/hooks/useItemHighlightedGetter.js +0 -26
- package/hooks/useItemHighlightedGetter.mjs +0 -21
|
@@ -15,46 +15,46 @@ import { type GetItemAtPosition } from "./getItemAtPosition.types.js";
|
|
|
15
15
|
import { type UseChartCartesianAxisSignature } from "../../../featurePlugins/useChartCartesianAxis/index.js";
|
|
16
16
|
import { type UseChartPolarAxisSignature } from "../../../featurePlugins/useChartPolarAxis/index.js";
|
|
17
17
|
import { type HighlightCreator } from "../../../featurePlugins/useChartHighlight/highlightCreator.types.js";
|
|
18
|
-
export type ChartSeriesTypeRequiredPlugins<
|
|
18
|
+
export type ChartSeriesTypeRequiredPlugins<SeriesType extends ChartSeriesType> = ChartsSeriesConfig[SeriesType] extends {
|
|
19
19
|
axisType: 'cartesian';
|
|
20
|
-
} ? [UseChartCartesianAxisSignature] : ChartsSeriesConfig[
|
|
20
|
+
} ? [UseChartCartesianAxisSignature] : ChartsSeriesConfig[SeriesType] extends {
|
|
21
21
|
axisType: 'polar';
|
|
22
22
|
} ? [UseChartPolarAxisSignature] : [];
|
|
23
|
-
export type ChartSeriesTypeConfig<
|
|
24
|
-
seriesProcessor: SeriesProcessor<
|
|
23
|
+
export type ChartSeriesTypeConfig<SeriesType extends ChartSeriesType> = {
|
|
24
|
+
seriesProcessor: SeriesProcessor<SeriesType>;
|
|
25
25
|
/**
|
|
26
26
|
* A processor to add series layout when the layout does not depend from other series.
|
|
27
27
|
*/
|
|
28
|
-
seriesLayout?: SeriesLayoutGetter<
|
|
29
|
-
colorProcessor: ColorProcessor<
|
|
30
|
-
legendGetter: LegendGetter<
|
|
31
|
-
tooltipGetter: TooltipGetter<
|
|
32
|
-
tooltipItemPositionGetter?: TooltipItemPositionGetter<
|
|
33
|
-
getSeriesWithDefaultValues: GetSeriesWithDefaultValues<
|
|
34
|
-
keyboardFocusHandler?: KeyboardFocusHandler<
|
|
28
|
+
seriesLayout?: SeriesLayoutGetter<SeriesType>;
|
|
29
|
+
colorProcessor: ColorProcessor<SeriesType>;
|
|
30
|
+
legendGetter: LegendGetter<SeriesType>;
|
|
31
|
+
tooltipGetter: TooltipGetter<SeriesType>;
|
|
32
|
+
tooltipItemPositionGetter?: TooltipItemPositionGetter<SeriesType>;
|
|
33
|
+
getSeriesWithDefaultValues: GetSeriesWithDefaultValues<SeriesType>;
|
|
34
|
+
keyboardFocusHandler?: KeyboardFocusHandler<SeriesType>;
|
|
35
35
|
/**
|
|
36
36
|
* A function to serialize the series item identifier into a unique string.
|
|
37
|
-
* @param {SeriesItemIdentifierWithType<
|
|
37
|
+
* @param {SeriesItemIdentifierWithType<SeriesType>} identifier The series item identifier.
|
|
38
38
|
* @returns {string} A unique string representation of the identifier.
|
|
39
39
|
*/
|
|
40
|
-
identifierSerializer: IdentifierSerializer<
|
|
40
|
+
identifierSerializer: IdentifierSerializer<SeriesType>;
|
|
41
41
|
/**
|
|
42
42
|
* A function to clean a series item identifier, returning only the properties
|
|
43
43
|
* relevant to the series type.
|
|
44
|
-
* @param {Partial<SeriesItemIdentifierWithType<
|
|
45
|
-
* @returns {SeriesItemIdentifierWithType<
|
|
44
|
+
* @param {Partial<SeriesItemIdentifierWithType<SeriesType>> & { type: SeriesType }} identifier The partial identifier to clean.
|
|
45
|
+
* @returns {SeriesItemIdentifierWithType<SeriesType>} A cleaned identifier with only the relevant properties.
|
|
46
46
|
*/
|
|
47
|
-
identifierCleaner: IdentifierCleaner<
|
|
48
|
-
getItemAtPosition?: GetItemAtPosition<
|
|
49
|
-
isHighlightedCreator: HighlightCreator<
|
|
50
|
-
isFadedCreator: HighlightCreator<
|
|
51
|
-
} & (
|
|
52
|
-
xExtremumGetter: CartesianExtremumGetter<
|
|
53
|
-
yExtremumGetter: CartesianExtremumGetter<
|
|
54
|
-
axisTooltipGetter?: AxisTooltipGetter<
|
|
55
|
-
} : {}) & (
|
|
56
|
-
rotationExtremumGetter: PolarExtremumGetter<
|
|
57
|
-
radiusExtremumGetter: PolarExtremumGetter<
|
|
58
|
-
axisTooltipGetter?: AxisTooltipGetter<
|
|
47
|
+
identifierCleaner: IdentifierCleaner<SeriesType>;
|
|
48
|
+
getItemAtPosition?: GetItemAtPosition<SeriesType>;
|
|
49
|
+
isHighlightedCreator: HighlightCreator<SeriesType>;
|
|
50
|
+
isFadedCreator: HighlightCreator<SeriesType>;
|
|
51
|
+
} & (SeriesType extends CartesianChartSeriesType ? {
|
|
52
|
+
xExtremumGetter: CartesianExtremumGetter<SeriesType>;
|
|
53
|
+
yExtremumGetter: CartesianExtremumGetter<SeriesType>;
|
|
54
|
+
axisTooltipGetter?: AxisTooltipGetter<SeriesType, 'x' | 'y'>;
|
|
55
|
+
} : {}) & (SeriesType extends PolarChartSeriesType ? {
|
|
56
|
+
rotationExtremumGetter: PolarExtremumGetter<SeriesType>;
|
|
57
|
+
radiusExtremumGetter: PolarExtremumGetter<SeriesType>;
|
|
58
|
+
axisTooltipGetter?: AxisTooltipGetter<SeriesType, 'rotation' | 'radius'>;
|
|
59
59
|
} : {});
|
|
60
|
-
export type ChartSeriesConfig<
|
|
60
|
+
export type ChartSeriesConfig<SeriesType extends ChartSeriesType> = { [Key in SeriesType]: ChartSeriesTypeConfig<Key> };
|
|
@@ -2,5 +2,5 @@ import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/s
|
|
|
2
2
|
import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.mjs";
|
|
3
3
|
import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
|
|
4
4
|
import { type SeriesProcessorResult } from "./seriesProcessor.types.mjs";
|
|
5
|
-
export type SeriesLayoutGetterResult<
|
|
6
|
-
export type SeriesLayoutGetter<
|
|
5
|
+
export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
|
|
6
|
+
export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
|
|
@@ -2,5 +2,5 @@ import type { ChartSeriesType, ChartSeriesLayout } from "../../../../../models/s
|
|
|
2
2
|
import { type ChartDrawingArea } from "../../../../../hooks/useDrawingArea.js";
|
|
3
3
|
import type { SeriesId } from "../../../../../models/seriesType/common.js";
|
|
4
4
|
import { type SeriesProcessorResult } from "./seriesProcessor.types.js";
|
|
5
|
-
export type SeriesLayoutGetterResult<
|
|
6
|
-
export type SeriesLayoutGetter<
|
|
5
|
+
export type SeriesLayoutGetterResult<SeriesType extends ChartSeriesType> = Record<SeriesId, ChartSeriesLayout<SeriesType>>;
|
|
6
|
+
export type SeriesLayoutGetter<SeriesType extends ChartSeriesType> = (params: SeriesProcessorResult<SeriesType>, drawingArea: Readonly<ChartDrawingArea>) => SeriesLayoutGetterResult<SeriesType>;
|
package/internals/plugins/corePlugins/useChartSeriesConfig/types/seriesProcessor.types.d.mts
CHANGED
|
@@ -2,16 +2,16 @@ import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig, Datas
|
|
|
2
2
|
import type { SeriesId } from "../../../../../models/seriesType/common.mjs";
|
|
3
3
|
import type { StackingGroupsType } from "../../../../stacking/index.mjs";
|
|
4
4
|
import type { IsItemVisibleFunction } from "../../../featurePlugins/useChartVisibilityManager/index.mjs";
|
|
5
|
-
export type SeriesProcessorParams<
|
|
6
|
-
series: Record<SeriesId, ChartsSeriesConfig[
|
|
5
|
+
export type SeriesProcessorParams<SeriesType extends ChartSeriesType> = {
|
|
6
|
+
series: Record<SeriesId, ChartsSeriesConfig[SeriesType]['seriesInput']>;
|
|
7
7
|
seriesOrder: SeriesId[];
|
|
8
8
|
};
|
|
9
|
-
export type SeriesProcessorResult<
|
|
10
|
-
series: Record<SeriesId, ChartSeriesDefaultized<
|
|
9
|
+
export type SeriesProcessorResult<SeriesType extends ChartSeriesType> = {
|
|
10
|
+
series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>;
|
|
11
11
|
seriesOrder: SeriesId[];
|
|
12
|
-
} & (ChartsSeriesConfig[
|
|
12
|
+
} & (ChartsSeriesConfig[SeriesType] extends {
|
|
13
13
|
canBeStacked: true;
|
|
14
14
|
} ? {
|
|
15
15
|
stackingGroups: StackingGroupsType;
|
|
16
16
|
} : {});
|
|
17
|
-
export type SeriesProcessor<
|
|
17
|
+
export type SeriesProcessor<SeriesType extends ChartSeriesType> = (params: SeriesProcessorParams<SeriesType>, dataset?: Readonly<DatasetType>, isItemVisible?: IsItemVisibleFunction) => SeriesProcessorResult<SeriesType>;
|
|
@@ -2,16 +2,16 @@ import type { ChartSeriesDefaultized, ChartSeriesType, ChartsSeriesConfig, Datas
|
|
|
2
2
|
import type { SeriesId } from "../../../../../models/seriesType/common.js";
|
|
3
3
|
import type { StackingGroupsType } from "../../../../stacking/index.js";
|
|
4
4
|
import type { IsItemVisibleFunction } from "../../../featurePlugins/useChartVisibilityManager/index.js";
|
|
5
|
-
export type SeriesProcessorParams<
|
|
6
|
-
series: Record<SeriesId, ChartsSeriesConfig[
|
|
5
|
+
export type SeriesProcessorParams<SeriesType extends ChartSeriesType> = {
|
|
6
|
+
series: Record<SeriesId, ChartsSeriesConfig[SeriesType]['seriesInput']>;
|
|
7
7
|
seriesOrder: SeriesId[];
|
|
8
8
|
};
|
|
9
|
-
export type SeriesProcessorResult<
|
|
10
|
-
series: Record<SeriesId, ChartSeriesDefaultized<
|
|
9
|
+
export type SeriesProcessorResult<SeriesType extends ChartSeriesType> = {
|
|
10
|
+
series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>;
|
|
11
11
|
seriesOrder: SeriesId[];
|
|
12
|
-
} & (ChartsSeriesConfig[
|
|
12
|
+
} & (ChartsSeriesConfig[SeriesType] extends {
|
|
13
13
|
canBeStacked: true;
|
|
14
14
|
} ? {
|
|
15
15
|
stackingGroups: StackingGroupsType;
|
|
16
16
|
} : {});
|
|
17
|
-
export type SeriesProcessor<
|
|
17
|
+
export type SeriesProcessor<SeriesType extends ChartSeriesType> = (params: SeriesProcessorParams<SeriesType>, dataset?: Readonly<DatasetType>, isItemVisible?: IsItemVisibleFunction) => SeriesProcessorResult<SeriesType>;
|
|
@@ -4,11 +4,11 @@ import { type SeriesId } from "../../../../../models/seriesType/common.mjs";
|
|
|
4
4
|
import { type AxisId, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.mjs";
|
|
5
5
|
import { type ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.mjs";
|
|
6
6
|
import { type ColorGetter } from "./colorProcessor.types.mjs";
|
|
7
|
-
export interface ItemTooltip<
|
|
7
|
+
export interface ItemTooltip<SeriesType extends ChartSeriesType> {
|
|
8
8
|
/**
|
|
9
9
|
* An object that identifies the item to display.
|
|
10
10
|
*/
|
|
11
|
-
identifier: SeriesItemIdentifierWithType<
|
|
11
|
+
identifier: SeriesItemIdentifierWithType<SeriesType>;
|
|
12
12
|
/**
|
|
13
13
|
* The color associated with the item.
|
|
14
14
|
*/
|
|
@@ -20,7 +20,7 @@ export interface ItemTooltip<T extends ChartSeriesType> {
|
|
|
20
20
|
/**
|
|
21
21
|
* The item value.
|
|
22
22
|
*/
|
|
23
|
-
value: ChartsSeriesConfig[
|
|
23
|
+
value: ChartsSeriesConfig[SeriesType]['valueType'];
|
|
24
24
|
/**
|
|
25
25
|
* The value formatted with context set to "tooltip".
|
|
26
26
|
*/
|
|
@@ -29,8 +29,12 @@ export interface ItemTooltip<T extends ChartSeriesType> {
|
|
|
29
29
|
* The series mark type.
|
|
30
30
|
*/
|
|
31
31
|
markType: ChartsLabelMarkProps['type'];
|
|
32
|
+
/**
|
|
33
|
+
* The series mark shape.
|
|
34
|
+
*/
|
|
35
|
+
markShape?: ChartsLabelMarkProps['markShape'];
|
|
32
36
|
}
|
|
33
|
-
export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<ItemTooltip<T>, 'identifier' | 'color' | 'label' | 'markType'> & {
|
|
37
|
+
export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<ItemTooltip<T>, 'identifier' | 'color' | 'label' | 'markType' | 'markShape'> & {
|
|
34
38
|
values: {
|
|
35
39
|
/**
|
|
36
40
|
* The metric label.
|
|
@@ -48,6 +52,10 @@ export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<It
|
|
|
48
52
|
* The series mark type.
|
|
49
53
|
*/
|
|
50
54
|
markType: ChartsLabelMarkProps['type'];
|
|
55
|
+
/**
|
|
56
|
+
* The series mark shape.
|
|
57
|
+
*/
|
|
58
|
+
markShape?: ChartsLabelMarkProps['markShape'];
|
|
51
59
|
}[];
|
|
52
60
|
};
|
|
53
61
|
export interface TooltipGetterAxesConfig {
|
|
@@ -56,19 +64,21 @@ export interface TooltipGetterAxesConfig {
|
|
|
56
64
|
rotation?: PolarAxisDefaultized<any, any, ChartsRotationAxisProps>;
|
|
57
65
|
radius?: PolarAxisDefaultized<any, any, ChartsRadiusAxisProps>;
|
|
58
66
|
}
|
|
59
|
-
export type TooltipGetter<
|
|
60
|
-
series: ChartSeriesDefaultized<
|
|
67
|
+
export type TooltipGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
68
|
+
series: ChartSeriesDefaultized<SeriesType>;
|
|
61
69
|
axesConfig: TooltipGetterAxesConfig;
|
|
62
|
-
getColor: ColorGetter<
|
|
63
|
-
identifier: SeriesItemIdentifierWithType<
|
|
64
|
-
}) => (
|
|
70
|
+
getColor: ColorGetter<SeriesType>;
|
|
71
|
+
identifier: SeriesItemIdentifierWithType<SeriesType> | null;
|
|
72
|
+
}) => (SeriesType extends 'radar' ? ItemTooltipWithMultipleValues<SeriesType> : SeriesType extends 'heatmap' ? Omit<ItemTooltip<SeriesType>, 'value'> & {
|
|
73
|
+
value: number | null;
|
|
74
|
+
} : ItemTooltip<SeriesType>) | null;
|
|
65
75
|
/**
|
|
66
76
|
* If `axisId` is set to undefined, the default axis will be used.
|
|
67
77
|
*
|
|
68
|
-
* @param {Record<SeriesId, ChartSeriesDefaultized<
|
|
78
|
+
* @param {Record<SeriesId, ChartSeriesDefaultized<SeriesType>>} series A map of series ID to their series configuration.
|
|
69
79
|
* @returns {{ direction: Directions; axisId: AxisId | undefined }[]} an array of the axes that should trigger the tooltip.
|
|
70
80
|
*/
|
|
71
|
-
export type AxisTooltipGetter<
|
|
81
|
+
export type AxisTooltipGetter<SeriesType extends ChartSeriesType, Directions extends 'x' | 'y' | 'rotation' | 'radius' = 'x' | 'y'> = (series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>) => {
|
|
72
82
|
direction: Directions;
|
|
73
83
|
axisId: AxisId | undefined;
|
|
74
84
|
}[];
|
|
@@ -4,11 +4,11 @@ import { type SeriesId } from "../../../../../models/seriesType/common.js";
|
|
|
4
4
|
import { type AxisId, type ChartsRotationAxisProps, type ChartsRadiusAxisProps, type PolarAxisDefaultized, type ComputedXAxis, type ComputedYAxis } from "../../../../../models/axis.js";
|
|
5
5
|
import { type ChartsLabelMarkProps } from "../../../../../ChartsLabel/ChartsLabelMark.js";
|
|
6
6
|
import { type ColorGetter } from "./colorProcessor.types.js";
|
|
7
|
-
export interface ItemTooltip<
|
|
7
|
+
export interface ItemTooltip<SeriesType extends ChartSeriesType> {
|
|
8
8
|
/**
|
|
9
9
|
* An object that identifies the item to display.
|
|
10
10
|
*/
|
|
11
|
-
identifier: SeriesItemIdentifierWithType<
|
|
11
|
+
identifier: SeriesItemIdentifierWithType<SeriesType>;
|
|
12
12
|
/**
|
|
13
13
|
* The color associated with the item.
|
|
14
14
|
*/
|
|
@@ -20,7 +20,7 @@ export interface ItemTooltip<T extends ChartSeriesType> {
|
|
|
20
20
|
/**
|
|
21
21
|
* The item value.
|
|
22
22
|
*/
|
|
23
|
-
value: ChartsSeriesConfig[
|
|
23
|
+
value: ChartsSeriesConfig[SeriesType]['valueType'];
|
|
24
24
|
/**
|
|
25
25
|
* The value formatted with context set to "tooltip".
|
|
26
26
|
*/
|
|
@@ -29,8 +29,12 @@ export interface ItemTooltip<T extends ChartSeriesType> {
|
|
|
29
29
|
* The series mark type.
|
|
30
30
|
*/
|
|
31
31
|
markType: ChartsLabelMarkProps['type'];
|
|
32
|
+
/**
|
|
33
|
+
* The series mark shape.
|
|
34
|
+
*/
|
|
35
|
+
markShape?: ChartsLabelMarkProps['markShape'];
|
|
32
36
|
}
|
|
33
|
-
export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<ItemTooltip<T>, 'identifier' | 'color' | 'label' | 'markType'> & {
|
|
37
|
+
export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<ItemTooltip<T>, 'identifier' | 'color' | 'label' | 'markType' | 'markShape'> & {
|
|
34
38
|
values: {
|
|
35
39
|
/**
|
|
36
40
|
* The metric label.
|
|
@@ -48,6 +52,10 @@ export type ItemTooltipWithMultipleValues<T extends 'radar' = 'radar'> = Pick<It
|
|
|
48
52
|
* The series mark type.
|
|
49
53
|
*/
|
|
50
54
|
markType: ChartsLabelMarkProps['type'];
|
|
55
|
+
/**
|
|
56
|
+
* The series mark shape.
|
|
57
|
+
*/
|
|
58
|
+
markShape?: ChartsLabelMarkProps['markShape'];
|
|
51
59
|
}[];
|
|
52
60
|
};
|
|
53
61
|
export interface TooltipGetterAxesConfig {
|
|
@@ -56,19 +64,21 @@ export interface TooltipGetterAxesConfig {
|
|
|
56
64
|
rotation?: PolarAxisDefaultized<any, any, ChartsRotationAxisProps>;
|
|
57
65
|
radius?: PolarAxisDefaultized<any, any, ChartsRadiusAxisProps>;
|
|
58
66
|
}
|
|
59
|
-
export type TooltipGetter<
|
|
60
|
-
series: ChartSeriesDefaultized<
|
|
67
|
+
export type TooltipGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
68
|
+
series: ChartSeriesDefaultized<SeriesType>;
|
|
61
69
|
axesConfig: TooltipGetterAxesConfig;
|
|
62
|
-
getColor: ColorGetter<
|
|
63
|
-
identifier: SeriesItemIdentifierWithType<
|
|
64
|
-
}) => (
|
|
70
|
+
getColor: ColorGetter<SeriesType>;
|
|
71
|
+
identifier: SeriesItemIdentifierWithType<SeriesType> | null;
|
|
72
|
+
}) => (SeriesType extends 'radar' ? ItemTooltipWithMultipleValues<SeriesType> : SeriesType extends 'heatmap' ? Omit<ItemTooltip<SeriesType>, 'value'> & {
|
|
73
|
+
value: number | null;
|
|
74
|
+
} : ItemTooltip<SeriesType>) | null;
|
|
65
75
|
/**
|
|
66
76
|
* If `axisId` is set to undefined, the default axis will be used.
|
|
67
77
|
*
|
|
68
|
-
* @param {Record<SeriesId, ChartSeriesDefaultized<
|
|
78
|
+
* @param {Record<SeriesId, ChartSeriesDefaultized<SeriesType>>} series A map of series ID to their series configuration.
|
|
69
79
|
* @returns {{ direction: Directions; axisId: AxisId | undefined }[]} an array of the axes that should trigger the tooltip.
|
|
70
80
|
*/
|
|
71
|
-
export type AxisTooltipGetter<
|
|
81
|
+
export type AxisTooltipGetter<SeriesType extends ChartSeriesType, Directions extends 'x' | 'y' | 'rotation' | 'radius' = 'x' | 'y'> = (series: Record<SeriesId, ChartSeriesDefaultized<SeriesType>>) => {
|
|
72
82
|
direction: Directions;
|
|
73
83
|
axisId: AxisId | undefined;
|
|
74
84
|
}[];
|
|
@@ -10,12 +10,12 @@ export interface TooltipPositionGetterAxesConfig {
|
|
|
10
10
|
rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
|
|
11
11
|
radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
|
|
12
12
|
}
|
|
13
|
-
export type TooltipItemPositionGetter<
|
|
14
|
-
series: ProcessedSeries<
|
|
13
|
+
export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
14
|
+
series: ProcessedSeries<SeriesType>;
|
|
15
15
|
axesConfig: TooltipPositionGetterAxesConfig;
|
|
16
16
|
drawingArea: ChartDrawingArea;
|
|
17
|
-
identifier: SeriesItemIdentifierWithType<
|
|
18
|
-
seriesLayout: SeriesLayout<
|
|
17
|
+
identifier: SeriesItemIdentifierWithType<SeriesType> | null;
|
|
18
|
+
seriesLayout: SeriesLayout<SeriesType>;
|
|
19
19
|
/**
|
|
20
20
|
* The preferred placement of the tooltip related to the element.
|
|
21
21
|
* @default 'top'
|
|
@@ -10,12 +10,12 @@ export interface TooltipPositionGetterAxesConfig {
|
|
|
10
10
|
rotationAxes?: ComputeResult<ChartsRotationAxisProps>;
|
|
11
11
|
radiusAxes?: ComputeResult<ChartsRadiusAxisProps>;
|
|
12
12
|
}
|
|
13
|
-
export type TooltipItemPositionGetter<
|
|
14
|
-
series: ProcessedSeries<
|
|
13
|
+
export type TooltipItemPositionGetter<SeriesType extends ChartSeriesType> = (params: {
|
|
14
|
+
series: ProcessedSeries<SeriesType>;
|
|
15
15
|
axesConfig: TooltipPositionGetterAxesConfig;
|
|
16
16
|
drawingArea: ChartDrawingArea;
|
|
17
|
-
identifier: SeriesItemIdentifierWithType<
|
|
18
|
-
seriesLayout: SeriesLayout<
|
|
17
|
+
identifier: SeriesItemIdentifierWithType<SeriesType> | null;
|
|
18
|
+
seriesLayout: SeriesLayout<SeriesType>;
|
|
19
19
|
/**
|
|
20
20
|
* The preferred placement of the tooltip related to the element.
|
|
21
21
|
* @default 'top'
|
|
@@ -3,19 +3,19 @@ import { type ChartSeriesConfig } from "./types/seriesConfig.types.mjs";
|
|
|
3
3
|
import { type ChartSeriesType } from "../../../../models/seriesType/config.mjs";
|
|
4
4
|
import { type HighlightItemIdentifierWithType, type SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
|
|
5
5
|
import { type VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.mjs";
|
|
6
|
-
export interface UseChartSeriesConfigParameters<
|
|
6
|
+
export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
7
7
|
/**
|
|
8
8
|
* The configuration for the series types.
|
|
9
9
|
* This is used to define how each series type should be processed, colored, and displayed.
|
|
10
10
|
*/
|
|
11
|
-
seriesConfig?: ChartSeriesConfig<
|
|
11
|
+
seriesConfig?: ChartSeriesConfig<SeriesType>;
|
|
12
12
|
}
|
|
13
|
-
export type UseChartSeriesConfigDefaultizedParameters<
|
|
14
|
-
seriesConfig: ChartSeriesConfig<
|
|
13
|
+
export type UseChartSeriesConfigDefaultizedParameters<SeriesType extends ChartSeriesType = ChartSeriesType> = UseChartSeriesConfigParameters<SeriesType> & {
|
|
14
|
+
seriesConfig: ChartSeriesConfig<SeriesType>;
|
|
15
15
|
};
|
|
16
|
-
export interface UseChartSeriesConfigState<
|
|
16
|
+
export interface UseChartSeriesConfigState<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
17
17
|
seriesConfig: {
|
|
18
|
-
config: ChartSeriesConfig<
|
|
18
|
+
config: ChartSeriesConfig<SeriesType>;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export type SerializeIdentifierFunction = <T extends {
|
|
@@ -43,9 +43,9 @@ export interface UseChartSeriesConfigInstance {
|
|
|
43
43
|
*/
|
|
44
44
|
cleanIdentifier: CleanIdentifierFunction;
|
|
45
45
|
}
|
|
46
|
-
export type UseChartSeriesConfigSignature<
|
|
47
|
-
params: UseChartSeriesConfigParameters<
|
|
48
|
-
defaultizedParams: UseChartSeriesConfigDefaultizedParameters<
|
|
49
|
-
state: UseChartSeriesConfigState<
|
|
46
|
+
export type UseChartSeriesConfigSignature<SeriesType extends ChartSeriesType = ChartSeriesType> = ChartPluginSignature<{
|
|
47
|
+
params: UseChartSeriesConfigParameters<SeriesType>;
|
|
48
|
+
defaultizedParams: UseChartSeriesConfigDefaultizedParameters<SeriesType>;
|
|
49
|
+
state: UseChartSeriesConfigState<SeriesType>;
|
|
50
50
|
instance: UseChartSeriesConfigInstance;
|
|
51
51
|
}>;
|
|
@@ -3,19 +3,19 @@ import { type ChartSeriesConfig } from "./types/seriesConfig.types.js";
|
|
|
3
3
|
import { type ChartSeriesType } from "../../../../models/seriesType/config.js";
|
|
4
4
|
import { type HighlightItemIdentifierWithType, type SeriesItemIdentifierWithType } from "../../../../models/seriesType/index.js";
|
|
5
5
|
import { type VisibilityIdentifierWithType } from "../../featurePlugins/useChartVisibilityManager/index.js";
|
|
6
|
-
export interface UseChartSeriesConfigParameters<
|
|
6
|
+
export interface UseChartSeriesConfigParameters<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
7
7
|
/**
|
|
8
8
|
* The configuration for the series types.
|
|
9
9
|
* This is used to define how each series type should be processed, colored, and displayed.
|
|
10
10
|
*/
|
|
11
|
-
seriesConfig?: ChartSeriesConfig<
|
|
11
|
+
seriesConfig?: ChartSeriesConfig<SeriesType>;
|
|
12
12
|
}
|
|
13
|
-
export type UseChartSeriesConfigDefaultizedParameters<
|
|
14
|
-
seriesConfig: ChartSeriesConfig<
|
|
13
|
+
export type UseChartSeriesConfigDefaultizedParameters<SeriesType extends ChartSeriesType = ChartSeriesType> = UseChartSeriesConfigParameters<SeriesType> & {
|
|
14
|
+
seriesConfig: ChartSeriesConfig<SeriesType>;
|
|
15
15
|
};
|
|
16
|
-
export interface UseChartSeriesConfigState<
|
|
16
|
+
export interface UseChartSeriesConfigState<SeriesType extends ChartSeriesType = ChartSeriesType> {
|
|
17
17
|
seriesConfig: {
|
|
18
|
-
config: ChartSeriesConfig<
|
|
18
|
+
config: ChartSeriesConfig<SeriesType>;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export type SerializeIdentifierFunction = <T extends {
|
|
@@ -43,9 +43,9 @@ export interface UseChartSeriesConfigInstance {
|
|
|
43
43
|
*/
|
|
44
44
|
cleanIdentifier: CleanIdentifierFunction;
|
|
45
45
|
}
|
|
46
|
-
export type UseChartSeriesConfigSignature<
|
|
47
|
-
params: UseChartSeriesConfigParameters<
|
|
48
|
-
defaultizedParams: UseChartSeriesConfigDefaultizedParameters<
|
|
49
|
-
state: UseChartSeriesConfigState<
|
|
46
|
+
export type UseChartSeriesConfigSignature<SeriesType extends ChartSeriesType = ChartSeriesType> = ChartPluginSignature<{
|
|
47
|
+
params: UseChartSeriesConfigParameters<SeriesType>;
|
|
48
|
+
defaultizedParams: UseChartSeriesConfigDefaultizedParameters<SeriesType>;
|
|
49
|
+
state: UseChartSeriesConfigState<SeriesType>;
|
|
50
50
|
instance: UseChartSeriesConfigInstance;
|
|
51
51
|
}>;
|
|
@@ -10,6 +10,6 @@ import type { ChartSeriesConfig } from "../types/index.mjs";
|
|
|
10
10
|
* @returns {object} A cleaned identifier object with only the properties relevant to the series type.
|
|
11
11
|
* @throws Will throw an error if no cleaner is found for the given series type.
|
|
12
12
|
*/
|
|
13
|
-
export declare const cleanIdentifier: <
|
|
14
|
-
type:
|
|
15
|
-
}>(seriesConfig: ChartSeriesConfig<
|
|
13
|
+
export declare const cleanIdentifier: <SeriesType extends ChartSeriesType, U extends {
|
|
14
|
+
type: SeriesType;
|
|
15
|
+
}>(seriesConfig: ChartSeriesConfig<SeriesType>, identifier: U) => SeriesItemIdentifierWithType<SeriesType>;
|
|
@@ -10,6 +10,6 @@ import type { ChartSeriesConfig } from "../types/index.js";
|
|
|
10
10
|
* @returns {object} A cleaned identifier object with only the properties relevant to the series type.
|
|
11
11
|
* @throws Will throw an error if no cleaner is found for the given series type.
|
|
12
12
|
*/
|
|
13
|
-
export declare const cleanIdentifier: <
|
|
14
|
-
type:
|
|
15
|
-
}>(seriesConfig: ChartSeriesConfig<
|
|
13
|
+
export declare const cleanIdentifier: <SeriesType extends ChartSeriesType, U extends {
|
|
14
|
+
type: SeriesType;
|
|
15
|
+
}>(seriesConfig: ChartSeriesConfig<SeriesType>, identifier: U) => SeriesItemIdentifierWithType<SeriesType>;
|
|
@@ -9,6 +9,6 @@ import type { ChartSeriesConfig } from "../types/index.mjs";
|
|
|
9
9
|
* @returns {string} A unique string representation of the identifier.
|
|
10
10
|
* @throws Will throw an error if no serializer is found for the given series type.
|
|
11
11
|
*/
|
|
12
|
-
export declare const serializeIdentifier: <
|
|
13
|
-
type:
|
|
14
|
-
}>(seriesConfig: ChartSeriesConfig<
|
|
12
|
+
export declare const serializeIdentifier: <SeriesType extends ChartSeriesType, U extends {
|
|
13
|
+
type: SeriesType;
|
|
14
|
+
}>(seriesConfig: ChartSeriesConfig<SeriesType>, identifier: U) => string;
|
|
@@ -9,6 +9,6 @@ import type { ChartSeriesConfig } from "../types/index.js";
|
|
|
9
9
|
* @returns {string} A unique string representation of the identifier.
|
|
10
10
|
* @throws Will throw an error if no serializer is found for the given series type.
|
|
11
11
|
*/
|
|
12
|
-
export declare const serializeIdentifier: <
|
|
13
|
-
type:
|
|
14
|
-
}>(seriesConfig: ChartSeriesConfig<
|
|
12
|
+
export declare const serializeIdentifier: <SeriesType extends ChartSeriesType, U extends {
|
|
13
|
+
type: SeriesType;
|
|
14
|
+
}>(seriesConfig: ChartSeriesConfig<SeriesType>, identifier: U) => string;
|
|
@@ -10,22 +10,22 @@ export type ComputeResult<T extends ChartsAxisProps> = {
|
|
|
10
10
|
axis: ComputedAxisConfig<T>;
|
|
11
11
|
axisIds: AxisId[];
|
|
12
12
|
};
|
|
13
|
-
type ComputeCommonParams<
|
|
13
|
+
type ComputeCommonParams<SeriesType extends ChartSeriesType = ChartSeriesType> = {
|
|
14
14
|
scales: Record<AxisId, D3Scale>;
|
|
15
15
|
drawingArea: ChartDrawingArea;
|
|
16
|
-
formattedSeries: ProcessedSeries<
|
|
17
|
-
seriesConfig: ChartSeriesConfig<
|
|
16
|
+
formattedSeries: ProcessedSeries<SeriesType>;
|
|
17
|
+
seriesConfig: ChartSeriesConfig<SeriesType>;
|
|
18
18
|
zoomMap?: Map<AxisId, ZoomData>;
|
|
19
19
|
domains: Record<AxisId, {
|
|
20
20
|
domain: ReadonlyArray<string | NumberValue>;
|
|
21
21
|
tickNumber?: number;
|
|
22
22
|
}>;
|
|
23
23
|
};
|
|
24
|
-
export declare function computeAxisValue<
|
|
24
|
+
export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
|
|
25
25
|
axis?: DefaultedYAxis[];
|
|
26
26
|
axisDirection: 'y';
|
|
27
27
|
}): ComputeResult<ChartsYAxisProps>;
|
|
28
|
-
export declare function computeAxisValue<
|
|
28
|
+
export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
|
|
29
29
|
axis?: DefaultedXAxis[];
|
|
30
30
|
axisDirection: 'x';
|
|
31
31
|
}): ComputeResult<ChartsXAxisProps>;
|
|
@@ -10,22 +10,22 @@ export type ComputeResult<T extends ChartsAxisProps> = {
|
|
|
10
10
|
axis: ComputedAxisConfig<T>;
|
|
11
11
|
axisIds: AxisId[];
|
|
12
12
|
};
|
|
13
|
-
type ComputeCommonParams<
|
|
13
|
+
type ComputeCommonParams<SeriesType extends ChartSeriesType = ChartSeriesType> = {
|
|
14
14
|
scales: Record<AxisId, D3Scale>;
|
|
15
15
|
drawingArea: ChartDrawingArea;
|
|
16
|
-
formattedSeries: ProcessedSeries<
|
|
17
|
-
seriesConfig: ChartSeriesConfig<
|
|
16
|
+
formattedSeries: ProcessedSeries<SeriesType>;
|
|
17
|
+
seriesConfig: ChartSeriesConfig<SeriesType>;
|
|
18
18
|
zoomMap?: Map<AxisId, ZoomData>;
|
|
19
19
|
domains: Record<AxisId, {
|
|
20
20
|
domain: ReadonlyArray<string | NumberValue>;
|
|
21
21
|
tickNumber?: number;
|
|
22
22
|
}>;
|
|
23
23
|
};
|
|
24
|
-
export declare function computeAxisValue<
|
|
24
|
+
export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
|
|
25
25
|
axis?: DefaultedYAxis[];
|
|
26
26
|
axisDirection: 'y';
|
|
27
27
|
}): ComputeResult<ChartsYAxisProps>;
|
|
28
|
-
export declare function computeAxisValue<
|
|
28
|
+
export declare function computeAxisValue<SeriesType extends ChartSeriesType>(options: ComputeCommonParams<SeriesType> & {
|
|
29
29
|
axis?: DefaultedXAxis[];
|
|
30
30
|
axisDirection: 'x';
|
|
31
31
|
}): ComputeResult<ChartsXAxisProps>;
|
|
@@ -2,4 +2,4 @@ import { type CartesianChartSeriesType } from "../../../../models/seriesType/con
|
|
|
2
2
|
import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.mjs";
|
|
3
3
|
import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.mjs";
|
|
4
4
|
import { type AxisId } from "../../../../models/axis.mjs";
|
|
5
|
-
export declare const getAxisTriggerTooltip: <
|
|
5
|
+
export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: "x" | "y", seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;
|
|
@@ -2,4 +2,4 @@ import { type CartesianChartSeriesType } from "../../../../models/seriesType/con
|
|
|
2
2
|
import { type ChartSeriesConfig } from "../../corePlugins/useChartSeriesConfig/index.js";
|
|
3
3
|
import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
|
|
4
4
|
import { type AxisId } from "../../../../models/axis.js";
|
|
5
|
-
export declare const getAxisTriggerTooltip: <
|
|
5
|
+
export declare const getAxisTriggerTooltip: <SeriesType extends CartesianChartSeriesType>(axisDirection: "x" | "y", seriesConfig: ChartSeriesConfig<SeriesType>, formattedSeries: ProcessedSeries<SeriesType>, defaultAxisId: AxisId) => Set<AxisId>;
|
|
@@ -81,7 +81,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
81
81
|
}, axisId: AxisId) => import("../../../index.mjs").ComputedAxis<keyof import("../../../index.mjs").AxisScaleConfig, any, import("../../../index.mjs").ChartsXAxisProps>;
|
|
82
82
|
export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.mjs").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.mjs").UseChartSeriesConfigState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.mjs").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.mjs").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.mjs").UseChartSeriesState<keyof import("../../../index.mjs").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.mjs").UseChartAnimationState & import("../../../index.mjs").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.mjs").UseChartCartesianAxisState> & {
|
|
83
83
|
cacheKey: import("../../models/index.mjs").ChartStateCacheKey;
|
|
84
|
-
}, axisId: AxisId) => DefaultedAxis<"
|
|
84
|
+
}, axisId: AxisId) => DefaultedAxis<"linear", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"time", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"log", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"band", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"point", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("../../../index.mjs").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("../../../index.mjs").ChartsXAxisProps> | ({
|
|
85
85
|
offset?: number;
|
|
86
86
|
} & {
|
|
87
87
|
id: AxisId;
|
|
@@ -96,13 +96,13 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
96
96
|
});
|
|
97
97
|
ignoreTooltip?: boolean;
|
|
98
98
|
} & Omit<Partial<import("../../../index.mjs").ChartsYAxisProps>, "axisId"> & Partial<Omit<{
|
|
99
|
-
scaleType: "time";
|
|
100
|
-
scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
|
|
101
|
-
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
102
|
-
} | {
|
|
103
99
|
scaleType: "linear";
|
|
104
100
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
105
101
|
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
102
|
+
} | {
|
|
103
|
+
scaleType: "time";
|
|
104
|
+
scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
|
|
105
|
+
colorMap?: import("../../../../models/colorMapping.mjs").ContinuousColorConfig | import("../../../../models/colorMapping.mjs").PiecewiseColorConfig;
|
|
106
106
|
} | {
|
|
107
107
|
scaleType: "log";
|
|
108
108
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|
|
@@ -81,7 +81,7 @@ export declare const selectorChartAxis: (args_0: import("../../corePlugins/useCh
|
|
|
81
81
|
}, axisId: AxisId) => import("../../../index.js").ComputedAxis<keyof import("../../../index.js").AxisScaleConfig, any, import("../../../index.js").ChartsXAxisProps>;
|
|
82
82
|
export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
83
83
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
84
|
-
}, axisId: AxisId) => DefaultedAxis<"
|
|
84
|
+
}, axisId: AxisId) => DefaultedAxis<"linear", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"time", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"log", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"band", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"point", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"symlog", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"pow", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"sqrt", any, import("../../../index.js").ChartsXAxisProps> | DefaultedAxis<"utc", any, import("../../../index.js").ChartsXAxisProps> | ({
|
|
85
85
|
offset?: number;
|
|
86
86
|
} & {
|
|
87
87
|
id: AxisId;
|
|
@@ -96,13 +96,13 @@ export declare const selectorChartRawAxis: (args_0: import("../../corePlugins/us
|
|
|
96
96
|
});
|
|
97
97
|
ignoreTooltip?: boolean;
|
|
98
98
|
} & Omit<Partial<import("../../../index.js").ChartsYAxisProps>, "axisId"> & Partial<Omit<{
|
|
99
|
-
scaleType: "time";
|
|
100
|
-
scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
|
|
101
|
-
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
102
|
-
} | {
|
|
103
99
|
scaleType: "linear";
|
|
104
100
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number>;
|
|
105
101
|
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
102
|
+
} | {
|
|
103
|
+
scaleType: "time";
|
|
104
|
+
scale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number>;
|
|
105
|
+
colorMap?: import("../../../../models/colorMapping.js").ContinuousColorConfig | import("../../../../models/colorMapping.js").PiecewiseColorConfig;
|
|
106
106
|
} | {
|
|
107
107
|
scaleType: "log";
|
|
108
108
|
scale: import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number>;
|