Making left axis start at 0
Posted: Fri Nov 12, 2010 2:44 am
I can not figure what I am doing wrong. I have a Line chart in which the lowest value in the data is 5000 but I want the left axis to start at 0. I have tried all of the following and none of them work. Are these even the right place to set the starting number for the axis?
Code: Select all
tChart.getAxes().getLeft().setMinimum(0);
tChart.getAxes().getBottom().setMinimum(0);
tChart.getAxes().getRight().setMinimum(0);
tChart.getAxes().getTop().setMinimum(0);