org.moxieapps.gwt.highcharts.client
Enum Axis.Type

java.lang.Object
  extended by java.lang.Enum<Axis.Type>
      extended by org.moxieapps.gwt.highcharts.client.Axis.Type
All Implemented Interfaces:
Serializable, Comparable<Axis.Type>
Enclosing class:
Axis<T extends Axis>

public static enum Axis.Type
extends Enum<Axis.Type>

An enumeration of supported axis types, which can be passed to methods such as Axis.setType(Axis.Type).


Enum Constant Summary
CATEGORY
          Display the point names as categories for the axis
DATE_TIME
          In a datetime axis, the numbers are given in milliseconds, and tick marks are placed on appropriate values like full hours or days.
LINEAR
          Default axis type showing the values in a linear structure.
LOGARITHMIC
          Scale the axis tick values logarithmically instead of linearly.
 
Method Summary
 String toString()
           
static Axis.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Axis.Type[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CATEGORY

public static final Axis.Type CATEGORY
Display the point names as categories for the axis


LINEAR

public static final Axis.Type LINEAR
Default axis type showing the values in a linear structure.


LOGARITHMIC

public static final Axis.Type LOGARITHMIC
Scale the axis tick values logarithmically instead of linearly.

Since:
1.2.0

DATE_TIME

public static final Axis.Type DATE_TIME
In a datetime axis, the numbers are given in milliseconds, and tick marks are placed on appropriate values like full hours or days.

Method Detail

values

public static Axis.Type[] 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 (Axis.Type c : Axis.Type.values())
    System.out.println(c);

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

valueOf

public static Axis.Type 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

toString

public String toString()
Overrides:
toString in class Enum<Axis.Type>


Copyright © 2015. All Rights Reserved.