Example: remove method

This example removes the first chart object in the active sheet.

    chartObjects = sheet.getChartObjects();
    chartObject = chartObjects.item(1);
    chartObject.remove();

Related information

remove method