@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
13 lines (12 loc) • 593 B
TypeScript
import { LayerConfig } from '../../base/layer';
import StackArea, { StackAreaViewConfig } from '../stack-area/layer';
import { DataItem } from '../../interface/config';
export declare type PercentageStackAreaViewConfig = StackAreaViewConfig;
export interface PercentageStackAreaLayerConfig extends PercentageStackAreaViewConfig, LayerConfig {
}
export default class PercentageStackAreaLayer extends StackArea<PercentageStackAreaLayerConfig> {
static getDefaultOptions(): any;
type: string;
protected processData(originData?: DataItem[]): DataItem[];
protected scale(): void;
}