enum LegendPosition
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudWatch.LegendPosition |
Java | software.amazon.awscdk.services.cloudwatch.LegendPosition |
Python | aws_cdk.aws_cloudwatch.LegendPosition |
TypeScript (source) | @aws-cdk/aws-cloudwatch » LegendPosition |
The position of the legend on a GraphWidget.
Example
declare const dashboard: cloudwatch.Dashboard;
dashboard.addWidgets(new cloudwatch.GraphWidget({
// ...
legendPosition: cloudwatch.LegendPosition.RIGHT,
}));
Members
Name | Description |
---|---|
BOTTOM | Legend appears below the graph (default). |
RIGHT | Add shading above the annotation. |
HIDDEN | Add shading below the annotation. |
BOTTOM
Legend appears below the graph (default).
RIGHT
Add shading above the annotation.
HIDDEN
Add shading below the annotation.