"curveLegendName","curveLegendNameX"

Curve label in curve legend. The attribute "curveLegendNameX" sets the label for XY trend curve of the X part.

Synopsis

setValue(string shape, "curveLegendName", string Name, string Label);

getValue(string shape, "curveLegendName", string Name, string &Label);

shape.curveLegendName (string Name, string Label);

setValue(string shape, "curveLegendNameX", string Name, string Label);

getValue(string shape, "curveLegendNameX", string Name, string &Label);

shape.curveLegendNameX(string Name, string Label);

Parameters

Parameter

Description

shape

Name of the object

Name

Name of curve

Label

Curve label in legend

When this is given as "", then the label is taken from the data point. Otherwise the given text is used.

Description

This attribute describes the label of the curve "Name" in the curve legend.

If a legend name is not specified, the comment for the data point and the unit (if specified) are shown.

Example

main()
{
  // Label
  TREND1.curveLegendName("curve1", "Curve for the DP ExampleDP_Arg1");
}
Figure 1. The Curve Name is shown for the Curve

When assigning legend properties ("curveLegendName", "curveLegendUnit", "curveLegendVisibility") in trends with several areas by means of a control script, you have to adhere to a fixed order. At first declare the properties for the curves of the first area, then declare the properties for the curves of the second area and so on.

Assignment

Trend