PieChartSortConfigurationProperty Struct
The sort configuration of a 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 pieChartSortConfigurationProperty: quicksight.CfnTemplate.PieChartSortConfigurationProperty = {
categoryItemsLimit: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
categorySort: [{
columnSort: {
direction: 'direction',
sortBy: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
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',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
},
fieldSort: {
direction: 'direction',
fieldId: 'fieldId',
},
}],
};
Properties
categoryItemsLimitIResolvable | CfnTemplate.ItemsLimitConfigurationPropertycategory_items_limittyping.Union[IResolvable, ItemsLimitConfigurationProperty]categoryItemsLimitIResolvableCategoryItemsLimitIResolvableCategoryItemsLimitinterface{}#The limit on the number of categories that are displayed in a pie chart.
categorySortIResolvable | IResolvable | CfnTemplate.FieldSortOptionsProperty[]category_sorttyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FieldSortOptionsProperty]]]categorySortIResolvableCategorySortIResolvableCategorySortinterface{}#The sort configuration of the category fields.
smallMultiplesLimitConfigurationIResolvable | CfnTemplate.ItemsLimitConfigurationPropertysmall_multiples_limit_configurationtyping.Union[IResolvable, ItemsLimitConfigurationProperty]smallMultiplesLimitConfigurationIResolvableSmallMultiplesLimitConfigurationIResolvableSmallMultiplesLimitConfigurationinterface{}#The limit on the number of small multiples panels that are displayed.
smallMultiplesSortIResolvable | IResolvable | CfnTemplate.FieldSortOptionsProperty[]small_multiples_sorttyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FieldSortOptionsProperty]]]smallMultiplesSortIResolvableSmallMultiplesSortIResolvableSmallMultiplesSortinterface{}#The sort configuration of the small multiples field.