View source: R/highcharts-api-add.R
hcaes_string | R Documentation |
ggplot2::aes_string
Define aesthetic mappings using strings.
Similar in spirit to ggplot2::aes_string
hcaes_string(x, y, ...)
hcaes_(x, y, ...)
x , y , ... |
List of name value pairs giving aesthetics to map to variables. The names for x and y aesthetics are typically omitted because they are so common; all other aesthetics must be named. |
hchart(mtcars, "point", hcaes_string("hp", "mpg", group = "cyl"))
hcaes_string(x = "xval", color = "colorvar", group = "grvar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.