echarts2和echarts3如何同时使用,因为要用到e
echarts吧
全部回复
仅看楼主
level 1
贴吧用户_08VUA9t
楼主
echarts2和echarts3如何同时使用,因为要用到echarts2的事件河流图
2017年11月25日 02点11分
1
level 1
shifeihua
修改echarts2的声明来加载两个版本js文件,避免冲突;
具体方法如下:
下载echarts2-all.js
放到static文件夹下
index.html用script标签引入
打开echarts2-all.js,选中所有的echarts字段(注意区分大小写),全部更改为echarts2
然后可以直接echarts2.init(dom)来使用
2018年02月07日 03点02分
2
level 1
shifeihua
看2楼即可
2018年02月07日 03点02分
3
level 1
欺霜傲雪_
找不到echarts2的js,麻烦哪位好心人发一份!
2018年08月06日 08点08分
4
1