Page 1 of 1

New bug in Mark Tips

Posted: Thu Oct 07, 2004 11:33 pm
by 9524472
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

Posted: Fri Oct 08, 2004 8:42 am
by Pep
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

Posted: Fri Oct 08, 2004 3:04 pm
by 9524472
I am using Version 7.

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

Angelo

Posted: Fri Oct 08, 2004 3:56 pm
by Pep
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 ?