ag-grid-enterprise
Version:
AG Grid Enterprise Features
25 lines • 656 B
TypeScript
interface ScaleClampParams {
/**
* If `true` the values outside of the domain will become `NaN`.
* If `false` such values will be clamped to the domain edges.
*/
strict: boolean;
}
interface ScaleTickFormatParams {
ticks?: any[];
specifier?: any;
}
export interface Scale<D, R, I = number> {
domain: D[];
range: R[];
nice?: boolean;
tickCount?: number;
interval?: I;
convert(value: D, params?: ScaleClampParams): R;
invert?(value: R): D;
ticks?(): D[];
tickFormat?(params: ScaleTickFormatParams): (x: any) => string;
bandwidth?: number;
}
export {};
//# sourceMappingURL=scale.d.ts.map