UNPKG

@mui/x-charts

Version:

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

41 lines (40 loc) 2.31 kB
import { MakeOptional } from '../../models/helpers'; import { AxisConfig, ScaleName } from '../../models'; import { ChartsAxisProps } from '../../models/axis'; export declare const defaultizeAxis: (inAxis: MakeOptional<AxisConfig<ScaleName, any, ChartsAxisProps>, "id">[] | undefined, axisName: "x" | "y") => { reverse?: boolean | undefined; valueFormatter?: ((value: any, context: import("../../internals").AxisValueFormatterContext) => string) | undefined; data?: any[] | undefined; dataKey?: string | undefined; label?: string | undefined; min?: (number | Date) | undefined; max?: (number | Date) | undefined; tickMaxStep?: number | undefined; tickMinStep?: number | undefined; tickNumber?: number | undefined; disableLine?: boolean | undefined; disableTicks?: boolean | undefined; fill?: string | undefined; tickFontSize?: number | undefined; tickLabelStyle?: import("../..").ChartsTextProps["style"]; labelStyle?: import("../..").ChartsTextProps["style"]; tickLabelInterval?: ("auto" | ((value: any, index: number) => boolean)) | undefined; labelFontSize?: number | undefined; stroke?: string | undefined; tickSize?: number | undefined; classes?: Partial<import("../..").ChartsAxisClasses> | undefined; slots?: Partial<import("../../internals").ChartsAxisSlots> | undefined; slotProps?: Partial<import("../../internals").ChartsAxisSlotProps> | undefined; sx?: import("@mui/system").SxProps | undefined; tickInterval?: ("auto" | ((value: any, index: number) => boolean) | any[]) | undefined; tickPlacement?: ("start" | "end" | "middle" | "extremities") | undefined; tickLabelPlacement?: ("middle" | "tick") | undefined; scaleType?: "linear" | "band" | "point" | "log" | "pow" | "sqrt" | "time" | "utc" | undefined; colorMap?: import("../../models/colorMapping").ContinuousColorConfig<number | Date> | import("../../models/colorMapping").PiecewiseColorConfig<number | Date> | import("../../models/colorMapping").OrdinalColorConfig<string | number | Date> | undefined; hideTooltip?: boolean | undefined; domainLimit?: ("nice" | "strict" | ((min: number, max: number) => { min: number; max: number; })) | undefined; id: import("../../internals").AxisId; }[];