Skip to content
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

Open
PolanZ opened this issue Sep 30, 2016 · 8 comments

Comments

@PolanZ
Copy link

PolanZ commented Sep 30, 2016

能提供个最近echarts3的版本支持的吗,不知道你是怎么修改能用

@wandergis
Copy link
Owner

最近工作实在是太忙,等闲下来我会整理一个最新的优化版本

@t1t1985
Copy link

t1t1985 commented Oct 21, 2016

请问一下main.js是哪里来的?并且现在的版本如果与其他echarts控件在同一个页面的话,其他echarts控件就不能正常显示,求大神解决

@wupeiwen
Copy link

项目用到了大神的arcgis-echarts,但是发现dlist下的main.js会影响其他原有echats的正常显示,求大神答疑!

@PolanZ
Copy link
Author

PolanZ commented Oct 29, 2016

@wupeiwen 那么你要定义两个不同版本的echarts咯,简单赋值,比如var ec2, ec3

@PolanZ
Copy link
Author

PolanZ commented Oct 29, 2016

@t1t1985 其实看了,是添加了一个初始map方法在里面,然后封闭了china地图的json,当然不用这地图也行,但是还是有问题,我自己乱搞了一个版本在用,暂时还是可以先用上

@wupeiwen
Copy link

@PolanZ 感谢大神答疑,问题一周前已经解决,用的就是赋值的方式

@missrebecca
Copy link

@wupeiwen 大神,能详细说一下是如何解决的吗?目前在这个问题上纠结。

@wupeiwen
Copy link

wupeiwen commented Aug 3, 2017

<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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants