This is probably a simple problem. I can't get my points to connect.
point1 = New Steema.TeeChart.Styles.Points(levelsChart.Chart)
'add data
For Each objReading In colReadings
point1.Add(objReading.ReadingTime, objReading.Gallons)
Next
point1.XValues.DateTime = True
point1.Marks.Visible = False
point1.ShowInLegend = True
point1.Pointer.HorizSize = 2
point1.Pointer.VertSize = 2
point1.Visible = True
point1.Color = _LevelsGraphPointsColor
point1.LinePen.Color = _LevelsGraphPointsColor
point1.LinePen.Visible = True
point1.LinePen.Width = 1
point1.LinePen.Transparency = 50
One would think that making the linepen both visible and setting its color would make it show up. Not so.
Points line not appearing
-
- Newbie
- Posts: 16
- Joined: Fri Apr 16, 2004 4:00 am
- Location: Chicago
- Contact:
Hi.
Instead of using point series, why don't you simply use line series ?
Instead of using point series, why don't you simply use line series ?
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 16
- Joined: Fri Apr 16, 2004 4:00 am
- Location: Chicago
- Contact:
Hi,
you can use a line Series with the Pointer visible to True. Also, in case you want to add missing points you can use the Add() method, using similar code to the following :
you can use a line Series with the Pointer visible to True. Also, in case you want to add missing points you can use the Add() method, using similar code to the following :
Code: Select all
With Line1
.Pointer.Visible = True
.Add(10, "")
.Add(0, "")
.Add(13, "")
.Add()
.Add(1, "")
.Add(19, "")
End With
Pep Jorge
http://support.steema.com
http://support.steema.com