How do I change series Brush and LinePen
Posted: Fri Jul 09, 2004 2:13 pm
Using VB.NET.
With the ActiveX graph, I used to be able to set the color and line width of a series like this:
TChart1.AddSeries (scLine)
TChart1.Series(0).asLine.LinePen.Width = 2
TChart1.Series(0).Color = vbRed
TChart1.Series(0).Title = "AMPS Radios"
I've got the color figured out, but I can't find the LinePen width.
Here's what I have:
TChart1.Series.Add(New Steema.TeeChart.Styles.Line)
TChart1.Series(0).Clear()
TChart1.Series(0).asLine.LinePen.Width = 2
TChart1.Series(0).Color = Color.Red
TChart1.Series(0).Title = "AMPS Radios"
I want the whole series to be formatted the same, not the individual points.
Thanks!
Jeff
With the ActiveX graph, I used to be able to set the color and line width of a series like this:
TChart1.AddSeries (scLine)
TChart1.Series(0).asLine.LinePen.Width = 2
TChart1.Series(0).Color = vbRed
TChart1.Series(0).Title = "AMPS Radios"
I've got the color figured out, but I can't find the LinePen width.
Here's what I have:
TChart1.Series.Add(New Steema.TeeChart.Styles.Line)
TChart1.Series(0).Clear()
TChart1.Series(0).asLine.LinePen.Width = 2
TChart1.Series(0).Color = Color.Red
TChart1.Series(0).Title = "AMPS Radios"
I want the whole series to be formatted the same, not the individual points.
Thanks!
Jeff