Dear Support
One question: Is it possible to change the point size (either vertical, horizontal, or both) of an individual point within a point series, or only the point size of the whole series (i.e. all points) can be changed? For example: let's say I have a point series with 12 points in it, and I would like to change the horizontal/vertical size of the 5th point. Is this possible?
Tx in advance,
Andras
Point size
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Andras,
Yes, you can do something like the code below in the OnGetSeriesPointerStyle event:
Yes, you can do something like the code below in the OnGetSeriesPointerStyle event:
Code: Select all
Private Sub TChart1_OnGetSeriesPointerStyle(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, AStyle As TeeChart.EPointerStyle)
With TChart1.Series(SeriesIndex).asPoint.Pointer
If ValueIndex = 4 Then
AStyle = psCircle
.VerticalSize = 10
.HorizontalSize = 10
Else
AStyle = psRectangle
.VerticalSize = 2
.HorizontalSize = 2
End If
End With
End Sub
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 |