Class NumberTick

All Implemented Interfaces:
Serializable, Cloneable

public class NumberTick
extends ValueTick
A numerical tick.
See Also:
Serialized Form
  • Constructor Details

    • NumberTick

      public NumberTick​(Number number, String label, org.jfree.ui.TextAnchor textAnchor, org.jfree.ui.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 Details

    • getNumber

      public Number getNumber()
      Returns the number.
      Returns:
      the number.