AngularX 配置 Echarts 并使用Echarts 自定义主题
1、安装ngx - Echarts
npm install echarts -S
npm install ngx-echarts -S
2、配置Angular 项目
在需要使用Echarts 图表导入NgxEchartsModule
import { NgxEchartsModule } from 'ngx-echarts';
/**
* This will import all modules from echarts.
* If you only need custom modules,
*
原创
2020-06-24 14:29:22 ·
524 阅读 ·
0 评论