ionic 气泡图

1、创建 ionic 项目

         ionic start MyChart tabs

2、创建Highcharts图表

         需要下载 Highcharts   Highcharts-more包

        npm install highcharts --save

        npm install highcharts-more --save

3、在.html文件中嵌入容器


4、在.ts文件中引入highcharts  and  highcharts-more模块


and in the constructor:



5、在ionViewDidLoad函数里编写气泡图表代码


highcharts-bubble: https://www.hcharts.cn/demo/highcharts/bubble

6、ionic serve


你可能感兴趣的:(ionic 气泡图)