Skip to content
v2.275.0

GraphWidgetView Enum ​

Types of view.

Example ​

ts
declare const dashboard: cloudwatch.Dashboard;

dashboard.addWidgets(new cloudwatch.GraphWidget({
  // ...

  view: cloudwatch.GraphWidgetView.BAR,
}));

Members ​

MemberDescription
TIME_SERIESDisplay as a line graph.
BARDisplay as a bar graph.
PIEDisplay as a pie graph.

Referenced by ​