UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

11 lines (10 loc) 480 B
import { Shape } from '@antv/g'; import { ElementLabels } from '@antv/g2'; export declare class ScatterLabels extends ElementLabels { setLabelPosition(point: any, originPoint: any, index: any, originPosition: any): void; 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; }