legend_vl: Legend settings (all)

Description Usage Arguments

Description

Legend settings (all)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
legend_vl(vl, chnl = "color", orient = NULL, offset = NULL,
  values = NULL, format = NULL, labelAlign = NULL, labelBaseline = NULL,
  labelColor = NULL, labelFont = NULL, labelFontSize = NULL,
  short_time_labels = NULL, symbolColor = NULL, symbolShape = NULL,
  symbolSize = NULL, symbolStrokeWidth = NULL, title = NULL,
  titleColor = NULL, titleFont = NULL, titleFontSize = NULL,
  titleFontWeight = NULL, remove = FALSE)

legend_color(vl, ...)

legend_size(vl, ...)

legend_shape(vl, ...)

Arguments

vl

a Vega-Lite object

chnl

a channel, by default vegalite creates legends for color, size, and shape

orient, offset, values

see legend docs

format, labelAlign, labelBaseline, labelColor, labelFont, labelFontSize, short_time_labels

see legend docs

symbolColor, symbolShape, symbolSize, symbolStrokeWidth

see legend docs

title, titleColor, titleFont, titleFontSize, titleFontWeight

see legend docs

remove

if TRUE, there will be no legend for this aesthetic.

...

additional arguments to pass to legend_vl


hrbrmstr/vegalite documentation built on May 17, 2019, 5:38 p.m.