Question about building a chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
David
Newbie
Newbie
Posts: 4
Joined: Wed Nov 12, 2003 5:00 am
Location: Sweden

Question about building a chart

Post by David » Tue Nov 25, 2003 8:45 am

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.

MTB
Newbie
Newbie
Posts: 30
Joined: Tue Mar 11, 2003 5:00 am
Location: USA
Contact:

Post by MTB » Tue Nov 25, 2003 4:49 pm

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.

Post Reply