Page 1 of 1

Drag marks tool move multiple marks

Posted: Mon Apr 04, 2016 6:23 pm
by 15676869
Hello Sir/Madam,

I am using TeeChart for Net version 2015_4.1.2015.12160. I want to report an issue with the marks tool. Attached please find a simple project that draws a fast line series with series marks displayed. The Drag marks tool is enabled.

Here are the steps to see the issue -
1. Build and run the project. You should see a fast line displayed with series values as the marks.
2. If you hover the mouse over the mark that has value 936 - then around the middle of the box that displays the value 936, the mouse cursor should change to the hand cursor. At this point you can drag the mark on the plot.
3. Drag is all the way to the right to the next value displayed in the box - 927. Now the dragged mark should be almost on top of the box 927 and now if you move this box up and down you can see both the dragged box of 936 and the box of 927 move. Even when the box of 936 is not on top of box of 927, they both seem to move.
4. You may see similar behavior with other mark boxes.
5. I would like to move only the mark that the user is dragging and not the other marks in the vicinity.
6. How do I fix this?

Thanks for the help

Sanjay

Re: Drag marks tool move multiple marks

Posted: Tue Apr 05, 2016 8:30 am
by Christopher
Hello Sanjay,
NSAI wrote: 6. How do I fix this?
Can you please confirm that by setting:

Code: Select all

      fastLine1.Marks.Angle = 0;
These problems are not apparent?

Re: Drag marks tool move multiple marks

Posted: Tue Apr 05, 2016 3:43 pm
by 15676869
I have tried the option fastLine1.Marks.Angle = 0. But I see the same behavior.
When I drag the mark box and it is closer to the next mark box then both the mark boxes move up and down.
Are you able to see the behavior on your side in the sample project? Thanks

Re: Drag marks tool move multiple marks

Posted: Wed Apr 06, 2016 10:58 am
by Christopher
Hello,
NSAI wrote:Are you able to see the behavior on your side in the sample project?
Yes, apologies for not seeing it the first time - this issue has been added to our issue tracker with id=1496 meaning a fix for it will be considered for inclusion into the next maintenance release.

Re: Drag marks tool move multiple marks

Posted: Wed Apr 06, 2016 12:20 pm
by Christopher
Christopher wrote:Yes, apologies for not seeing it the first time - this issue has been added to our issue tracker with id=1496 meaning a fix for it will be considered for inclusion into the next maintenance release.
Meanwhile a simple workaround is to set:

Code: Select all

fastLine1.Marks.AutoPosition = false;

Re: Drag marks tool move multiple marks

Posted: Thu Apr 07, 2016 5:59 pm
by 15676869
Thanks a lot for your help. The suggested workaround fixes the issue. Thanks again.