Drag marks tool move multiple marks

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
NSAI
Newbie
Newbie
Posts: 5
Joined: Fri Nov 13, 2015 12:00 am

Drag marks tool move multiple marks

Post by NSAI » Mon Apr 04, 2016 6:23 pm

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
Attachments
TChartMarks.zip
Unzip the file in a new folder
(14.14 KiB) Downloaded 638 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Drag marks tool move multiple marks

Post by Christopher » Tue Apr 05, 2016 8:30 am

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?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

NSAI
Newbie
Newbie
Posts: 5
Joined: Fri Nov 13, 2015 12:00 am

Re: Drag marks tool move multiple marks

Post by NSAI » Tue Apr 05, 2016 3:43 pm

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

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Drag marks tool move multiple marks

Post by Christopher » Wed Apr 06, 2016 10:58 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Drag marks tool move multiple marks

Post by Christopher » Wed Apr 06, 2016 12:20 pm

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;
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

NSAI
Newbie
Newbie
Posts: 5
Joined: Fri Nov 13, 2015 12:00 am

Re: Drag marks tool move multiple marks

Post by NSAI » Thu Apr 07, 2016 5:59 pm

Thanks a lot for your help. The suggested workaround fixes the issue. Thanks again.

Post Reply