Skip to main content

Line

Mandatory properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
typestringMust be Line.
endXnumberEnd x coordinate.
endYnumberEnd y coordinate.

Optional properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
lineWidthnumberLine width.
colorstringLine color. May contain dynamic text.

Example

{
"type": "Line",
"x": 0.0,
"y": 0.0,
"endX": 100.0,
"endY": 100.0,
"lineWidth": 5.0,
"color": "black"
}