Line Thickness

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
sfwmd
Newbie
Newbie
Posts: 14
Joined: Wed Jan 23, 2008 12:00 am

Line Thickness

Post by sfwmd » Mon Sep 29, 2008 8:33 pm

I have a 2D chart and using Line style for the series (Steema.Teechart.Styles.Line) and I am trying to change the width of the series. I could change the thickness of the line in 3D plots using the "Depth" property of the Line series. But I cannot change it for 2D Chart.

Can anyone help with a solution please? I would appreciate that.

Thank you
Kalyan
--
Regards
Kalyan

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

Post by Narcís » Tue Sep 30, 2008 7:40 am

Hi Kalyan,

You need to use LinePen for that, for example:

Code: Select all

			tChart1.Aspect.View3D = false;

			Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);

			line1.LinePen.Width = 3;
			line1.FillSampleValues();
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

Post Reply