Pre loader

Update X - Axis (Only 1 X-Axis) with Different Y - Axis

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



At right chart we have show only one X-axis which needs to update in real time .whenever new values will come we have to update in X-axis in itself instead of adding new line at X-Axis.

Each time New Y – axis will come that will append at left chart (Can be consider left chart showing history of right chart)

Let me know if anything further requred


  • Yura Khariton
    Hi there. I’m not sure that I understand what you’re trying to achieve. Maybe you have some video or screenshot which demonstrate desired behavior?
  • vasim simform
    I have updated question please check and let me know if anything help required
  • vasim simform
    Hello Yura , Could you provide solution for this?
  • vasim simform
    In this one thing also I would like to add , How to prevent to change Y – axis value while chart is in real time ? like we have to put tile at Y – axis ( 0.1, 0.2 , 0.4 , 0.6 , 0.8 ,1.0) which should not be changed and X -value come incremental integer like 1,2,3,4,5,6….so on
  • vasim simform
    Hello Yura , Could you provide solution for this?
  • You must to post comments

Hi Vasim,

To prevent changes on YAxis’s VisibleRange you can set AutoRange.Never for axis and then manually set VisibleRange to (0, 1) as initial value. To show all axis labels like on screenshot you either need to set MajorDelta = 0.1 and disable auto ticks or create custom TickProvider and set ticks at desired positions:

final IAxis yAxis = sciChartBuilder.newNumericAxis().withAutoRangeMode(AutoRange.Never).withVisibleRange(0.0, 1.0).withAutoTicks(false).withMajorDelta(0.1).withMinorDelta(0.05).withDrawMinorTicks(false).build();

As for XAxis you just need to increment xValues by one when appending data in DataSeries.

Hope this will help you!

Best regards,

Showing 1 result
Your Answer

Please first to submit.