Rendering tickMark within plot area


I am interested in rendering y-axis labels inside the plot area. Using: 

- (void)sChart:(ShinobiChart *)chart alterTickMark:(SChartTickMark *)tickMark beforeAddingToAxis:(SChartAxis *)axis

I was able to offset the label into the plot area. I’m not able to achieve the same with the tickmark though and see the following log as axis width is set to 1:  ShinobiCharts: Axis width does not provide enough space to fit the tickmarks and ticklabels.

 How can I render the tickMark within the plot area?


Hi dilip-fa,

This can be done by editing the tick view’s frame on each tick mark like so:

CGRect customFrame = ...;
tickMark.tickView.frame = customFrame;

Let me know if you have any questions.

Kind regards,
Andrew Polkinghorn.