Open this page in the API Guide
Legend.removeCustomItems Method
Removes each item in the passed array from the list of custom
legend items.
Parameters
- items
-
Type: Array
ElementType: LegendItem
The list of legend items to remove from the custom items.