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

Make ChartDataSource only show complete intervals

1 Answer 43 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Tyler
Top achievements
Rank 1
Tyler asked on 07 Dec 2014, 05:55 PM
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?

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 10 Dec 2014, 11:34 AM
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.

 
Tags
ChartView
Asked by
Tyler
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or