-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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
[优化] type: 'line' & smooth: true 的展示待优化 #4556
Labels
Comments
lin-credible
changed the title
type: 'line' & smooth: true 的展示待优化
[优化] type: 'line' & smooth: true 的展示待优化
Nov 25, 2016
因为平滑后还能保证整个曲线的最大值最小值跟之前是一样的,不能出现类似小于 0 大于 100 的情况 |
@lin-credible 谢谢建议,我们会尝试优化下 |
Closed
This issue is marked to be |
Closed by #13314 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题简述 (One-line summary)
type: 'line' & smooth: true: 一切如图
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
y值: 0, 0, 6000, 6000, 6000, 0, 0 ...... 0, 0, 2000, 2000, 2000, 0, 0 (制造这样的波峰波谷即可看到效果)
期望结果 (Expected behaviour)
可能哪里有问题 (What went wrong)
smooth的算法待优化,从当前效果的展示来看,value越大,平滑度越小,但是有时候视图数据量很小,这种误差效果太明显,严重影响体验。
ECharts配置项 (ECharts option)
其他信息 (Other comments)
smooth: true
:smooth: false
:The text was updated successfully, but these errors were encountered: