Enum Class DataLabelPosition
- All Implemented Interfaces:
Serializable,Comparable<DataLabelPosition>,Constable
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 ConstantsEnum ConstantDescriptionSpecifies 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 TypeMethodDescriptionstatic DataLabelPositionReturns the enum constant of this class with the specified name.static DataLabelPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Right
Specifies that the data label is positioned to the right of the data point. -
Left
Specifies that the data label is positioned to the left of the data point. -
Center
Specifies that the data label is centered on the data point or is inside a bar or pie chart. -
Above
Specifies that the data label is positioned above the data point. -
Below
Specifies that the data label is positioned below the data point. -
OutsideEnd
Specifies that the data label is positioned outside the data point at the top edge. -
InsideEnd
Specifies that the data label is positioned inside the data point at the top edge. -
InsideBase
Specifies that the data label is positioned inside the data point at the bottom edge. -
BestFit
Specifies the best position for the data label.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-