UNPKG

@antv/g2plot

Version:

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

20 lines (19 loc) 766 B
import { LayerConfig } from '../../base/layer'; import { ElementOption } from '../../interface/config'; import BaseColumnLayer, { ColumnViewConfig } from '../column/layer'; import './component/label/stack-column-label'; export interface StackColumnViewConfig extends ColumnViewConfig { stackField: string; connectedArea?: any; } export interface StackColumnLayerConfig extends StackColumnViewConfig, LayerConfig { } export default class StackColumnLayer<T extends StackColumnLayerConfig = StackColumnLayerConfig> extends BaseColumnLayer<T> { static getDefaultOptions(): any; type: string; connectedArea: any; init(): void; afterRender(): void; protected adjustColumn(column: ElementOption): void; protected extractLabel(): any; }