I need to be able to write a small program which does some display of simple x-y data.
I have seen the wonders of RRD, but I consider this not very portable and too complex, as it needs compilation and I have to work on multiple machines with no easy access to root permissions. The servers in general do not have access to GD or Imagemagik or anything like that and can be both win32 and linux.
What I would need is a module in pure perl which helps with basic line graphs with no installation requirements (just dump in the release directory and 'use' it from the perl script).
I can insert a series of files on the main directory of my program, but not much more.
The approach taken here:
http://www.gerd-tentler.de/tools/perlgraphs/ is exactly what I would need. They have written a small .pm library with most of the functions to do simple but effective displays of graphs. Just their library is only for histograms/pie charts, while I would need some form of line plotting (x-y representation of data).
I would also be prepared to use GD if there was a way to make it portable, i.e. add max 5 library files to the release directory of my script with GD libraries, but am not sure if this is possible.
Any help or suggestions? Probably someone must have written something before the success of GD around.... x-y charting is so useful!
Edit: g0n - linkified link
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.