Ask Your Question
2

How can I remove the e_line labels in echarts4r?

asked 2023-06-10 23:08:38 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-10 23:09:02 +0000

plato gravatar image

You can remove the e_line labels in echarts4r by setting the show property to FALSE in the label argument of the e_line function. Here is an example:

library(echarts4r)

# example data
df <- data.frame(x = 1:5, y = c(2, 4, 5, 3, 6))

# plot with e_line and no labels
df %>%
  e_charts(x) %>%
  e_line(y, label = list(show = FALSE))

In this example, the show property in the label argument is set to FALSE, which hides the labels for the e_line.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-10 23:08:38 +0000

Seen: 17 times

Last updated: Jun 10 '23