"gridLineTypeX"

Sets or gets the grid line type of a trend vertical / time grid line at runtime.

Synopsis

shape.lineTypeX( string lineType = "none");

string lineType = shape.lineTypeX;

Parameters

Parameter Description
lineType A WinCC OA line type string.

Return value

A WinCC OA line type string.

Description

Sets or gets the vertical / time axis grid line type of a trend grid at runtime.

If the property is set to "none" (=default) the settings for "gridLineType" is used for both line directions.

Example

The example below sets the vertical grid line type of the trend "MY_TREND" to a dashed line with 1px width.

main()
{
  MY_TREND.gridLineTypeX("[dashed,oneColor,JoinMiter,CapButt,1]");
}

Assignment

Trend