UNPKG

230 BTypeScriptView Raw
1import { ScaleConfig } from '../types';
2/**
3 * 计算线性的 ticks,使用 R's pretty 方法
4 * @param cfg 度量的配置项
5 * @returns 计算后的 ticks
6 */
7export default function linearPretty(cfg: ScaleConfig): number[];