Legend.removeItemById Method

Removes legend items with a specific ID from the legend.
 

Parameters

id

Type: Object
The ID of the legend item to remove.