How can absolute numbers to be displayed on a y-axis?


The y-axis of our chart is a SChartNumberAxis. We want to see just absolute numbers (integers like 1,2,3,4,5….). Instead the axis presents randomly double figures (depending on the number of values). Please see in the attached image that the y-axis shows values like 0.5, 1.5, 2.5 which don’t make sense for the displayed data.

We already played so many times around with different approaches in -(void)sChart:alterTickMark:beforeAddingToAxis: but nothing really has worked reliably over the different deployed Shinobi versions.

Please would you provide us a solution how to display absolute numbers on the y-axis.

Many thanks…


Hi there,

You can make use of the majorTickFrequency and minorTickFrequency for this provided you want your data to show your tick marks on a repeated interval.

If you have any further questions, please let me know.

  • Matt