UNPKG

@antv/g2plot

Version:

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

9 lines (8 loc) 358 B
import BasePlot, { PlotConfig } from '../../base/plot'; import TreemapLayer, { TreemapViewConfig } from './layer'; export interface TreemapConfig extends TreemapViewConfig, PlotConfig { } export default class Treemap extends BasePlot<TreemapConfig> { static getDefaultOptions: typeof TreemapLayer.getDefaultOptions; createLayers(props: any): void; }