Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I create a live graph in Visual C++ which will be updated every 2 minutes?
Posted
Updated 17-Mar-10 11:54am
v3

You may create the graph using, for instance, the GDI drawing primitives.
As regards the 'update part' you may, as suggested, use a timer.
:)
 
Share this answer
 
v2
Or... you could look at the many articles here on CodeProject!

Example:
High-speed Charting Control[^]

More:
http://www.codeproject.com/KB/miscctrl/index.aspx?#Miscellaneous%20-%20Charting%20Controls[^]

Good luck,
Iain.
 
Share this answer
 
v3
You could call the graphs refreshing
from a separate thread or from the CYourGraphWnd::OnTimer(..) :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900