@antv/g2
Version:
the Grammar of Graphics in Javascript
8 lines (7 loc) • 389 B
TypeScript
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): any;