Stacking of lines and bars are not properly displayed.
I am using the follwoing code to stack the data in the chart
thisLine.Stacked = Steema.TeeChart.Styles.CustomStack.Stack;
problem with stacking of Lines and bars
Hi Usc
Here It's working fine using the last release (Build 3.2.2763.26082) and the below code:
Which TeeChart version are you using? Could you please try with the last version?
Here It's working fine using the last release (Build 3.2.2763.26082) and the below code:
Code: Select all
//Bar
bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
bar1.Add(4);
bar1.Add(6);
bar2.Add(3);
bar2.Add(3);
//Line
line1.Stacked = Steema.TeeChart.Styles.CustomStack.Stack;
line1.Add(3);
line1.Add(5);
line1.Add(2);
line2.Add(2);
line2.Add(2);
line2.Add(2);
Hi Edu
With refernce to the image [img]Chart_Legend[/img].
You can see on the right hand side of the scree, there is a checked list box of various plot groups.On selection of a checkbox, a number of series which correspond to that plot group are made visible.
Does this have an impact when it comes to stacking of lines and bars.
Please, help me out with this.
Thanks and Regards
Usc
With refernce to the image [img]Chart_Legend[/img].
You can see on the right hand side of the scree, there is a checked list box of various plot groups.On selection of a checkbox, a number of series which correspond to that plot group are made visible.
Does this have an impact when it comes to stacking of lines and bars.
Please, help me out with this.
Thanks and Regards
Usc
Hi usc
If you set one series to not-visible and one single series remains in the chart, it doesn't consider previous series stacking, it's plotted as if only one single series existed at the chart.
To keep stacking "effect" you can make transparent the series you don't want to be visible.
If you set one series to not-visible and one single series remains in the chart, it doesn't consider previous series stacking, it's plotted as if only one single series existed at the chart.
To keep stacking "effect" you can make transparent the series you don't want to be visible.
Code: Select all
line1.Color = Color.Transparent;
Hi Edu,
I have attched for your refernce an excel sheet
stacking issue.xls
In my data there are couple of rows with value as zero. I have specified the colour for the as transparent. But when I try to stack the data i am getting some discrepency.
As mentioned earlier I am plotting different series at a time and when I try to stack them, i am getting this error.
Request you to kindly look into the file and help me identify the problem.
Thanks and Regards,
Usc
I have attched for your refernce an excel sheet
stacking issue.xls
In my data there are couple of rows with value as zero. I have specified the colour for the as transparent. But when I try to stack the data i am getting some discrepency.
As mentioned earlier I am plotting different series at a time and when I try to stack them, i am getting this error.
Request you to kindly look into the file and help me identify the problem.
Thanks and Regards,
Usc
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi usc,
Thanks for the Excel attachment but it's unclear to me to which series belongs each data item and how to reproduce this using TeeChart. Would you be so kind to send us a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
Thanks for the Excel attachment but it's unclear to me to which series belongs each data item and how to reproduce this using TeeChart. Would you be so kind to send us a simple example project we can run "as-is" to reproduce the problem here?
Thanks in advance.
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 |