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")
                         .fontSize(FontSizeProperty.builder()
                                 .relative("relative")
                                 .build())
                         .fontStyle("fontStyle")
                         .fontWeight(FontWeightProperty.builder()
                                 .name("name")
                                 .build())
                         .build())
                 .visibility("visibility")
                 .build())
         .visibility("visibility")
         .width("width")
         .build();
 
  • Method Details

    • getHeight

      @Stability(Stable) @Nullable default String getHeight()
      The height of the legend.

      If this value is omitted, a default height is used when rendering.

    • getPosition

      @Stability(Stable) @Nullable default String getPosition()
      The positions for the legend. Choose one of the following options:.

      • AUTO
      • RIGHT
      • BOTTOM
      • LEFT
    • getTitle

      @Stability(Stable) @Nullable default Object getTitle()
      The custom title for the legend.
    • getVisibility

      @Stability(Stable) @Nullable default String getVisibility()
      Determines whether or not the legend is visible.
    • getWidth

      @Stability(Stable) @Nullable default String getWidth()
      The width of the legend.

      If this value is omitted, a default width is used when rendering.

    • builder

      @Stability(Stable) static CfnAnalysis.LegendOptionsProperty.Builder builder()
      Returns:
      a CfnAnalysis.LegendOptionsProperty.Builder of CfnAnalysis.LegendOptionsProperty