Multiple Series with Markstip
Posted: Mon Aug 25, 2008 7:06 pm
I have two series for each set of data. One line series and one points series for each set of data. I may have five different sets of data plotted on the same chart. I only want the markstip to show up for the point series. How do I get all the point series with markstips?
Here is the code:
Dim a As Integer
For a = 0 To TChart1.Series.Count - 1
If (TypeOf TChart1(a) Is Steema.TeeChart.Styles.Points) Then
marksTip.Series.Add(TChart1(a))
End If
' a = (a + 1)
Next
marksTip.Active = True
marksTip.MouseDelay = 500
marksTip.MouseAction = Steema.TeeChart.Tools.MarksTipMouseAction.Move
marksTip.Style = Steema.TeeChart.Styles.MarksStyles.XY
Would appreciate any help.
Thanks!
Here is the code:
Dim a As Integer
For a = 0 To TChart1.Series.Count - 1
If (TypeOf TChart1(a) Is Steema.TeeChart.Styles.Points) Then
marksTip.Series.Add(TChart1(a))
End If
' a = (a + 1)
Next
marksTip.Active = True
marksTip.MouseDelay = 500
marksTip.MouseAction = Steema.TeeChart.Tools.MarksTipMouseAction.Move
marksTip.Style = Steema.TeeChart.Styles.MarksStyles.XY
Would appreciate any help.
Thanks!