UNPKG

@visactor/vgrammar-core

Version:

VGrammar is a visual grammar library

5 lines (4 loc) 276 B
import type { IBaseScale } from '@visactor/vscale'; export declare function isBandLikeScale(scale: IBaseScale): boolean; export declare function getBandWidthOfScale(scale: IBaseScale): number; export declare function getScaleRangeRatio(scale: IBaseScale, input: any): number;