Categorical legend class
Categorical legend class
Definition for the CategoricalLegend
class.
values
numeric
vector.
colors
character
vector.
new()
Create a CategoricalLegend
object.
CategoricalLegend$new(values, colors)
values
numeric
value.
colors
character
vector of colors.
A new CategoricalLegend
object.
new()
Create a CategoricalLegend
object.
CategoricalLegend$new(values, colors)
values
numeric
value.
colors
character
vector of colors.
A new CategoricalLegend
object.
get_widget_data()
Get data for creating a widget.
CategoricalLegend$get_widget_data()
A new CategoricalLegend
object.
get_widget_data()
Get data for creating a widget.
CategoricalLegend$get_widget_data()
A new CategoricalLegend
object.
get_resample_method()
Get resample method.
CategoricalLegend$get_resample_method()
character
object.
get_resample_method()
Get resample method.
CategoricalLegend$get_resample_method()
character
object.
get_color_map()
Get a function for mapping values to colors.
CategoricalLegend$get_color_map()
A function
object.
get_color_map()
Get a function for mapping values to colors.
CategoricalLegend$get_color_map()
A function
object.
export()
Export settings
CategoricalLegend$export()
list
object.
export()
Export settings
CategoricalLegend$export()
list
object.
clone()
The objects of this class are cloneable with this method.
CategoricalLegend$clone(deep = FALSE)
deep
Whether to make a deep clone.
clone()
The objects of this class are cloneable with this method.
CategoricalLegend$clone(deep = FALSE)
deep
Whether to make a deep clone.