"curveLegendVisibility"
    
    Shows or hides a curve legend.
Synopsis
setValue(string shape, "curveLegendVisibility", string Name, bool
            on);
getValue(string shape, "curveLegendVisibility", string Name, bool
                &on);
shape.curveLegendVisibility(string Name, bool on);
Parameters
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| Name | Name of curve | 
| on | Legend visible (TRUE) or invisible (FALSE) | 
Description
Shows (on==TRUE) or hides (on==FALSE) the curve "Name" in the trend display. By default, on==TRUE for a curve.
Example
main()
{
  shape tr=getShape("trend1");
  // Hide
  tr.curveLegendVisibility("curve1", FALSE);
}
            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
