interface BarChartSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.BarChartSortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_BarChartSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.BarChartSortConfigurationProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnDashboard » BarChartSortConfigurationProperty |
sort-configuration-description.
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 barChartSortConfigurationProperty: quicksight.CfnDashboard.BarChartSortConfigurationProperty = {
categoryItemsLimit: {
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',
},
}],
colorItemsLimit: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
colorSort: [{
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',
},
}],
smallMultiplesLimitConfiguration: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
smallMultiplesSort: [{
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 |
---|---|---|
category | IResolvable | Items | The limit on the number of categories displayed in a bar chart. |
category | IResolvable | IResolvable | Field [] | The sort configuration of category fields. |
color | IResolvable | Items | The limit on the number of values displayed in a bar chart. |
color | IResolvable | IResolvable | Field [] | The sort configuration of color fields in a bar chart. |
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 displayed in a bar chart.
categorySort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of category fields.
colorItemsLimit?
Type:
IResolvable
|
Items
(optional)
The limit on the number of values displayed in a bar chart.
colorSort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of color fields in a bar chart.
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.