interface YAxisProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudWatch.YAxisProps | 
|  Java | software.amazon.awscdk.services.cloudwatch.YAxisProps | 
|  Python | aws_cdk.aws_cloudwatch.YAxisProps | 
|  TypeScript (source) | @aws-cdk/aws-cloudwatch»YAxisProps | 
Properties for a Y-Axis.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
const yAxisProps: cloudwatch.YAxisProps = {
  label: 'label',
  max: 123,
  min: 123,
  showUnits: false,
};
Properties
| Name | Type | Description | 
|---|---|---|
| label? | string | The label. | 
| max? | number | The max value. | 
| min? | number | The min value. | 
| show | boolean | Whether to show units. | 
label?
Type:
string
(optional, default: No label)
The label.
max?
Type:
number
(optional, default: No maximum value)
The max value.
min?
Type:
number
(optional, default: 0)
The min value.
showUnits?
Type:
boolean
(optional, default: true)
Whether to show units.
