UNPKG

@antv/g2plot

Version:

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

9 lines (8 loc) 330 B
import BasePlot, { PlotConfig } from '../../base/plot'; import PieLayer, { PieViewConfig } from './layer'; export interface PieConfig extends PieViewConfig, PlotConfig { } export default class Pie extends BasePlot<PieConfig> { static getDefaultOptions: typeof PieLayer.getDefaultOptions; createLayers(props: any): void; }