-
Notifications
You must be signed in to change notification settings - Fork 2k
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
使用dataZoom时,切换数据导致渲染错误 #387
Comments
这个应该是 echarts 切换数据+datazoom 时触发的一个数值计算错误的问题,重新渲染组件就可以了。 |
直接使用 echarts 引起报错的示例 https://jsfiddle.net/aj9cemsf/21/ 。 |
还有另外一种修改方式,使用 afterConfig 属性修改 options 内容,这样在页面上的表现会更好一些 https://jsfiddle.net/8y3qdptL/53/ 。 |
问题得到了解决,感谢 |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary 简述
场景:使用dataZoom,设置一定的显示比例;
此时将data中rows所有数据变为0,放在点上为0,而图表却还有折线
当去掉dataZoom时,切换不会造成这个问题
Expect 期望结果
切换后,图表正常应为一条直线
Reproduce 重现示例
https://jsfiddle.net/seele7/8y3qdptL/20/
The text was updated successfully, but these errors were encountered: