LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-24-2007, 07:08 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 391

Rep: Reputation: 30
Charts in C++


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

Thanks
 
Old 09-25-2007, 05:35 PM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
What type of charts do you want? Pie charts? Gantt Charts? Flow diagrams? Entity relationship diagrams?
 
Old 09-26-2007, 06:05 AM   #3
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 391

Original Poster
Rep: Reputation: 30
Well i most want time series charts like combined charts.
 
Old 09-26-2007, 06:25 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
Combined charts - you mean like bar charts with line graphs on top?
 
Old 09-26-2007, 07:52 AM   #5
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 391

Original Poster
Rep: Reputation: 30
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
 
Old 09-26-2007, 08:21 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
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/
 
Old 09-26-2007, 11:59 AM   #7
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Custom Charts with Perl and GD LXer Syndicated Linux News 0 04-30-2007 10:16 PM
Excell Macros, Charts etc. io86 Linux - Desktop 3 09-13-2006 08:47 AM
Excell Macros, Charts etc. io86 Linux - Software 1 09-11-2006 03:23 AM
Gant Charts? mikedeatworld Linux - Software 2 10-18-2004 08:41 AM
software for graphs and charts alainhenry Linux - Software 2 07-06-2004 07:50 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration