Ticket T314177
Visible to All Users

How to update a pie chart at real time using MVVM

created 9 years ago

[DevExpress Support Team: CLONED FROM T197360: WPF Pie Chart - Legend and Labels MVVM DataBinding]
Hi,
I am looking at real time update of pie chart with above example using MVVM. One way i found was chartControl.Update method. But, if I update  Value property of DataPoint  and  DataPoint is implemented INotifiyPropertyChanged, chart is not updating.
Can you please suggest, is there any way to update real time using MVVM?

Show previous comments (5)

    Hi, running into the same issue.  This post is a couple years old at this point and wondering if there is anything new in the DevExpress framework to handle his more elegantly?

    DevExpress Support Team 7 years ago

      Hello Christopher,
      This approach is a general solution for the MVVM pattern and is not directly related to our controls. Data bound controls cannot update their content if they do not receive notifications that their data source has been changed. Would you please clarify if this approach does not meet your requirements or you cannot implement it in your application?

        Hi John,

        I can make it work.  I just thought before I implemented this approach it would be worth checking if there wasn't a better way to handle it.  Thanks for getting back to me.

        Chris

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.