"gridLineType"

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

Synopsis

shape.lineType( string lineType);

string lineType = shape.lineType;

Parameters

Parameter Description
lineType A WinCC OA line type string.

Return value

A WinCC OA line type string.

Description

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

Example

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

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

Assignment

Trend