Enum Class DataLabelPosition
- All Implemented Interfaces:
Serializable,Comparable<DataLabelPosition>,Constable
指定数据标签的放置位置。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription指定数据标签放置在数据点的上方。指定数据标签放置在数据点的下方。指定数据标签的最佳位置。指定数据标签以数据点为中心点或者位于条形图或饼图内部。指定数据标签放置在数据点下边缘内侧。指定数据标签放置在数据点上边缘内侧。指定数据标签放置在数据点左侧。指定数据标签放置在数据点上边缘外侧。指定数据标签放置在数据点右侧。 -
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
指定数据标签放置在数据点右侧。 -
Left
指定数据标签放置在数据点左侧。 -
Center
指定数据标签以数据点为中心点或者位于条形图或饼图内部。 -
Above
指定数据标签放置在数据点的上方。 -
Below
指定数据标签放置在数据点的下方。 -
OutsideEnd
指定数据标签放置在数据点上边缘外侧。 -
InsideEnd
指定数据标签放置在数据点上边缘内侧。 -
InsideBase
指定数据标签放置在数据点下边缘内侧。 -
BestFit
指定数据标签的最佳位置。
-
-
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
-