@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
10 lines (9 loc) • 324 B
TypeScript
import { Shape } from '@antv/g';
interface RobustAbbrevaiteCfg {
keep?: string[];
abbreviateBy?: 'start' | 'middle' | 'end';
unit?: 'k' | 'm' | 'b' | 't' | 'auto';
decimal?: number;
}
export default function robustAbbrevaite(shape: Shape, option: RobustAbbrevaiteCfg, index: any, cfg: any): void;
export {};