BinHexMapping

constructor(x: Any? = null, y: Any? = null, width: Any? = null, height: Any? = null, alpha: Any? = null, color: Any? = null, fill: Any? = null, linetype: Any? = null, size: Any? = null, weight: Any? = null, group: Any? = null, paint_a: Any? = null, paint_b: Any? = null, paint_c: Any? = null)

Parameters

x

X-axis value.

y

Y-axis value.

width

Width of a hexagon.

height

The real height of the hexagon will be 2/sqrt(3) times this value, so with width=height the hexagon will be the regular.

alpha

Transparency level of a layer. Understands numbers between 0 and 1.

color

Color of the geometry. For more info see: aesthetics.html#color-and-fill.

fill

Fill color. For more info see: aesthetics.html#color-and-fill.

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, ...). For more info see: aesthetics.html#line-types.

size

Line width, default = 0 (i.e., hexagons outline initially is not visible).

weight

Used by Stat.binhex()stat to compute weighted sum instead of simple count.

group

Grouping key. If not set, grouping may be inferred from other aesthetics (e.g., color, size).

paint_a

Auxiliary paint channel A that can be used as either color or fill as needed. Map a variable here for composite/multi-channel color with a matching scale.

paint_b

Auxiliary paint channel B. See paint_a.

paint_c

Auxiliary paint channel C. See paint_a.