This is a migrated thread and some comments may be shown as answers.

Live data and smooth range update

3 Answers 109 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Wouter
Top achievements
Rank 1
Wouter asked on 30 Jul 2013, 03:11 PM
Hi,

I have live data coming from a sensor at a rate of 1khz. This data is plotted on a RadCartesianChart with two LinearAxis for X and Y. Only the last 10 seconds or so needs to be shown to the user. This is why I remove the first datapoint as soon as 10,001 datapoints are recorded.

When RangeExtendDirection="Positive" is set on the X-axis the graph scrolls along quite nice, however the range is not updated smoothly. The graph jumps every so often when the end is reached. I would like the X-position on screen of start and end of the graph to remain the same. Is this possible? I have not been able to find a way to alter the range of a graph.

Wouter

3 Answers, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 02 Aug 2013, 10:05 AM
Hi Wouter,

The provided details are insufficient to diagnose the issue. Can you provide a sample project where the issue is demonstrated? For the purpose, you can open a support ticket.

As a new user, I would strongly recommend to check our vast collection of online help topics and online demonstrations with source code. There is a demo related to your scenario. You can find it by typing in the search box; "live data".

I hope this helps.

Regards,
Rosko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Wouter
Top achievements
Rank 1
answered on 05 Aug 2013, 08:27 AM
An example of how I would like it to be can be seen in the SciChart FIFO example. Wait for the queue to fill entirely to see the intended behaviour.

The real-time example for chart view does not alter the range at every step, but only when the graph reaches the end. I would like a FIFO graph to remain in place on screen while the axis scrolls smoothly.
0
Rosko
Telerik team
answered on 06 Aug 2013, 11:06 AM
Hi Wouter,

The demonstrated scenario is not supported, but you can achieve the following one.

Regards,
Rosko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ChartView
Asked by
Wouter
Top achievements
Rank 1
Answers by
Rosko
Telerik team
Wouter
Top achievements
Rank 1
Share this question
or