-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近做项目刚刚遇到需要两个结合,但发现你修改echarts版本较低 #3
Comments
最近工作实在是太忙,等闲下来我会整理一个最新的优化版本 |
请问一下main.js是哪里来的?并且现在的版本如果与其他echarts控件在同一个页面的话,其他echarts控件就不能正常显示,求大神解决 |
项目用到了大神的arcgis-echarts,但是发现dlist下的main.js会影响其他原有echats的正常显示,求大神答疑! |
@wupeiwen 那么你要定义两个不同版本的echarts咯,简单赋值,比如var ec2, ec3 |
@t1t1985 其实看了,是添加了一个初始map方法在里面,然后封闭了china地图的json,当然不用这地图也行,但是还是有问题,我自己乱搞了一个版本在用,暂时还是可以先用上 |
@PolanZ 感谢大神答疑,问题一周前已经解决,用的就是赋值的方式 |
@wupeiwen 大神,能详细说一下是如何解决的吗?目前在这个问题上纠结。 |
<script src="./js/common/echarts.js"></script> <script type="text/javascript"> var ec = echarts; </script> <script type="text/javascript"> var myChart = ec.init(document.getElementById('xxx')); </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
能提供个最近echarts3的版本支持的吗,不知道你是怎么修改能用
The text was updated successfully, but these errors were encountered: