Interface YAxisProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
YAxisProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-10T21:56:48.302Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forYAxisProps
static final class
An 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: - No maximum value
-
getMin
The min value.Default: 0
-
getShowUnits
Whether to show units.Default: true
-
builder
- Returns:
- a
YAxisProps.Builder
ofYAxisProps
-