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

LineChart 填充 #2825

Closed
zbc101 opened this issue Sep 26, 2017 · 2 comments
Closed

LineChart 填充 #2825

zbc101 opened this issue Sep 26, 2017 · 2 comments

Comments

@zbc101
Copy link

zbc101 commented Sep 26, 2017

当y值有正负时 ,渐变的填充就不是从最下面填充,而是从y为0时 ,有没有方法解决 从最下面填充

@zbc101
Copy link
Author

zbc101 commented Sep 26, 2017

就是填充时,y有正负时,填充以y=0时填充,能不能设置从最下面填充,不管y值正负

@liuxuan30
Copy link
Member

liuxuan30 commented Oct 8, 2017

use English to gain help in time. the filling is around the 0 axis line, it's by design.
You have to override the methods to just fill from bottom. It's in generateFilledPath(). Just try pass contentRect bottom for fillMin

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

2 participants