Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
We don't bite newbies here... much
 
PerlMonks  

GD::Graph creating a clustered bar chart while some dataset are cumulative

by cmkumar (Initiate)
on Jan 30, 2013 at 09:46 UTC ( #1016015=perlquestion: print w/ replies, xml ) Need Help??
cmkumar has asked for the wisdom of the Perl Monks concerning the following question:

The GD::Graph doc shows how to cumulate more than one dataset into a single column in a barchart by setting

cumulate => 1

But, I have 4 datasets say, A, B, C, D. I want datasets A and B cumulated (stacked on top of each other). Similarly, datasets C and D cumulated as well. The two stacked columns should appear next to each other. In other words, each X-axis value will have 2 columns, each column representing two datasets.

Is this possible using GD:Graph? If not, is there a workaround to get this done?

Thanks!

Comment on GD::Graph creating a clustered bar chart while some dataset are cumulative
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016015]
Approved by vinoth.ree
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2013-06-19 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (651 votes), past polls