[Android] Get height of axis?


Is there any way to get the height of an axis? I’m drawing something over the graph, and would like it to be inside the actual plotting area. I see there’s getPlotAreaRect, but that gives me the rect of the entire view, including the axis areas. In fact, there is no difference between getPlotAreaRect, and getCanvasRect.



Nevermind. I was able to remove the axis in question by using axis.setWidth(0), which is actually what was needed in this particular instance.