Sorry I know this is a bit basic but its driving me nuts.
Im creating a chart with a line graph on it (see code snippet below). The default line width is 1 but I want to set it to 2.
How do I do this please?
The TeeChart version we have is 3.5.3371.26406
Thanks.
=======================================
histogramChart.Series.Clear();
Line line1 = new Line();
line1.Color = Color.Coral;
line1.Add(x, theValues);
histogramChart.Header.Text = "histogram";
histogramChart.Series.Add(line1);
Setting Line Width
Re: Setting Line Width
Hello Dave,
If you want increase the width of pen of your Line Series, you only need change the width of property LinePen as do in next line of code:
I hope will helps.
Thanks,
If you want increase the width of pen of your Line Series, you only need change the width of property LinePen as do in next line of code:
Code: Select all
line1.LinePen.Width = 2;
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Setting Line Width
Great, thanks Sandra