lt.monarch.chart.marker
Interface LabelLayouter

All Known Implementing Classes:
SimpleLabelLayouter

public interface LabelLayouter

LabelLayouter interface, so that classes would contain layout method.


Method Summary
Modifier and Type Method and Description
 void layout(Chart chart, MarkerConstraints[][] constraints)
          This method layouts labels that are specified in array of marker constraints.
 

Method Detail

layout

void layout(Chart chart,
            MarkerConstraints[][] constraints)
This method layouts labels that are specified in array of marker constraints. It depends from layout type, layout step and chart. Layout type specifies where to place labels from the positions of markers. Layout step determines distance between layout positions. Chart is used to determine if labels are inside or outside chart area.

Parameters:
chart - Chart is used to determine if labels are inside or outside chart area
constraints - array of marker constraints