Enum Class DataLabelPosition

java.lang.Object
java.lang.Enum<DataLabelPosition>
com.grapecity.documents.excel.drawing.DataLabelPosition
All Implemented Interfaces:
Serializable, Comparable<DataLabelPosition>, Constable

public enum DataLabelPosition extends Enum<DataLabelPosition>
Specifies where the data label is positioned.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Specifies that the data label is above the point.
    Specifies that the data label is below the point.
    Specifies the best position for the data label.
    Specifies that the data label is centered on a data point or inside the bar or pie.
    Specifies that the data label is positioned arbitrarily.
    Specifies that the data label is positioned arbitrarily.
    Specifies that the data label is positioned at the bottom of the bar or pie
    Specifies that the data label is positioned at the top of the bar or pie.
    Specifies that the data label is positioned at the top of the bar or pie.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Left

      public static final DataLabelPosition Left
      Specifies that the data label is positioned at the bottom of the bar or pie
    • Center

      public static final DataLabelPosition Center
      Specifies that the data label is centered on a data point or inside the bar or pie.
    • Above

      public static final DataLabelPosition Above
      Specifies that the data label is above the point.
    • Below

      public static final DataLabelPosition Below
      Specifies that the data label is below the point.
    • OutsideEnd

      public static final DataLabelPosition OutsideEnd
      Specifies that the data label is positioned at the top of the bar or pie.
    • InsideEnd

      public static final DataLabelPosition InsideEnd
      Specifies that the data label is positioned arbitrarily.
    • InsideBase

      public static final DataLabelPosition InsideBase
      Specifies that the data label is positioned arbitrarily.
    • BestFit

      public static final DataLabelPosition BestFit
      Specifies the best position for the data label.
  • Method Details

    • values

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