uv_graph: Customise chart caption

Description Usage Arguments Details See Also Examples

View source: R/config.R

Description

Customise the graph object.

Usage

1
2
uv_graph(p, palette, bgcolor, orientation, custom.palette, opacity,
  responsive = TRUE)

Arguments

p

a uvcharts object.

palette

palette name, see details for valid values. Defaults to Brink.

bgcolor

background color used for the entire chart include the margin spaces.

orientation

orientation of the chart for a different layout based on requirements. Can take Horizontal or Vertical, defaults to the former.

custom.palette

override the palette with your own color palette by providing a non empty list of color codes. They are used in order for corresponding series uv_add. Pass colors as list.

opacity

opacity of the entire chart to make it blend into any background of your choice. Defaults to 1.

responsive

TRUE for responsive sizing (default).

Details

Valid values for palette argument.

See Also

Official docs

Examples

1
2
3
4
mtcars %>%
  uv_charts(qsec) %>%
  uv_add(mpg) %>%
  uv_graph(palette = "Plain")

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