http://www.perlmonks.org?node_id=875824


in reply to Graph Generation

I should have put what I'm trying to accomplish as well. I'm trying to feed into a URL the data and the generating application so as to dynamically generate graphs in a CGI app. So, for example : somescript.pl?xdata=1,2,3,4&ydata=10,20,30,40. I'm trying to generate as 'pretty' as possible graphs for display. That's essentially what I'm looking for. Also, along with your recommendations, can you refer me to as thorough link to documentation? Quick visual aids would be benefical so I can scan through quickly and see generated graphs that match my needs. Thanks again.

Replies are listed 'Best First'.
Re^2: Graph Generation
by moritz (Cardinal) on Dec 07, 2010 at 16:12 UTC
    l. I'm trying to feed into a URL the data and the generating application so as to dynamically generate graphs in a CGI app. So, for example : somescript.pl?xdata=1,2,3,4&ydata=10,20,30,40

    Sounds like you're about to re-invent the google chart API.

    I'm trying to generate as 'pretty' as possible graphs for display.

    No GD::Graph then. You could take a look at Chart::Clicker.

    Quick visual aids would be benefical so I can scan through quickly and see generated graphs that match my needs.

    I'm sure Google or your search engine of choice will help you finding examples.

      Any suggestions for generating geometric shapes? Also is there a way I can make a mock x-y graph whereby the values for the x and y go through the middle of the graph (i.e. negative values for y axis are to left of the labelled line and the negative values for the x-axis are below the x-axis labelled line). Thanks again.
Re^2: Graph Generation
by Your Mother (Archbishop) on Dec 07, 2010 at 16:36 UTC