Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to draw a graph in my winapi C program, is there any control?

Is there any control that can be used for drawing a diagram like this in winapi32 controles?

in not do you have any idea how can I draw one?

enter image description here

(something like this!)

like image 499
The Pianist Avatar asked Dec 09 '22 23:12

The Pianist


1 Answers

You will find third party chart control for the Windows APIs -
http://www.gigasoft.com/graphinglibrary.html
http://www.codeproject.com/Articles/14330/Custom-Control-Graph-and-Process-Bar

Or you can draw the line graph yourself using the GDI functions LineTo and MoveTo.

like image 97
Superman Avatar answered May 21 '23 20:05

Superman