[]
        
(Showing Draft Content)

DataLabelPosition

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 positioned above the data point.
    Specifies that the data label is positioned below the data point.
    Specifies the best position for the data label.
    Specifies that the data label is centered on the data point or is inside a bar or pie chart.
    Specifies that the data label is positioned inside the data point at the bottom edge.
    Specifies that the data label is positioned inside the data point at the top edge.
    Specifies that the data label is positioned to the left of the data point.
    Specifies that the data label is positioned outside the data point at the top edge.
    Specifies that the data label is positioned to the right of the data point.
  • 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 to the left of the data point.
    • Center

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

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

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

      public static final DataLabelPosition OutsideEnd
      Specifies that the data label is positioned outside the data point at the top edge.
    • InsideEnd

      public static final DataLabelPosition InsideEnd
      Specifies that the data label is positioned inside the data point at the top edge.
    • InsideBase

      public static final DataLabelPosition InsideBase
      Specifies that the data label is positioned inside the data point at the bottom edge.
    • 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