Page 1 of 1

problem additional frame on area chart

Posted: Thu Sep 03, 2009 1:42 pm
by 13052929
Hi,

I have a problem with additional frame between two area charts.
In the picture below:
area.JPG
area.JPG (15.19 KiB) Viewed 3541 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) ?

Re: problem additional frame on area chart

Posted: Thu Sep 03, 2009 2:31 pm
by narcis
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.

Re: problem additional frame on area chart

Posted: Mon Sep 07, 2009 6:13 am
by 13052929
Yes, everything works fine.