"manageLegend"

Activates or deactivates the legend in a trend display widget.

Synopsis

setValue(string shape, "manageLegend", bool on);

getValue(string shape, "manageLegend", bool &on);

shape.manageLegend(bool on);

Parameters

Parameter Description
shape Name of the object
on Visible or invisible (TRUE/FALSE)

Description

Activates or deactivates the legend in a trend display widget. It is activated by default.

Example

The following example deactivates the legend in a trend display widget.

main()
{
  shape tr=getShape("trend1");
  ...
  tr.manageLegend(FALSE);
  ...
}

Assignment

Trend