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

Without drawLimitLinesBehindDataEnabled, limit lines go outside chart area #1052

Closed
iangmaia opened this issue May 18, 2016 · 3 comments
Closed

Comments

@iangmaia
Copy link
Contributor

I noticed that, with drawLimitLinesBehindDataEnabled set to false (default), the limit line I have on a right axis will go outside the chart area (only vertically):
simulator screen shot 18 may 2016 15 18 55

If I set it to true, it behaves correctly and there's no issue, but then the line is below the candle sticks (obviously -- I guess that what's the flag is about), which is a behaviour I don't necessarily want.

@liuxuan30
Copy link
Member

I'm not sure if it's a bug, but the chart limit line is not clipped in your case... and your limit line value is lower than the min y. @danielgindi what you think

@iangmaia
Copy link
Contributor Author

The limit line should be clipped if the value is lower than minY I think, this was the behaviour a couple of versions ago.

@liuxuan30
Copy link
Member

well, in the code, if you turn on it, it is drawing without clipping. You can change it to achieve your purpose. I'm not sure why it is implemented such way but it should have reasons

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