LegendPosition Enum
The position of the legend on a GraphWidget.
Example
ts
declare const dashboard: cloudwatch.Dashboard;
dashboard.addWidgets(new cloudwatch.GraphWidget({
// ...
legendPosition: cloudwatch.LegendPosition.RIGHT,
}));
Members
| Member | Description |
|---|---|
BOTTOM | Legend appears below the graph (default). |
RIGHT | Add shading above the annotation. |
HIDDEN | Add shading below the annotation. |
Referenced by
GaugeWidgetProps.legendPositionlegend_positionlegendPositionLegendPositionLegendPositionGraphWidgetProps.legendPositionlegend_positionlegendPositionLegendPositionLegendPosition