# DonutOptionsProperty

The options for configuring a donut chart or pie chart.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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

- `arcOptions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.ArcOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.ArcOptionsProperty.html) — 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`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DonutCenterOptionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DonutCenterOptionsProperty.html) — The label options of the label that is displayed in the center of a donut chart.

  This option isn't available for pie charts.
