@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
22 lines (21 loc) • 635 B
TypeScript
import Plot, { PlotConfig } from '../base/plot';
import { ViewLayerConfig } from '../base/view-layer';
interface ComboPlotLayerConfig extends ViewLayerConfig {
type: string;
}
export interface ComboPlotConfig extends PlotConfig {
layers: ComboPlotLayerConfig[];
}
export default class ComboPlot<T extends ComboPlotConfig = ComboPlotConfig> extends Plot<T> {
options: any;
protected globalOptions: any;
getDefaultOptions(): {};
protected getGlobalOptions(props: any): {
xAxis: any;
yAxis: any;
theme: any;
legend: any;
};
protected createComboLayers(): void;
}
export {};