Interface CfnAnalysis.DonutOptionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnalysis.DonutOptionsProperty.Jsii$Proxy
Enclosing class:
CfnAnalysis

@Stability(Stable) public static interface CfnAnalysis.DonutOptionsProperty extends software.amazon.jsii.JsiiSerializable
The options for configuring a donut chart or pie chart.

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.*;
 DonutOptionsProperty donutOptionsProperty = DonutOptionsProperty.builder()
         .arcOptions(ArcOptionsProperty.builder()
                 .arcThickness("arcThickness")
                 .build())
         .donutCenterOptions(DonutCenterOptionsProperty.builder()
                 .labelVisibility("labelVisibility")
                 .build())
         .build();
 
  • Method Details

    • getArcOptions

      @Stability(Stable) @Nullable default Object getArcOptions()
      The option for define the arc of the chart shape. Valid values are as follows:.

      • WHOLE - A pie chart
      • SMALL - A small-sized donut chart
      • MEDIUM - A medium-sized donut chart
      • LARGE - A large-sized donut chart
    • getDonutCenterOptions

      @Stability(Stable) @Nullable default Object getDonutCenterOptions()
      The label options of the label that is displayed in the center of a donut chart.

      This option isn't available for pie charts.

    • builder

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