public void endElement(String elementName) throws Exception {
        if (elementName.equals("noGrid")) {
            _plot.setGrid(false);
        } else if (elementName.equals("noColor")) {
            _plot.setColor(false);
        } else if (elementName.equals("title")) {
            _plot.setTitle(_currentCharData.toString());
        } else if (elementName.equals("wrap")) {
            _plot.setWrap(true);
        } else if (elementName.equals("xLabel")) {
            _plot.setXLabel(_currentCharData.toString());
        } else if (elementName.equals("xLog")) {
            _plot.setXLog(true);

            // xRange and yRange are dealt with in startElement().
        } else if (elementName.equals("yLabel")) {
            _plot.setYLabel(_currentCharData.toString());
        } else if (elementName.equals("yLog")) {
            _plot.setYLog(true);
        }
    }