Interface CfnAnalysis.LegendOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.LegendOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.LegendOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The options for the legend setup of a visual.
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.*;
LegendOptionsProperty legendOptionsProperty = LegendOptionsProperty.builder()
.height("height")
.position("position")
.title(LabelOptionsProperty.builder()
.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())
.visibility("visibility")
.build())
.valueFontConfiguration(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())
.visibility("visibility")
.width("width")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.LegendOptionsPropertystatic final classAn implementation forCfnAnalysis.LegendOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe height of the legend.default StringThe positions for the legend.default ObjectgetTitle()The custom title for the legend.default ObjectReturns union: eitherIResolvableorCfnAnalysis.FontConfigurationPropertydefault StringDetermines whether or not the legend is visible.default StringgetWidth()The width of the legend.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeight
The height of the legend.If this value is omitted, a default height is used when rendering.
- See Also:
-
getPosition
The positions for the legend. Choose one of the following options:.AUTORIGHTBOTTOMLEFT
- See Also:
-
getTitle
The custom title for the legend.Returns union: either
IResolvableorCfnAnalysis.LabelOptionsProperty- See Also:
-
getValueFontConfiguration
Returns union: eitherIResolvableorCfnAnalysis.FontConfigurationProperty- See Also:
-
getVisibility
Determines whether or not the legend is visible.- See Also:
-
getWidth
The width of the legend.If this value is omitted, a default width is used when rendering.
- See Also:
-
builder
-