Make ChartDataSource only show complete intervals

2 posts, 0 answers
  1. Tyler
    Tyler avatar
    7 posts
    Member since:
    Aug 2013

    Posted 07 Dec 2014 Link to this post

    I have a real-time data stream being visualized with a ChartDataSource in a LineSeries. Right now the previously aggregated values are being rendered properly, but the value for the "current" aggregation (the one that's being built in real-time) moves around until that aggregation interval ends. Is there any way to get the ChartDataSource to only show values from complete aggregations?
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 10 Dec 2014 Link to this post

    Hello Tyler,

    If I understand your scenario correctly you report that if the data is being generated at runtime and it is being selected by the ChartDataSource, your chart is updating. If this is your scenario I would like to say that this is the expected behavior of the RadCartesianChart. It is expected that when the ItemsSource of the chart is undated its visualization is also updated. If you need to update the chart only one time you need to ensure that your data for the "current" aggregation is created and ready to use before updating the ChartDataSource.

    If however, this is not your scenario please provide us with more detailed information, clarifying your exact scenario and requirements.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top