Enum AxisTransforms

java.lang.Object
java.lang.Enum<AxisTransforms>
com.illumon.iris.db.plot.axistransformations.AxisTransforms
All Implemented Interfaces:
AxisTransform, com.jfreechartextensions.axistransformations.BasicAxisTransform, Serializable, Comparable<AxisTransforms>, java.lang.constant.Constable

public enum AxisTransforms
extends Enum<AxisTransforms>
implements AxisTransform, Serializable
Common AxisTransforms.
  • Enum Constant Details

    • LOG

      public static final AxisTransforms LOG
      Natural logarithm. Non-positive data values are not displayed.
    • SQRT

      public static final AxisTransforms SQRT
      Square root. Negative data values are not displayed.
  • Method Details

    • values

      public static AxisTransforms[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AxisTransforms valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • transform

      public double transform​(double dataValue)
      Specified by:
      transform in interface com.jfreechartextensions.axistransformations.BasicAxisTransform
    • inverseTransform

      public double inverseTransform​(double axisValue)
      Specified by:
      inverseTransform in interface com.jfreechartextensions.axistransformations.BasicAxisTransform
    • isVisible

      public boolean isVisible​(double dataValue)
      Specified by:
      isVisible in interface com.jfreechartextensions.axistransformations.BasicAxisTransform
    • axisTransform

      public static AxisTransform axisTransform​(String name)
      Returns an axis transform.
      Parameters:
      name - case insensitive transform name.
      Returns:
      requested axis transform.
      Throws:
      IllegalArgumentException - name must not be null.
    • axisTransformNames

      public static String[] axisTransformNames()
      Returns the names of available axis transforms.
      Returns:
      an array of the available axis transform names.