Dynamic Position for a Mouseover Tooltip Display

Have you figured this out?
I am trying to do the same thing but didn’t get it. Do you mind share an example file?

Thanks a million!