|
Occurs when the value of the cursor position changes.
syntax
event OnProbeChanged(
penno,
expect1,
expect2,
nearest1,
nearest2,
min,
max,
ave,
validcnt,
lackcnt
)
Parameters
penno
|
|
Type:
|
Number
|
|
Pen number.
|
expect1
|
|
Type:
|
Number
|
|
The value under the cursor on the left (predicted value if there is no data under the cursor).
|
expect2
|
|
Type:
|
Number
|
|
The value under the cursor on the right (or the predicted value if there is no data under the cursor).
|
nearest1
|
|
Type:
|
Number
|
|
The value under the cursor on the left (or the value of the nearest data if there is no data under the cursor).
|
nearest2
|
|
Type:
|
Number
|
|
The value under the cursor on the right (or the value of the nearest data if there is no data under the cursor).
|
min
|
|
Type:
|
Number
|
|
The minimum value of the data between the cursors.
|
max
|
|
Type:
|
Number
|
|
The maximum value of the data between the cursors.
|
ave
|
|
Type:
|
Number
|
|
The average value of the data between the cursors.
|
validcnt
|
|
Type:
|
Number
|
|
The number of valid values of data between the cursors.
|
lackcnt
|
|
Type:
|
Number
|
|
The number of missing values in the data between the cursors.
|
Explanation
The OnProbeChanged event occurs only when you move the cursor with the mouse or when you move the cursor position with the SetProbePos method. If you want it to occur at any other time, call the FireProbeChanged method.
|
reference
OnProbeChanging
SetProbePos
GetProbePos
|