Hello,
is there any way to mark specific points with custom icons?
nefis
Custom pointers
Hi nefis,
you can draw your own symbols (or anything else) onto
the TeeChart canvas using TeeChart's Canvas drawing methods exposed in Tutorial 13 - Custom drawing on the Chart Panel.
Or change the PointerStyle for any point using the OnGetPointerStyle event.
you can draw your own symbols (or anything else) onto
the TeeChart canvas using TeeChart's Canvas drawing methods exposed in Tutorial 13 - Custom drawing on the Chart Panel.
Or change the PointerStyle for any point using the OnGetPointerStyle event.
Pep Jorge
http://support.steema.com
http://support.steema.com
I didn't find the event OnGetPointerStyle in my TeeChart version 6.0.0.4Pep wrote: Or change the PointerStyle for any point using the OnGetPointerStyle event.
There is OnGetSeriesPointerStyle which allows to change pointer style for PointerSeries. But I don't know how it can be used not to show any pointer at all
nefis
Hi nefis,
You can do this :
Yes, sorry I refer to the "OnGetSeriesPointerStyle" event.I didn't find the event OnGetPointerStyle in my TeeChart version 6.0.0.4
There is OnGetSeriesPointerStyle which allows to change pointer style for PointerSeries. But I don't know how it can be used not to show any
pointer at all
You can do this :
Code: Select all
Private Sub TChart1_OnGetSeriesPointerStyle(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, AStyle As TeeChart.EPointerStyle)
If ValueIndex = 1 Then
TChart1.Series(0).asPoint.Pointer.Style = psNothing
Else
TChart1.Series(0).asPoint.Pointer.Style = psRectangle
End If
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com