org.jfree.chart.axis

Class NumberTick

public class NumberTick extends ValueTick

A numerical tick.
Constructor Summary
NumberTick(Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick.
Method Summary
NumbergetNumber()
Returns the number.

Constructor Detail

NumberTick

public NumberTick(Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick.

Parameters: number the number. label the label. textAnchor the part of the label that is aligned with the anchor point. rotationAnchor defines the rotation point relative to the text. angle the rotation angle (in radians).

Method Detail

getNumber

public Number getNumber()
Returns the number.

Returns: The number.