Hello,
I have a XamChart with 2 series. The series are bound to DataColumns in a DataTable. A background thread is periodically adding DataRecords to the DataTable. The new data is showing up in the XamChart. I am looking for an event to handle in order to adjust the min and max for the x axis. The x axis displays time and I want to display the most recent 1 minute of data. I have tried adding a handler for "this.xamChart1.Series[0].DataPoints.CollectionChanged", but it doesn't fire. Any ideas?
Bill Swartz
as it turns out, we were overriding OnCollectionChanged in the DataPointCollection class and not calling the base method, causing the event not to be raised.
this was logged as a bug (#18195) and fixed today. it should be resolved in the next hotfix.
to inquire about the status of this bug at any time, please contact infragistics developer support with the bug number.
I have a workaround using ChartRendering. Good. But, again, the following question remains unanswered.
How can I handle the CollectionChanged event of the DataPointCollection contained in the DataPoints property of a Series in the SeriesCollection contained in the Series property of a XamChart?
Bill
if the chart control's DataBind event doesn't work, try ChartRendered or ChartRendering.