Is it possible to set individual mark call out length

TeeChart for ActiveX, COM and ASP
Post Reply
daryl
Newbie
Newbie
Posts: 91
Joined: Thu Sep 09, 2004 4:00 am
Location: UK
Contact:

Is it possible to set individual mark call out length

Post by daryl » Fri Oct 20, 2006 10:03 am

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Oct 24, 2006 3:06 pm

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

Post Reply