@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.278Z") @Stability(value=Stable) public enum LegendPosition extends Enum<LegendPosition>
Example:
Dashboard dashboard;
dashboard.addWidgets(GraphWidget.Builder.create()
// ...
.legendPosition(LegendPosition.RIGHT)
.build());
| Enum Constant and Description |
|---|
BOTTOM
Legend appears below the graph (default).
|
HIDDEN
Add shading below the annotation.
|
RIGHT
Add shading above the annotation.
|
| Modifier and Type | Method and Description |
|---|---|
static LegendPosition |
valueOf(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.
|
@Stability(value=Stable) public static final LegendPosition BOTTOM
@Stability(value=Stable) public static final LegendPosition RIGHT
@Stability(value=Stable) public static final LegendPosition HIDDEN
public static LegendPosition[] values()
for (LegendPosition c : LegendPosition.values()) System.out.println(c);
public static LegendPosition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.