element Rect
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 code as a string (HEX or rgb) or Color object.
color
Border color. Accepts color code as a string (HEX or rgb) or Color object.
size
Border 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 like offset to listOf(dash, gap, ...)
or just listOf(dash, gap, ...)
.
blank
Mark as a 'blank' element.