-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Change size of the view that contain the chart #440
Comments
Can you record a demo to let us see what you are experiencing? Basically the chart view is handling resize by itself, you don't have to do nothing... |
Closed for no response. |
Hi @danielgindi , I guess I'm having the same problem here and yet to figure out. At first I init the bar chart for all days in a certain month. It works just great but if I switch to year by changing the count of BarChartDataSet to 12 (12 months), then I ran into problem where some months displayed twice or even triple. I found out that if I init for the year first, it would be fine until I switch to month and then back. Here comes some screenshot:
Should there be any method to redraw the view when count changed? |
How is the best way to manage the redraw of the chart when the size of the View that contain the chart is modify (big view to small and the other way around?
The chart size is modify too, that the problem with the transition of the change of the view (stuttering).
Thanks for your help!
The text was updated successfully, but these errors were encountered: