Changing graph axis range


I have plotted two graphs on a canvas and trying to change the y-axis range. It is in -0.2 - -0.8 range and I am trying to change it to 0.0 - -0.8 by using mouse right button. But it change only to 0 - 1. Even I used

gr->GetXaxis()->SetRangeUser(0.0, -0.8)

, the result is the same. Is there other way to do this.
I want to do this because I am plotting two graphs on same canvas and y-range of two graphs are not close. So, one of them (one which is plotted last) graph is not being plotted. I am using root 5_27.


Never mind, I found the reason.