"curveRefCurve"

The attribute "curveRefCurve" sets the reference curve for filling to another curve.

Synopsis

setValue(string shape, "curveRefCurve", string curve, string refCurve);
shape.curveRefCurve(string curve, string refCurve);

Parameters

Parameter Description
shape Name of the object
curve Name of the curve
refCurve Name of the reference curve

Description

The given "refCurve" is an existing curve, which forms the reference line to which the given "curve" will fill when the "curveFilled" property of "curve" is set to the value 4. The "refCurve" must have its curve type set to either "LINEAR" or "STEPS".

When "refCurve" is not set, no longer exists or has no data, "curve" will fill to bottom. All values in "refCurve" must be finite (e.g. no NaN or infinity).

For convenience, the following global constants were added to _const.ctl:

const int TREND_CURVETYPE_POINTS = 0;
const int TREND_CURVETYPE_STEPS = 1;
const int TREND_CURVETYPE_LINEAR = 2;
const int TREND_CURVETYPE_EVENT = 4;
const int TREND_CURVE_FILL_NONE = 0;
const int TREND_CURVE_FILL_BOTTOM = 1;
const int TREND_CURVE_FILL_REFVAL = 2;
const int TREND_CURVE_FILL_TOP = 3;
const int TREND_CURVE_FILL_CURVE = 4;

Assignment

Trend