afreechart/src/main/java/org/afree/chart/plot/PieLabelDistributor.java
/**
     * Distributes the labels.
     *
     * @param minY  the minimum y-coordinate in Java2D-space.
     * @param height  the available height (in Canvas units).
     */
Distributes the labels.
@param minY  the minimum y-coordinate in Java2D-space.
@param height  the available height (in Canvas units).
Distributes the labels . @param minY the minimum y - coordinate in Java2D - space . @param height the available height ( in Canvas units ) .
public void distributeLabels(double minY, double height) {
        sort();  
        if (isOverlap()) {
            adjustDownwards(minY, height);
        }
        if (isOverlap()) {
            adjustUpwards(minY, height);
        }
        if (isOverlap()) {
            spreadEvenly(minY, height);
        }
    }
public void distributeLabels ( double minY , double height ) { sort ( ) ; if ( isOverlap ( ) ) { adjustDownwards ( minY , height ) ; } if ( isOverlap ( ) ) { adjustUpwards ( minY , height ) ; } if ( isOverlap ( ) ) { spreadEvenly ( minY , height ) ; } }
Distributes the labels.
Distributes the labels .
// sorts the label records into ascending order by baseY //        if (isOverlap()) { //            adjustInwards(); //        } // if still overlapping, do something else...