color_classes: Function to create 'dataClasses' argument in 'hc_colorAxis'

Description Usage Arguments Examples

View source: R/helpers.R

Description

Function to create dataClasses argument in hc_colorAxis

Usage

1
color_classes(breaks = NULL, colors = c("#440154", "#21908C", "#FDE725"))

Arguments

breaks

A numeric vector

colors

A character string of colors (ordered)

Examples

1
color_classes(c(0, 10, 20, 50))

highcharter documentation built on May 30, 2017, 1:47 a.m.