elementRect

fun elementRect(fill: Any? = null, 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 borders and backgrounds.

Examples

Parameters

fill

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

color

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

size

Border 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.