I want to implement a candlestick graph using core-plot. I have a little problem with yAxis开发者_JAVA技巧. I'd like to display the yAxix on the right like this examples:
http://www.schaefferresearch.com/images/schaeffersu/tutorials/charts/candlestick.gif http://www.mafiaforex.com/wp-content/uploads/2010/07/candlestick.gifHow?!
Looking at the examples I tried to change yAxis.orthogonalCoordinateDecimal with no result.
Thank you for your help!
Bye
G.
Try changing xAxis.orthogonalCoordinateDecimal
.
yAxis.axisConstraints = [CPTConstraints constraintWithUpperOffset:0.0];
yAxis.orthogonalCoordinateDecimal = CPTDecimalFromDouble("some number on X axis");
should work.
精彩评论