java.lang.Object | |
↳ | org.jfree.chart.labels.ItemLabelPosition |
The attributes that control the position of the label for each data item on a chart. Instances of this class are immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new position record with default settings.
| |||||||||||
Creates a new position record (with zero rotation).
| |||||||||||
Creates a new position record.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests this object for equality with an arbitrary object.
| |||||||||||
Returns the angle of rotation for the label.
| |||||||||||
Returns the item label anchor.
| |||||||||||
Returns the rotation anchor point.
| |||||||||||
Returns the text anchor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new position record with default settings.
Creates a new position record (with zero rotation).
itemLabelAnchor | the item label anchor (null not
permitted). |
---|---|
textAnchor | the text anchor (null not permitted).
|
Creates a new position record. The item label anchor is a point relative to the data item (dot, bar or other visual item) on a chart. The item label is aligned by aligning the text anchor with the item label anchor.
itemLabelAnchor | the item label anchor (null not
permitted). |
---|---|
textAnchor | the text anchor (null not permitted). |
rotationAnchor | the rotation anchor (null not
permitted). |
angle | the rotation angle (in radians). |
Tests this object for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the angle of rotation for the label.
Returns the item label anchor.
null
).
Returns the rotation anchor point.
null
).
Returns the text anchor.
null
).