Is it possible to change e_line opacity in echarts4r?

Advertisements I would like to change the opacity of the line in my plot made with echarts4r. This is what I tried to do library(quantmod) library(echarts4r) getSymbols("GS") #Goldman Sachs GS <- as.data.frame(GS) GS$date <- row.names(GS) GS$level <- 200 GS |> e_charts(date) |> e_candle(GS.Open, GS.Close, GS.Low, GS.High, name = "Goldman Sachs") |> e_datazoom(type = "slider") |>… Read More Is it possible to change e_line opacity in echarts4r?

How I can change the orient of labels on echarts4r?

Advertisements Hi and thanks for reading this. I am trying to make a bar plot with value labels on echarts4r, but I can’t change the orientation of the labels so that the values do not overlap. I tried orient = "vertical" but it doesn’t work. My code is as follows: library(echarts4r) library(dplyr) mtcars |> tibble::rownames_to_column("model")… Read More How I can change the orient of labels on echarts4r?

How to set fixed colors for each value in echarts4r?

Advertisements I want to plot a pie chart and give each value a fixed color. Give the e_color() function a named list does unfourtunately not work. Any suggestions? library(tibble) library(echarts4r) tibble(class=c("A", "B"), n=c(34,12)) %>% e_charts(name) %>% e_pie(n) %>% e_color(color = c("A" = "red", "B" = "yellow")) Note: I use the pie chart in a shiny… Read More How to set fixed colors for each value in echarts4r?