Stacked Bar Chart
Posted: Sun Jun 17, 2012 3:41 am
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?
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?