mark_bar: Add a bar mark

View source: R/marks.R

mark_barR Documentation

Add a bar mark

Description

Add a bar mark

Usage

mark_bar(spec, ..., data = NULL, style = list(), orient = "vertical")

Arguments

spec

A glyph_spec

...

Aesthetic mappings (x, y, color, size, shape, alpha, tooltip)

data

Optional per-mark data override

style

Named list of fixed visual properties

orient

"vertical" or "horizontal"

Value

Modified glyph_spec object with the bar mark added


glyph documentation built on Oct. 21, 2026, 5:12 p.m.