03-17-2006 06:50 AM
XYCursor oCursor =
new XYCursor(mNIGraph.Plots[0]);Cursor.LabelVisible = true;
Cursor.SnapMode = CursorSnapMode.Floating;
Cursor.VerticalCrosshairMode = CursorCrosshairMode.FullLength;
Cursor.HorizontalCrosshairMode = CursorCrosshairMode.None;
Cursor.PointStyle= PointStyle.None;
Cursor.PointSize = new Size(0,0);
oCursor.LabelYFormat = new FormatString(FormatStringMode.Numeric, ".");
03-17-2006 10:42 AM
There is not an easy way to do this in Measurement Studio 7.1. You will have to use the cursor custom drawing events and draw the label yourself to get this behavior.
In Measurement Studio 8.0, the cursor has a new property called LabelDisplay whose values can be ShowX, ShowY, and ShowXY. Setting LabelDisplay to ShowX would give you the behavior that you're looking for.
- Elton
03-19-2006 02:21 PM
03-20-2006 09:23 PM
There are a couple of other minor improvements related to these features. Namely, annotations now support tooltips. There are 4 tooltip modes:
Also, the graphs now have an InteractionModeDefault property that allows you to specify zoom/pan interactions that do not require the use of a modifier key.
- Elton