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.