CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Posts
    2

    c++ stacked bar graph

    I am looking for a free, light weight c++ library that can create stacked bar graphs / histograms and output them as an image file (PNG would be preferrable). I have searched the forums and have not found any info regarding this.

    Any help would be greatly appreciated.
    --dhouse

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,019

    Re: c++ stacked bar graph

    You could try FLTK. It doesn't have stacked barcharts: only ordinary barcharts but it does come with source code and a nice set of test programs which you can use as starting points, though the coding style is "this is only an example so one letter variables are OK". The library is quite small and it will work on both Windows and Linux. I haven't tried it on any other operating systems.

    http://www.fltk.org/doc-1.3/Fl_Chart.html
    Succinct is verbose for terse

  3. #3
    Join Date
    May 2008
    Posts
    2

    Re: c++ stacked bar graph

    Thanks for the help. However, I dont see a way to output the graphs created to a file. I dont need any gui support. I simply want to feed it data through its API and have it output an image file of the graph. Am I missing something? Is this possible with fltk?

    thanks for the help!.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured