SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
i would like to configure my chart that it looks like a oscilloscope. That means that the gridlines are fixed on the display and not running from right to left. The visible range of the chart should also be fixed and should display a predefined range (e.g. 60 Seconds). Only the data should be displayed as usual. How can i achieve this?
I would be very thankful for a short example.
Thanks for your question.
Please take a look at our Oscilloscope Demo included in the Examples suite:
You can also take a look at our Adding Realtime Updates tutorial:
Hope this helps.
Thank you very much for your answer. I realized the desired functionality by using a TickProvider. Nevertheless i have another question concerning this Oscilloscope-Chart. I configure the chart, that the X-Axis displays a visible range of 60 seconds (0s – 1m). When the data appended to the chart reaches the right end the labels of the major grid lines start to update their values (e.g. 1s – 1m1s, then 2s – 1m2s and so on). However i need to have fixed labels that are not updating their values to show a constant timespan to the user. Our users want to see immediately that the chart displays a timespan of 60s (0s – 1m) and they want not to recalculate in their heads that the displayed visible range of 22s – 1m12 for example are 50seconds.
It should be quite simple. By default SciChart won’t scroll, won’t autorange. If you have a window of 0s to 60s then you must keep your data inside 0s to 60s to act like an oscilloscope. Simple as that.
Then just make sure the data on your series falls in the range 0 to 60 seconds. So, if it gets to the right edge, and you want to start drawing at the left side again, you can do it like this.
Please login first to submit.