@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
13 lines (12 loc) • 568 B
TypeScript
import { Shape } from '@antv/g';
import { ElementLabels } from '@antv/g2';
import { LooseMap } from '../../../../interface/types';
export declare class ColumnLabels extends ElementLabels {
setLabelPosition(point: any, originPoint: any, index: any, originPosition: any): void;
private adjustOffset;
showLabels(points: LooseMap[], 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;
}