Hi,
Because this supports the INotifyCollectionChanged event, the RadChart attaches to this event.
I am binding the following list of dataseries to a RadChart ItemsSource to get dynamic updates:
var chartSeries = new RadHierarchicalObservableCollection<ObservableCollection<AnalogDataPoint>>(); |
However, if I later close my window and set ItemsSource to null, the event handler is not removed. Therefore, the whole RadChart is still connected to the data and is not collected. (Actually, the whole view is retained because the RadChart keeps references to its parent...).
Please correct this to remove any event handler when the item source changes.
Kind regards
Dr. Hartmut Kocher