@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
9 lines (8 loc) • 358 B
TypeScript
import BasePlot, { PlotConfig } from '../../base/plot';
import ScatterLayer, { ScatterViewConfig } from './layer';
export interface ScatterConfig extends ScatterViewConfig, PlotConfig {
}
export default class Scatter extends BasePlot<ScatterConfig> {
static getDefaultOptions: typeof ScatterLayer.getDefaultOptions;
createLayers(props: any): void;
}