[ANSWERED] somme marks in a fast line

TeeChart for ActiveX, COM and ASP
Post Reply
jika
Newbie
Newbie
Posts: 27
Joined: Mon Mar 18, 2013 12:00 am

[ANSWERED] somme marks in a fast line

Post by jika » Thu Mar 21, 2013 10:56 am

hello
is it possible to put marks on some point of a FastLine

my FastLine represents the operation of a motor, I have put marks on the points out of tolerance.
but the "MARKS" are drawn on every point and annotation not scroll with the fast line.
Is there a solution.
thank you
Last edited by jika on Tue Apr 09, 2013 8:22 am, edited 1 time in total.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: somme marks in a fast line

Post by Sandra » Thu Mar 21, 2013 3:00 pm

Hello jika,

Yes is possible, you only must access to the items of Marks you don't want are visible as do in next lines of code:

Code: Select all

Private Sub Form_Load()
TChart1.AddSeries scFastLine
TChart1.Series(0).FillSampleValues 10
TChart1.Series(0).Marks.Visible = True
Dim i As Integer
For i = 0 To 10
   If (TChart1.Series(0).XValues.Value(i) Mod 2 = 0) Then
   TChart1.Series(0).Marks.Item(i).Visible = False
   End If
   
Next
End Sub
Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply