| hc_colors {highcharter} | R Documentation |
An array containing the default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
hc_colors(hc, colors)
hc |
A |
colors |
A vector of colors. |
library("viridisLite")
cols <- viridis(3)
cols <- substr(cols, 0, 7)
highcharts_demo() %>%
hc_colors(cols)