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

Cropping left axis labels and missing some values #2563

Closed
ratka6 opened this issue Jun 27, 2017 · 2 comments
Closed

Cropping left axis labels and missing some values #2563

ratka6 opened this issue Jun 27, 2017 · 2 comments

Comments

@ratka6
Copy link

ratka6 commented Jun 27, 2017

I've created BarChart in code and have a problem: when it is displayed it crops left yaxis labels and last value is missing. There are only 7 values showed, rest is shown when scrolling using setVisibleXRangeMaximum and setVisibleXRangeMaximum to 7, then I use moveViewToX. After that this is what I get:
zrzut ekranu 2017-06-27 o 15 56 44
But then after scrolling left to the last value view is "refreshed" and I get this:
zrzut ekranu 2017-06-27 o 15 56 52
Is there a way to set the view on create?

@ratka6
Copy link
Author

ratka6 commented Jun 27, 2017

Found solution - I just needed to call notifyDataSetChanged before moving to X!

@tommyguan
Copy link

Is this solved ? Could somebody share a workaround ?

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