Page 1 of 1

Remove area series vertical lines

Posted: Tue Nov 10, 2009 4:34 pm
by 9092401
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

Re: Remove area series vertical lines

Posted: Wed Nov 11, 2009 2:36 pm
by narcis
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.

Re: Remove area series vertical lines

Posted: Wed Nov 11, 2009 2:56 pm
by 9092401
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

Re: Remove area series vertical lines

Posted: Wed Nov 11, 2009 7:44 pm
by narcis
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.

Re: Remove area series vertical lines

Posted: Sun Nov 15, 2009 8:30 am
by 9092401
Hi Narcis
Thanks for the update I will try and sync with the latest tchart sometime soon.
Thanks.

Re: Remove area series vertical lines

Posted: Tue May 10, 2011 8:54 pm
by 13052841
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

Re: Remove area series vertical lines

Posted: Wed May 11, 2011 8:06 am
by 10050769
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.