first at all im very new to SciChart. I actually evaluate it for our Software.
I like the Performance from Scichart.
But now i have a little Problem.
Please have a look at the DEmo-Application. I use MVVM-Light. Think you have to install it via Nuget.
I’ve made two Buttons. With the first one i generate 2 Axis and with the Second – one 4 Axis (Just for testing). This works very fine. I see the GRaph and the GRidlines.
Now i want to generate some Lines for the different Axes.
But when i try to add a new ChartSeriesViewModel to my Seriessource alls Gridlines where hide and the Line wont show. What i’m doing wrong here ?
Can you help me to generate an Example via MVVM to generate more lines for different Axes and fill the Lines with an Timer ?
i got the most on my own. I have one left Problem. i want a static x-Axes. For Example from 1 – 60 seconds. And a scrolling chart.
Don’t know how to get this. Actually i have only an increasing x-axes.
Is it possible to make two X-Axes. One Scrolling and one fix. And then i can hide the scrolling one ?
Do you know what i mean ?I have made an attachment with my Demo-Application.
Please have a look at the image. This is how i want that it looks like. The fixed X-Axes and the coninious scrolling Graph.
Ok here some more Explanation
In the Screenshots below you can see our actual Graph
In the Graph1 you can see a static X-Axes from 0-60 seconds
In the GRaph2 you can see the Graph starts scrolling. I tried this with Scichart. But the only possibility to start scrolling on the Graph is to set the FifoCapacity from the XyDataSeries. I want to have a Capacity from over 100000 Points to analyze the Graph on a later time with pan and zoom.
In the GRaph 3 you can see a scrolling GRaph and a static x-Axes from 0-60 Seconds. AND The Gridlines do NOT Scroll with the Graph.
In the GRaph 4 we can stop the Measurement. That is also possible with Scichart.
And in the last GRaph we can Pan and Zoom on the stopped Graph. Think this is also possible with Scichart.
So what is not possible (with my knowledge) is, that the Graph should Scroll and The Gridlines should not Scroll.
I trid following:
I set two X-Axes. One with Autorange=”Always” and visibility Collapsed. The FastlinerenderableSeries i set to this X-Axes.
The other X-Axes i set to Autorange=”never” and visible. but the GRidlines always scroll and i think that were the Gridlines from the first X-Axis.
So i hope you understand my Problem now and can help me to find a Solution.
Thanks a lot
Hi there, and thanks for your question!
There are several ways to achieve scrolling in SciChart.
First up, you can create a FIFO Chart as you’ve pointed out. What this does is the X values will always be increasing, and the chart will be scrolling to the right. Old data is discarded once it exits the FIFO buffer.
It is also possible to implement Scrolling without FIFO. In our ECG Demo, we simply update the XAxis.VisibleRange in the ViewModel. Also, this article on having a Fixed Scrolling Time Range demonstrates a similar technique of updating XAxis.VisibleRange. Theoretically, using this method of binding to XAxis.VisibleRange you can achieve any type of scrolling.
However, it sounds to me like you want to scroll a chart but have an axis stationary (values and labels not change). is that right?
If so, you can try this documented workaround:
The effect will be like you have a fixed axis of 0, 60, but the series is scrolling.
Is this what you want? If not I’m afraid I’m going to need to ask for more clarification.
i think i found a Bug in IsStatic=”True” in the following Example from Yuri:
If my Firefox or my InternetExplorer is NOT maximized and i open the Example it looks like in Screenshot 1. Thats looks nice as it should.
And then i maximize the IE or Firefox and it looks like the Screenshot 2. The X-Axis Gridlines are only in the first halfe of the Graph.
I’ve the same behaviour in my WPF Example.
Please login first to submit.