Interface YAxisProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
YAxisProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.910Z") @Stability(Stable) public interface YAxisProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudwatch.*;
 YAxisProps yAxisProps = YAxisProps.builder()
         .label("label")
         .max(123)
         .min(123)
         .showUnits(false)
         .build();
 
  • Method Details

    • getLabel

      @Stability(Stable) @Nullable default String getLabel()
      The label.

      Default: - No label

    • getMax

      @Stability(Stable) @Nullable default Number getMax()
      The max value.

      Default: - No maximum value

    • getMin

      @Stability(Stable) @Nullable default Number getMin()
      The min value.

      Default: 0

    • getShowUnits

      @Stability(Stable) @Nullable default Boolean getShowUnits()
      Whether to show units.

      Default: true

    • builder

      @Stability(Stable) static YAxisProps.Builder builder()
      Returns:
      a YAxisProps.Builder of YAxisProps