LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Charts in C++ (https://www.linuxquestions.org/questions/programming-9/charts-in-c-586934/)

manolakis 09-24-2007 06:08 AM

Charts in C++
 
Hi guys
Does anybody know any good library for Charts in C++ (except Chart Director)?

Thanks

matthewg42 09-25-2007 04:35 PM

What type of charts do you want? Pie charts? Gantt Charts? Flow diagrams? Entity relationship diagrams?

manolakis 09-26-2007 05:05 AM

Well i most want time series charts like combined charts.

matthewg42 09-26-2007 05:25 AM

Combined charts - you mean like bar charts with line graphs on top?

manolakis 09-26-2007 06:52 AM

Well i will probably need bar charts as well but lets say that i ll need time series charts like stock charts. Have you actually got any idea?

Thanks

matthewg42 09-26-2007 07:21 AM

Well, there's libgd. It's C rather than C++, but it might still be be useful to you.

It might be too low level for your needs because it's rather more general purpose that just for creating charts of specific types. It is often used for this purpose however.

It depends on your requirements.

If high performance is not a requirement you might consider creating a gnuplot script and invoking gnuplot from your program.

You might also want to have a look at some of the sub-projects here: http://www.gnu.org/software/plotutils/

theNbomr 09-26-2007 10:59 AM

The answer to your question can be either complex or simple, depending on whether you are attempting to create a general purpose plotting package, like gnuplot, or if you are simply trying to add some plotting capabilities to an already defined application, where the parameters of the application are already fairly well defined and limited. Moreover, you need to address whether the output is to be simply displayed on a screen, or whether the output needs to be optimized for print, or something else altogether. Does the application need to do anything interactive or otherwise 'live', such as real-time plot updating, or simply create static images? The answers to these questions will heavily influence the optimal choices available.
--- rod.


All times are GMT -5. The time now is 08:56 AM.