Learn R Programming

echarts4r (version 0.1.1)

e_title: Title

Description

Add title.

Usage

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

Arguments

e

An echarts4r object as returned by e_charts.

text, subtext

Title and Subtitle.

link, sublink

Title and Subtitle link.

...

Any other option to pass, check See Also section.

See Also

https://ecomfe.github.io/echarts-doc/public/en/option.html#title

Examples

Run this code
# NOT RUN {
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")

# }

Run the code above in your browser using DataLab