implement datatipMove(dthandle, newPosition [,method])
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
There is presently no instruction moving an existing datatip to a given new position instead of doing it interactively:
* datatipMove(datatip) allows to move the given datatip, but only interactively. It does not accept a second argument.
* assigning directly datatip.data=... yields an error : See the bug 14936
New datatipMove() syntaxes are expected:
- datatipMove(dthandle, newPosition)
- datatipMove(dthandle, newPosition, method)
method is the method to be used to compute the actual new position of the anchor:
"x": the datatip must be set at x=newPosition(1) the nearest to newPosition
"y": the datatip must be set at x=newPosition(2) the nearest to newPosition
"p": orthogonal projection (as with datatipCreate())
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------
https://www.mail-archive.com/users@lists.scilab.org/msg05703.html
Edited by Vincent COUVERT