Legend

new Legend

Represents map legend.
Parameters:
Name Type Description
params Object Configuration parameters.
Properties
Name Type Description
cssClass String Additional CSS class to apply to legend element.
vertical Boolean If true legend will be rendered as vertical.
title String Legend title.
labelRender Function Method to convert series values to legend labels.