Remove area series vertical lines

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Remove area series vertical lines

Post by qcrnd » Tue Nov 10, 2009 4:34 pm

Hi
I have an area chart , and there seems to be a vertical line going up from the bottom to the top which is not part of the grid but coinsides with each value of the series, i.e. each point in the series there will be a line going up from the the bottom axis all the way to the point on the series.
I set the Area Lines of the series to Visible false , but it doesnt seem enough . I use a AreaBrush.Solid = true;

I want the area to be completely solid without any vertical lines.
Thanks

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

Re: Remove area series vertical lines

Post by Narcís » Wed Nov 11, 2009 2:36 pm

Hi qcrnd,

Code below works fine for me here using latest TeeChart for .NET 2009 release available. What does this work fine at your end? Which TeeChart version are you using?

Code: Select all

			Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
			area1.FillSampleValues();

			area1.AreaLines.Visible = false;
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

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Re: Remove area series vertical lines

Post by qcrnd » Wed Nov 11, 2009 2:56 pm

Hi Narcis
Thanks for the reply , but still this is something I tried before and doesnt work well. The AreaLines Visible changes the way the lines are drawn (the color etc) but still I always get a line.
I have uploaded a sample project simply run it and you will see (Form1 is the relevant form).
I am using Version=3.5.3425.20244
TChartAreaVisibleVerticalLines.zip

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

Re: Remove area series vertical lines

Post by Narcís » Wed Nov 11, 2009 7:44 pm

Hello,

Thanks for the example project. It works fine for me here using latest TeeChart for .NET v3 build available at the client area. As you can see in the release notes, TF02014051 describes this problem and was fixed for the last build published.
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

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Re: Remove area series vertical lines

Post by qcrnd » Sun Nov 15, 2009 8:30 am

Hi Narcis
Thanks for the update I will try and sync with the latest tchart sometime soon.
Thanks.

LibDundas
Newbie
Newbie
Posts: 55
Joined: Fri Mar 20, 2009 12:00 am

Re: Remove area series vertical lines

Post by LibDundas » Tue May 10, 2011 8:54 pm

qcrnd wrote:Hi Narcis
Thanks for the update I will try and sync with the latest tchart sometime soon.
Thanks.
Hi qcrnd, did this latest version resolve your problem?

I'm running version 4.1.2010.8043

I see the same vertical lines in my area series plots.

Code: Select all

areaLine.AreaLines.Visible = false;
areaLine.LinePen.Visible = false;
Image

You can see things actually change when I do this:

Code: Select all

areaLine.AreaLines.Visible = true;
areaLine.AreaLines.Color = Color.Black;
areaLine.LinePen.Visible = true;
areaLine.LinePen.Color = Color.White;
Image


Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Remove area series vertical lines

Post by Sandra » Wed May 11, 2011 8:06 am

Hello LibDundas,

Next code works fine using last version of TeeChart.Net 4.1.2011.04193:

Code: Select all

           Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            area1.FillSampleValues();
            area1.AreaLines.Visible = false;
            area1.LinePen.Visible = false;
Please update your version and try again if your problem persist. If your problem still appears please arrange a simple project because we can reproduce your problem exactly here.
Best Regards,
Sandra Pazos / 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

Post Reply