UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

22 lines (21 loc) 685 B
export declare const BREAKS_GAP = 0.03; export type BreakOptions = { /** Start position of the break. */ start: number; /** End position of the break. */ end: number; /** Gap ratio of the break, default is 0.1. */ gap?: number; /** Number of wave vertices, default is 50. */ vertices?: number; /** Offset of each vertex, default is 3. */ verticeOffset?: number; /** Compression type of the break, default is 'middle'. */ compress?: 'start' | 'end' | 'middle'; /** Custom styles of the break. */ [key: string]: any; }; export declare const AxisBreaks: { (_: any, params: any): (option: BreakOptions) => any; props: {}; };