@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
16 lines (15 loc) • 596 B
TypeScript
import { LayerConfig } from '../../base/layer';
import { ElementOption } from '../../interface/config';
import BaseBarLayer, { BarViewConfig } from '../bar/layer';
export interface GroupBarViewConfig extends BarViewConfig {
groupField: string;
}
export interface GroupBarLayerConfig extends GroupBarViewConfig, LayerConfig {
}
export default class GroupBarLayer extends BaseBarLayer<GroupBarLayerConfig> {
static getDefaultOptions(): Partial<GroupBarViewConfig>;
type: string;
afterRender(): void;
protected scale(): void;
protected adjustBar(bar: ElementOption): void;
}