"curveGridAboveDistanceX", "curveGridBelowDistanceX"

The attribute "curveGridAboveDistanceX" sets the distance between the grid lines above the reference value (for XY trend curves of the X part) and "curveGridBelowDistanceX" the distance between the grid lines below the reference value.

Synopsis

setValue(string shape, "curveGridAboveDistanceX", string curve, float distance);

getValue(string shape, "curveGridAboveDistanceX", string curve, float distance);

shape.curveGridAboveDistanceX(string curve, float distance);

setValue(string shape, "curveGridBelowDistanceX", string curve, float distance);

getValue(string shape, "curveGridBelowDistanceX", string curve, float distance);

shape.curveGridBelowDistanceX(string curve, float distance);

Parameter

Parameter Description
shape Name of the object
curve The curve
distance Distance between grid lines above/below the reference value

Description

The attribute "curveGridAboveDistanceX" sets the distance between the grid lines above the reference value (for XY trend curves of the X part) and "curveGridBelowDistanceX" the distance between the grid lines below the reference value.

Example

The following example sets the distance between grid lines above the reference value to 2.5

main()
{
  float abdis;
  TREND1.curveGridAboveDistanceX("Kurve",2.5);
  getValue("TREND1","curveGridAboveDistanceX","Kurve",abdis);
  DebugN("aboveDistance für Kurve",abdis);
}

Assignment

Trend