Same question as here:
http://es.infragistics.com/community/forums/p/15543/58057.aspx#58057
http://help.infragistics.com/Help/NetAdvantage/WPF/2011.1/CLR4.0/html/xamChart_Modifying_the_Underlying_Data.html
Data source is observablecollection of DataPoint.
When I add a DataPoint to the observable collection the chart updates. However if I change the value of an existing datapoint the chart does not update. How do I make the chart update when I change the value property of a datapoint? RefreshEnabled = true. I am modifying the data from my viewmodel.
Thanks,
Sam
Hello Sam,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a class MyDataPoint that implements INotifyPropertyChanged interface, so that the XamChart could be notified when a Property is changed, because the DataPoint class doesn’t implements the interface. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thank you Stefan! The thing to remember here is that DataPoint does not implement INotifyPropertyChanged!