Pre loader

How to change the x-axis datetime intervals runtime.

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 have an x-axis of type DateTime. Now I need to change that x-axis to show data in different intervals like Daily, Weekly, Monthly, continuous axis, and discontinuous axis at runtime.

Can you help me to guide on how can we achieve this. Also, any code reference would be really helpful.


  • You must to post comments

Hi Patriv,

Thanks for your inquiry.
You can control data interval shown through VisibleRange property on Axes:

we have examples in our Examples App that set VisibleRange to scroll view in realtime:

and a Tutorial that shows a slightly different approach:

As to showing discontinuous axis, we have a DiscontinuousDateTimeAxis which you can use instead of DateTimeAxis or swap them dynamically:

Hope this helps! Please feel free to ask if you need any assistance.

With best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies