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)
color_classes(c(0, 10, 20, 50))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.