plot.d.ts 398 B

12345
  1. import { Selection } from '../utils/selection';
  2. import { Primitive } from './types/common';
  3. import { G2Context, G2Library, G2ViewTree } from './types/options';
  4. export declare function plot<T extends G2ViewTree>(options: T, selection: Selection, library: G2Library, context: G2Context): Promise<any>;
  5. export declare function applyStyle(selection: Selection, style: Record<string, Primitive>): void;