UNPKG

@visactor/vrender-components

Version:

components library for dp visualization

13 lines (12 loc) 409 B
import type { IText } from '@visactor/vrender-core'; import type { AxisLabelOverlap } from '../type'; type LimitConfig = { orient: string; limitLength: number; axisLength: number; verticalLimitLength?: number; ellipsis?: string; overflowLimitLength?: AxisLabelOverlap['overflowLimitLength']; }; export declare function autoLimit(labels: IText[], config: LimitConfig): void; export {};