Pre loader

Change the interval of Axis in Android

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I want to set ticks of y Axis, like 0, 10, 20, 30, 40, 50…

I tried in this code,
IAxis yAxis = sciChartBuilder.newNumericAxis().withVisibleRange(0, 50).withVisibleRangeLimit(0, 50).withMajorDelta(10d).build();

It did not work!

How can I change the interval in Axis?

  • You must to post comments

Hi Jimpachi Wakabayashi,

To manually specify Minor/MajorDelta value you also need to disable auto tick generation. Please take a look on article from our documentation in ‘Altering Tick Spacing’ section. Also if you specify MajorDelta you also need to specify MinorDelta:

IAxis yAxis = sciChartBuilder.newNumericAxis()
            .withVisibleRange(0, 50)
            .withVisibleRangeLimit(0, 50)

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.