trunk/adhoc-internal/src/main/java/org/jfree/chart/plot/dial/DialPlot.java
/**
     * Removes the layer at the specified index and sends a
     * {@link PlotChangeEvent} to all registered listeners.
     *
     * @param index  the index.
     */
Removes the layer at the specified index and sends a
PlotChangeEvent to all registered listeners.

@param index  the index.
Removes the layer at the specified index and sends a PlotChangeEvent to all registered listeners . @param index the index .
public void removeLayer(int index) {
        DialLayer layer = (DialLayer) this.layers.get(index);
        if (layer != null) {
            layer.removeChangeListener(this);
        }
        this.layers.remove(index);
        fireChangeEvent();
    }
public void removeLayer ( int index ) { DialLayer layer = ( DialLayer ) this . layers . get ( index ) ; if ( layer != null ) { layer . removeChangeListener ( this ) ; } this . layers . remove ( index ) ; fireChangeEvent ( ) ; }
Removes the layer at the specified index and sends a
 {@link PlotChangeEvent} to all registered listeners.
Removes the layer at the specified index and sends a { @link PlotChangeEvent } to all registered listeners .