UNPKG

591 BTypeScriptView Raw
1import { TickMethod } from '../types';
2export declare const DEFAULT_Q: number[];
3export declare const ALL_Q: number[];
4/**
5 * An Extension of Wilkinson's Algorithm for Position Tick Labels on Axes
6 * https://www.yuque.com/preview/yuque/0/2019/pdf/185317/1546999150858-45c3b9c2-4e86-4223-bf1a-8a732e8195ed.pdf
7 * @param dMin 最小值
8 * @param dMax 最大值
9 * @param m tick个数
10 * @param onlyLoose 是否允许扩展min、max,不绝对强制,例如[3, 97]
11 * @param Q nice numbers集合
12 * @param w 四个优化组件的权重
13 */
14export declare const wilkinsonExtended: TickMethod;