UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

9 lines (8 loc) 443 B
import { Coordinate } from '@antv/coord'; import { Vector2 } from '../../../runtime'; import { LabelPosition } from './default'; /** * Spider label transform only suitable for the labels in polar coordinate, * labels should distinguish coordinate type. */ export declare function spider(position: LabelPosition, points: Vector2[], value: Record<string, any>, coordinate: Coordinate, options: Record<string, any>, labels: Vector2[][]): any;