@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
21 lines (20 loc) • 432 B
TypeScript
export default class SpiderLabel {
private view;
private fields;
private halves;
private container;
private config;
private formatter;
private offsetX;
private offsetY;
private width;
private height;
constructor(cfg: any);
draw(): void;
clear(): void;
private _init;
private _antiCollision;
private _drawLabel;
private _drawLabelLine;
private _adjustConfig;
}