Showing results 1 to 3 of 3

Thread: WPF Pie Chart real time update

  1. #1
    Join Date
    29.01.2015
    Posts
    10

    Default WPF Pie Chart real time update

    Hi
    I have follow the blog (http://blog.copadata.at/wp/using-the...s-pie-chart-1/) to create the WPF Pie Chart in Zenon.
    But the Pie Chart only update when I switch to its screen everytime.
    How to make this Pie Chart to update in real time?

    Thank you.
    Best Regards,
    Victor

  2. #2
    martins Gast

    Default Re: WPF Pie Chart real time update

    hi,

    you could do it with the help of Dependency Properties and perfoming a refresh internally when the values change. Another way could be to redraw it cyclically (although this would be my less prefered way).

    best regards,
    Martin

  3. #3
    Join Date
    29.01.2015
    Posts
    10

    Default Re: WPF Pie Chart real time update

    Hi Martin,
    Now I am creating a counter variable to make the WPF chart to refresh if the WPF page is turn on and the value are changed. But it is a complicated way.

    I have tried to write a VBA to keep counting to update the WPF chart, but it will have error may bec of keep running the VBA code.

    Do you have any suggestions to make this real time update easier? What is the better method to make "Dependency Properties and perfoming a refresh internally when the values change." work?

    Thank you.
    Best Regards,
    Victor

Similar Threads

  1. Report Viewer Chart
    By navaneet in forum zenon Supervisor
    Replies: 4
    Last Post: 21st April 2015, 03:05
  2. Real-time performancce of STRATON
    By prasadkh in forum straton / zenon Logic
    Replies: 4
    Last Post: 12th December 2013, 12:31
  3. Replies: 5
    Last Post: 18th September 2013, 13:26
  4. Replies: 5
    Last Post: 4th September 2013, 00:16
  5. Replies: 1
    Last Post: 1st September 2011, 23:30

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •