UNPKG

316 BTypeScriptView Raw
1import { ScaleType } from '../common/types/scale-type.enum';
2export declare function getDomain(values: any[], scaleType: ScaleType, autoScale: boolean, minVal?: number, maxVal?: number): number[];
3export declare function getScale(domain: number[], range: number[], scaleType: ScaleType, roundDomains: boolean): any;