Class YAxisProps
Properties for a Y-Axis.
Inheritance
System.Object
YAxisProps
Implements
Namespace: Amazon.CDK.AWS.CloudWatch
Assembly: Amazon.CDK.AWS.CloudWatch.dll
Syntax (csharp)
public class YAxisProps : Object, IYAxisProps
Syntax (vb)
Public Class YAxisProps
Inherits Object
Implements IYAxisProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
var yAxisProps = new YAxisProps {
Label = "label",
Max = 123,
Min = 123,
ShowUnits = false
};
Synopsis
Constructors
YAxisProps() |
Properties
Label | The label. |
Max | The max value. |
Min | The min value. |
ShowUnits | Whether to show units. |
Constructors
YAxisProps()
public YAxisProps()
Properties
Label
The label.
public string Label { get; set; }
Property Value
System.String
Remarks
Default: - No label
Max
The max value.
public Nullable<double> Max { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - No maximum value
Min
The min value.
public Nullable<double> Min { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: 0
ShowUnits
Whether to show units.
public Nullable<bool> ShowUnits { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true