Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Inverse of ScatterPlot.MapDataPoint ?

Given a ScatterPlot, I can get the physical location of a point in the plot by calling the MapDataPoint method.

Is there an inverse to this? That is, given a physical location (e.g., Cursor position), can I get the (nearest) point to this physical location?

My goal is to be able to click anywhere in the plot and have a cursor "snap" to that position.

Thanks.

Shea
0 Kudos
Message 1 of 4
(3,425 Views)
Check out this thread. I think this will get you exactly what you want.
0 Kudos
Message 2 of 4
(3,412 Views)
Thanks very much - exactly what I want.

My apologies for not doing a more exhaustive search before posting my question.

Cheers,

Shea
0 Kudos
Message 3 of 4
(3,411 Views)

Measurement Studio 8.0, which I believe was just announced today (see the Measurement Studio homepage for more info), has this built in. ScatterPlot now has a method called InverseMapDataPoint that will do this.

- Elton

0 Kudos
Message 4 of 4
(3,406 Views)