Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ValueAxis

[17:7] extends: Axis

The ValueAxis class wraps javafx.scene.chart.ValueAxis, the abstract base for numeric axes (NumberAxis). It extends Axis and adds the numeric range bounds, the scale, and the minor tick and tick-label-formatter settings that numeric axes share. This wrapper is not constructed directly. NumberAxis extends it, mirroring the JavaFX inheritance model.

Methods

  • ValueAxis ()

    Base constructor. ValueAxis is abstract and is never instantiated on its own.

  • setLowerBound (double Lower)

    Sets the lower bound of the axis range.

    • @p Lower is a double with the lower bound.
    • @r this object for chaining
  • getLowerBound ()

    Returns the lower bound of the axis range.

    • @r A double with the lower bound.
  • lowerBoundProperty ()

    Returns the DoubleProperty backing the lower bound.

    • @r An AJO wrapping javafx.beans.property.DoubleProperty.
  • setUpperBound (double Upper)

    Sets the upper bound of the axis range.

    • @p Upper is a double with the upper bound.
    • @r this object for chaining
  • getUpperBound ()

    Returns the upper bound of the axis range.

    • @r A double with the upper bound.
  • upperBoundProperty ()

    Returns the DoubleProperty backing the upper bound.

    • @r An AJO wrapping javafx.beans.property.DoubleProperty.
  • setMinorTickCount (int Count)

    Sets the number of minor tick divisions between major ticks.

    • @p Count is an int with the minor tick count.
    • @r this object for chaining
  • getMinorTickCount ()

    Returns the number of minor tick divisions between major ticks.

    • @r An int with the minor tick count.
  • minorTickCountProperty ()

    Returns the IntegerProperty backing the minor tick count.

    • @r An AJO wrapping javafx.beans.property.IntegerProperty.
  • setMinorTickLength (double Length)

    Sets the length, in pixels, of the minor tick marks.

    • @p Length is a double with the minor tick length.
    • @r this object for chaining
  • getMinorTickLength ()

    Returns the length, in pixels, of the minor tick marks.

    • @r A double with the minor tick length.
  • minorTickLengthProperty ()

    Returns the DoubleProperty backing the minor tick length.

    • @r An AJO wrapping javafx.beans.property.DoubleProperty.
  • setMinorTickVisible (bool Visible)

    Sets whether the minor tick marks are visible.

    • @p Visible is a bool; true shows the minor tick marks.
    • @r this object for chaining
  • isMinorTickVisible ()

    Returns whether the minor tick marks are visible.

    • @r A bool that is true when the minor tick marks are shown.
  • minorTickVisibleProperty ()

    Returns the BooleanProperty backing the minor tick visibility.

    • @r An AJO wrapping javafx.beans.property.BooleanProperty.
  • getScale ()

    Returns the scale factor, in pixels per data unit, of the axis.

    • @r A double with the scale.
  • scaleProperty ()

    Returns the ReadOnlyDoubleProperty backing the scale.

    • @r An AJO wrapping ReadOnlyDoubleProperty.
  • setTickLabelFormatter (Formatter)

    Sets the formatter used to convert tick values into label strings.

    • @p Formatter is a javafx.util.StringConverter, passed as a wrapper or a raw AJO.
    • @r this object for chaining
  • getTickLabelFormatter ()

    Returns the tick label formatter.

    • @r An AJO wrapping javafx.util.StringConverter, or null when none is set.
  • tickLabelFormatterProperty ()

    Returns the ObjectProperty backing the tick label formatter.

    • @r An AJO wrapping ObjectProperty.