lt.monarch.chart.chart2D.series
Class PieLabelsOutsideLayouter
java.lang.Object
lt.monarch.chart.chart2D.series.AbstractPieLabelsLayouter
lt.monarch.chart.chart2D.series.PieLabelsOutsideLayouter
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PieLabelsOutsideWithElbowLayouter, PieLabelsOutsideWithLineLayouter
public class PieLabelsOutsideLayouter
extends AbstractPieLabelsLayouter
Pie labels layouter, when labels is outside the pie and don't have pointers to the segment.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PieLabelsOutsideLayouter
public PieLabelsOutsideLayouter()
layout
public void layout(java.util.List<PieSliceLabelEntry> labelList,
Projector projector)
- Specified by:
layout in class AbstractPieLabelsLayouter
- Parameters:
labelList - list of labelsprojector - projector of charts
layoutCircular
protected void layoutCircular(Projector projector)
- Layout label, when alignment is CIRCULAR
- Parameters:
projector - projector of chart
layoutLeftRight
protected void layoutLeftRight(Projector projector)
- Layout label, when alignment is LEFT_RIGHT
- Parameters:
projector - projector of chart
corectLabel
protected void corectLabel()
- Correct labels, when overlap