aws-cdk-lib.aws_quicksight.CfnAnalysis.DonutOptionsProperty

interface DonutOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnAnalysis.DonutOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_DonutOptionsProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnAnalysis.DonutOptionsProperty
Pythonaws_cdk.aws_quicksight.CfnAnalysis.DonutOptionsProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnAnalysis » DonutOptionsProperty

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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
const donutOptionsProperty: quicksight.CfnAnalysis.DonutOptionsProperty = {
  arcOptions: {
    arcThickness: 'arcThickness',
  },
  donutCenterOptions: {
    labelVisibility: 'labelVisibility',
  },
};

Properties

NameTypeDescription
arcOptions?IResolvable | ArcOptionsPropertyThe option for define the arc of the chart shape. Valid values are as follows:.
donutCenterOptions?IResolvable | DonutCenterOptionsPropertyThe label options of the label that is displayed in the center of a donut chart.

arcOptions?

Type: IResolvable | ArcOptionsProperty (optional)

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

donutCenterOptions?

Type: IResolvable | DonutCenterOptionsProperty (optional)

The label options of the label that is displayed in the center of a donut chart.

This option isn't available for pie charts.