First, goto this Google playground site for bar charts:
http://code.google.com/apis/ajax/playground/?type=visualization#bar_chart
In the editable code, near the very bottom, add:
isStacked: true
So it will look something like this:
new
google.visualization.BarChart(document.getElementById('visualization')).
draw(data,
{title:"Yearly Coffee Consumption by Country",
width:600, height:400,
isStacked: true,
vAxis: {title: "Year"},
hAxis: {title: "Cups"}}
);
On Nov 1, 10:22 am, Satish <[email protected]> wrote:
> Hi Everyone,
> This is my first post in this group and I have been
> using Google chart api's for a while now. I would like to know how can
> i draw COLUMN STACKED CHART using google chart apis. When i say column
> stacked chart i refer to this:
>
> http://peltiertech.com/Utility/pix/clusterstackcolumns.png
>
> I have looked around the google chart apis but could
> not find anything which can meet my requirement. Does google chart
> api's support this functionality? Is yes, kindly suggest how can I
> implement the same.
>
> Thank You
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.