angular-google-charts
Version:
A wrapper for the Google Charts library written with Angular
22 lines (21 loc) • 713 B
TypeScript
import { EnvironmentProviders } from '@angular/core';
import { GoogleChartsConfig } from './types/google-charts-config';
/**
* Provides the necessary services for using Google Charts standalone components.
*
* @param config Optional configuration for Google Charts
* @returns Environment providers for Google Charts
*
* @example
* ```typescript
* import { bootstrapApplication } from '@angular/platform-browser';
* import { provideGoogleCharts } from 'angular-google-charts';
*
* bootstrapApplication(AppComponent, {
* providers: [
* provideGoogleCharts({ version: '49' })
* ]
* });
* ```
*/
export declare function provideGoogleCharts(config?: GoogleChartsConfig): EnvironmentProviders;