Grid configuration. See the Markings topic for details.


Optional enabled

enabled: boolean

Displays the grid; if the grid is displayed it can be toggled by the Grid button.

Optional horizontalColor

horizontalColor: string

Color of the horizontal grid lines.

Optional lineWidthPx

lineWidthPx: number

Width of grid lines in pixels.

Optional stepX

stepX: number

Distance between vertical grid lines.

Optional stepY

stepY: number

Distance between horizontal grid lines.

Optional verticalColor

verticalColor: string

Color of the vertical grid lines.