UNPKG

@antv/g2plot

Version:

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

9 lines (8 loc) 346 B
import BasePlot, { PlotConfig } from '../../base/plot'; import GaugeLayer, { GaugeLayerConfig } from './layer'; export interface GaugeConfig extends GaugeLayerConfig, PlotConfig { } export default class Gauge extends BasePlot<GaugeConfig> { static getDefaultOptions: typeof GaugeLayer.getDefaultOptions; createLayers(props: any): void; }