"removeCurveMarking", "removeCurveMarkingX"

By using the attribute "curveMarking", a range of values or a single value can be highlighted. The attribute "curveMarkingX" is used for the XY trend curve of the X part. The attribute "removeCurveMarking" deletes this marking.

Synopsis

setValue(string shape, "removeCurveMarking", string curve, int id);

getValue(string shape, "removeCurveMarking", string curve, int id);

shape.removeCurveMarking(string curve, int id);

Parameters

Parameter Description
shape Name of the object.
curve Name of the curve whose marking should be deleted
id Area ID of the curve

Description

By using the attribute "curveMarking", a range of values or a single value can be highlighted. The attribute "curveMarkingX" is used for the XY trend curve of the X part. The attribute "removeCurveMarking" deletes this marking.

Example

In the following example, a single, dashed green line is shown. The second code sample deletes this line.

TREND1.curveMarking("Curve1",1,10.5,10.5,"green", "[dashed,oneColor,JoinMiter,CapButt,3]");
TREND1.removeCurveMarking("Curve1",1);

Assignment

Trend