mobile_coord: Coordinates

Description Usage Arguments Examples

View source: R/coord.R

Description

Change chart coordinates.

Usage

1
mobile_coord(m, type = c("rect", "polar"), ...)

Arguments

m

An object of class mobile as returned by mobile.

type

Type of coordinate, rect for cartesian or polar.

...

Named options from the official documentation.

Examples

1
2
3
4
mobile(df, aes(label, value, color = label)) %>% 
 mobile_bar() %>% 
 mobile_coord("polar", transposed = TRUE, innerRadius = .7) %>% 
 mobile_hide_axis()

RinteRface/mobileCharts documentation built on Feb. 14, 2020, 2:31 a.m.