Enum ChartType

java.lang.Object
java.lang.Enum<ChartType>
com.orchestranetworks.addon.dpra.ChartType
All Implemented Interfaces:
com.orchestranetworks.addon.dpra.ReferenceBean, Serializable, Comparable<ChartType>, Constable

public enum ChartType extends Enum<ChartType> implements com.orchestranetworks.addon.dpra.ReferenceBean
Types of charts available to apply to indicators.
Since:
4.2.0
  • Enum Constant Details

    • BAR

      public static final ChartType BAR
      Bar
    • CARD

      public static final ChartType CARD
      Card
    • COLUMN

      public static final ChartType COLUMN
      Column
    • DONUT

      public static final ChartType DONUT
      Donut
    • LINE

      public static final ChartType LINE
      Line
    • STACKED_COLUMN

      public static final ChartType STACKED_COLUMN
      Stacked Column
    • MULTI_ROW_CARD

      public static final ChartType MULTI_ROW_CARD
      Multi row card
      Since:
      4.3.0
  • Method Details

    • values

      public static ChartType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ChartType 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
    • getCode

      public String getCode()
      Returns the unique code.
      Specified by:
      getCode in interface com.orchestranetworks.addon.dpra.ReferenceBean
    • getLabel

      public com.onwbp.base.text.UserMessage getLabel()
      Returns the chart's label.
      Specified by:
      getLabel in interface com.orchestranetworks.addon.dpra.ReferenceBean