aws-cdk-lib.aws_quicksight.CfnAnalysis.PieChartSortConfigurationProperty

interface PieChartSortConfigurationProperty

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

The sort configuration of a 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 pieChartSortConfigurationProperty: quicksight.CfnAnalysis.PieChartSortConfigurationProperty = {
  categoryItemsLimit: {
    itemsLimit: 123,
    otherCategories: 'otherCategories',
  },
  categorySort: [{
    columnSort: {
      direction: 'direction',
      sortBy: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },

      // the properties below are optional
      aggregationFunction: {
        categoricalAggregationFunction: 'categoricalAggregationFunction',
        dateAggregationFunction: 'dateAggregationFunction',
        numericalAggregationFunction: {
          percentileAggregation: {
            percentileValue: 123,
          },
          simpleNumericalAggregation: 'simpleNumericalAggregation',
        },
      },
    },
    fieldSort: {
      direction: 'direction',
      fieldId: 'fieldId',
    },
  }],
  smallMultiplesLimitConfiguration: {
    itemsLimit: 123,
    otherCategories: 'otherCategories',
  },
  smallMultiplesSort: [{
    columnSort: {
      direction: 'direction',
      sortBy: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },

      // the properties below are optional
      aggregationFunction: {
        categoricalAggregationFunction: 'categoricalAggregationFunction',
        dateAggregationFunction: 'dateAggregationFunction',
        numericalAggregationFunction: {
          percentileAggregation: {
            percentileValue: 123,
          },
          simpleNumericalAggregation: 'simpleNumericalAggregation',
        },
      },
    },
    fieldSort: {
      direction: 'direction',
      fieldId: 'fieldId',
    },
  }],
};

Properties

NameTypeDescription
categoryItemsLimit?IResolvable | ItemsLimitConfigurationPropertyThe limit on the number of categories that are displayed in a pie chart.
categorySort?IResolvable | IResolvable | FieldSortOptionsProperty[]The sort configuration of the category fields.
smallMultiplesLimitConfiguration?IResolvable | ItemsLimitConfigurationPropertyThe limit on the number of small multiples panels that are displayed.
smallMultiplesSort?IResolvable | IResolvable | FieldSortOptionsProperty[]The sort configuration of the small multiples field.

categoryItemsLimit?

Type: IResolvable | ItemsLimitConfigurationProperty (optional)

The limit on the number of categories that are displayed in a pie chart.


categorySort?

Type: IResolvable | IResolvable | FieldSortOptionsProperty[] (optional)

The sort configuration of the category fields.


smallMultiplesLimitConfiguration?

Type: IResolvable | ItemsLimitConfigurationProperty (optional)

The limit on the number of small multiples panels that are displayed.


smallMultiplesSort?

Type: IResolvable | IResolvable | FieldSortOptionsProperty[] (optional)

The sort configuration of the small multiples field.