Beefy Boxes and Bandwidth Generously Provided by pair Networks
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
Replies are listed 'Best First'.
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 scrutinizing the Monastery: (8)
As of 2015-07-28 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls