@mui/x-charts
Version:
The community edition of MUI X Charts components.
6 lines • 647 B
TypeScript
import { type AxisConfig } from "../../../../models/index.js";
import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
import { type ChartSeriesConfig } from "../../models/seriesConfig/index.js";
import { type ProcessedSeries } from "../../corePlugins/useChartSeries/useChartSeries.types.js";
import { type GetZoomAxisFilters } from "./zoom.types.js";
export declare function getAxisExtrema<T extends CartesianChartSeriesType>(axis: AxisConfig, axisDirection: 'x' | 'y', seriesConfig: ChartSeriesConfig<T>, axisIndex: number, formattedSeries: ProcessedSeries<T>, getFilters?: GetZoomAxisFilters): [number, number];