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

Plot range x-labels have ugly values #17

Open
Makman2 opened this issue Apr 26, 2015 · 1 comment
Open

Plot range x-labels have ugly values #17

Makman2 opened this issue Apr 26, 2015 · 1 comment

Comments

@Makman2
Copy link
Owner

Makman2 commented Apr 26, 2015

If we render for example 1000 data points (starting from zero), we get something like:

It would be better to display the x-label "1000" itself at the right edge, but if we adjust code to get 1001 labels (so from 0 until 1000), the plot calculates even more ugly values (and there's still no 1000 at the right edge):

We should try to display the range 0 until 1000 (or any other range, but it shouldn't be cut off like this).

@Makman2
Copy link
Owner Author

Makman2 commented Jun 19, 2015

Maybe XAxis.setAvoidFirstLastClipping(boolean enabled) is the solution for this problem.

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

No branches or pull requests

1 participant