Page 1 of 1

Question about building a chart

Posted: Tue Nov 25, 2003 8:45 am
by 8122763
Hello!

I would like to create a chart that looks like the picture below, but I am having troubles doing just that. Can you perhaps point me in the right direction?

http://www.lowrad.net/files/screenshots/EKTGraph.jpg
http://elite.csbnet.se/~skibum/EKTGraph.jpg

Thanks!

/David.

Posted: Tue Nov 25, 2003 4:49 pm
by 8122607
I'm another new user, but I can offer a suggestion.

Try adding 3 area series using the designer (TeeChart Editor) and setting the property to Stacked100 (also in the designer). The generated code is:

this.area3.Stacked = Steema.TeeChart.Styles.CustomStack.Stack100;

Here's what help says:
The MultiArea property determines the kind of displayed Area when there's more than one Area Series with the same ParentChart. The default value is None, meaning all Areas will be drawn one behind the other. Stacked and Stacked100 modes will draw each Area on top of previous one. Stacked100 adjusts each individual point to a common 0..100 axis scale. The order which Series are accumulated depends on the Chart.SeriesList property.

I then added the line series and set the following property:
this.line1.Stacked = Steema.TeeChart.Styles.CustomStack.None;

I think this may be the effect you are looking for. If not, at least it may get you going in the right direction.