"legendColor"
Gets or sets the background color of the trend legend.
Synopsis
setValue (string shape, "legendColor", string color);
getValue (string shape, "legendColor", string &color);
shape.legendColor(string color);
Parameter
Parameter | Description |
---|---|
shape | Object name |
color | Color string that should be set. |
Description
Gets or sets the background color of the trend legend.
Example
Sets the background color of the trend legend to green and writes the actual legendColor value to the log viewer as confirmation.
main()
{
TREND1.legendColor("{0,255,0}");
string retColor;
getValue("TREND1","legendColor",retColor);
DebugN("background color:",retColor);
}
Assignment
Trend