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

The most top label of ChartYAxis doesn't render which seems a bug. #647

Closed
AntiMoron opened this issue Jan 4, 2016 · 1 comment
Closed

Comments

@AntiMoron
Copy link
Contributor

Check line 251 of THIS FILE
It's if (!_yAxis.isDrawTopYLabelEntryEnabled && i >= _yAxis.entryCount - 1)
I think it should be

if (!_yAxis.isDrawTopYLabelEntryEnabled && i > _yAxis.entryCount - 1)
@danielgindi
Copy link
Collaborator

Nope :-)
The top entry is actually when i == entryCount - 1, that's the last entry. But we did write it as i >= entryCount - 1 for safety. There were cases where people did weird things with data... Although it's much safer in the latest releases.

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