Can I change the maximum value of Axis if LineChart is drawn already?
I know about setUpperBound()
method, but I see that it works well when it is used with initialization of chart. But I want to change upper and lower bounds of an existed chart (there is no result).
Asked
Active
Viewed 32 times
1

Julia Grabovska
- 151
- 11
-
After you've changed the upperbounds, are you refreshing the image? – Alan Kavanagh May 30 '15 at 16:52
-
1It is refreshed automatically after any change in chart. The problem was: yAxis.setAutoRanging(true); It must be false. – Julia Grabovska May 30 '15 at 17:01