Interface AxisLabelFormatter

    • Method Detail

      • toString

        java.lang.String toString​(java.lang.Number val)
        Converts the object provided into its string form. Format of the returned string is defined by the specific converter.
        Parameters:
        val - the number to be converted
        Returns:
        a string representation of the object passed in.
      • fromString

        java.lang.Number fromString​(java.lang.String string)
        Converts the string provided into an object defined by the specific converter. Format of the string and type of the resulting object is defined by the specific converter.
        Parameters:
        string - the string to be converted back into a number
        Returns:
        an object representation of the string passed in.
      • setTickUnitSupplier

        void setTickUnitSupplier​(TickUnitSupplier supplier)
        Sets the value of the tickUnitSupplierProperty().
        Parameters:
        supplier - the tick unit supplier. If null, the default one will be used
      • tickUnitSupplierProperty

        javafx.beans.property.ObjectProperty<TickUnitSupplier> tickUnitSupplierProperty()
        Strategy to compute major tick unit when auto-range is on or when axis bounds change. By default initialised to DefaultTickUnitSupplier.

        See TickUnitSupplier for more information about the expected behaviour of the strategy.

        Returns:
        tickUnitSupplier property
      • updateFormatter

        void updateFormatter​(java.util.List<java.lang.Double> newMajorTickMarks,
                             double unitScaling)
        Called just before new TickMarks are computed
        Parameters:
        newMajorTickMarks - for which the labels should be computed
        unitScaling - scaling applied to the raw data set units