"disconnectDirectly"

Disconnects a curve from a data point.

Synopsis

setValue(string shape, "disconnectDirectly", string Name);

shape.disconnectDirectly(string Name);

Parameters

Parameter Description
shape Name of the object
Name Name of the curve

Description

Closes the connection to curve "Name" established by "connectDirectly"s.

After disconnecting data point and trend it is necessary to remove the date from the trend itself using:

 TREND.curveRemoveData("Value", getCurrentTime());

Otherwise display error can occur inside the trend.

Example

The following example closes the connection to "curve1".

main()
{
  TREND1.disconnectDirectly("curve1");
}

Assignment

Trend