/** @jsxImportSource react */ import { Axis, AxisConfig, AxisInstance } from "./Axis"; import { RenderingContext } from "../../ui/RenderingContext"; import { NumberProp, BooleanProp, StringProp } from "../../ui/Prop"; export interface NumericAxisConfig extends AxisConfig { /** Minimum value. */ min?: NumberProp; /** Maximum value. */ max?: NumberProp; /** Set to `true` to normalize the input range. */ normalized?: BooleanProp; /** Number used to divide values before rendering axis labels. Default value is `1`. */ labelDivisor?: NumberProp; /** Base CSS class to be applied to the element. Defaults to `numericaxis`. */ baseClass?: string; tickDivisions?: Array; /** A number ranged between `0-2`. `0` means that the range is aligned with the lowest ticks. Default value is `1`, which means that the range is aligned with medium ticks. Use value `2` to align with major ticks. */ snapToTicks?: 0 | 1 | 2; /** Value format. Default is `n`. */ format?: StringProp; /** Size of a zone reserved for labels for both lower and upper end of the axis. */ deadZone?: NumberProp; /** Size of a zone reserved for labels near the upper (higher) end of the axis. */ upperDeadZone?: NumberProp; /** Size of a zone reserved for labels near the lower end of the axis. */ lowerDeadZone?: NumberProp; /** Specifies minimum value increment between labels. Useful when formatting is not flexible enough, i.e. set to 1 for integer axes to avoid duplicate labels. */ minLabelTickSize?: number; minTickStep?: number; } export declare class NumericAxis extends Axis { deadZone: number; lowerDeadZone: number; upperDeadZone: number; snapToTicks: number; tickDivisions: number[][]; minLabelTickSize: number; minTickStep: number; format: string; labelDivisor: number; normalized: boolean; constructor(config: NumericAxisConfig); init(): void; declareData(...args: any[]): void; initInstance(context: RenderingContext, instance: AxisInstance): void; explore(context: RenderingContext, instance: AxisInstance): void; render(context: RenderingContext, instance: AxisInstance, key: string): React.ReactNode; static XY(): { x: { type: typeof NumericAxis; }; y: { type: typeof NumericAxis; vertical: boolean; }; }; } //# sourceMappingURL=NumericAxis.d.ts.map