Update Method

Updates the graph to reflect any changes in either the array data or the ROI since the last Update call.

Syntax

object.Update ( )

Parameters

None.

Return Value

None.

Remarks

Call Update when the data or ROI has been modified in some way, and you want to update the graph to reflect the changes.

The repainting of the graph occurs in the background. Update always returns immediately, while the (perhaps lengthy) processing required to redraw the graph based on the new data values is performed by a background thread.

If you want to make sure that the graph has been redrawn with the new dataset after making an Update call, do the following:

  1. Call Update.
  2. Then wait for a RndrPass event with an updatestate value of 2 to occur.

At that point, the screen image of the graph will reflect the array data.

See Also

RndrPass