Enum Class FillRangeType

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

public enum FillRangeType extends Enum<FillRangeType>
Enumeration that specifies how an area should be filled.

Data series of type SeriesType.Line or CurveSerie may be filled under or above the line or curve. This enumeration specifies the other limit of this fill. Data series of type SeriesType.Bar can use this setting to configure the bottom of the chart.

See Also:
  • Enum Constant Details

    • None

      public static final FillRangeType None
      Do not fill under the curve.
    • MinimumValue

      public static final FillRangeType MinimumValue
      Fill from the curve to the chart bottom (min)
    • MaximumValue

      public static final FillRangeType MaximumValue
      Fill from the curve to the chart top.
    • ZeroValue

      public static final FillRangeType ZeroValue
      Fill from the curve to the zero Y value.
  • Method Details

    • values

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