"connectDirectlyX"

Connects X values and a data point using the trend type value over value.

Synopsis

setValue(string shape, "connectDirectlyX", string Name, string dp);

shape.connectDirectlyX(string Name, string dp);

Parameters

Parameter Description
shape Name of the object
Name Curve name
dp Name of the data point supplying the X value of the curve

Description

This attribute connects the X-axis values of the trend and a data point. In principle, "connectDirectlyX"; works in the same way as"connectDirectly", the difference being that the values are projected on the Y-axis instead of on the X-axis.

Data point element names have to be defined with the complete string including "Config+Detail+Attribut", for example, "dp.e:_online.._value".

Example

Connects "curve1"; of trend display "trend1" with the original value of "Number_1."; on the X-axis and "Number_2."; on the Y-axis.

main()
{
  shape tr=getShape("trend1");
  ...
  // Connection with the X-axis and "Number_1."
  tr.connectDirectlyX("curve1", "Number_1.:_original.._value");
  // Connection with the Y-axis and "Number_2."
  tr.connectDirectly("curve1", "Number_2.:_original.._value");
  ...
}

Assignment

Trend