LiveGraph
data visualisation and analysis framework

org.LiveGraph.settings
Enum GraphSettings.XAxisType

java.lang.Object
  extended by java.lang.Enum<GraphSettings.XAxisType>
      extended by org.LiveGraph.settings.GraphSettings.XAxisType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GraphSettings.XAxisType>
Enclosing class:
GraphSettings

public static enum GraphSettings.XAxisType
extends java.lang.Enum<GraphSettings.XAxisType>

Possible types for the x-axis.


Enum Constant Summary
XAxis_DataValLogToSetBase
          Plot against the logarithm of a specified data series to a specified base (use the values of logarithms of a specified data series taken to a specified base as x-axis values).
XAxis_DataValScaleBySetVal
          Plot against a specified data series scaled by a specified constant (use the values of a specified data series multiplied by a specified value as x-axis values).
XAxis_DataValSecsToSetPower
          Plot against time (assume that the values of a specified data series represent seconds taken to a specified power of 10 (e.g.
XAxis_DataValSimple
          Plot against a specified data series (use the values of a specified data series as x-axis values).
XAxis_DataValTrans0to1
          Plot against a specified data series transformed into the unit interval (use the values of a specified data series linearly transformed into the interval [0..1] as x-axis values).
XAxis_DSNum
          Use dataset numbers as x-axis units.
 
Method Summary
static GraphSettings.XAxisType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GraphSettings.XAxisType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

XAxis_DSNum

public static final GraphSettings.XAxisType XAxis_DSNum
Use dataset numbers as x-axis units.


XAxis_DataValSimple

public static final GraphSettings.XAxisType XAxis_DataValSimple
Plot against a specified data series (use the values of a specified data series as x-axis values).


XAxis_DataValTrans0to1

public static final GraphSettings.XAxisType XAxis_DataValTrans0to1
Plot against a specified data series transformed into the unit interval (use the values of a specified data series linearly transformed into the interval [0..1] as x-axis values).


XAxis_DataValScaleBySetVal

public static final GraphSettings.XAxisType XAxis_DataValScaleBySetVal
Plot against a specified data series scaled by a specified constant (use the values of a specified data series multiplied by a specified value as x-axis values).


XAxis_DataValLogToSetBase

public static final GraphSettings.XAxisType XAxis_DataValLogToSetBase
Plot against the logarithm of a specified data series to a specified base (use the values of logarithms of a specified data series taken to a specified base as x-axis values).


XAxis_DataValSecsToSetPower

public static final GraphSettings.XAxisType XAxis_DataValSecsToSetPower
Plot against time (assume that the values of a specified data series represent seconds taken to a specified power of 10 (e.g. if -3 is specified, the values represent milliseconds); plot against that axis while appropriately formatting the time (e.g. hhh:mm:ss.xxx).

Method Detail

values

public static GraphSettings.XAxisType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GraphSettings.XAxisType c : GraphSettings.XAxisType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GraphSettings.XAxisType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

LiveGraph
data visualisation and analysis framework