"curveType"

The attribute "curveType" sets the type of a trend curve.

Synopsis

setValue(string shape, "curveType", string curve, int type);

getValue(string shape, "curveType", string curve, int type);

shape.curveType(string curve, int type);

Parameter

Parameter Description
shape Object name
curve The curve
type

The curve type:

  • POINTS = 0
  • STEPS = 1
  • LINEAR = 2
  • EVENT = 4

Description

The attribute "curveType" sets the type of a trend curve.

Example

The following example sets the curve type to POINTS and the type of the points to POINT_STAR.

main()
{
  TREND1.curveType("Curve",0);
  //Set the curve type to POINTS
  TREND1.pointType("Curve",4);
  //Set the type of points to POINT_STAR
}
Abbildung 1. The Curve Type was set to "POINTS" and the Type of the Points to "POINT_STAR"

Assignment

Trend