SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Is there any way the X-axis can be expressed as a static time span? I would like to show the last two hours of data at all times (see the attached design). This means that the chart plot should move, but not the X-axis.
Bjørn Terje Svennes
Hmm .. Interesting problem.
Ok try this. Have two XAxes (use our Multiple XAxis feature). Have one with a TimeSpanAxis displaying timespans from 00:00 – 02:00 and use FlipCoordinates = True (this reverses from 02:00 – 00:00). Have this axis visible.
The second axis is the real axis that you append data to. Have this axis either with Visibility=Collapsed, or set DrawLabels, DrawTicks = false.
Let me know if it works!!
Please login first to submit.