Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a MFC dialog where I need to display result in the form of pie chart and bar chart.
I had a look at other code related projects regarding the same that uses more advanced techniques and some reference to other libraries. But my requirement is very simple.

Is there any in-built class support in C++ or MFC to create charts in a MFC dialog

Regards
Dhamodharan
Posted
Comments
Richard MacCutchan 24-Aug-15 7:22am    
No, you need to look for a third-party library, or write your own.

1 solution

There is no MFC chart control. However you may use the Microsoft (COM) chart control in your MFC application (see, for instance, "Using the MS Chart control in VC++"[^]).
You may also have a look at Cedric's "High-speed Charting Control"[^].
Or, if you wish, as already suggested by Richard, develop you own (a simple chart is not that difficult to write on the top of GDI or GDI+).
 
Share this answer
 
v2

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