trunk/adhoc-internal/src/main/java/org/jfree/chart/plot/dial/DialPlot.java
/**
     * Adds a dial scale to the plot and sends a {@link PlotChangeEvent} to
     * all registered listeners.
     *
     * @param index  the scale index.
     * @param scale  the scale (<code>null</code> not permitted).
     */
Adds a dial scale to the plot and sends a  PlotChangeEvent to
all registered listeners.

@param index  the scale index.
@param scale  the scale (null not permitted).
Adds a dial scale to the plot and sends a PlotChangeEvent to all registered listeners . @param index the scale index . @param scale the scale ( null not permitted ) .
public void addScale(int index, DialScale scale) {
        if (scale == null) {
            throw new IllegalArgumentException("Null 'scale' argument.");
        }
        DialScale existing = (DialScale) this.scales.get(index);
        if (existing != null) {
            removeLayer(existing);
        }
        this.layers.add(scale);
        this.scales.set(index, scale);
        scale.addChangeListener(this);
        fireChangeEvent();
    }
public void addScale ( int index , DialScale scale ) { if ( scale == null ) { throw new IllegalArgumentException ( "Null 'scale' argument." ) ; } DialScale existing = ( DialScale ) this . scales . get ( index ) ; if ( existing != null ) { removeLayer ( existing ) ; } this . layers . add ( scale ) ; this . scales . set ( index , scale ) ; scale . addChangeListener ( this ) ; fireChangeEvent ( ) ; }
Adds a dial scale to the plot and sends a {@link PlotChangeEvent} to
 all registered listeners.
Adds a dial scale to the plot and sends a { @link PlotChangeEvent } to all registered listeners .