【文件属性】:
文件名称:angular-google-charts:用Angular编写的Google Charts库的包装
文件大小:261KB
文件格式:ZIP
更新时间:2021-01-29 22:56:17
charts angular google-charts angular-google-charts AngularTypeScript
Angular-Google-Charts
用Angular编写的包装。
建立
安装
要在您的项目中使用Angular-Google-Charts,请通过调用npm安装该软件包
npm install angular-google-charts
这会将包添加到您的package.json并安装所需的依赖项。
输入
将GoogleChartsModule导入您的app.module.ts :
import { GoogleChartsModule } from 'angular-google-charts' ;
@ NgModule ( {
...
imports : [
...
GoogleChartsModule ,
...
] ,
...
} )
export class AppModule { }
这将允许您使用此库提供的所有功能。
配置中
对于某些用例,可能需要使用一些不同于默认值的配置选项。
Angular Google Charts的所有配置选项都是通过config对象提供的,可以通过使用forRoot方法导入GoogleC
【文件预览】:
angular-google-charts-master
----package.json(2KB)
----tslint.json(593B)
----.github()
--------ISSUE_TEMPLATE()
--------stale.yml(681B)
----.prettierrc(162B)
----jest.config.js(92B)
----angular.json(4KB)
----package-lock.json(907KB)
----tsconfig.json(581B)
----LICENSE.md(1KB)
----.gitignore(533B)
----.browserslistrc(375B)
----CHANGELOG.md(5KB)
----.circleci()
--------config.yml(2KB)
----commitlint.config.js(67B)
----README.md(14KB)
----apps()
--------playground()
----.editorconfig(245B)
----libs()
--------angular-google-charts()
----.vscode()
--------launch.json(798B)
--------settings.json(164B)
--------extensions.json(594B)