"curveGridRefValsX"

In case of value-over-value trend curves, this attribute allows to define the reference value for the grid lines as well as number of grid lines and the distance between them.

Synopsis

setValue(string shape, "curveGridRefValsX", string curve, float refValue, float aboveDistance, float belowDistance, int aboveCount, int belowCount);

getValue(string shape, "curveGridRefValsX", string curve, float refValue, float aboveDistance, float belowDistance, int aboveCount, int belowCount);

shape.curveGridRefValsX(string curve, float refValue, float aboveDistance, float belowDistance, int aboveCount, int belowCount);

Parameter

Parameter Description
shape Name of the object
curve Name of the curve
refValue The position for the reference grid line
aboveDistance Distance between grid lines above the reference value
belowDistance Distance between grid lines below the reference value
aboveCount Number of grid lines shown above the reference value
belowCount Number of grid lines shown below the reference value

Description

In case of value-over-value trend curves, this attribute allows to define the reference value for the grid lines as well as number of grid lines and the distance between them.

Example

The following example draws a reference grid line at position 5 as well as 2 lines above and below the reference. The distance between the lines is set to 1.

main()
{
  TREND1.curveGridRefValsX("Curve", 5, 1, 1, 2, 2);
  getValue("TREND1","curveGridRefValsX","Curve", retDis);
}

Assignment

Trend