java.lang.Object | |
↳ | org.jfree.chart.axis.CategoryLabelPosition |
The attributes that control the position of the labels for the categories on
a CategoryAxis
. Instances of this class are immutable and other
JFreeChart classes rely upon this.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new position record with default settings.
| |||||||||||
Creates a new category label position record.
| |||||||||||
Creates a new category label position record.
| |||||||||||
Creates a new position record.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests this instance for equality with an arbitrary object.
| |||||||||||
Returns the angle of rotation for the label.
| |||||||||||
Returns the item label anchor.
| |||||||||||
Returns the text block anchor.
| |||||||||||
Returns the rotation anchor point.
| |||||||||||
Returns the ratio used to calculate the maximum category label width.
| |||||||||||
Returns the width calculation type.
| |||||||||||
Returns a hash code for this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new position record with default settings.
Creates a new category label position record.
categoryAnchor | the category anchor (null not
permitted). |
---|---|
labelAnchor | the label anchor (null not permitted).
|
Creates a new category label position record.
categoryAnchor | the category anchor (null not
permitted). |
---|---|
labelAnchor | the label anchor (null not permitted). |
widthType | the width type (null not permitted). |
widthRatio | the maximum label width as a percentage (of the category space or the range space). |
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.
categoryAnchor | the category anchor (null not
permitted). |
---|---|
labelAnchor | the label anchor (null not permitted). |
rotationAnchor | the rotation anchor (null not
permitted). |
angle | the rotation angle (null not permitted). |
widthType | the width type (null not permitted). |
widthRatio | the maximum label width as a percentage (of the category space or the range space). |
Tests this instance 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 text block anchor.
null
).
Returns the rotation anchor point.
null
).
Returns the ratio used to calculate the maximum category label width.
Returns the width calculation type.
null
).
Returns a hash code for this object.