I think the best approach to do it is using MVVM. You can bind your data item collection to the VisualizationLayer.ItemsSource
property. And you can specify the appearance of the point via DataTemplate
using the ItemTemplate
property. Also you should implement the INotifyPropertyChanged
interface in your data item class to allow to change the source of the Image
using data binding.
I have attached a sample solution which implements this approach.
I hope it helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>