Enum Class AxisTransforms
- All Implemented Interfaces:
AxisTransform
,com.jfreechartextensions.axistransformations.BasicAxisTransform
,Serializable
,Comparable<AxisTransforms>
,java.lang.constant.Constable
Common
AxisTransform
s.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AxisTransform
axisTransform
(String name) Returns an axis transform.static String[]
Returns the names of available axis transforms.double
inverseTransform
(double axisValue) boolean
isVisible
(double dataValue) double
transform
(double dataValue) static AxisTransforms
Returns the enum constant of this class with the specified name.static AxisTransforms[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOG
Natural logarithm. Non-positive data values are not displayed. -
SQRT
Square root. Negative data values are not displayed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
transform
public double transform(double dataValue) - Specified by:
transform
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
inverseTransform
public double inverseTransform(double axisValue) - Specified by:
inverseTransform
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
isVisible
public boolean isVisible(double dataValue) - Specified by:
isVisible
in interfacecom.jfreechartextensions.axistransformations.BasicAxisTransform
-
axisTransform
Returns an axis transform.- Parameters:
name
- case insensitive transform name.- Returns:
- requested axis transform.
- Throws:
IllegalArgumentException
-name
must not be null.
-
axisTransformNames
Returns the names of available axis transforms.- Returns:
- an array of the available axis transform names.
-