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 code as a string (HEX or rgb) or Color object.

size

Line width.

linetype

Type of the line. Accept codes or names (0 = "blank", 1 = "solid", 2 = "dashed", 3 = "dotted", 4 = "dotdash", 5 = "longdash", 6 = "twodash"), a hex string (up to 8 digits for dash-gap lengths), or a pattern offset to listOf(dash, gap, ...) / listOf(dash, gap, ...).

blank

Mark as a 'blank' element.