Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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


In reply to Portable simple line graph module? by gianni76

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found