Add arbitrary scales to ggvis.
add_scale(vis, scale, data_domain = TRUE)
Visualisation to modify.
Scale object
Should the domain be controlled by a data set which is added to the spec? Should only be set to FALSE in special cases.
Either a vector with static values for the domain, or a reactive that returns a such a vector.