Stacking areas stacks all the series, is this a bug?
Posted: Wed Jul 26, 2006 4:40 pm
I've got 2 area series and 5 line series in a chart. I want the area series to be stacked. I want the line series to NOT be stacked.
In the design time editor for TeeCharts, I make the appropriate changes to stack the area series. Then when I switch to one of the line series it says that it is stacked. So I set that back to none and switch back to the area series and it says it's not stacked either.
This same behavior happens in my code as well.
What is going on here?
How do I stack the area series but NOT stack the line series?
I'm running the latest version of TeeCharts for .NET that I installed this morning. Here's the version number: 1.1.2004.16592.
In the design time editor for TeeCharts, I make the appropriate changes to stack the area series. Then when I switch to one of the line series it says that it is stacked. So I set that back to none and switch back to the area series and it says it's not stacked either.
This same behavior happens in my code as well.
Code: Select all
foreach(Steema.TeeChart.Styles.Series series in chart.Series)
{
if (series is Steema.TeeChart.Styles.Area)
{
Steema.TeeChart.Styles.Area area = (Steema.TeeChart.Styles.Area)series;
area.MultiArea = Steema.TeeChart.Styles.MultiAreas.Stacked;
}
if (series is Steema.TeeChart.Styles.Line)
{
Steema.TeeChart.Styles.Line line = (Steema.TeeChart.Styles.Line)series;
line.Stacked = Steema.TeeChart.Styles.CustomStack.None;
}
}
How do I stack the area series but NOT stack the line series?
I'm running the latest version of TeeCharts for .NET that I installed this morning. Here's the version number: 1.1.2004.16592.