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

Can I use ChartView for creating of Real-Time charts?

1 Answer 574 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 05 Jan 2016, 02:58 PM

Hi! First of all I bag your pardon for my poor English. I'm very interested in using ChartView control for building charts displaying information in real-time. I write a WPF C# application that is reading (in real-time) data slices (via COM-port) from ultrasonic flowmeter for gas conduit and (after reading every data slice) drawing (in real-time) line chart from data of this slice. So I have two questions:

1) Can I use ChartView for drawing of those charts in real-time?

2) What is the maximal time-resolution of ChartView? Does it has time-resolution in microseconds (that is it can executes drawing of chart in time-interval of tens of fmicroseconds) or in milliseconds only?

 
 
 
 
 
 
 
 
 

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 06 Jan 2016, 08:56 AM
Hello Eugene,

1)
Yes, you can use the RadChartView in a live-data set up. You can see examples in our qsf demos and sdk samples (you may find the sdk browser useful).

2)
The chartview supports different types of axes that handle data differently. We do have two DateTime axes and you can try the DateTimeContinuousAxis, it works with DateTime ticks. The DateTime tick is about 0.1 microseconds, so you should be able to display data in tens of microseconds. Note that the chartview may struggle if you update its ItemsSource too quickly, before it had the time to layout, so you should use some dispatching mechanism, as the one demonstrated in the previously indicated sdk AsyncData sample.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ChartView
Asked by
Eugene
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or