Skip to content
v2.273.0

DonutOptionsProperty Struct ​

The options for configuring a donut chart or pie chart.

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 ​

arcOptionsIResolvable | CfnAnalysis.ArcOptionsPropertyarc_optionstyping.Union[IResolvable, ArcOptionsProperty]arcOptionsIResolvableArcOptionsIResolvableArcOptionsinterface{}#
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
donutCenterOptionsIResolvable | CfnAnalysis.DonutCenterOptionsPropertydonut_center_optionstyping.Union[IResolvable, DonutCenterOptionsProperty]donutCenterOptionsIResolvableDonutCenterOptionsIResolvableDonutCenterOptionsinterface{}#
The label options of the label that is displayed in the center of a donut chart.

This option isn't available for pie charts.