UNPKG

@antv/g2plot

Version:

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

18 lines (17 loc) 651 B
import { LayerConfig } from '../../base/layer'; import '../scatter/components/label/scatter-label'; import ScatterLayer, { ScatterViewConfig } from '../scatter/layer'; export interface BubbleViewConfig extends ScatterViewConfig { /** 气泡大小 */ pointSize?: [number, number]; /** 气泡大小字段 */ sizeField?: string; } export interface BubbleLayerConfig extends BubbleViewConfig, LayerConfig { } export default class BubbleLayer<T extends BubbleLayerConfig = BubbleLayerConfig> extends ScatterLayer<T> { static getDefaultOptions(): any; type: string; protected legend(): void; protected parseEvents(): void; }