Files
lan-manager/web/node_modules/@antv/scale/lib/util/extended.d.ts
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

18 lines
707 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export declare const DEFAULT_Q: number[];
export declare const ALL_Q: number[];
/**
* An Extension of Wilkinson's Algorithm for Position Tick Labels on Axes
* https://www.yuque.com/preview/yuque/0/2019/pdf/185317/1546999150858-45c3b9c2-4e86-4223-bf1a-8a732e8195ed.pdf
* @param dMin 最小值
* @param dMax 最大值
* @param m tick个数
* @param onlyLoose 是否允许扩展min、max不绝对强制例如[3, 97]
* @param Q nice numbers集合
* @param w 四个优化组件的权重
*/
export default function extended(dMin: number, dMax: number, n?: number, onlyLoose?: boolean, Q?: number[], w?: [number, number, number, number]): {
min: number;
max: number;
ticks: number[];
};