ag-grid-enterprise
Version:
AG Grid Enterprise Features
24 lines (23 loc) • 723 B
TypeScript
import { _Scene, AgCartesianAxisType, AgChartInstance } from "ag-charts-community";
export declare function deproxy(chartOrProxy: AgChartInstance): AgChartActual;
export interface AgChartActual extends AgChartInstance {
title?: _Scene.Caption;
width: number;
height: number;
series: {
type: string;
toggleSeriesItem(itemId: string, enabled: boolean): void;
}[];
axes?: {
type: AgCartesianAxisType;
direction: 'x' | 'y';
}[];
scene: {
canvas: {
element: HTMLCanvasElement;
};
getDataURL(type?: string): string;
};
addEventListener(type: 'click', cb: (even: any) => void): void;
waitForUpdate(): Promise<void>;
}