SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Hello,
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
Thanks.
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,
Yura
Please login first to submit.