cranvas (version 0.8.5)

qlegend: Create a legend layer

Description

This function creates a legend layer.

Usage

qlegend(parent = NULL, data = NULL, vertical = TRUE, ...)

Arguments

parent
the parent layer (default to be NULL, which means creating an independent layer with no parents, but it can be added to a parent layer using the approach parent[i, j] <- child_layer)
data
NULL means to use scale
vertical
(default is TRUE)
...
other arguments passed to qlayer

Value

a layer object