http://qs321.pair.com?node_id=541686

dani_cv_74 has asked for the wisdom of the Perl Monks concerning the following question:

Hello All, Can anyone please help me out...? I want to generate a stacked graph using Perl. Which is the best module should I use for this...? Thanks and Best Regards, Dani

Replies are listed 'Best First'.
Re: stacked graph - perl
by ChemBoy (Priest) on Apr 06, 2006 at 18:14 UTC

    It's hard to say without a more technical description of the output you want, but my guess is that you want GD::Graph (probably GD::Graph::bars, specifically) with the "cumulate" option.



    If God had meant us to fly, he would *never* have given us the railroads.
        --Michael Flanders

Re: stacked graph - perl
by moklevat (Priest) on Apr 06, 2006 at 18:17 UTC
    Hi Dan.

    Your question would be better off in Seekers of Perl Wisdom. See Where should I post X? for more information.

    There are lots of ways to make graphs with perl, but I am not sure what you mean by a "stacked graph". Do you mean a graph of stacks (i.e. a stacked bar chart), or do you mean a stack of graphs (i.e. multiple graphs displayed in layers). Assuming you want stacked bar charts, you might look into GD::Graph or Chart.

Re: stacked graph - perl
by davido (Cardinal) on Apr 06, 2006 at 23:43 UTC

    The original poster, dani_cv_74, posted this question multiple times, in different sections of the Monastery; probably unable to find his original post.

    For an understanding of where each type of post belongs, please refer to The Perl Monks Guide to the Monastery. Once a message is posted, it doesn't need to be reposted again. It may take a few minutes for a high ranking monk to approve the node into the section where it's been posted (or move it to the appropriate section), but have a little patience and it will happen. ...and if it's a good node, it might even get sent to the Front Page of the Monastery. For details, you might want to read Why can't I see my post?.

    All of the "reaped" duplicate posts will be reparented under this node, just to keep the clutter down.


    Dave

Re: stacked graph - perl
by eric256 (Parson) on Apr 06, 2006 at 20:19 UTC

    Please stop reposting this question in other areas. Once it is posted the janitors will move it if needed, you do not need to repost.


    ___________
    Eric Hodges
      Thanks every one. I will check with GD::Graph or Chart I meant Stacked Bar Chart Graph...sorry for the confusion... Best Regards, Dan.
        A tip reguarding your duplicate posts: You can locate the nodes you have posted by clicking on your name (top right) and then clicking on the number next to "Writeups". You will even see the nodes you posted that haven't been approved yet. (This site uses moderation.)