PreshBlog

Graphing time-based data in Perl

by on Nov.11, 2011, under Perl, Programming

I recently wanted to produce some graphs from a web app powered by the Dancer Perl web framework, and reevaluated the various Perl graphing moduiles out there.

Modules I considered were:


7 Comments for this entry

  • gizmomathboy

    Yeah, Chart::Clicker looks awfully nice but that non-Perl dependency chain is such a killer.

    I’ve been meaning to give SVG::Graph a close look as well since I like SVG graphics.

  • Leo

    You might also want to check out :

    https://metacpan.org/module/SVG::TT::Graph::TimeSeries examples: http://leo.cuckoo.org/projects/SVG-TT-Graph/

  • Tim

    Nice! I like Chart::Strip’s defaults.

  • flussence

    I tried doing the same thing a few months back, and after finding Chart::Gnuplot wasn’t flexible enough I just went and made my Perl code generate gnuplot commands directly.

    It took several days of reading, but the results were worth it IMO.

  • Neil

    Nice. I’ve used other modules for this sort of plot in the past, but Chart::Strip looks like a good choice next time I want one.

  • Martin

    Thanks for posting this. Anyone using Fedora 15 will need to install libgd, which is packaged as gd and gd-devel in the Fedora yum repo.

  • Abdul

    Thanks a lot for this. I have been trying to generate PNG files from Chart::Strip as shown in the MAN but not able to do so. I was wondering if you could help me with it. The code prints garbage on my cli and does not create a file. I have manually tried writing to a PNG file but it does not work and gives file error.

    Appreciate your help. I am using perl 5.10 due to some outdated libraries that I need.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!