"gridColorX"
Sets or gets the grid color of the X axis (= vertical grid lines) of a table or trend grid at runtime.
Synopsis
shape.gridColorX ( string colorString);
string colorString = shape.gridColorX;
Parameters
Parameter | Description |
---|---|
colorString | A WinCC OA color string such as blue "{0,0,255}". |
Return value
A WinCC OA color string
Description
Sets or gets the grid color of the X axis (= vertical grid lines) of a table or trend at runtime.
The gridColorX attribute is only used if "gridLineTypeX" uses a different line type than "gridLineType".
Example
The following example sets the color of the X axis of the grid for the table to STD_on (green).
main()
{
TABLE1.gridColorX("STD_on");
}
This example gets the X axis grid color of the trend "MY_TREND".
Example
main()
{
string gCol;
gCol= MY_TREND.gridColorX;
DebugN(gCol);
}
Assignment
Table, Trend