"timeOffset"

Displays an elapsed period in a separate range.

Synopsis

setValue(string shape, "timeOffset", int n, time offs);

shape.timeOffset(int n, time offs);

Parameters

Parameter Description
shape Name of the object
n Number of display range
offs Offset

Description

Allows the user to display an elapsed period in a separate range. The parameter used is the time offset.

Example

The following example moves the trend by the difference between the two times (exactly one day).

main()
{
  shape tr=getShape("trend1");
  time t1, t2;
  t1=makeTime(1999, 9, 23, 8, 0);
  t2=makeTime(1999, 9, 22, 8, 0);
  tr.timeOffset(0)=t1-t2;
}

Assignment

Trend