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

smooth为True的时候,折线图的曲线有可能出现负值,能否避免负值 #191

Closed
clongbupt opened this issue Jan 20, 2014 · 3 comments
Labels

Comments

@clongbupt
Copy link

如图所示:
echart_bug

@pissang
Copy link
Contributor

pissang commented Jan 20, 2014

sorry目前还无法避免这种情况

@chenyin
Copy link

chenyin commented Jan 21, 2014

@pissang 如果这个问题无法解决的话,能推荐一下解决方案吗。这种数据的chart看起来有负值应该是非常不能接受的事情啊

@pissang
Copy link
Contributor

pissang commented Jan 21, 2014

可以增加数据的数量,smooth后相当于曲线有个走势,但是不给约束条件的话不能控制这个走势的方向,数据越稀疏误差就越大,如果不能增加数据的话只能关掉smooth选项了。这个问题还没想到一个比较完善的方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants