"connectRelativeTimeScaleDirectly" - obsolete

Connects the time scale and a bool datapoint (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 datapoint

Description

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

Example

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

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

Assignment

Trend