RemoveShape(shapeName) can be used to delete a shape from a dashboard using COM or JavaScript. Pass the name of the shape to be deleted as the shapeName parameter.
Caution!
The RemoveShape operation cannot be undone.