@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:41.007Z")
public interface HorizontalAnnotation
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.*; HorizontalAnnotation horizontalAnnotation = HorizontalAnnotation.builder() .value(123) // the properties below are optional .color("color") .fill(Shading.NONE) .label("label") .visible(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
HorizontalAnnotation.Builder
A builder for
HorizontalAnnotation |
static class |
HorizontalAnnotation.Jsii$Proxy
An implementation for
HorizontalAnnotation |
Modifier and Type | Method and Description |
---|---|
static HorizontalAnnotation.Builder |
builder() |
default java.lang.String |
getColor()
The hex color code, prefixed with '#' (e.g.
|
default Shading |
getFill()
Add shading above or below the annotation.
|
default java.lang.String |
getLabel()
Label for the annotation.
|
java.lang.Number |
getValue()
The value of the annotation.
|
default java.lang.Boolean |
getVisible()
Whether the annotation is visible.
|
java.lang.Number getValue()
default java.lang.String getColor()
Default: - Automatic color
default Shading getFill()
Default: No shading
default java.lang.String getLabel()
Default: - No label
default java.lang.Boolean getVisible()
Default: true
static HorizontalAnnotation.Builder builder()
HorizontalAnnotation.Builder
of HorizontalAnnotation