I'm making a simple chart in Dygraphs R, and the title is too long to fit on one line. For example:
library(tibble)
library(dygraphs)
dat <- tibble(x = 1:10, y = 11:20)
dygraph(dat,
main = "THIS TITLE HAS ONE LINE <br> THIS TITLE HAS TWO LINES <br> THIRD LINE")
The second and third lines are all up in the graph's business and the legend obscures the title. How do I shorten the chart area to make room for the main title and the legend?