Angular+ionic2+Echarts 实现图形制作,以饼图为例

step1:添加插件echart; npm install echarts --save package.json文件中会在dependencies中添加echarts,如下图: step2:运行cmd,创建echart-pie组件; ionic g component echart-pie 如下图: 生成对应文件: echart-pie.html 文件: <div #echart class="echart-pie&quo...