@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.275Z") @Stability(value=Stable) public enum GraphWidgetView extends Enum<GraphWidgetView>
Example:
Dashboard dashboard;
dashboard.addWidgets(GraphWidget.Builder.create()
// ...
.view(GraphWidgetView.BAR)
.build());
| Enum Constant and Description |
|---|
BAR
Display as a bar graph.
|
PIE
Display as a pie graph.
|
TIME_SERIES
Display as a line graph.
|
| Modifier and Type | Method and Description |
|---|---|
static GraphWidgetView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphWidgetView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final GraphWidgetView TIME_SERIES
@Stability(value=Stable) public static final GraphWidgetView BAR
@Stability(value=Stable) public static final GraphWidgetView PIE
public static GraphWidgetView[] values()
for (GraphWidgetView c : GraphWidgetView.values()) System.out.println(c);
public static GraphWidgetView 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.