Interface ISingleValueWidgetProps
Properties for a SingleValueWidget.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public interface ISingleValueWidgetProps : IMetricWidgetProps
Syntax (vb)
Public Interface ISingleValueWidgetProps
Inherits IMetricWidgetProps
Remarks
ExampleMetadata: infused
Examples
Dashboard dashboard;
Metric visitorCount;
Metric purchaseCount;
dashboard.AddWidgets(new SingleValueWidget(new SingleValueWidgetProps {
Metrics = new [] { visitorCount, purchaseCount }
}));
Synopsis
Properties
FullPrecision | Whether to show as many digits as can fit, before rounding. |
Metrics | Metrics to display. |
SetPeriodToTimeRange | Whether to show the value from the entire time range. |
Properties
FullPrecision
Whether to show as many digits as can fit, before rounding.
virtual Nullable<bool> FullPrecision { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Metrics
SetPeriodToTimeRange
Whether to show the value from the entire time range.
virtual Nullable<bool> SetPeriodToTimeRange { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false