Page 1 of 1
line series width
Posted: Thu May 24, 2007 8:16 am
by 8119968
Dear All,
I cannot find way how to make my line width larger. Could you please anyone advise (I am using the .NET version)
Thank
LG
Posted: Thu May 24, 2007 9:11 am
by 9348258
Hi LG
You can change the width as below code:
Posted: Thu May 24, 2007 9:26 am
by 8119968
Dear Edu,
Thanks. I am now accessing the series through its index and I cannot convert back
so that I cannot access the LinePen property at all. I am looping based ont Chart1.Series[intIndex].
Please advise.
Regards,
LG
Posted: Thu May 24, 2007 9:58 am
by Marjan
In this case all you must do is type cast Series class to Line class (if it can be done). Something like this:
Code: Select all
if (tChart1.Series[index] is Steema.TeeChart.Styles.Line)
(tChart1.Series[index] as Steema.TeeChart.Styles.Line).LinePen.Width = 2;