mark_line: Add a line mark

View source: R/marks.R

mark_lineR Documentation

Add a line mark

Description

Add a line mark

Usage

mark_line(spec, ..., data = NULL, style = list(), interpolate = "monotone")

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

interpolate

Interpolation method: "linear", "monotone", "step", "basis"

Value

Modified glyph_spec object with the line mark added


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