add_scale: Add arbitrary scales to ggvis.

Description Usage Arguments

View source: R/ggvis.R

Description

Add arbitrary scales to ggvis.

Usage

1
add_scale(vis, scale, data_domain = TRUE)

Arguments

vis

Visualisation to modify.

scale

Scale object

data_domain

Should the domain be controlled by a data set which is added to the spec? Should only be set to FALSE in special cases.

domain

Either a vector with static values for the domain, or a reactive that returns a such a vector.


rpruim/ggvis2 documentation built on May 28, 2019, 2:34 a.m.