1

I want to make a GUI application that I would like it to have a bar plot, pie graph (or simple plot a curve) embedded to it. I don't want it to rely on other application to do this. Also, I would like the source code to be portable. Can I use GTK+ for this? is there some sort of a library that I can include (and use) in my code for this? what are the alternatives?

I'm just looking for an answer that points me in the right direction, and start building some knowledge from there.

Thank you very much in advance!

NewGuy
  • 23
  • 1
  • 5

1 Answers1

0

I did use FLTK which is a lightweight cross-plateform C++ GUI framework. It is foremost a UI toolkit, but you can also do a wide variety of graphs :

There is also a Drawing module, which can plot Bezier curves and basic geometric shapes such as triangles, boxes and circles.

However, the documentation is not very helpful (from my experience) so try to adapt examples to your needs : http://seriss.com/people/erco/fltk and http://www.fltk.org/doc-1.3/examples.html

lucasg
  • 10,734
  • 4
  • 35
  • 57