Yaxis bottom tick label not showing for SChartLogarithmicAxis


#1

I’m using an SChartLogarithmicAxis for my Y axis with the following parameters:

Data values range from 13 to 9800.

Default range is set from 0 to 15000.

MajorTickFrequency is set to 1

On the simulator, the yAxis labels correctly show 1,10,100,1000,10000.

On the iPad, the “1” label is missing no matter what I try including setting tickLabelClippingModeLow to SChartTickLabelClippingModeTicksAndLabelsPersist

How can I make the “1” label show on the iPad?

Here’s my setup:

    SChartNumberRange *yRange = [[SChartNumberRangealloc] initWithMinimum:@0.0andMaximum:@15000.0];
 
     SChartLogarithmicAxis *myAxis = [[SChartLogarithmicAxisalloc] initWithRange:yRange];
    
    myAxis.anchorPoint = @1;
   
     myAxis.tickLabelClippingModeLow = SChartTickLabelClippingModeTicksAndLabelsPersist;
 
 
     myAxis.majorTickFrequency = @1;
    
    myAxis.base = @10;
 
Please help - I've spent hours trying to get this to work.

#2

This happens in iOS 6, 7 and 8.

Anyone?


#3

Hi Giebler,

Thanks for getting in touch!

I can’t seem to replicate your issue with the code you supplied on an iPad device or simulator.

Is there any chance you could manipulate one of our sample projects and send it in to us at infor@shinobicontrols.com?

Could you also supply the following information:

  • ShinobiCharts version.
  • Specific device(s) your issue occurs on.

This would really help us identify the source of your issue.

Kind regards,
Andrew Polkinghorn