build_discrete_legend: Build discrete legend
Description
Creates a discrete legend specification for categorical data.
Usage
build_discrete_legend(data, fill_col, label_col)
Value
List with discrete legend specification or NULL if too many
categories
Arguments
- data
Atlas data
- fill_col
Name of the fill column
- label_col
Name of the label column