"connectRelativeTimeScaleDirectly" - obsolete

Connects the time scale and a bool data point (obsolete from version 3.5 up).

Synopsis

setValue(string shape, "connectRelativeTimeScaleDirectly", string dp);

shape.connectRelativeTimeScaleDirectly(string dp);

Parameters

Parameter Description
shape Name of the object
dp Name of data point

Description

This attribute creates a connection to a bool data point and resets the relative time scale to zero if the bool value changes.

Example

The following example connects the time scale and the bool data point "B1.".

main()
{
  shape tr=getShape("trend1");
  ...
  tr.connectRelativeTimeScaleDirectly("B1.:_original.._value");
  ...
}

Assignment

Trend