highcharter (version 0.7.0)

color_stops: Function to create stops argument in hc_colorAxis

Description

Function to create stops argument in hc_colorAxis

Usage

color_stops(n = 10, colors = c("#440154", "#21908C", "#FDE725"))

Arguments

n

A numeric indicating how much quantiles generate.

colors

A character string of colors (ordered)

Examples

Run this code
# NOT RUN {
color_stops(5)

# }

Run the code above in your browser using DataCamp Workspace