Axis tick mark labels are truncating


#1

I’ve implemented the:

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

method in order to modify the text shown in my axis tick marks. My specified text is being truncated by the tick mark label (showing ellipses at the end). So, I implemented the:

  • (NSString *)sChart:(ShinobiChart *)chart longestLabelStringOnAxis:(SChartAxis *)axis

method in order to force a longer length of for the tick mark labels (I return @"########" from this method). The axis width has expanded when I implemented longestLabelStringOnAxis, but the tick mark labels are still truncating.


#2

Hi there,

I think we discussed this via the support portal, but for anyone else that comes across this I’ll mention it here too:

Unfortunately, there is a known issue with the longestLabelStringOnAxis: delegate method being ignored when using SChartNumberAxis. This is something we’ve fixed locally and hope to release shortly.

Thanks,

Sam