BarMapping

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

Parameters

x

X-axis value (this value will produce cases or bins for bars).

y

Y-axis value (this value will be used to multiply the case's or bin's counts).

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.

width

Width of a bar.

size

Defines bar line width.

weight

Used by Stat.count() 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.