Here is how my graph looks like:
I wan't the y axis to have an interval of 50 so i try doing this:
var axisSet: CPTXYAxisSet = CPTXYAxisSet(layer: graph.axisSet)
var y = axisSet.yAxis
y.majorIntervalLength = 50
But majorIntervalLength doesn't seems to exist
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…