@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
19 lines (18 loc) • 652 B
TypeScript
import { LayerConfig } from '../../base/layer';
import TinyLayer, { TinyViewConfig } from '../tiny-layer';
export declare type TinyColumnViewConfig = TinyViewConfig;
export interface TinyColumnLayerConfig extends TinyColumnViewConfig, LayerConfig {
}
export default class TinyColumnLayer extends TinyLayer<TinyColumnLayerConfig> {
line: any;
area: any;
type: string;
init(): void;
protected geometryParser(dim: string, type: string): string;
protected scale(): void;
protected addGeometry(): void;
protected parseEvents(eventParser: any): void;
private processProps;
private getSize;
private getColumnNum;
}