"pointType"

The attribute "pointType" sets the type of the points for a trend curve.

Synopsis

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

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

shape. pointType ( string curve, int type);

Parameter

Parameter Description
shape Object name
curve The curve
type

The point types:

POINT_NONE = 0 (no points)

POINT_RECT = 1 (rectangles)

POINT_X = 2 (x signs)

POINT_PLUS = 3 (+ signs)

POINT_STAR = 4 (stars)

POINT_CIRCLE = 5 (circles)

POINT_TRIANGLE = 6 (triangles)

POINT_FILLED_CIRCLE = 7 (filled circles)

POINT_FILLED_TRIANGLE = 8 (filled triangles)

For setting a custom icon (see "curvePointIcon") the type must be set to 9.

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
}
Figure 1. The Curve Type was set to "POINTS" and the Type of the Points to "POINT_STAR"

Assignment

Trend