# PieChartConfigurationProperty

The configuration of a pie chart.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 2025

## Example

TypeScript:

```ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
```

Python:

```python

```

Java:

```java

```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib

```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2

```

## Properties

- `categoryLabelOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ChartAxisLabelOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ChartAxisLabelOptionsProperty.html) — The label options of the group/color that is displayed in a pie chart.

- `contributionAnalysisDefaults`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ContributionAnalysisDefaultProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ContributionAnalysisDefaultProperty.html)[] — The contribution analysis (anomaly configuration) setup of the visual.

- `dataLabels`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.DataLabelOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.DataLabelOptionsProperty.html) — The options that determine if visual data labels are displayed.

- `donutOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.DonutOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.DonutOptionsProperty.html) — The options that determine the shape of the chart.

  This option determines whether the chart is a pie chart or a donut chart.

- `fieldWells`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.PieChartFieldWellsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.PieChartFieldWellsProperty.html) — The field wells of the visual.

- `interactions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.VisualInteractionOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.VisualInteractionOptionsProperty.html) — The general visual interactions setup for a visual.

- `legend`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.LegendOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.LegendOptionsProperty.html) — The legend display setup of the visual.

- `smallMultiplesOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.SmallMultiplesOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.SmallMultiplesOptionsProperty.html) — The small multiples setup for the visual.

- `sortConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.PieChartSortConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.PieChartSortConfigurationProperty.html) — The sort configuration of a pie chart.

- `tooltip`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.TooltipOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.TooltipOptionsProperty.html) — The tooltip display setup of the visual.

- `valueLabelOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ChartAxisLabelOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ChartAxisLabelOptionsProperty.html) — The label options for the value that is displayed in a pie chart.

- `visualPalette`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.VisualPaletteProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.VisualPaletteProperty.html) — The palette (chart color) display setup of the visual.
