Page 1 of 1

Series mark 'Clicked' does not test the angle of the mark.

Posted: Tue Jul 13, 2004 2:38 am
by 8573707
I have the following setup...

series->Marks->Visible = true;
series->Marks->Style = smsLegend;
series->Marks->ArrowLength = 15;
series->Marks->Angle = 90;

However, when testing the mouse pointer over the mark by calling...
series->Marks->Clicked(X, Y)
...I find that the function returns a valid index as though the angle was 0.

Is this a bug ?

Regards, David Peacock.

Posted: Tue Jul 13, 2004 6:17 am
by Marjan
Hi, David.

It's more a missing feature than a bug :wink: The angle is not taken into the account when Clicked determines current mark index.

RE: Series mark 'Clicked' does not test the angle

Posted: Wed Jul 14, 2004 1:28 am
by 8573707
You have an interesting perspective of what constitutes bug vs. missing feature.

The way I see it, if your tool can draw marks at any angle AND your tool can generate events when the mark is clicked THEN both of these functions should work correctly in all cases. Otherwise, to me, it is a bug.

Would be nice to see it corrected.

Posted: Wed Jul 14, 2004 8:49 am
by Pep
Hi David,

ok, it has been added on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.

Posted: Thu Jul 15, 2004 1:56 am
by 8573707
Brilliant!

David.