Skip to contents

vl_mark_errorbar

Usage

vl_mark_errorbar(
  spec,
  clip = NULL,
  color = NULL,
  extent = NULL,
  opacity = NULL,
  orient = NULL,
  rule = NULL,
  size = NULL,
  thickness = NULL,
  ticks = NULL,
  .object = NULL
)

Arguments

spec

An input vega-lite spec

clip

Whether a composite mark be clipped to the enclosing group’s width and height.

color

Default color.

Default value: <span style="color: #4682b4;">■</span> "#4682b4"

Note:

  • This property cannot be used in a style config.

  • The fill and stroke properties have higher precedence than color and will override color.

extent

The extent of the rule. Available options include:

  • "ci": Extend the rule to the confidence interval of the mean.

  • "stderr": The size of rule are set to the value of standard error, extending from the mean.

  • "stdev": The size of rule are set to the value of standard deviation, extending from the mean.

  • "iqr": Extend the rule to the q1 and q3.

Default value: "stderr".

opacity

The opacity (value between [0,1]) of the mark.

orient

Orientation of the error bar. This is normally automatically determined, but can be specified when the orientation is ambiguous and cannot be automatically determined.

rule

boolean

Or: MarkConfig

size

Size of the ticks of an error bar

thickness

Thickness of the ticks and the bar of an error bar

ticks

boolean

Or: MarkConfig

.object

Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than spec. Objects can be of type: ErrorBarDef

Value

A modified Vega-Lite Spec