powered by
dataClasses
hc_colorAxis
Function to create dataClasses argument in hc_colorAxis
color_classes(breaks = NULL, colors = c("#440154", "#21908C", "#FDE725"))
A numeric vector
A character string of colors (ordered)
# NOT RUN { color_classes(c(0, 10, 20, 50)) # }
Run the code above in your browser using DataLab