Skip to contents

Return a list of color breaks for Higchart maps

Usage

gtl_hc_discrete_color_axis(breaks, palette)

Arguments

breaks

The data with the breaks (factors !)

palette

A color palette that can take a numeric argument

Value

A list of lists to use in colorAxis' dataClasses argument