I have the following bar graph. I want the y-axis to be present at x = 2005 (x range 2006-2012), however it seems to only want to show up when I change the x-axis range to 0-wha
There are two ways to control that:
Set the orthogonalCoordinateDecimal property. For example,
orthogonalCoordinateDecimal
axisSet.yAxis.orthogonalCoordinateDecimal = CPTDecimalFromDouble(2005.0);
Use constraints. For example,
axisSet.yAxis.axisConstraints = [CPTConstraints constraintWithLowerOffset:0.0];