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