Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3160
How to update a xamchart?
posted

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

 

Parents
  • 138253
    Verified Answer
    Offline posted

    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.

    XamChartUpdate.zip
Reply Children