Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

e_labels

Format labels


Description

Format labels

Usage

e_labels(e, show = TRUE, position = "top", ...)

Arguments

e

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

show

Set to TRUE to show the labels.

position

Position of labels, see official documentation for the full list of options.

...

Any other options see documentation for other options.

Examples

mtcars %>%
  e_chart(wt) %>%
  e_scatter(qsec, cyl) %>%
  e_labels(fontSize = 9)

mtcars %>%
  group_by(cyl) %>%
  e_chart(wt) %>%
  e_scatter(qsec, mpg) %>%
  e_labels(fontSize = 9)

# timeline
mtcars %>%
  group_by(cyl) %>%
  e_chart(wt) %>%
  e_scatter(qsec, mpg) %>%
  e_labels(fontSize = 9)

echarts4r

Create Interactive Graphs with 'Echarts JavaScript' Version 5

v0.4.0
Apache License (>= 2.0)
Authors
John Coene [aut, cre, cph], Wei Su [ctb], Helgasoft [ctb], Xianying Tan [ctb] (<https://orcid.org/0000-0002-6072-3521>)
Initial release
2021-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.