Display Real-time data
We are using Infragistics (version 13.1.20131.2204) xamDataChart to present our real-time data.
We limited the number of points to display in chart to 1000 for each series and maximum 6 series, so total maximum points will be displayed are 6000.
We noticed that If I use CategoryDateTimeXAxis its slow down the performance and tried with CategoryXAxis and found that significant improvement. So we decided to stick with CategoryXAxis to represent the time. We have a requirement from our customer that he wants to display vertical line (indicates the date time) along XAxis when he load the historical data. The vertical time line shoud move along the xAxis automatically when time changes. We found the solution for our requirement from http://ko.infragistics.com/community/forums/p/75441/381189.aspx#381189, To achieve that XAxis should be CategoryDateTimeXAxis, we are ready to move to CategoryDateTimeXAxis from CategoryXAxis. But we would like to know why CategoryDateTimeXAxis not performing good when compared to CategoryXAxis with date time data (frequent data update).
What would you suggest to update the real time data in our scenario?
Thanks
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I modified the sample from the referred forum thread, so now it uses CategoryXAxis. Basically instead of setting a DateTime to the custom ValueOverlay you should set the index of the desired data item. As for the performance, here you can find more information about the difference between the two type of Axes:
http://help.infragistics.com/Help/Doc/WPF/2012.1/CLR4.0/html/xamDataChart_Chart_Performance.html
Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.