Documentation of 'org.jfree.chart.plot.PieLabelDistributor' Java class
PieLabelDistributor
org.jfree.chart.plot

Class PieLabelDistributor

  • All Implemented Interfaces:
    java.io.Serializable


    public class PieLabelDistributor
    extends AbstractPieLabelDistributor
    This class distributes the section labels for one side of a pie chart so that they do not overlap.
    See Also:
    Serialized Form
    • Constructor Detail

      • PieLabelDistributor

        public PieLabelDistributor(int labelCount)
        Creates a new distributor.
        Parameters:
        labelCount - the number of labels (ignored).
    • Method Detail

      • distributeLabels

        public void distributeLabels(double minY,
                                     double height)
        Distributes the labels.
        Specified by:
        distributeLabels in class AbstractPieLabelDistributor
        Parameters:
        minY - the minimum y-coordinate in Java2D-space.
        height - the available height (in Java2D units).
      • sort

        public void sort()
        Sorts the label records into ascending order by y-value.
      • toString

        public java.lang.String toString()
        Returns a string containing a description of the object for debugging purposes.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.