color_stops: Function to create 'stops' argument in 'hc_colorAxis'

Description Usage Arguments Examples

View source: R/helpers.R

Description

Function to create stops argument in hc_colorAxis

Usage

1
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

1

highcharter documentation built on May 19, 2017, 11:50 p.m.

Search within the highcharter package
Search all R packages, documentation and source code