elementLine

fun elementLine(color: Any? = null, size: Number? = null, linetype: Any? = null, blank: Boolean = false): <Error class: unknown class>

Specifies how non-data components of the plot are drawn. This theme element draws lines.

Examples

Parameters

color

Line color. Accepts color core as string (HEX or rgb) or Color object.

size

Line width.

linetype

Type of the line. Codes and names: 0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash".

blank

Mark as a 'blank' element.