Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ScatterDraw & ScatterCtrl » About AutoUpdate of PieChart
About AutoUpdate of PieChart [message #57309] Wed, 07 July 2021 05:42 Go to next message
sinpeople is currently offline  sinpeople
Messages: 26
Registered: October 2020
Location: Singapore
Promising Member

Hi folks,

The PieChart can be used to draw pie chart nicely.

Is there any sample code, such that changes in data trigger an update of PieChart without re-draw it again?

Thank you!

Best Regards
David
Re: About AutoUpdate of PieChart [message #57392 is a reply to message #57309] Mon, 02 August 2021 08:24 Go to previous message
Maginor is currently offline  Maginor
Messages: 39
Registered: May 2019
Member
What do you mean with not re-drawing it? It has to be re-drawn for the image to change.
One way is to call Refresh() on your ScatterDraw (or ScatterCtrl) object whenever the data changes. How you do this depends on how your data is organized and what processes cause it to change.
Previous Topic: Show Raw Data in the PieChart
Next Topic: Scatter Not Installing Properly
Goto Forum:
  


Current Time: Mon Nov 29 07:30:52 CET 2021

Total time taken to generate the page: 0.00998 seconds