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 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 pieSpecifies 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 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 at the top of the bar or pie. -
Left
Specifies that the data label is positioned at the bottom of the bar or pie -
Center
Specifies that the data label is centered on a data point or inside the bar or pie. -
Above
Specifies that the data label is above the point. -
Below
Specifies that the data label is below the point. -
OutsideEnd
Specifies that the data label is positioned at the top of the bar or pie. -
InsideEnd
Specifies that the data label is positioned arbitrarily. -
InsideBase
Specifies that the data label is positioned arbitrarily. -
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
-