New bug in Mark Tips

TeeChart for ActiveX, COM and ASP
Post Reply
Angelo
Newbie
Newbie
Posts: 10
Joined: Tue Oct 05, 2004 4:00 am

New bug in Mark Tips

Post by Angelo » Thu Oct 07, 2004 11:33 pm

The mark Tips has a bug:

1) create a Tchart, Add a serie (point)
2) Add Mark Tips tool with Style: Labels X and Y
3) run the project
4) add a point to the serie
5) Move the mouse to that point and Teechart Display label X twice.



Angelo

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

Post by Pep » Fri Oct 08, 2004 8:42 am

Hi Angelo,

which TeeChart version are you using ? I cannot reproduce it here using the following code (and neither adding the Series and Tool at designtime) :

Code: Select all

Private Sub Command1_Click()
TChart1.Series(0).AddXY 0, 10, "label1", clTeeColor
End Sub

Private Sub Form_Load()
With TChart1
    .AddSeries scPoint
    .Tools.Add tcMarksTip
    .Tools.Items(0).asMarksTip.Style = smsXY
End With
End Sub

Angelo
Newbie
Newbie
Posts: 10
Joined: Tue Oct 05, 2004 4:00 am

Post by Angelo » Fri Oct 08, 2004 3:04 pm

I am using Version 7.

The problem is that it is not displaying the Label X and label Y , but label X twice.

Angelo

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

Post by Pep » Fri Oct 08, 2004 3:56 pm

Hi Angelo,
The problem is that it is not displaying the Label X and label Y , but label X twice.
There's not a LabelXLabelY style, maybe you refer to the smsLabelValue ?
Are you able to reproduce the problem adding the tool and series at runtime ? Is so which code are you using ?

Post Reply