ID Number: Q74560
3.00
WINDOWS
Summary:
Chapter 11 of the book "Microsoft C Advanced Programming Techniques,"
included with the Microsoft C Compiler version 6.0 discusses creating
charts and graphs in DOS using the C presentation graphics library
PGCHART.LIB.
Windows does not include a presentation graphics library as such, but
the Windows graphics functions can be used to draw graphs and charts.
PGCHART.LIB is only for use with DOS applications.
Page 570 of Charles Petzold's "Programming Windows" (Second Edition)
includes an example of using the Windows Pie() function to draw a pie
chart. Similarly, other GDI functions, such as Rectangle(), Polygon(),
or LineTo(), could be used to draw charts or graphs.