Page 1 of 1

Line Thickness

Posted: Mon Sep 29, 2008 8:33 pm
by 13048060
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

Posted: Tue Sep 30, 2008 7:40 am
by narcis
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();