@mui/x-charts 8.16.0 → 8.18.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.ts +1 -1
- package/BarChart/BarChart.js +1 -0
- package/BarChart/BarClipPath.d.ts +1 -1
- package/BarChart/BarElement.d.ts +1 -1
- package/BarChart/BarElement.js +6 -8
- package/BarChart/BarLabel/BarLabel.d.ts +6 -0
- package/BarChart/BarLabel/BarLabel.js +41 -4
- package/BarChart/BarLabel/BarLabelItem.d.ts +7 -1
- package/BarChart/BarLabel/BarLabelItem.js +4 -2
- package/BarChart/BarLabel/BarLabelPlot.d.ts +2 -3
- package/BarChart/BarLabel/BarLabelPlot.js +42 -38
- package/BarChart/BarPlot.d.ts +13 -3
- package/BarChart/BarPlot.js +8 -3
- package/BarChart/seriesConfig/{extremums.d.ts → bar/extremums.d.ts} +1 -1
- package/BarChart/seriesConfig/{extremums.js → bar/extremums.js} +1 -1
- package/BarChart/seriesConfig/bar/getColor.d.ts +3 -0
- package/BarChart/seriesConfig/{getColor.js → bar/getColor.js} +28 -5
- package/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +3 -0
- package/BarChart/seriesConfig/bar/legend.d.ts +3 -0
- package/BarChart/seriesConfig/{legend.js → bar/legend.js} +1 -1
- package/BarChart/seriesConfig/bar/seriesProcessor.d.ts +3 -0
- package/BarChart/seriesConfig/{seriesProcessor.js → bar/seriesProcessor.js} +1 -1
- package/BarChart/seriesConfig/bar/tooltip.d.ts +4 -0
- package/BarChart/seriesConfig/{tooltip.js → bar/tooltip.js} +1 -1
- package/BarChart/seriesConfig/bar/tooltipPosition.d.ts +3 -0
- package/BarChart/seriesConfig/{tooltipPosition.js → bar/tooltipPosition.js} +1 -1
- package/BarChart/seriesConfig/index.d.ts +1 -1
- package/BarChart/seriesConfig/index.js +9 -9
- package/BarChart/types.d.ts +2 -0
- package/BarChart/useBarPlotData.js +5 -3
- package/CHANGELOG.md +208 -1
- package/ChartDataProvider/ChartDataProvider.d.ts +1 -1
- package/ChartsAxis/ChartsAxis.d.ts +1 -2
- package/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -2
- package/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +1 -2
- package/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +1 -2
- package/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +1 -2
- package/ChartsClipPath/ChartsClipPath.d.ts +1 -2
- package/ChartsClipPath/ChartsClipPath.js +0 -2
- package/ChartsGrid/ChartsGrid.d.ts +1 -2
- package/ChartsGrid/ChartsGrid.js +0 -2
- package/ChartsGrid/ChartsHorizontalGrid.d.ts +1 -2
- package/ChartsGrid/ChartsVerticalGrid.d.ts +1 -2
- package/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
- package/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -2
- package/ChartsOverlay/ChartsLoadingOverlay.js +0 -2
- package/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -2
- package/ChartsOverlay/ChartsNoDataOverlay.js +0 -2
- package/ChartsOverlay/ChartsOverlay.d.ts +1 -1
- package/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -2
- package/ChartsReferenceLine/ChartsReferenceLine.js +0 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -2
- package/ChartsReferenceLine/ChartsXReferenceLine.js +0 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -2
- package/ChartsReferenceLine/ChartsYReferenceLine.js +0 -2
- package/ChartsSurface/ChartsSurface.js +8 -9
- package/ChartsSurface/chartsSurfaceClasses.d.ts +6 -0
- package/ChartsSurface/chartsSurfaceClasses.js +21 -0
- package/ChartsSurface/index.d.ts +2 -1
- package/ChartsSurface/index.js +12 -1
- package/ChartsText/ChartsText.d.ts +1 -1
- package/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -2
- package/ChartsTooltip/ChartsAxisTooltipContent.js +0 -2
- package/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -2
- package/ChartsTooltip/ChartsItemTooltipContent.js +0 -2
- package/ChartsTooltip/ChartsTooltip.d.ts +1 -2
- package/ChartsTooltip/ChartsTooltip.js +0 -2
- package/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
- package/ChartsTooltip/ChartsTooltipContainer.js +13 -14
- package/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/ChartsWrapper/ChartsWrapper.d.ts +1 -1
- package/ChartsWrapper/ChartsWrapper.js +3 -5
- package/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -2
- package/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +1 -2
- package/ChartsXAxis/ChartsXAxis.d.ts +1 -2
- package/ChartsXAxis/ChartsXAxis.js +0 -2
- package/ChartsXAxis/ChartsXAxisImpl.d.ts +1 -2
- package/ChartsXAxis/useAxisTicksProps.d.ts +32 -32
- package/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -2
- package/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +1 -2
- package/ChartsYAxis/ChartsYAxis.d.ts +1 -2
- package/ChartsYAxis/ChartsYAxis.js +0 -2
- package/ChartsYAxis/ChartsYAxisImpl.d.ts +1 -2
- package/ChartsYAxis/useAxisTicksProps.d.ts +32 -32
- package/Gauge/GaugeProvider.d.ts +1 -1
- package/Gauge/GaugeReferenceArc.d.ts +1 -1
- package/Gauge/GaugeValueArc.d.ts +1 -1
- package/Gauge/GaugeValueText.d.ts +1 -2
- package/Gauge/GaugeValueText.js +0 -2
- package/LineChart/AnimatedArea.d.ts +1 -1
- package/LineChart/AppearingMask.d.ts +1 -1
- package/LineChart/AreaElement.d.ts +1 -1
- package/LineChart/AreaPlot.d.ts +1 -1
- package/LineChart/CircleMarkElement.d.ts +1 -1
- package/LineChart/FocusedMark.d.ts +1 -2
- package/LineChart/FocusedMark.js +0 -2
- package/LineChart/LineElement.d.ts +1 -1
- package/LineChart/LineHighlightElement.d.ts +1 -1
- package/LineChart/LineHighlightPlot.d.ts +1 -1
- package/LineChart/LinePlot.d.ts +1 -1
- package/LineChart/MarkElement.d.ts +1 -1
- package/LineChart/MarkPlot.d.ts +1 -1
- package/LineChart/seriesConfig/getColor.js +28 -5
- package/LineChart/seriesConfig/index.d.ts +1 -1
- package/LineChart/seriesConfig/index.js +2 -2
- package/PieChart/PieArcLabelPlot.d.ts +1 -1
- package/PieChart/PieArcPlot.d.ts +1 -1
- package/PieChart/PiePlot.d.ts +1 -2
- package/PieChart/PiePlot.js +0 -2
- package/PieChart/seriesConfig/index.d.ts +1 -1
- package/PieChart/seriesConfig/index.js +2 -2
- package/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
- package/RadarChart/RadarAxis/RadarAxis.utils.d.ts +2 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -2
- package/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +7 -3
- package/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -2
- package/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -2
- package/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -2
- package/RadarChart/RadarGrid/RadarGrid.d.ts +1 -2
- package/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -2
- package/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -2
- package/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +1 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +1 -1
- package/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +1 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -2
- package/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +1 -3
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -0
- package/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -1
- package/RadarChart/seriesConfig/getColor.js +12 -1
- package/ScatterChart/BatchScatter.d.ts +1 -2
- package/ScatterChart/BatchScatter.js +4 -4
- package/ScatterChart/Scatter.d.ts +7 -2
- package/ScatterChart/Scatter.js +7 -3
- package/ScatterChart/ScatterMarker.d.ts +1 -1
- package/ScatterChart/ScatterPlot.d.ts +1 -1
- package/ScatterChart/ScatterPlot.js +1 -1
- package/ScatterChart/seriesConfig/getColor.js +36 -7
- package/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/ScatterChart/seriesConfig/index.js +2 -2
- package/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/context/ChartProvider/ChartProvider.js +4 -4
- package/context/ChartProvider/ChartProvider.types.d.ts +3 -3
- package/context/ChartsSlotsContext.d.ts +1 -1
- package/esm/BarChart/AnimatedBarElement.d.ts +1 -1
- package/esm/BarChart/BarChart.js +1 -0
- package/esm/BarChart/BarClipPath.d.ts +1 -1
- package/esm/BarChart/BarElement.d.ts +1 -1
- package/esm/BarChart/BarElement.js +6 -8
- package/esm/BarChart/BarLabel/BarLabel.d.ts +6 -0
- package/esm/BarChart/BarLabel/BarLabel.js +41 -4
- package/esm/BarChart/BarLabel/BarLabelItem.d.ts +7 -1
- package/esm/BarChart/BarLabel/BarLabelItem.js +4 -2
- package/esm/BarChart/BarLabel/BarLabelPlot.d.ts +2 -3
- package/esm/BarChart/BarLabel/BarLabelPlot.js +42 -37
- package/esm/BarChart/BarPlot.d.ts +13 -3
- package/esm/BarChart/BarPlot.js +8 -3
- package/esm/BarChart/seriesConfig/{extremums.d.ts → bar/extremums.d.ts} +1 -1
- package/esm/BarChart/seriesConfig/{extremums.js → bar/extremums.js} +1 -1
- package/esm/BarChart/seriesConfig/bar/getColor.d.ts +3 -0
- package/esm/BarChart/seriesConfig/{getColor.js → bar/getColor.js} +28 -5
- package/esm/BarChart/seriesConfig/bar/getSeriesWithDefaultValues.d.ts +3 -0
- package/esm/BarChart/seriesConfig/bar/legend.d.ts +3 -0
- package/esm/BarChart/seriesConfig/{legend.js → bar/legend.js} +1 -1
- package/esm/BarChart/seriesConfig/bar/seriesProcessor.d.ts +3 -0
- package/esm/BarChart/seriesConfig/{seriesProcessor.js → bar/seriesProcessor.js} +1 -1
- package/esm/BarChart/seriesConfig/bar/tooltip.d.ts +4 -0
- package/esm/BarChart/seriesConfig/{tooltip.js → bar/tooltip.js} +1 -1
- package/esm/BarChart/seriesConfig/bar/tooltipPosition.d.ts +3 -0
- package/esm/BarChart/seriesConfig/{tooltipPosition.js → bar/tooltipPosition.js} +1 -1
- package/esm/BarChart/seriesConfig/index.d.ts +1 -1
- package/esm/BarChart/seriesConfig/index.js +8 -8
- package/esm/BarChart/types.d.ts +2 -0
- package/esm/BarChart/useBarPlotData.js +5 -3
- package/esm/ChartDataProvider/ChartDataProvider.d.ts +1 -1
- package/esm/ChartsAxis/ChartsAxis.d.ts +1 -2
- package/esm/ChartsAxisHighlight/ChartsAxisHighlight.d.ts +1 -2
- package/esm/ChartsAxisHighlight/ChartsXAxisHighlight.d.ts +1 -2
- package/esm/ChartsAxisHighlight/ChartsYAxisHighlight.d.ts +1 -2
- package/esm/ChartsBrushOverlay/ChartsBrushOverlay.d.ts +1 -2
- package/esm/ChartsClipPath/ChartsClipPath.d.ts +1 -2
- package/esm/ChartsClipPath/ChartsClipPath.js +0 -1
- package/esm/ChartsGrid/ChartsGrid.d.ts +1 -2
- package/esm/ChartsGrid/ChartsGrid.js +0 -1
- package/esm/ChartsGrid/ChartsHorizontalGrid.d.ts +1 -2
- package/esm/ChartsGrid/ChartsVerticalGrid.d.ts +1 -2
- package/esm/ChartsLegend/continuousColorLegendClasses.d.ts +1 -1
- package/esm/ChartsLocalizationProvider/ChartsLocalizationProvider.d.ts +1 -1
- package/esm/ChartsOverlay/ChartsLoadingOverlay.d.ts +1 -2
- package/esm/ChartsOverlay/ChartsLoadingOverlay.js +0 -1
- package/esm/ChartsOverlay/ChartsNoDataOverlay.d.ts +1 -2
- package/esm/ChartsOverlay/ChartsNoDataOverlay.js +0 -1
- package/esm/ChartsOverlay/ChartsOverlay.d.ts +1 -1
- package/esm/ChartsReferenceLine/ChartsReferenceLine.d.ts +1 -2
- package/esm/ChartsReferenceLine/ChartsReferenceLine.js +0 -1
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.d.ts +1 -2
- package/esm/ChartsReferenceLine/ChartsXReferenceLine.js +0 -1
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.d.ts +1 -2
- package/esm/ChartsReferenceLine/ChartsYReferenceLine.js +0 -1
- package/esm/ChartsSurface/ChartsSurface.js +9 -10
- package/esm/ChartsSurface/chartsSurfaceClasses.d.ts +6 -0
- package/esm/ChartsSurface/chartsSurfaceClasses.js +13 -0
- package/esm/ChartsSurface/index.d.ts +2 -1
- package/esm/ChartsSurface/index.js +2 -1
- package/esm/ChartsText/ChartsText.d.ts +1 -1
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.d.ts +1 -2
- package/esm/ChartsTooltip/ChartsAxisTooltipContent.js +0 -1
- package/esm/ChartsTooltip/ChartsItemTooltipContent.d.ts +1 -2
- package/esm/ChartsTooltip/ChartsItemTooltipContent.js +0 -1
- package/esm/ChartsTooltip/ChartsTooltip.d.ts +1 -2
- package/esm/ChartsTooltip/ChartsTooltip.js +0 -1
- package/esm/ChartsTooltip/ChartsTooltipContainer.d.ts +1 -1
- package/esm/ChartsTooltip/ChartsTooltipContainer.js +13 -14
- package/esm/ChartsTooltip/ChartsTooltipTable.d.ts +1 -1
- package/esm/ChartsWrapper/ChartsWrapper.d.ts +1 -1
- package/esm/ChartsWrapper/ChartsWrapper.js +4 -6
- package/esm/ChartsXAxis/ChartsGroupedXAxisTicks.d.ts +1 -2
- package/esm/ChartsXAxis/ChartsSingleXAxisTicks.d.ts +1 -2
- package/esm/ChartsXAxis/ChartsXAxis.d.ts +1 -2
- package/esm/ChartsXAxis/ChartsXAxis.js +0 -1
- package/esm/ChartsXAxis/ChartsXAxisImpl.d.ts +1 -2
- package/esm/ChartsXAxis/useAxisTicksProps.d.ts +32 -32
- package/esm/ChartsYAxis/ChartsGroupedYAxisTicks.d.ts +1 -2
- package/esm/ChartsYAxis/ChartsSingleYAxisTicks.d.ts +1 -2
- package/esm/ChartsYAxis/ChartsYAxis.d.ts +1 -2
- package/esm/ChartsYAxis/ChartsYAxis.js +0 -1
- package/esm/ChartsYAxis/ChartsYAxisImpl.d.ts +1 -2
- package/esm/ChartsYAxis/useAxisTicksProps.d.ts +32 -32
- package/esm/Gauge/GaugeProvider.d.ts +1 -1
- package/esm/Gauge/GaugeReferenceArc.d.ts +1 -1
- package/esm/Gauge/GaugeValueArc.d.ts +1 -1
- package/esm/Gauge/GaugeValueText.d.ts +1 -2
- package/esm/Gauge/GaugeValueText.js +0 -1
- package/esm/LineChart/AnimatedArea.d.ts +1 -1
- package/esm/LineChart/AppearingMask.d.ts +1 -1
- package/esm/LineChart/AreaElement.d.ts +1 -1
- package/esm/LineChart/AreaPlot.d.ts +1 -1
- package/esm/LineChart/CircleMarkElement.d.ts +1 -1
- package/esm/LineChart/FocusedMark.d.ts +1 -2
- package/esm/LineChart/FocusedMark.js +0 -1
- package/esm/LineChart/LineElement.d.ts +1 -1
- package/esm/LineChart/LineHighlightElement.d.ts +1 -1
- package/esm/LineChart/LineHighlightPlot.d.ts +1 -1
- package/esm/LineChart/LinePlot.d.ts +1 -1
- package/esm/LineChart/MarkElement.d.ts +1 -1
- package/esm/LineChart/MarkPlot.d.ts +1 -1
- package/esm/LineChart/seriesConfig/getColor.js +28 -5
- package/esm/LineChart/seriesConfig/index.d.ts +1 -1
- package/esm/LineChart/seriesConfig/index.js +1 -1
- package/esm/PieChart/PieArcLabelPlot.d.ts +1 -1
- package/esm/PieChart/PieArcPlot.d.ts +1 -1
- package/esm/PieChart/PiePlot.d.ts +1 -2
- package/esm/PieChart/PiePlot.js +0 -1
- package/esm/PieChart/seriesConfig/index.d.ts +1 -1
- package/esm/PieChart/seriesConfig/index.js +1 -1
- package/esm/RadarChart/RadarAxis/RadarAxis.d.ts +1 -1
- package/esm/RadarChart/RadarAxis/RadarAxis.utils.d.ts +2 -2
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.d.ts +1 -2
- package/esm/RadarChart/RadarAxisHighlight/RadarAxisHighlight.js +7 -2
- package/esm/RadarChart/RadarDataProvider/RadarDataProvider.d.ts +1 -2
- package/esm/RadarChart/RadarGrid/CircularRadarGrid.d.ts +1 -2
- package/esm/RadarChart/RadarGrid/CircularRadarStripes.d.ts +1 -2
- package/esm/RadarChart/RadarGrid/RadarGrid.d.ts +1 -2
- package/esm/RadarChart/RadarGrid/SharpRadarGrid.d.ts +1 -2
- package/esm/RadarChart/RadarGrid/SharpRadarStripes.d.ts +1 -2
- package/esm/RadarChart/RadarMetricLabels/RadarMetricLabels.d.ts +1 -2
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesArea.d.ts +1 -1
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.d.ts +1 -1
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesMarks.js +1 -2
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.d.ts +1 -2
- package/esm/RadarChart/RadarSeriesPlot/RadarSeriesPlot.js +1 -2
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.d.ts +3 -0
- package/esm/RadarChart/RadarSeriesPlot/useRadarSeriesData.js +8 -1
- package/esm/RadarChart/seriesConfig/getColor.js +12 -1
- package/esm/ScatterChart/BatchScatter.d.ts +1 -2
- package/esm/ScatterChart/BatchScatter.js +4 -4
- package/esm/ScatterChart/Scatter.d.ts +7 -2
- package/esm/ScatterChart/Scatter.js +7 -3
- package/esm/ScatterChart/ScatterMarker.d.ts +1 -1
- package/esm/ScatterChart/ScatterPlot.d.ts +1 -1
- package/esm/ScatterChart/ScatterPlot.js +1 -1
- package/esm/ScatterChart/seriesConfig/getColor.js +36 -7
- package/esm/ScatterChart/seriesConfig/index.d.ts +1 -1
- package/esm/ScatterChart/seriesConfig/index.js +1 -1
- package/esm/context/ChartProvider/ChartProvider.d.ts +1 -1
- package/esm/context/ChartProvider/ChartProvider.js +4 -4
- package/esm/context/ChartProvider/ChartProvider.types.d.ts +3 -3
- package/esm/context/ChartsSlotsContext.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/esm/hooks/animation/useAnimateBarLabel.js +61 -12
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/useAxis.d.ts +116 -16
- package/esm/hooks/useAxis.js +122 -18
- package/esm/hooks/useDataset.d.ts +6 -0
- package/esm/hooks/useDataset.js +13 -0
- package/esm/hooks/useInteractionItemProps.js +2 -5
- package/esm/hooks/useIsItemFocused.js +5 -3
- package/esm/hooks/useItemHighlighted.js +2 -2
- package/esm/hooks/useItemHighlightedGetter.js +0 -1
- package/esm/hooks/useScale.d.ts +25 -6
- package/esm/hooks/useScale.js +29 -8
- package/esm/index.js +1 -1
- package/esm/internals/colorScale.d.ts +1 -1
- package/esm/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +1 -2
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -2
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -1
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -2
- package/esm/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -1
- package/esm/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -2
- package/esm/internals/createSeriesSelectorOfType.js +5 -3
- package/esm/internals/getSeriesColorFn.d.ts +5 -0
- package/esm/internals/getSeriesColorFn.js +3 -0
- package/esm/internals/index.d.ts +1 -1
- package/esm/internals/index.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +7 -15
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +2 -4
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +28 -36
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +11 -17
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +27 -21
- package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.js +1 -6
- package/esm/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.js +6 -10
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -4
- package/esm/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +1 -3
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +10 -10
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -7
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +8 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +1 -0
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +19 -35
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +29 -57
- package/esm/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +15 -15
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +21 -5
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +11 -17
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +12 -4
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +15 -9
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +62 -86
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +69 -45
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +14 -26
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +3 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +17 -33
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +23 -22
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +9 -15
- package/esm/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +2 -4
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +12 -16
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -21
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +8 -7
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +29 -43
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +14 -28
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +7 -9
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +47 -53
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +22 -36
- package/esm/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +3 -0
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +3 -5
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +11 -21
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +14 -26
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +11 -10
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -3
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +3 -5
- package/esm/internals/plugins/models/plugin.d.ts +3 -2
- package/esm/internals/plugins/utils/selectors.d.ts +13 -17
- package/esm/internals/plugins/utils/selectors.js +3 -35
- package/esm/internals/plugins/utils/useLazySelectorEffect.d.ts +2 -2
- package/esm/internals/plugins/utils/useLazySelectorEffect.js +2 -2
- package/esm/internals/store/useCharts.d.ts +3 -4
- package/esm/internals/store/useCharts.js +2 -2
- package/esm/internals/store/useSelector.d.ts +2 -4
- package/esm/internals/store/useSelector.js +2 -8
- package/esm/internals/store/useStore.d.ts +3 -5
- package/esm/locales/index.d.ts +2 -1
- package/esm/locales/index.js +1 -0
- package/esm/locales/nbNO.d.ts +115 -0
- package/esm/locales/nbNO.js +113 -0
- package/esm/models/seriesType/bar.d.ts +16 -0
- package/esm/models/seriesType/common.d.ts +22 -6
- package/esm/models/seriesType/config.d.ts +7 -16
- package/hooks/animation/useAnimateBarLabel.d.ts +1 -1
- package/hooks/animation/useAnimateBarLabel.js +61 -12
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +12 -0
- package/hooks/useAxis.d.ts +116 -16
- package/hooks/useAxis.js +122 -18
- package/hooks/useDataset.d.ts +6 -0
- package/hooks/useDataset.js +18 -0
- package/hooks/useInteractionItemProps.js +2 -5
- package/hooks/useIsItemFocused.js +5 -3
- package/hooks/useItemHighlighted.js +2 -2
- package/hooks/useScale.d.ts +25 -6
- package/hooks/useScale.js +29 -8
- package/index.js +1 -1
- package/internals/colorScale.d.ts +1 -1
- package/internals/components/ChartsAxesGradients/ChartsAxesGradients.d.ts +1 -2
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.d.ts +1 -2
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradient.js +0 -2
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.d.ts +1 -2
- package/internals/components/ChartsAxesGradients/ChartsContinuousGradientObjectBound.js +0 -2
- package/internals/components/ChartsAxesGradients/ChartsPiecewiseGradient.d.ts +1 -2
- package/internals/createSeriesSelectorOfType.js +6 -3
- package/internals/getSeriesColorFn.d.ts +5 -0
- package/internals/getSeriesColorFn.js +9 -0
- package/internals/index.d.ts +1 -1
- package/internals/index.js +1 -1
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.js +7 -15
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +2 -4
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.js +28 -36
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +11 -17
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +27 -21
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.js +1 -6
- package/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.d.ts +2 -4
- package/internals/plugins/corePlugins/useChartId/useChartId.js +6 -10
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +2 -4
- package/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.js +1 -3
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.js +10 -10
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +11 -7
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +9 -2
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.d.ts +1 -0
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.js +19 -35
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.d.ts +29 -57
- package/internals/plugins/featurePlugins/useChartBrush/useChartBrush.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +15 -15
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js +22 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.js +11 -17
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.d.ts +12 -4
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisPreview.selectors.js +14 -8
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +62 -86
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +70 -46
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.d.ts +14 -26
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianHighlight.selectors.js +3 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +17 -33
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.js +23 -23
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.js +9 -15
- package/internals/plugins/featurePlugins/useChartClosestPoint/useChartClosestPoint.selectors.d.ts +2 -4
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.js +12 -16
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +23 -21
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +8 -7
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.js +29 -43
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +14 -28
- package/internals/plugins/featurePlugins/useChartInteraction/useChartTooltip.selectors.d.ts +7 -9
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.js +47 -53
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.d.ts +22 -36
- package/internals/plugins/featurePlugins/useChartKeyboardNavigation/useChartKeyboardNavigation.selectors.js +4 -1
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.js +3 -5
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +11 -21
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +14 -26
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.js +12 -10
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.js +1 -3
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +3 -5
- package/internals/plugins/models/plugin.d.ts +3 -2
- package/internals/plugins/utils/selectors.d.ts +13 -17
- package/internals/plugins/utils/selectors.js +3 -35
- package/internals/plugins/utils/useLazySelectorEffect.d.ts +2 -2
- package/internals/plugins/utils/useLazySelectorEffect.js +2 -2
- package/internals/store/useCharts.d.ts +3 -4
- package/internals/store/useCharts.js +2 -2
- package/internals/store/useSelector.d.ts +2 -4
- package/internals/store/useSelector.js +2 -10
- package/internals/store/useStore.d.ts +3 -5
- package/locales/index.d.ts +2 -1
- package/locales/index.js +11 -0
- package/locales/nbNO.d.ts +115 -0
- package/locales/nbNO.js +119 -0
- package/models/seriesType/bar.d.ts +16 -0
- package/models/seriesType/common.d.ts +22 -6
- package/models/seriesType/config.d.ts +7 -16
- package/package.json +5 -5
- package/BarChart/seriesConfig/getColor.d.ts +0 -3
- package/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/BarChart/seriesConfig/legend.d.ts +0 -3
- package/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/BarChart/seriesConfig/tooltip.d.ts +0 -4
- package/BarChart/seriesConfig/tooltipPosition.d.ts +0 -3
- package/esm/BarChart/seriesConfig/getColor.d.ts +0 -3
- package/esm/BarChart/seriesConfig/getSeriesWithDefaultValues.d.ts +0 -3
- package/esm/BarChart/seriesConfig/legend.d.ts +0 -3
- package/esm/BarChart/seriesConfig/seriesProcessor.d.ts +0 -3
- package/esm/BarChart/seriesConfig/tooltip.d.ts +0 -4
- package/esm/BarChart/seriesConfig/tooltipPosition.d.ts +0 -3
- package/esm/internals/plugins/utils/ChartStore.d.ts +0 -13
- package/esm/internals/plugins/utils/ChartStore.js +0 -22
- package/internals/plugins/utils/ChartStore.d.ts +0 -13
- package/internals/plugins/utils/ChartStore.js +0 -29
- /package/BarChart/seriesConfig/{getSeriesWithDefaultValues.js → bar/getSeriesWithDefaultValues.js} +0 -0
- /package/esm/BarChart/seriesConfig/{getSeriesWithDefaultValues.js → bar/getSeriesWithDefaultValues.js} +0 -0
package/ChartsSurface/index.js
CHANGED
|
@@ -3,9 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
chartsSurfaceClasses: true
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(exports, "chartsSurfaceClasses", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () {
|
|
12
|
+
return _chartsSurfaceClasses.chartsSurfaceClasses;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
6
15
|
var _ChartsSurface = require("./ChartsSurface");
|
|
7
16
|
Object.keys(_ChartsSurface).forEach(function (key) {
|
|
8
17
|
if (key === "default" || key === "__esModule") return;
|
|
18
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
9
19
|
if (key in exports && exports[key] === _ChartsSurface[key]) return;
|
|
10
20
|
Object.defineProperty(exports, key, {
|
|
11
21
|
enumerable: true,
|
|
@@ -13,4 +23,5 @@ Object.keys(_ChartsSurface).forEach(function (key) {
|
|
|
13
23
|
return _ChartsSurface[key];
|
|
14
24
|
}
|
|
15
25
|
});
|
|
16
|
-
});
|
|
26
|
+
});
|
|
27
|
+
var _chartsSurfaceClasses = require("./chartsSurfaceClasses");
|
|
@@ -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): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
declare namespace ChartsText {
|
|
15
15
|
var propTypes: any;
|
|
16
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
2
|
import { ChartsTooltipClasses } from "./chartsTooltipClasses.js";
|
|
4
3
|
export interface ChartsAxisTooltipContentProps {
|
|
@@ -8,7 +7,7 @@ export interface ChartsAxisTooltipContentProps {
|
|
|
8
7
|
classes?: Partial<ChartsTooltipClasses>;
|
|
9
8
|
sx?: SxProps<Theme>;
|
|
10
9
|
}
|
|
11
|
-
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps):
|
|
10
|
+
declare function ChartsAxisTooltipContent(props: ChartsAxisTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
11
|
declare namespace ChartsAxisTooltipContent {
|
|
13
12
|
var propTypes: any;
|
|
14
13
|
}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.ChartsAxisTooltipContent = ChartsAxisTooltipContent;
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
13
11
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
2
|
import { ChartsTooltipClasses } from "./chartsTooltipClasses.js";
|
|
4
3
|
export interface ChartsItemTooltipContentProps {
|
|
@@ -8,7 +7,7 @@ export interface ChartsItemTooltipContentProps {
|
|
|
8
7
|
classes?: Partial<ChartsTooltipClasses>;
|
|
9
8
|
sx?: SxProps<Theme>;
|
|
10
9
|
}
|
|
11
|
-
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps):
|
|
10
|
+
declare function ChartsItemTooltipContent(props: ChartsItemTooltipContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
11
|
declare namespace ChartsItemTooltipContent {
|
|
13
12
|
var propTypes: any;
|
|
14
13
|
}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.ChartsItemTooltipContent = ChartsItemTooltipContent;
|
|
10
|
-
var React = _interopRequireWildcard(require("react"));
|
|
11
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
10
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
11
|
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsTooltipContainerProps } from "./ChartsTooltipContainer.js";
|
|
3
2
|
import { TriggerOptions } from "./utils.js";
|
|
4
3
|
export interface ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> extends Omit<ChartsTooltipContainerProps<T>, 'children'> {}
|
|
@@ -11,7 +10,7 @@ export interface ChartsTooltipProps<T extends TriggerOptions = TriggerOptions> e
|
|
|
11
10
|
*
|
|
12
11
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
13
12
|
*/
|
|
14
|
-
declare function ChartsTooltip(props: ChartsTooltipProps):
|
|
13
|
+
declare function ChartsTooltip(props: ChartsTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
declare namespace ChartsTooltip {
|
|
16
15
|
var propTypes: any;
|
|
17
16
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.ChartsTooltip = ChartsTooltip;
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
11
|
var _HTMLElementType = _interopRequireDefault(require("@mui/utils/HTMLElementType"));
|
|
14
12
|
var _ChartsItemTooltipContent = require("./ChartsItemTooltipContent");
|
|
@@ -35,7 +35,7 @@ export interface ChartsTooltipContainerProps<T extends TriggerOptions = TriggerO
|
|
|
35
35
|
*
|
|
36
36
|
* - [ChartsTooltip API](https://mui.com/x/api/charts/charts-tool-tip/)
|
|
37
37
|
*/
|
|
38
|
-
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps):
|
|
38
|
+
declare function ChartsTooltipContainer(inProps: ChartsTooltipContainerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
39
39
|
declare namespace ChartsTooltipContainer {
|
|
40
40
|
var propTypes: any;
|
|
41
41
|
}
|
|
@@ -27,20 +27,10 @@ var _useChartPolarInteraction = require("../internals/plugins/featurePlugins/use
|
|
|
27
27
|
var _useAxisSystem = require("../hooks/useAxisSystem");
|
|
28
28
|
var _hooks = require("../hooks");
|
|
29
29
|
var _useChartBrush = require("../internals/plugins/featurePlugins/useChartBrush");
|
|
30
|
-
var _selectors = require("../internals/plugins/utils/selectors");
|
|
31
30
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
32
31
|
const _excluded = ["trigger", "position", "anchor", "classes", "children"];
|
|
33
32
|
const selectorReturnFalse = () => false;
|
|
34
|
-
|
|
35
|
-
name: 'MuiChartsTooltip',
|
|
36
|
-
slot: 'Root'
|
|
37
|
-
})(({
|
|
38
|
-
theme
|
|
39
|
-
}) => ({
|
|
40
|
-
pointerEvents: 'none',
|
|
41
|
-
zIndex: theme.zIndex.modal
|
|
42
|
-
}));
|
|
43
|
-
const selectorSelectIsOpenSelector = (0, _selectors.createSelector)([_useChartBrush.selectorBrushShouldPreventTooltip, (_, trigger) => trigger, (_, __, axisSystem) => axisSystem], (shouldPreventBecauseOfBrush, trigger, axisSystem) => {
|
|
33
|
+
function getIsOpenSelector(trigger, axisSystem, shouldPreventBecauseOfBrush) {
|
|
44
34
|
if (shouldPreventBecauseOfBrush) {
|
|
45
35
|
return selectorReturnFalse;
|
|
46
36
|
}
|
|
@@ -54,7 +44,16 @@ const selectorSelectIsOpenSelector = (0, _selectors.createSelector)([_useChartBr
|
|
|
54
44
|
return _useChartCartesianAxis.selectorChartsInteractionAxisTooltip;
|
|
55
45
|
}
|
|
56
46
|
return selectorReturnFalse;
|
|
57
|
-
}
|
|
47
|
+
}
|
|
48
|
+
const ChartsTooltipRoot = (0, _styles.styled)(_Popper.default, {
|
|
49
|
+
name: 'MuiChartsTooltip',
|
|
50
|
+
slot: 'Root'
|
|
51
|
+
})(({
|
|
52
|
+
theme
|
|
53
|
+
}) => ({
|
|
54
|
+
pointerEvents: 'none',
|
|
55
|
+
zIndex: theme.zIndex.modal
|
|
56
|
+
}));
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
59
|
* Demos:
|
|
@@ -89,8 +88,8 @@ function ChartsTooltipContainer(inProps) {
|
|
|
89
88
|
}));
|
|
90
89
|
const axisSystem = (0, _useAxisSystem.useAxisSystem)();
|
|
91
90
|
const store = (0, _useStore.useStore)();
|
|
92
|
-
const
|
|
93
|
-
const isOpen = (0, _useSelector.useSelector)(store,
|
|
91
|
+
const shouldPreventBecauseOfBrush = (0, _useSelector.useSelector)(store, _useChartBrush.selectorBrushShouldPreventTooltip);
|
|
92
|
+
const isOpen = (0, _useSelector.useSelector)(store, getIsOpenSelector(trigger, axisSystem, shouldPreventBecauseOfBrush));
|
|
94
93
|
const lastInteraction = (0, _useSelector.useSelector)(store, _useChartInteraction.selectorChartsLastInteraction);
|
|
95
94
|
const computedAnchor = lastInteraction === 'keyboard' ? 'node' : anchor;
|
|
96
95
|
const itemPosition = (0, _useSelector.useSelector)(store, trigger === 'item' && computedAnchor === 'node' ? _useChartInteraction.selectorChartsTooltipItemPosition : () => null, [position]);
|
|
@@ -13,6 +13,6 @@ export declare const ChartsTooltipRow: import("@emotion/styled").StyledComponent
|
|
|
13
13
|
/**
|
|
14
14
|
* @ignore - internal component.
|
|
15
15
|
*/
|
|
16
|
-
export declare const ChartsTooltipCell: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "style" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "className" | "children" | "sx" | "
|
|
16
|
+
export declare const ChartsTooltipCell: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "p" | "style" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "className" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "p" | "slot" | "style" | "title" | "ref" | "typography" | "zIndex" | "classes" | "border" | "boxShadow" | "fontWeight" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
17
17
|
component?: React.ElementType;
|
|
18
18
|
}, {}, {}>;
|
|
@@ -30,7 +30,7 @@ export interface ChartsWrapperProps {
|
|
|
30
30
|
* Wrapper for the charts components.
|
|
31
31
|
* Its main purpose is to position the HTML legend in the correct place.
|
|
32
32
|
*/
|
|
33
|
-
declare function ChartsWrapper(props: ChartsWrapperProps):
|
|
33
|
+
declare function ChartsWrapper(props: ChartsWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
declare namespace ChartsWrapper {
|
|
35
35
|
var propTypes: any;
|
|
36
36
|
}
|
|
@@ -107,7 +107,7 @@ const Root = (0, _styles.styled)('div', {
|
|
|
107
107
|
gridArea: 'toolbar',
|
|
108
108
|
justifySelf: 'center'
|
|
109
109
|
},
|
|
110
|
-
justifyContent: 'center',
|
|
110
|
+
justifyContent: 'safe center',
|
|
111
111
|
justifyItems: getJustifyItems(ownerState.legendPosition),
|
|
112
112
|
alignItems: getAlignItems(ownerState.legendPosition)
|
|
113
113
|
};
|
|
@@ -125,10 +125,8 @@ function ChartsWrapper(props) {
|
|
|
125
125
|
} = props;
|
|
126
126
|
const chartRootRef = (0, _useChartRootRef.useChartRootRef)();
|
|
127
127
|
const store = (0, _useStore.useStore)();
|
|
128
|
-
const
|
|
129
|
-
|
|
130
|
-
height: propsHeight
|
|
131
|
-
} = (0, _useSelector.useSelector)(store, _useChartDimensions.selectorChartPropsSize);
|
|
128
|
+
const propsWidth = (0, _useSelector.useSelector)(store, _useChartDimensions.selectorChartPropsWidth);
|
|
129
|
+
const propsHeight = (0, _useSelector.useSelector)(store, _useChartDimensions.selectorChartPropsHeight);
|
|
132
130
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Root, {
|
|
133
131
|
ref: chartRootRef,
|
|
134
132
|
ownerState: props,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsXAxisProps } from "../models/axis.js";
|
|
3
2
|
interface ChartsGroupedXAxisProps extends ChartsXAxisProps {}
|
|
4
3
|
/**
|
|
5
4
|
* @ignore - internal component.
|
|
6
5
|
*/
|
|
7
|
-
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps):
|
|
6
|
+
declare function ChartsGroupedXAxisTicks(inProps: ChartsGroupedXAxisProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export { ChartsGroupedXAxisTicks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsXAxisProps } from "../models/axis.js";
|
|
3
2
|
interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
4
3
|
axisLabelHeight: number;
|
|
@@ -6,5 +5,5 @@ interface ChartsSingleXAxisProps extends ChartsXAxisProps {
|
|
|
6
5
|
/**
|
|
7
6
|
* @ignore - internal component.
|
|
8
7
|
*/
|
|
9
|
-
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps):
|
|
8
|
+
declare function ChartsSingleXAxisTicks(inProps: ChartsSingleXAxisProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { ChartsSingleXAxisTicks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsXAxisProps } from "../models/axis.js";
|
|
3
2
|
/**
|
|
4
3
|
* Demos:
|
|
@@ -9,7 +8,7 @@ import { ChartsXAxisProps } from "../models/axis.js";
|
|
|
9
8
|
*
|
|
10
9
|
* - [ChartsXAxis API](https://mui.com/x/api/charts/charts-x-axis/)
|
|
11
10
|
*/
|
|
12
|
-
declare function ChartsXAxis(inProps: ChartsXAxisProps):
|
|
11
|
+
declare function ChartsXAxis(inProps: ChartsXAxisProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
declare namespace ChartsXAxis {
|
|
14
13
|
var propTypes: any;
|
|
15
14
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.ChartsXAxis = ChartsXAxis;
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
11
|
var _warning = require("@mui/x-internals/warning");
|
|
14
12
|
var _useAxis = require("../hooks/useAxis");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { AxisScaleConfig, ChartsXAxisProps, ComputedAxis } from "../models/axis.js";
|
|
3
2
|
interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
4
3
|
axis: ComputedAxis<keyof AxisScaleConfig, any, ChartsXAxisProps>;
|
|
@@ -9,5 +8,5 @@ interface ChartsXAxisImplProps extends Omit<ChartsXAxisProps, 'axis'> {
|
|
|
9
8
|
export declare function ChartsXAxisImpl({
|
|
10
9
|
axis,
|
|
11
10
|
...inProps
|
|
12
|
-
}: ChartsXAxisImplProps):
|
|
11
|
+
}: ChartsXAxisImplProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChartsXAxisProps } from "../models/axis.js";
|
|
2
2
|
import { ChartsText, ChartsTextProps } from "../ChartsText/index.js";
|
|
3
3
|
export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
4
|
-
xScale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number, never> | import("@mui/x-charts-vendor/d3-scale").
|
|
4
|
+
xScale: import("@mui/x-charts-vendor/d3-scale").ScaleTime<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLogarithmic<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleLinear<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleSymLog<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScalePower<number, number, never> | import("@mui/x-charts-vendor/d3-scale").ScaleBand<{
|
|
5
5
|
toString(): string;
|
|
6
6
|
}> | import("@mui/x-charts-vendor/d3-scale").ScalePoint<{
|
|
7
7
|
toString(): string;
|
|
@@ -393,7 +393,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
393
393
|
}) | undefined;
|
|
394
394
|
ignoreTooltip?: boolean | undefined;
|
|
395
395
|
offset: number;
|
|
396
|
-
scaleType: "
|
|
396
|
+
scaleType: "log";
|
|
397
397
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
398
398
|
triggerTooltip?: boolean;
|
|
399
399
|
} | {
|
|
@@ -432,7 +432,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
432
432
|
}) | undefined;
|
|
433
433
|
ignoreTooltip?: boolean | undefined;
|
|
434
434
|
offset: number;
|
|
435
|
-
scaleType: "
|
|
435
|
+
scaleType: "log";
|
|
436
436
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
437
437
|
triggerTooltip?: boolean;
|
|
438
438
|
} | {
|
|
@@ -471,7 +471,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
471
471
|
}) | undefined;
|
|
472
472
|
ignoreTooltip?: boolean | undefined;
|
|
473
473
|
offset: number;
|
|
474
|
-
scaleType: "
|
|
474
|
+
scaleType: "log";
|
|
475
475
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
476
476
|
triggerTooltip?: boolean;
|
|
477
477
|
} | {
|
|
@@ -510,7 +510,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
510
510
|
}) | undefined;
|
|
511
511
|
ignoreTooltip?: boolean | undefined;
|
|
512
512
|
offset: number;
|
|
513
|
-
scaleType: "
|
|
513
|
+
scaleType: "log";
|
|
514
514
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
515
515
|
triggerTooltip?: boolean;
|
|
516
516
|
} | {
|
|
@@ -549,7 +549,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
549
549
|
}) | undefined;
|
|
550
550
|
ignoreTooltip?: boolean | undefined;
|
|
551
551
|
offset: number;
|
|
552
|
-
scaleType: "
|
|
552
|
+
scaleType: "log";
|
|
553
553
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
554
554
|
triggerTooltip?: boolean;
|
|
555
555
|
} | {
|
|
@@ -588,7 +588,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
588
588
|
}) | undefined;
|
|
589
589
|
ignoreTooltip?: boolean | undefined;
|
|
590
590
|
offset: number;
|
|
591
|
-
scaleType: "
|
|
591
|
+
scaleType: "log";
|
|
592
592
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
593
593
|
triggerTooltip?: boolean;
|
|
594
594
|
} | {
|
|
@@ -627,7 +627,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
627
627
|
}) | undefined;
|
|
628
628
|
ignoreTooltip?: boolean | undefined;
|
|
629
629
|
offset: number;
|
|
630
|
-
scaleType: "
|
|
630
|
+
scaleType: "log";
|
|
631
631
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
632
632
|
triggerTooltip?: boolean;
|
|
633
633
|
} | {
|
|
@@ -666,7 +666,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
666
666
|
}) | undefined;
|
|
667
667
|
ignoreTooltip?: boolean | undefined;
|
|
668
668
|
offset: number;
|
|
669
|
-
scaleType: "
|
|
669
|
+
scaleType: "log";
|
|
670
670
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
671
671
|
triggerTooltip?: boolean;
|
|
672
672
|
} | {
|
|
@@ -705,7 +705,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
705
705
|
}) | undefined;
|
|
706
706
|
ignoreTooltip?: boolean | undefined;
|
|
707
707
|
offset: number;
|
|
708
|
-
scaleType: "
|
|
708
|
+
scaleType: "log";
|
|
709
709
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
710
710
|
triggerTooltip?: boolean;
|
|
711
711
|
} | {
|
|
@@ -744,7 +744,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
744
744
|
}) | undefined;
|
|
745
745
|
ignoreTooltip?: boolean | undefined;
|
|
746
746
|
offset: number;
|
|
747
|
-
scaleType: "
|
|
747
|
+
scaleType: "linear";
|
|
748
748
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
749
749
|
triggerTooltip?: boolean;
|
|
750
750
|
} | {
|
|
@@ -783,7 +783,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
783
783
|
}) | undefined;
|
|
784
784
|
ignoreTooltip?: boolean | undefined;
|
|
785
785
|
offset: number;
|
|
786
|
-
scaleType: "
|
|
786
|
+
scaleType: "linear";
|
|
787
787
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
788
788
|
triggerTooltip?: boolean;
|
|
789
789
|
} | {
|
|
@@ -822,7 +822,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
822
822
|
}) | undefined;
|
|
823
823
|
ignoreTooltip?: boolean | undefined;
|
|
824
824
|
offset: number;
|
|
825
|
-
scaleType: "
|
|
825
|
+
scaleType: "linear";
|
|
826
826
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
827
827
|
triggerTooltip?: boolean;
|
|
828
828
|
} | {
|
|
@@ -861,7 +861,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
861
861
|
}) | undefined;
|
|
862
862
|
ignoreTooltip?: boolean | undefined;
|
|
863
863
|
offset: number;
|
|
864
|
-
scaleType: "
|
|
864
|
+
scaleType: "linear";
|
|
865
865
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
866
866
|
triggerTooltip?: boolean;
|
|
867
867
|
} | {
|
|
@@ -900,7 +900,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
900
900
|
}) | undefined;
|
|
901
901
|
ignoreTooltip?: boolean | undefined;
|
|
902
902
|
offset: number;
|
|
903
|
-
scaleType: "
|
|
903
|
+
scaleType: "linear";
|
|
904
904
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
905
905
|
triggerTooltip?: boolean;
|
|
906
906
|
} | {
|
|
@@ -939,7 +939,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
939
939
|
}) | undefined;
|
|
940
940
|
ignoreTooltip?: boolean | undefined;
|
|
941
941
|
offset: number;
|
|
942
|
-
scaleType: "
|
|
942
|
+
scaleType: "linear";
|
|
943
943
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number, string | null>;
|
|
944
944
|
triggerTooltip?: boolean;
|
|
945
945
|
} | {
|
|
@@ -978,7 +978,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
978
978
|
}) | undefined;
|
|
979
979
|
ignoreTooltip?: boolean | undefined;
|
|
980
980
|
offset: number;
|
|
981
|
-
scaleType: "
|
|
981
|
+
scaleType: "linear";
|
|
982
982
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
983
983
|
triggerTooltip?: boolean;
|
|
984
984
|
} | {
|
|
@@ -1017,7 +1017,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
1017
1017
|
}) | undefined;
|
|
1018
1018
|
ignoreTooltip?: boolean | undefined;
|
|
1019
1019
|
offset: number;
|
|
1020
|
-
scaleType: "
|
|
1020
|
+
scaleType: "linear";
|
|
1021
1021
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
1022
1022
|
triggerTooltip?: boolean;
|
|
1023
1023
|
} | {
|
|
@@ -1056,7 +1056,7 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
1056
1056
|
}) | undefined;
|
|
1057
1057
|
ignoreTooltip?: boolean | undefined;
|
|
1058
1058
|
offset: number;
|
|
1059
|
-
scaleType: "
|
|
1059
|
+
scaleType: "linear";
|
|
1060
1060
|
colorScale?: import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<string | number | Date, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleOrdinal<number, string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleSequential<string, string | null> | import("@mui/x-charts-vendor/d3-scale").ScaleThreshold<number | Date, string | null>;
|
|
1061
1061
|
triggerTooltip?: boolean;
|
|
1062
1062
|
} | {
|
|
@@ -3519,23 +3519,29 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3519
3519
|
onTransitionRunCapture?: import("react").TransitionEventHandler<SVGTextElement> | undefined;
|
|
3520
3520
|
onTransitionStart?: import("react").TransitionEventHandler<SVGTextElement> | undefined;
|
|
3521
3521
|
onTransitionStartCapture?: import("react").TransitionEventHandler<SVGTextElement> | undefined;
|
|
3522
|
-
|
|
3523
|
-
|
|
3522
|
+
href?: string | undefined | undefined;
|
|
3523
|
+
media?: string | undefined | undefined;
|
|
3524
|
+
target?: string | undefined | undefined;
|
|
3524
3525
|
end?: number | string | undefined | undefined;
|
|
3525
|
-
|
|
3526
|
-
|
|
3526
|
+
mode?: number | string | undefined | undefined;
|
|
3527
|
+
ideographic?: number | string | undefined | undefined;
|
|
3528
|
+
alphabetic?: number | string | undefined | undefined;
|
|
3529
|
+
hanging?: number | string | undefined | undefined;
|
|
3530
|
+
mathematical?: number | string | undefined | undefined;
|
|
3531
|
+
origin?: number | string | undefined | undefined;
|
|
3527
3532
|
x?: number | string | undefined | undefined;
|
|
3528
3533
|
y?: number | string | undefined | undefined;
|
|
3529
3534
|
radius?: number | string | undefined | undefined;
|
|
3530
|
-
|
|
3535
|
+
cx?: number | string | undefined | undefined;
|
|
3536
|
+
cy?: number | string | undefined | undefined;
|
|
3537
|
+
min?: number | string | undefined | undefined;
|
|
3538
|
+
max?: number | string | undefined | undefined;
|
|
3531
3539
|
method?: string | undefined | undefined;
|
|
3532
|
-
target?: string | undefined | undefined;
|
|
3533
3540
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
3534
3541
|
accentHeight?: number | string | undefined | undefined;
|
|
3535
3542
|
accumulate?: "none" | "sum" | undefined | undefined;
|
|
3536
3543
|
additive?: "replace" | "sum" | undefined | undefined;
|
|
3537
3544
|
allowReorder?: "no" | "yes" | undefined | undefined;
|
|
3538
|
-
alphabetic?: number | string | undefined | undefined;
|
|
3539
3545
|
amplitude?: number | string | undefined | undefined;
|
|
3540
3546
|
arabicForm?: "initial" | "medial" | "terminal" | "isolated" | undefined | undefined;
|
|
3541
3547
|
ascent?: number | string | undefined | undefined;
|
|
@@ -3583,11 +3589,8 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3583
3589
|
glyphRef?: number | string | undefined | undefined;
|
|
3584
3590
|
gradientTransform?: string | undefined | undefined;
|
|
3585
3591
|
gradientUnits?: string | undefined | undefined;
|
|
3586
|
-
hanging?: number | string | undefined | undefined;
|
|
3587
3592
|
horizAdvX?: number | string | undefined | undefined;
|
|
3588
3593
|
horizOriginX?: number | string | undefined | undefined;
|
|
3589
|
-
href?: string | undefined | undefined;
|
|
3590
|
-
ideographic?: number | string | undefined | undefined;
|
|
3591
3594
|
in2?: number | string | undefined | undefined;
|
|
3592
3595
|
in?: string | undefined | undefined;
|
|
3593
3596
|
intercept?: number | string | undefined | undefined;
|
|
@@ -3610,13 +3613,10 @@ export declare function useAxisTicksProps(inProps: ChartsXAxisProps): {
|
|
|
3610
3613
|
markerWidth?: number | string | undefined | undefined;
|
|
3611
3614
|
maskContentUnits?: number | string | undefined | undefined;
|
|
3612
3615
|
maskUnits?: number | string | undefined | undefined;
|
|
3613
|
-
mathematical?: number | string | undefined | undefined;
|
|
3614
|
-
mode?: number | string | undefined | undefined;
|
|
3615
3616
|
numOctaves?: number | string | undefined | undefined;
|
|
3616
3617
|
operator?: number | string | undefined | undefined;
|
|
3617
3618
|
orient?: number | string | undefined | undefined;
|
|
3618
3619
|
orientation?: number | string | undefined | undefined;
|
|
3619
|
-
origin?: number | string | undefined | undefined;
|
|
3620
3620
|
overlinePosition?: number | string | undefined | undefined;
|
|
3621
3621
|
overlineThickness?: number | string | undefined | undefined;
|
|
3622
3622
|
panose1?: number | string | undefined | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsYAxisProps } from "../models/axis.js";
|
|
3
2
|
/**
|
|
4
3
|
* @ignore - internal component.
|
|
5
4
|
*/
|
|
6
|
-
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps):
|
|
5
|
+
declare function ChartsGroupedYAxisTicks(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export { ChartsGroupedYAxisTicks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsYAxisProps } from "../models/axis.js";
|
|
3
2
|
interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
4
3
|
axisLabelHeight: number;
|
|
@@ -6,5 +5,5 @@ interface ChartsSingleYAxisProps extends ChartsYAxisProps {
|
|
|
6
5
|
/**
|
|
7
6
|
* @ignore - internal component.
|
|
8
7
|
*/
|
|
9
|
-
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps):
|
|
8
|
+
declare function ChartsSingleYAxisTicks(inProps: ChartsSingleYAxisProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export { ChartsSingleYAxisTicks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ChartsYAxisProps } from "../models/axis.js";
|
|
3
2
|
/**
|
|
4
3
|
* Demos:
|
|
@@ -9,7 +8,7 @@ import { ChartsYAxisProps } from "../models/axis.js";
|
|
|
9
8
|
*
|
|
10
9
|
* - [ChartsYAxis API](https://mui.com/x/api/charts/charts-y-axis/)
|
|
11
10
|
*/
|
|
12
|
-
declare function ChartsYAxis(inProps: ChartsYAxisProps):
|
|
11
|
+
declare function ChartsYAxis(inProps: ChartsYAxisProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
declare namespace ChartsYAxis {
|
|
14
13
|
var propTypes: any;
|
|
15
14
|
}
|