BracketParameters

interface BracketParameters : OptionsCapsule

Properties for parameters of geomBracket().

Parameters

bracketShorten

default = 0. Symmetrically shorten the bracket by shifting both ends toward the center. Expects values between 0 and 1, where 0 corresponds to no shortening and 1 to a fully collapsed bracket.

tipLengthUnit

default = "size" ("res", "identity", "size", "px"). Unit for the lenStart and lenEnd aesthetics. Possible values:

  • "res": the unit equals the smallest distance between data points along the corresponding axis;

  • "identity": a unit of 1 corresponds to a difference of 1 in data space;

  • "size": a unit of 1 corresponds to the diameter of a point with size = 1;

  • "px": the unit is measured in screen pixels.

Inheritors

Properties

Link copied to clipboard
abstract val bracketShorten: Number?
Link copied to clipboard
abstract val tipLengthUnit: String?