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
Line Thickness
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kalyan,
You need to use LinePen for that, for example:
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 |
Instructions - How to post in this forum |