UNPKG

@antv/g2plot

Version:

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

10 lines (9 loc) 411 B
import BasePlot, { PlotConfig } from '../../base/plot'; import ProgressLayer, { ProgressViewConfig } from './layer'; export interface ProgressConfig extends ProgressViewConfig, PlotConfig { } export default class Progress extends BasePlot<ProgressConfig> { static getDefaultOptions: typeof ProgressLayer.getDefaultOptions; createLayers(props: any): void; update(value: number, style?: any): void; }