@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
12 lines (11 loc) • 502 B
TypeScript
import { Shape } from '@antv/g';
import { ElementLabels } from '@antv/g2';
export declare class BarLabels extends ElementLabels {
setLabelPosition(point: any, originPoint: any, index: any, originPosition: any): void;
private adjustOffset;
showLabels(points: any, shapes: Shape[]): void;
_getShape(shapeId: any, shapes: any): any;
adjustPosition(label: any, shape: any, item: any): void;
adjustColor(label: any, shape: any): void;
_mappingColor(band: any, gray: any): any;
}