I use this code dynamically in an R-Shiny app, so the option ColorByPoint
and setting a color for each bar does NOT work
highchart() %>%
hc_add_series(data = mtcars, type = "bar", hcaes(y = mpg, color = cyl)) %>%
hc_colors(c("red", "green", "blue"))
I build barcharts and need to give each bar a group specific color. Switching from color = cyl
to group = cyl
changes the color, but it looks different to what i need. Can anyone help me with this problem?