org.jfree.chart.axis
Class ValueTick
- Cloneable, Serializable
A value tick.
ValueTick(double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)- Creates a new value tick.
|
ValueTick(TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)- Creates a new value tick.
|
boolean | equals(Object obj)- Tests this tick for equality with an arbitrary object.
|
TickType | getTickType()- Returns the tick type (major or minor).
|
double | getValue()- Returns the value.
|
ValueTick
public ValueTick(double value,
String label,
TextAnchor textAnchor,
TextAnchor rotationAnchor,
double angle) Creates a new value tick.
value - the value.label - the label.textAnchor - the part of the label that is aligned to the anchor
point.rotationAnchor - defines the rotation point relative to the label.angle - the rotation angle (in radians).
ValueTick
public ValueTick(TickType tickType,
double value,
String label,
TextAnchor textAnchor,
TextAnchor rotationAnchor,
double angle) Creates a new value tick.
tickType - the tick type (major or minor).value - the value.label - the label.textAnchor - the part of the label that is aligned to the anchor
point.rotationAnchor - defines the rotation point relative to the label.angle - the rotation angle (in radians).
equals
public boolean equals(Object obj)
Tests this tick for equality with an arbitrary object.
- equals in interface Tick
obj - the object to test (null permitted).
getValue
public double getValue()
Returns the value.