@mui/x-charts
Version:
The community edition of MUI X Charts components.
8 lines • 623 B
TypeScript
import { type NumberValue } from '@mui/x-charts-vendor/d3-scale';
import { type AxisConfig } from "../../../../models/axis.js";
import { type CartesianChartSeriesType } from "../../../../models/seriesType/config.js";
import { type ProcessedSeries } from "../../corePlugins/useChartSeries/index.js";
export declare const getAxisDomainLimit: <T extends CartesianChartSeriesType>(axis: Pick<AxisConfig, "id" | "domainLimit">, axisDirection: "x" | "y", axisIndex: number, formattedSeries: ProcessedSeries<T | "line">) => "nice" | "strict" | ((min: NumberValue, max: NumberValue) => {
min: NumberValue;
max: NumberValue;
});