@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
14 lines (13 loc) • 516 B
TypeScript
import { Label } from '../../interface/config';
import { LooseMap } from '../../interface/types';
export default class LabelParser {
config: LooseMap;
protected plot: any;
protected originConfig: Label;
constructor(cfg: any);
getConfig(): LooseMap<any>;
protected init(cfg: any): void;
protected parseCallBack(val: any, ...restArgs: any[]): LooseMap<any>;
protected parseOffset(props: any, config: any): void;
protected parseFormatter(config: LooseMap, ...values: any[]): void;
}