R/chart-options.R
chart_labs.Rd
Chart labs
chart_labs(.chart, title = NULL, x = NULL, y = NULL)
A chart htmlwidget.
chart
Text for main title.
Text for x-axis title.
Text for y-axis title.
chart(mtcars, caes(x = mpg, y = wt), type = "scatter") %>% chart_labs( title = "Main title", x = "X axis", y = "Y axis" )