Class LegendPosition
The position of the legend on a GraphWidget.
Inheritance
System.Object
LegendPosition
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public sealed class LegendPosition : Enum
Syntax (vb)
Public NotInheritable Class LegendPosition
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
dashboard.AddWidgets(new GraphWidget(new GraphWidgetProps {
// ...
LegendPosition = LegendPosition.RIGHT
}));
Synopsis
Fields
BOTTOM | Legend appears below the graph (default). |
HIDDEN | Add shading below the annotation. |
RIGHT | Add shading above the annotation. |
value__ |
Fields
BOTTOM
Legend appears below the graph (default).
public const LegendPosition BOTTOM
Field Value
Type | Description |
---|---|
LegendPosition |
HIDDEN
Add shading below the annotation.
public const LegendPosition HIDDEN
Field Value
Type | Description |
---|---|
LegendPosition |
RIGHT
Add shading above the annotation.
public const LegendPosition RIGHT
Field Value
Type | Description |
---|---|
LegendPosition |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |