@antv/g2
Version:
the Grammar of Graphics in Javascript
14 lines (13 loc) • 494 B
TypeScript
import { Coordinate, Vector2 } from '@antv/coord';
import { ShapeComponent as SC } from '../../runtime';
export type ColorOptions = {
colorAttribute: 'fill' | 'stroke';
symbol: string;
mode?: 'fixed' | 'auto' | 'normal';
[key: string]: any;
};
export declare function getRadius(mode: ColorOptions['mode'], points: Vector2[], value: Record<string, any>, coordinate: Coordinate): any;
/**
* Render point in different coordinate.
*/
export declare const Color: SC<ColorOptions>;