uv_caption: Customise chart caption

Description Usage Arguments See Also Examples

View source: R/config.R

Description

Customise the chart caption.

Customise the chart subcaption.

Usage

1
2
3
4
5
uv_caption(p, fontfamily, fontsize, fontweight, textdecoration, strokecolor,
  cursor)

uv_subcaption(p, fontfamily, fontsize, fontweight, textdecoration, strokecolor,
  cursor)

Arguments

p

a uvcharts object.

fontfamily

any font, defaults to Arial.

fontsize

font size. Defaults to 11.

fontweight

font weight, defaults to bold.

textdecoration

text decoration applied on the caption, defaults to none.

strokecolor

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

cursor

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

See Also

Official docs

Examples

1
2
3
4
5
mtcars %>%
  uv_charts(qsec) %>%
  uv_add(mpg) %>%
  uv_meta("Title") %>%
  uv_caption(fontsize = 30)

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