uv_pie_opt: Customise chart lines

Description Usage Arguments See Also Examples

Description

Customise the properties specific to Pie Chart.

Customise the properties specific to Donut Chart.

Usage

1
2
3
4
5
uv_pieopt(p, fontfamily, fontsize, fontweight, fontvariant, fontfill,
  strokecolor, strokewidth)

uv_donutopt(p, fontfamily, fontsize, fontweight, fontvariant, fontfill,
  strokecolor, strokewidth, factor)

Arguments

p

a uvcharts object.

fontfamily

any font, defaults to Arial.

fontsize

font size. Defaults to 11.

fontweight

font weight, defaults to bold.

fontvariant

font variant used on the text, defaults to small-caps, can also take normal.

fontfill

text color on the measure, defaults to #000000.

strokecolor

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

strokewidth

stroke width on each arc. Defaults to 1.

factor

radius of the cropped part in terms of the bigger pie. Defaults to 0.4.

See Also

Official docs

Official docs

Examples

1
2
3
4
mtcars %>%
  uv_pie(qsec) %>%
  uv_add(mpg) %>%
  uv_pieopt(fontfill = "white")

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