@antv/scale
Version:
Toolkit for mapping abstract data into visual representation.
8 lines (7 loc) • 302 B
TypeScript
import { TickMethod } from '../types';
import type { BreakOptions } from '../types';
/**
* Insert breaks into ticks and delete the ticks covered by breaks.
*/
export declare const insertBreaksToTicks: (ticks: number[], breaks?: BreakOptions[]) => number[];
export declare const d3Ticks: TickMethod;