Description Usage Arguments References Examples
Vector can be optionally named in order to give explicit color/value mapping.
1 | tau_color_manual(tau, values = NULL)
|
tau |
taucharts object |
values |
vector of colors, ideally names (e.g. " |
http://api.taucharts.com/advanced/encoding.html
1 2 3 4 5 6 7 | tauchart(mtcars) %>%
tau_point("wt", "mpg", color="cyl") %>%
tau_color_manual(c("blue", "maroon", "black"))
tauchart(mtcars) %>%
tau_point("wt", "mpg", color="cyl") %>%
tau_color_manual(c(`4`="blue",`6`= "maroon",`8`= "black"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.