UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

6 lines (5 loc) 367 B
import { Selection } from '../utils/selection'; import { Primitive } from './types/common'; import { G2Context, G2ViewTree } from './types/options'; export declare function plot<T extends G2ViewTree>(options: T, selection: Selection, context: G2Context): Promise<any>; export declare function applyStyle(selection: Selection, style: Record<string, Primitive>): void;