BracketDodgeMapping

constructor(x: Any? = null, y: Any? = null, istart: Any? = null, iend: Any? = null, lenstart: Any? = null, lenend: Any? = null, label: Any? = null, size: Any? = null, linetype: Any? = null, color: Any? = null, alpha: Any? = null, family: Any? = null, fontface: Any? = null, hjust: Any? = null, vjust: Any? = null, angle: Any? = null, lineheight: Any? = null, segmentColor: Any? = null, segmentSize: Any? = null, segmentAlpha: Any? = null, group: Any? = null, paint_a: Any? = null, paint_b: Any? = null, paint_c: Any? = null)

Parameters

x

Primary axis category for horizontal brackets.

y

Bracket level - the position along the y-axis at which the bracket is drawn for horizontal brackets.

istart

Index of the dodged group at the bracket start. Accept integer values between 0 and nGroup - 1.

iend

Index of the dodged group at the bracket end. Accept integer values between 0 and nGroup - 1.

lenstart

Length of the tip at the bracket start (at istart).

lenend

Length of the tip at the bracket end (at iend).

label

Text to add.

size

Font size.

linetype

Type of the bracket 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.

color

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

alpha

Transparency level of a layer. Accept values between 0 and 1.

family

Font family. For more info see: aesthetics.html#text.

fontface

Font style and weight. For more info see: aesthetics.html#text.

hjust

Horizontal text alignment relative to the x-coordinate. Possible values: 0 or "left" - left-aligned (text starts at x), 0.5 or "middle" (default) - text is centered on x, 1 or "right" - right-aligned (text ends at x). There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).

vjust

Vertical text alignment relative to the y-coordinate. Accept either a numeric value or one of: "bottom", "center", or "top". The numeric values 0, 0.5 (default), and 1 correspond to "bottom", "center", and "top", respectively. There are two special alignments: "inward" (aligns text towards the plot center) and "outward" (away from the plot center).

angle

Text rotation angle in degrees.

lineheight

Line height multiplier applied to the font size in the case of multi-line text.

segmentColor

Color of the bracket line (the segments forming the bracket). For more info see: aesthetics.html#color-and-fill.

segmentSize

Width of the bracket line (the segments forming the bracket).

segmentAlpha

Transparency level of the bracket line. Accept values between 0 and 1.

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.