main/plugins/org.talend.libraries.jfreechart.jars/lib_src/jfreechart-1.0.12/source/org/jfree/chart/plot/PieLabelDistributor.java
/**
     * Any labels that are overlapping are moved down in an attempt to
     * eliminate the overlaps.
     *
     * @param minY  the minimum y value (in Java2D coordinate space).
     * @param height  the height available for all labels.
     */
Any labels that are overlapping are moved down in an attempt to
eliminate the overlaps.

@param minY  the minimum y value (in Java2D coordinate space).
@param height  the height available for all labels.
Any labels that are overlapping are moved down in an attempt to eliminate the overlaps . @param minY the minimum y value ( in Java2D coordinate space ) . @param height the height available for all labels .
protected void adjustDownwards(double minY, double height) {
        for (int i = 0; i < this.labels.size() - 1; i++) {
            PieLabelRecord record0 = getPieLabelRecord(i);
            PieLabelRecord record1 = getPieLabelRecord(i + 1);
            if (record1.getLowerY() < record0.getUpperY()) {
                record1.setAllocatedY(Math.min(minY + height
                        - record1.getLabelHeight() / 2.0,
                        record0.getUpperY() + this.minGap
                        + record1.getLabelHeight() / 2.0));
            }
        }
    }
protected void adjustDownwards ( double minY , double height ) { for ( int i = 0 ; i < this . labels . size ( ) - 1 ; i ++ ) { PieLabelRecord record0 = getPieLabelRecord ( i ) ; PieLabelRecord record1 = getPieLabelRecord ( i + 1 ) ; if ( record1 . getLowerY ( ) < record0 . getUpperY ( ) ) { record1 . setAllocatedY ( Math . min ( minY + height - record1 . getLabelHeight ( ) / 2.0 , record0 . getUpperY ( ) + this . minGap + record1 . getLabelHeight ( ) / 2.0 ) ) ; } } }
Any labels that are overlapping are moved down in an attempt to
 eliminate the overlaps.
Any labels that are overlapping are moved down in an attempt to eliminate the overlaps .