@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:35.635Z") public enum GraphWidgetView extends java.lang.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(java.lang.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.
|
public static final GraphWidgetView TIME_SERIES
public static final GraphWidgetView BAR
public static final GraphWidgetView PIE
public static GraphWidgetView[] values()
for (GraphWidgetView c : GraphWidgetView.values()) System.out.println(c);
public static GraphWidgetView 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