Hi,
I have a problem with additional frame between two area charts.
In the picture below:
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) ?
problem additional frame on area chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: problem additional frame on area chart
Hi jarp,
It works fine for me here setting both series like this:
For example:
Can you please check if this works fine for you?
Thanks in advance.
It works fine for me here setting both series like this:
Code: Select all
area1.LinePen.Visible = false;
area1.AreaLines.Color = Color.Yellow;
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);
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 |
Instructions - How to post in this forum |
Re: problem additional frame on area chart
Yes, everything works fine.