Class DateTick
java.lang.Object
org.jfree.chart.axis.Tick
org.jfree.chart.axis.ValueTick
org.jfree.chart.axis.DateTick
-
Constructor Summary
ConstructorsConstructorDescriptionDateTick(Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle) Creates a new date tick.DateTick(TickType tickType, Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle) Creates a new date tick. -
Method Summary
Methods inherited from class org.jfree.chart.axis.ValueTick
getTickType, getValueMethods inherited from class org.jfree.chart.axis.Tick
canEqual, clone, getAngle, getRotationAnchor, getText, getTextAnchor, toString
-
Constructor Details
-
DateTick
public DateTick(Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle) Creates a new date tick.- Parameters:
date- the date.label- the label.textAnchor- the part of the label that is aligned to the anchor point.rotationAnchor- defines the rotation point relative to the text.angle- the rotation angle (in radians).
-
DateTick
public DateTick(TickType tickType, Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle) Creates a new date tick.- Parameters:
tickType- the tick type (nullnot permitted).date- the date.label- the label.textAnchor- the part of the label that is aligned to the anchor point.rotationAnchor- defines the rotation point relative to the text.angle- the rotation angle (in radians).
-
-
Method Details
-
getDate
-
equals
-
hashCode
-