06-01-2009 12:01 PM
I'm developing on one computer and implementing on another computer with a different monitor.
I'm trying to draw a cross-hairs in the middle of the graph by
--finding the bounds of the display (Disp.WkSpace),
--setting graph properties to position = (0,0) with
--plot bounds and plot area size that of the monitor, and
--drawing in the "middle" (plot area size dimensions each cut in half).
works fine on my computer but cross-hair is shifted to the right considerably on the target monitor.
any thoughts?
Solved! Go to Solution.
06-01-2009 01:40 PM
Why not use a cursor (can be set to look like crosshairs) and set the location of the cursor to half X annge, half y range (assuming no log axis).
Also if you find the mid range point (center of plot area) you can use the method Map coordinates to XY to find the position inrespect to the graph's owning pane.
06-04-2009 10:21 AM
yes, much better, thanks!