UNPKG

@antv/g2plot

Version:

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

9 lines (8 loc) 372 B
import BasePlot, { PlotConfig } from '../../base/plot'; import HistogramLayer, { HistogramViewConfig } from './layer'; export interface HistogramConfig extends HistogramViewConfig, PlotConfig { } export default class Histogram extends BasePlot<HistogramConfig> { static getDefaultOptions: typeof HistogramLayer.getDefaultOptions; createLayers(props: any): void; }