Hi,
I am developing a Windows project using DevC++ 4.9.9.2, and I have successfully installed GLUT 3.7.6+ graphics library, since I need to include 3D pie-charts in my application.
The pie charts data is determined at run-time depending on user inputs, who may also choose to display one or several pie-charts on the same child window.
My program already processes the queries and fills up all the info to display one (or several) pie charts. I have a “Pie Chart” class that has the graph’s titles, legends and total # of slices, + an array of “Pie Slice” (another class), that holds the slice value, % of total, name of slice and color.
I am looking for API-style function calls for pie charts that I can call to display 3D-quality pie charts easily, without reinventing the wheel (and as you can see I am terrible with graphics!). I can accommodate necessary parameters in any way the API functions require.
Some specific questions:
a) Can anybody point me to a Dev-C++ compatible and documented library/resource with this kind of “easy 3D pie-chart” calls? If free or under 100 USD, much better!
b) I am not good at all in GUI environments, and I am quite confused by some Windows issues. In particular:
-> Can I add a pull-down menu (or buttons) at the graphical child pie-chart window? I want to offer the user a chance to Save, Print and Copy-to-clipboard… or should I design my program so that the user instructs beforehand what he wishes to do, since the Pie Chart functions can only display the charts?
-> If I had several pie-charts on the same child-window, will Windows built-in capacities allow the users to move around each pie-chart as a graphical object, or should I assume that the multiple charts will have static positions wherever I choose to position them?
-> Related to previous: will I be able to tell the drawing procedures the total size of each pie-chart (including subtitles, etc…), so that I can calculate that if a letter-document is printed, it will fit?
Sorry for the encyclopaedia, but getting started in graphics can be quite confusing!
Help will be very much appreciated.