Interface YAxisProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
YAxisProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:07.154Z")
@Stability(Stable)
public interface YAxisProps
extends software.amazon.jsii.JsiiSerializable
Properties for a Y-Axis.
Example:
Dashboard dashboard;
Alarm errorAlarm;
Metric gaugeMetric;
dashboard.addWidgets(GaugeWidget.Builder.create()
.metrics(List.of(gaugeMetric))
.leftYAxis(YAxisProps.builder()
.min(0)
.max(1000)
.build())
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forYAxisPropsstatic final classAn implementation forYAxisProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLabel
The label.Default: - No label
-
getMax
The max value.Default: - Auto
-
getMin
The min value.Default: - Auto
-
getShowUnits
Whether to show units.Default: true
-
builder
- Returns:
- a
YAxisProps.BuilderofYAxisProps
-