Page 1 of 1

Stacked Bar Chart

Posted: Sun Jun 17, 2012 3:41 am
by 15660116
I need to plot a stacked bar chart with each row (point) containing a stack of 3 values stacked on top of one another.

I have made 4 bar chart series, each containing one set of data. I tried setting

Bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked
Bar2.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked
Bar3.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked
Bar1.StackGroup = 2
Bar2.StackGroup = 3

But this will only stack Bar2 and Bar3 on top of another, with Bar1 side by side. How do I stack all 3 Bar series on top of another?

Re: Stacked Bar Chart

Posted: Mon Jun 18, 2012 12:06 pm
by 10050769
Hello lilo,

I suggest you take a look in Demo project, concretely in the All Features\Welcome !\Chart styles\Standard\Bar\Stack grouping where you can find a good example as you can use the StackGroup and Stack bars. On the other hand, if it doesn't help you please let me know.

Thanks,