Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
06-15-2007 09:07 AM
06-15-2007 09:51 AM
When you get mouse coordinates in a callback, they are referred to the top left corner of the panel. ConvertMouseCoordinates function converts these coordinates with reference to top left corner of a given control.
After that, you will need to map these coordinates (which are in pixels) to actual graph axis scales: GetGraphCoordsFromPoint function is what you need for this.
In case you are using GetRelativeMouseState function to get mouse coordinates, the first step is unnecessary.
06-15-2007 09:56 AM
06-15-2007 11:12 AM
@ichaus wrote:
ok, I thought plotRectangular plots the coordinates directly.but i did not find the GetGraphCoordsFromPoint function. is it just for newer versions ? i am using 7.1
06-16-2007 12:25 PM
06-19-2007 06:13 AM