UNPKG

@antv/g2plot

Version:

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

13 lines (12 loc) 613 B
import { LayerConfig } from '../../base/layer'; import StackColumn, { StackColumnViewConfig } from '../stack-column/layer'; import { DataItem } from '../../interface/config'; export declare type PercentageStackColumnViewConfig = StackColumnViewConfig; export interface PercentageStackColumnLayerConfig extends PercentageStackColumnViewConfig, LayerConfig { } export default class PercentageStackColumnLayer extends StackColumn<PercentageStackColumnLayerConfig> { static getDefaultOptions(): any; type: string; protected processData(originData?: DataItem[]): DataItem[]; protected scale(): void; }