ng2-google-charts
Version:
Google Charts module for Angular 2 and beyond
29 lines (28 loc) • 1.42 kB
TypeScript
import { ElementRef, OnInit } from '@angular/core';
import { GoogleChartsLoaderService } from '../google-charts-loader.service';
import { GoogleChartsDataTableInterface } from '../google-charts-datatable';
import { GoogleChartsControlInterface } from '../google-charts-control/google-charts-control.component';
import { GoogleChartInterface } from '../google-chart/google-chart.component';
import { GoogleChartsDataTable } from '../google-charts-datatable';
import * as i0 from "@angular/core";
export interface GoogleChartsDashboardInterface extends GoogleChartsDataTableInterface {
bind: [
GoogleChartsControlInterface | GoogleChartsControlInterface[],
GoogleChartInterface | GoogleChartInterface[]
][];
component?: GoogleChartsDashboardComponent;
}
export declare class GoogleChartsDashboardComponent implements OnInit {
private el;
private loaderService;
data: GoogleChartsDashboardInterface;
dashboard: any;
dataTable: GoogleChartsDataTable;
constructor(el: ElementRef, loaderService: GoogleChartsLoaderService);
ngOnInit(): void;
init(): Promise<void>;
draw(value?: GoogleChartInterface): void;
private _draw;
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleChartsDashboardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GoogleChartsDashboardComponent, "google-charts-dashboard", never, { "data": "data"; }, {}, never, never>;
}