afreechart/src/main/java/org/afree/chart/plot/RingPlot.java
/**
     * Initialises the plot state (which will store the total of all dataset
     * values, among other things).  This method is called once at the
     * beginning of each drawing.
     *
     * @param canvas  the graphics device.
     * @param plotArea  the plot area (<code>null</code> not permitted).
     * @param plot  the plot.
     * @param index  the secondary index (<code>null</code> for primary
     *               renderer).
     * @param info  collects chart rendering information for return to caller.
     *
     * @return A state object (maintains state information relevant to one
     *         chart drawing).
     */
Initialises the plot state (which will store the total of all dataset
values, among other things).  This method is called once at the
beginning of each drawing.

@param canvas  the graphics device.
@param plotArea  the plot area (null not permitted).
@param plot  the plot.
@param index  the secondary index (null for primary
renderer).
@param info  collects chart rendering information for return to caller.

@return A state object (maintains state information relevant to one
chart drawing).
Initialises the plot state ( which will store the total of all dataset values among other things ) . This method is called once at the beginning of each drawing . @param canvas the graphics device . @param plotArea the plot area ( null not permitted ) . @param plot the plot . @param index the secondary index ( null for primary renderer ) . @param info collects chart rendering information for return to caller . @return A state object ( maintains state information relevant to one chart drawing ) .
public PiePlotState initialise(Canvas canvas, RectShape plotArea,
            PiePlot plot, Integer index, PlotRenderingInfo info) {
        PiePlotState state = super.initialise(canvas, plotArea, plot, index, info);
        state.setPassesRequired(3);
        return state;
    }
public PiePlotState initialise ( Canvas canvas , RectShape plotArea , PiePlot plot , Integer index , PlotRenderingInfo info ) { PiePlotState state = super . initialise ( canvas , plotArea , plot , index , info ) ; state . setPassesRequired ( 3 ) ; return state ; }
Initialises the plot state (which will store the total of all dataset
 values, among other things).
Initialises the plot state ( which will store the total of all dataset values among other things ) .