uv_label: Customise chart labels

Description Usage Arguments See Also Examples

View source: R/config.R

Description

Customise the chart labels.

Usage

1
2
uv_label(p, fontfamily, fontsize, fontweight, strokecolor, showlabel, precision,
  prefix, suffix)

Arguments

p

a uvcharts object.

fontfamily

any font, defaults to Arial.

fontsize

font size. Defaults to 11.

fontweight

font weight, defaults to bold.

strokecolor

any Color Code or Color String or none. defaults to #000000.

showlabel

show labels flag, TRUE or FALSE, defaults to the former.

precision

precision on the labels in case of decimal values. Defaults to 2.

prefix

any prefix which needs to be added to the label.

suffix

any suffix which needs to be added to the label.

See Also

Official docs

Examples

1
2
3
4
mtcars %>%
  uv_charts(qsec) %>%
  uv_add(mpg) %>%
  uv_label(fontsize = 6, strokecolor = "red")

JohnCoene/uvcharts documentation built on May 7, 2019, 11:59 a.m.