v_labs.Rd
Set chart title and subtitle
v_labs(vc, title = NULL, subtitle = NULL, x = NULL, y = NULL)
An htmlwidget created with vchart().
vchart()
Title for the chart.
Subtitle for the chart.
Axes titles.
A vchart() htmlwidget object.
htmlwidget
library(vchartr) data("mpg", package = "ggplot2") vchart(table(Class = mpg$class), aes(Class, Freq)) %>% v_bar() %>% v_labs( title = "Title for the chart", subtitle = "A subtitle to be placed under the title" )