getLegend

Retrieves the currently active Legend instance for the given identifier.

Return

The Legend object if found, or null otherwise.

Parameters

id

The unique identifier of the legend.