Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
Re: GD::Graph creating a clustered bar chart while some dataset are cumulative
by huzefa52 (Novice) on Aug 27, 2013 at 13:50 UTC
    I want this type of graph http://ptm2.cc.utu.fi/ftp/network/WebGraphics/cdperldoc_html/ChartDirector/doc/cdperldoc/multistackbar.htm But it is paid, can we do same thing using GD:Graph

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 perusing the Monastery: (7)
As of 2014-12-20 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls