Manual legend class
Manual legend class
Details
Definition for the ManualLegend
class.
Public fields
values
values
vector.
colors
character
vector.
labels
character
vector.
Methods
Create a ManualLegend
object.
Arguments
values
numeric
vector of values.
colors
character
vector of colors.
labels
character
vector of labels.
Returns
A new ManualLegend
object.
Method get_resample_method()
Get resample method.
Usage
ManualLegend$get_resample_method()
Returns
character
object.
Method get_color_map()
Get a function for mapping values to colors.
Usage
ManualLegend$get_color_map()
Returns
A function
object.
Get data for creating a widget.
Usage
ManualLegend$get_widget_data()
Method export()
Export settings
Method clone()
The objects of this class are cloneable with this method.
Usage
ManualLegend$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.