interface WaterfallChartSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.WaterfallChartSortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_WaterfallChartSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.WaterfallChartSortConfigurationProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » WaterfallChartSortConfigurationProperty |
The sort configuration of a waterfall visual.
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 waterfallChartSortConfigurationProperty: quicksight.CfnTemplate.WaterfallChartSortConfigurationProperty = {
breakdownItemsLimit: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
categorySort: [{
columnSort: {
direction: 'direction',
sortBy: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// 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
Name | Type | Description |
---|---|---|
breakdown | IResolvable | Items | The limit on the number of bar groups that are displayed. |
category | IResolvable | IResolvable | Field [] | The sort configuration of the category fields. |
breakdownItemsLimit?
Type:
IResolvable
|
Items
(optional)
The limit on the number of bar groups that are displayed.
categorySort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of the category fields.