vue-google-charts
Version:
Reactive Vue.js wrapper for Google Charts lib
7 lines • 806 B
TypeScript
import { GoogleChartWrapper, GoogleChartWrapperChartType, GoogleDataTable, GoogleDataView, GoogleViz, GoogleVizEvents } from './types';
export interface ICreateChartFunction {
(el: HTMLElement, google: GoogleViz, type: GoogleChartWrapperChartType): GoogleChartWrapper;
}
export declare function getValidChartData(chartsLib: null | GoogleViz, data: unknown[][] | GoogleDataTable | Record<string, any> | null, isFirstRowLabels?: boolean): GoogleDataTable | GoogleDataView | null;
export declare function createChartObject(chartsLib: GoogleViz | null, chartObject: GoogleChartWrapper | null, chartEl: HTMLElement | null, chartType: GoogleChartWrapperChartType, chartEvents: GoogleVizEvents | null, createChartFunction?: ICreateChartFunction): GoogleChartWrapper | null;
//# sourceMappingURL=utils.d.ts.map