ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
16 lines (15 loc) • 596 B
TypeScript
import type { ModuleContext } from '../../module/moduleContext';
import { LinearScale } from '../../scale/linearScale';
import type { LogScale } from '../../scale/logScale';
import { CartesianAxis } from './cartesianAxis';
export declare class NumberAxis extends CartesianAxis<LinearScale | LogScale, number> {
static readonly className: string;
static readonly type: string;
constructor(moduleCtx: ModuleContext, scale?: LinearScale | LogScale);
normaliseDataDomain(d: number[]): {
domain: number[];
clipped: boolean;
};
min?: number;
max?: number;
}