UNPKG

@mui/x-charts

Version:

The community edition of the Charts components (MUI X).

6 lines (5 loc) 450 B
import type { AxisConfig, ScaleName } from '../../models'; import { ChartsAxisProps } from '../../models/axis'; import { MakeOptional } from '../../models/helpers'; import { DatasetType } from '../../models/seriesType/config'; export declare const normalizeAxis: <T extends ChartsAxisProps, R extends MakeOptional<AxisConfig<ScaleName, any, T>, "id">>(axis: R[] | undefined, dataset: DatasetType | undefined, axisName: "x" | "y") => R[] | undefined;