Data point drag tool - how to fire event after using the arrow keys, or turn them off


Data point drag tool - how to fire event after using the arrow keys,...
Author
Message
Kevin Harrison 1
Kevin Harrison 1
Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)
Group: Forum Members
Posts: 176, Visits: 1.9K
Hi

I have successfully attached an event to NDataPointDragTool.EndDrag, but this does not fire if I use Ctrl + arrow keys to move the data points. How do I do this? Also, it would be useful to know how to turn off the Ctrl + arrow key movement completely.

By the way, the link to NDataPointDragTool in the installed help file is broken.

Thanks

Kevin
Replies
Kevin Harrison 1
Kevin Harrison 1
Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)
Group: Forum Members
Posts: 176, Visits: 1.9K
Hi

I have another question about the drag tool. My users would like some form of snapping feature so they can drag accurately to a specific value. Is there anything within the drag tool that enables me to achieve this?

I could determine the dragged to value, calculate the "snapped" value, then redraw the chart, but I was wondering if there is already something to help me?

Thanks
Kevin
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Kevin,
There is no way to perform snapping with the current implementation - however we can send you the tool implementation so that you can develop your own version which supports snapping. If you're interested just drop us an e-mail at support@nevron.com and we'll send you the source code of the stock tool.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search