interface PieChartSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.PieChartSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.PieChartSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.PieChartSortConfigurationProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » 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 * as quicksight from '@aws-cdk/aws-quicksight';
const pieChartSortConfigurationProperty: quicksight.CfnTemplate.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
Name | Type | Description |
---|---|---|
category | IResolvable | Items | The limit on the number of categories that are displayed in a pie chart. |
category | IResolvable | IResolvable | Field [] | The sort configuration of the category fields. |
small | IResolvable | Items | The limit on the number of small multiples panels that are displayed. |
small | IResolvable | IResolvable | Field [] | The sort configuration of the small multiples field. |
categoryItemsLimit?
Type:
IResolvable
|
Items
(optional)
The limit on the number of categories that are displayed in a pie chart.
categorySort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of the category fields.
smallMultiplesLimitConfiguration?
Type:
IResolvable
|
Items
(optional)
The limit on the number of small multiples panels that are displayed.
smallMultiplesSort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of the small multiples field.