Live data and smooth range update

4 posts, 0 answers
  1. Wouter
    Wouter avatar
    24 posts
    Member since:
    Jul 2013

    Posted 30 Jul 2013 Link to this post

    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
  2. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 02 Aug 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Wouter
    Wouter avatar
    24 posts
    Member since:
    Jul 2013

    Posted 05 Aug 2013 Link to this post

    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.
  5. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 06 Aug 2013 Link to this post

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