I am trying to get to bars side by side both of which are stacked on a webchart. I have:-
bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar2.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar3.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar4.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
This is given me 1 bar of four, how do I specify the gorup to get 2 bars?
Multibars and Stack Group
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MikeTheLad,
You should try using StackGroup property:
You should try using StackGroup property:
Code: Select all
bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar1.StackGroup = 1;
bar2.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar2.StackGroup = 1;
bar3.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar3.StackGroup = 2;
bar4.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar4.StackGroup = 2;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |