UNPKG

@antv/g2plot

Version:

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

12 lines (11 loc) 566 B
import { Shape } from '@antv/g'; import { ElementLabels } from '@antv/g2'; import { DataPointType } from '@antv/g2/lib/interface'; import { LooseMap } from '../../../../interface/types'; export declare class FunnelLabel extends ElementLabels { setLabelPosition(point: any, originPoint: any, index: any): void; protected getLabelPoint(labelOptions: DataPointType, point: any, index: any): DataPointType; showLabels(points: LooseMap[], shapes: Shape[]): void; adjustColor(label: any, shape: any): void; _getShape(shapeId: any, shapes: any): any; }