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

2 posts, 1 answers
  1. Eugene
    Eugene avatar
    83 posts
    Member since:
    Jan 2016

    Posted 05 Jan 2016 Link to this post

    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?

  2. Answer
    Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 06 Jan 2016 Link to this post

    Hello Eugene,

    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).

    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.

    Petar Marchev
    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
Back to Top