View source: R/chart-options.R
chart_options | R Documentation |
Chart options
chart_options(.chart, ...)
.chart |
A |
... |
Named list of options, options depends on chart's type, see common options here. |
A chart
htmlwidget.
chart(mtcars, caes(x = mpg, y = wt), type = "scatter") %>%
chart_options(
chart = list(title = "A scatter chart")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.