Shinobi charts space between axis title and ticks


In my column series I have shortned the tick label using the below method , How can I change the   space between axis title and ticks

- (void)sChart:(ShinobiChart *)chart alterTickMark:(SChartTickMark *)tickMark beforeAddingToAxis:(SChartAxis *)axis {
    if (chart.yAxis == axis ){
        if (tickMark.value >=1000000) {
           float i = tickMark.value/1000000.0;
            tickMark.tickLabel.text =[NSString stringWithFormat:@"%.01fMn", i];




We don’t currently have a property that does this (though we may look into adding it in a future version), however you should be able to achieve the same effect by increasing the value of the tickGap property on SChartTickStyle. This will increase the height of the view containing all the the ticks and tick labels.

You can then use the sChart:alterTickMark:beforeAddingToAxis: delegate method to then move your tick labels up and down as you wish.

Please get back to us if this doesn’t work.