"curveLegendShowDate", "curveLegendShowDateX"

The attribute "curveLegendShowDate" shows the date in the legend. The attribute "curveLegendShowDateX" shows the date in the legend for the XY trend curve of the X part.

Synopsis

setValue(string shape, "curveLegendShowDate", string curve, bool show);

getValue(string shape, "curveLegendShowDate", string curve, bool show);

shape.curveLegendShowDate(string curve, bool show);

setValue(string shape, "curveLegendShowDateX", string curve, bool show);

getValue(string shape, "curveLegendShowDateX", string curve, bool show);

shape.curveLegendShowDateX(string curve, bool show);

Parameter

Parameter Description
shape Object name
curve The curve
show

TRUE = The date is shown in the legend.

FALSE = The date is not shown.

Description

The attribute "curveLegendShowDate" shows the date in the legend.

The value and the date are shown in the legend only when you right-click the legend at run time. Also the date is not shown when the legend has been autoformatted.

Example

The following example sets the "curveLegendShowDate"; to TRUE. This means the date is shown in the legend.

TREND1.curveLegendShowDate("Curve",TRUE);

Abbildung 1. The Date is shown in the Curve Legend

Assignment

Trend