Add title.

e_title(e, text = NULL, subtext = NULL, link = NULL, sublink = NULL, ...)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

text, subtext

Title and Subtitle.

link, sublink

Title and Subtitle link.

...

Any other option to pass, check See Also section.

See also

Examples

quakes %>%
  dplyr::mutate(mag = exp(mag) / 60) %>%
  e_charts(stations) %>%
  e_scatter(depth, mag) %>%
  e_visual_map(min = 3, max = 7) %>%
  e_title("Quakes", "Stations and Magnitude")