R/marks.R
mark_bar.Rd
Add a bar mark
mark_bar(spec, ..., data = NULL, style = list(), orient = "vertical")
A glyph_spec
Aesthetic mappings (x, y, color, size, shape, alpha, tooltip)
Optional per-mark data override
Named list of fixed visual properties
"vertical" or "horizontal"
Modified glyph_spec object with the bar mark added
glyph_spec