Interface CfnTemplate.AxisLabelOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.AxisLabelOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.AxisLabelOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The label options for a chart axis.
You must specify the field that the label is targeted to.
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.quicksight.*;
AxisLabelOptionsProperty axisLabelOptionsProperty = AxisLabelOptionsProperty.builder()
.applyTo(AxisLabelReferenceOptionsProperty.builder()
.column(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
.fieldId("fieldId")
.build())
.customLabel("customLabel")
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.AxisLabelOptionsPropertystatic final classAn implementation forCfnTemplate.AxisLabelOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplyTo
The options that indicate which field the label belongs to.Returns union: either
IResolvableorCfnTemplate.AxisLabelReferenceOptionsProperty- See Also:
-
getCustomLabel
The text for the axis label.- See Also:
-
getFontConfiguration
The font configuration of the axis label.Returns union: either
IResolvableorCfnTemplate.FontConfigurationProperty- See Also:
-
builder
-