Enum Class SeriesType

java.lang.Object
java.lang.Enum<SeriesType>
eu.webtoolkit.jwt.chart.SeriesType
All Implemented Interfaces:
Serializable, Comparable<SeriesType>, Constable

public enum SeriesType extends Enum<SeriesType>
Enumeration that specifies the type of a chart series.

See Also:
  • Enum Constant Details

    • Point

      public static final SeriesType Point
      Series rendered solely as point markers.
    • Line

      public static final SeriesType Line
      Series rendered as points connected by straight lines.
    • Curve

      public static final SeriesType Curve
      Series rendered as points connected by curves.
    • Bar

      public static final SeriesType Bar
      Series rendered as bars.
  • Method Details

    • values

      public static SeriesType[] 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

      public static SeriesType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.