"curveGridAboveDistance", "curveGridBelowDistance"

The attribute "curveGridAboveDistance" sets the distance between the grid lines above the reference value and "curveGridBelowDistance" the distance between the grid lines below the reference value.

Synopsis

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

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

shape.curveGridAboveDistance(string curve, float distance);

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

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

shape.curveGridBelowDistance(string curve, float distance);

Parameter

Parameter Description
shape Object name
curve The curve.
count The distance between the grid lines below or above the reference value.

Description

The attribute "curveGridAboveDistance"; sets the distance between the grid lines above the reference value and "curveGridBelowDistance" the distance between the grid lines below the reference value.

Example

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

main()
{
  float abdis;
  TREND1.curveGridAboveDistance("Curve",2.5);
  getValue("TREND1","curveGridAboveDistance","Curve",abdis);
  DebugN("aboveDistance for Curve",abdis);
}

Assignment

Trend