problem additional frame on area chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jarp
Newbie
Newbie
Posts: 17
Joined: Thu Apr 09, 2009 12:00 am

problem additional frame on area chart

Post by jarp » Thu Sep 03, 2009 1:42 pm

Hi,

I have a problem with additional frame between two area charts.
In the picture below:
area.JPG
area.JPG (15.19 KiB) Viewed 3543 times
are two series of Area type. Frames for both are set to Color.Yellow: area1.LinePen.Color = Color.Yellow; .
How to remove the border (frame) between two charts (in the picture it is in red like color) ?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: problem additional frame on area chart

Post by Narcís » Thu Sep 03, 2009 2:31 pm

Hi jarp,

It works fine for me here setting both series like this:

Code: Select all

				area1.LinePen.Visible = false;
				area1.AreaLines.Color = Color.Yellow;
For example:

Code: Select all

			tChart1.Aspect.View3D = false;

			for (int i = 0; i < 2; i++)
			{
				Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);

				area1.Color = Color.Red;
				area1.MultiArea = Steema.TeeChart.Styles.MultiAreas.None;
				area1.Stairs = true;
				area1.LinePen.Visible = false;
				area1.AreaLines.Color = Color.Yellow;

				for (int j = 0; j < 5; j++)
				{
					area1.Add(j * (i+1));
				}
			}

			tChart1.Series.Exchange(0, 1);
Can you please check if this works fine for you?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

jarp
Newbie
Newbie
Posts: 17
Joined: Thu Apr 09, 2009 12:00 am

Re: problem additional frame on area chart

Post by jarp » Mon Sep 07, 2009 6:13 am

Yes, everything works fine.

Post Reply