public enum LegendPosition extends java.lang.Enum<LegendPosition>
Chart object.| Enum Constant and Description |
|---|
Bottom
Indicates that the legend should be placed below the plot area, centered horizontally.
|
Float
Indicates that the legend should be placed on top of the plot.
|
Left
Indicates that the legend should be placed to the left of the plot area, centered vertically.
|
LeftDown
Indicates that the legend should be placed to the left of the plot area, in the bottom corner.
|
LeftMiddle
Indicates that the legend should be placed to the left of the plot area, centered vertically.
|
LeftUp
Indicates that the legend should be placed to the left of the plot area, in the top corner.
|
RightDown
Indicates that the legend should be placed to the right of the plot area, in the bottom corner.
|
RightMiddle
Indicates that the legend should be placed to the right of the plot area, centered vertically.
|
RightUp
Indicates that the legend should be placed to the right of the plot area, in the top corner.
|
Top
Indicates that the legend should be placed above the plot area, centered horizontally.
|
| Modifier and Type | Method and Description |
|---|---|
static LegendPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LegendPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegendPosition Left
public static final LegendPosition Top
public static final LegendPosition RightUp
public static final LegendPosition RightMiddle
public static final LegendPosition RightDown
public static final LegendPosition Bottom
public static final LegendPosition LeftUp
public static final LegendPosition LeftMiddle
public static final LegendPosition LeftDown
public static final LegendPosition Float
public static LegendPosition[] values()
for (LegendPosition c : LegendPosition.values()) System.out.println(c);
public static LegendPosition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null