Page 1 of 1

Is it possible to set individual mark call out length

Posted: Fri Oct 20, 2006 10:03 am
by 9524108
Is it possible to set individual mark call out length ..?

now i am using this to change the entire series marks callout length
tchart1.series(i).marks.callout.length

i want to set each mark in series different callout.length

aravind

Posted: Tue Oct 24, 2006 3:06 pm
by Pep
Hi aravind,

you can do :

Code: Select all

Private Sub TChart1_OnGetSeriesMark(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, MarkText As String)
If ValueIndex = 0 Then
TChart1.Series(0).Marks.Callout.Length = 100
Else
TChart1.Series(0).Marks.Callout.Length = 10
End If
End Sub