"curveFillType"

With the trend attribute "curveFillType" you can set the fill type of a trend curve.

Synopsis

setValue(string shape,"curveFillType", string curve, string fillType);

getValue(string shape,"curveFillType", string curve, string fillType);

shape.curveFillType(string curve, string fillType);

Parameter

Parameter Description
curve The trend curve the fill type is set for.
fillType The fill type that is set for the curve. You can use the fill types: "Solid" and "Hatch".

Description

With the trend attribute "curveFillType" you can set the fill type of a trend curve. The fill type must be set together with the curveFillColor. The fill type can be set to another fill type than "outline" by using the attribute curveFillType. You can use the fill types "Solid" and "Hatch".

Note that when using the attribute curveFillType, the filling of the curve must be set by using the attribute curveFilled.

Example

This example sets the fill type as well as the fill color of a trend curve to the selected fill type and specified fill color. The fill type selector is opened (see fileSelector()). The fill color is set to (255,255,0,57).

main()
{
  string ft;
  fillSelector(ft);
  TREND1.curveFillType("#1_1", ft);
  TREND1.curveFillColor("#1_1","{255,255,0,57}");
  TREND1.curveFilled("#1_1", 1);
}
Figure 1. Fill type Selection
Figure 2. A Trend curve and the fill type "Solid" as well as two different colors for the curve and fill colors
Figure 3. A Trend curve and the fill type "Hatch" as well as two different colors for the curve and fill colors

Assignment

Trend