Hi!
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.
Regards,
Bjørn Terje Svennes
- btsvennes asked 11 years ago
- You must login to post comments
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!!
Andrew
- Andrew Burnett-Thompson answered 11 years ago
-
Sorry for taking so long. I've been busy working on other projects. I tried your approach and it seems to do the trick very well :-) Thank you very much for your help. Bjørn Terje
-
That's great! Glad it worked :)
-
A follow up question: Our charts receives data over time, so the visual range is continuously updated. This has effects on zooming since it also changes the visual range. So when the user tries to zoom at a part of the chart, the chart goes back to "normal" when a new sample is received (hence moving the time window). How do you solve this problem? I haven't found any property that can tell me whether the user has zoomed the chart or not.
- You must login to post comments
Please login first to submit.