Grouped and stacked Bar charts in one

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Thomas on 19th February 2013
I was wondering if it was possible to put a grouped and stacked chart in one?

For instance I wanted to do one bar for last time, and one bar for this time, and each bar would have profit and cost? Thank you for your time.
Posted by RGraph support on 20th February 2013
Hi there,

It's not supported natively but you could achieve it by combining the Bar chart with stacked VProgress bars. There's a combined Bar chart and VProgress bar (that's not stacked) here:

www.rgraph.net/canvas/docs/howto-create-combined-bar-and-vprogress-bar-charts.html

Alternatively you could use colours to indicate the different years - eg red/green/blue for current figures and then rgba(255,0,0,0.5)/rgba(0,255,0,0.5)/rgba(0,0,255,0.5). And also you could show a key.

Richard, RGraph Support
Posted by Thomas on 20th February 2013
Thank you. I combined two bar charts. That works very well.
Posted by RGraph support on 20th February 2013
Hi there,

Here's a demo of the combined Bar chart/VProgress bar method:

www.rgraph.net/canvas/docs/howto-create-combined-bar-and-vprogress-bar-charts.html


Richard, RGraph Support

Add a reply




« Back to message list