interface DataLabelOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.DataLabelOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_DataLabelOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.DataLabelOptionsProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.DataLabelOptionsProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAnalysis » DataLabelOptionsProperty |
The options that determine the presentation of the data labels.
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 dataLabelOptionsProperty: quicksight.CfnAnalysis.DataLabelOptionsProperty = {
categoryLabelVisibility: 'categoryLabelVisibility',
dataLabelTypes: [{
dataPathLabelType: {
fieldId: 'fieldId',
fieldValue: 'fieldValue',
visibility: 'visibility',
},
fieldLabelType: {
fieldId: 'fieldId',
visibility: 'visibility',
},
maximumLabelType: {
visibility: 'visibility',
},
minimumLabelType: {
visibility: 'visibility',
},
rangeEndsLabelType: {
visibility: 'visibility',
},
}],
labelColor: 'labelColor',
labelContent: 'labelContent',
labelFontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
measureLabelVisibility: 'measureLabelVisibility',
overlap: 'overlap',
position: 'position',
totalsVisibility: 'totalsVisibility',
visibility: 'visibility',
};
Properties
Name | Type | Description |
---|---|---|
category | string | Determines the visibility of the category field labels. |
data | IResolvable | IResolvable | Data [] | The option that determines the data label type. |
label | string | Determines the color of the data labels. |
label | string | Determines the content of the data labels. |
label | IResolvable | Font | Determines the font configuration of the data labels. |
measure | string | Determines the visibility of the measure field labels. |
overlap? | string | Determines whether overlap is enabled or disabled for the data labels. |
position? | string | Determines the position of the data labels. |
totals | string | Determines the visibility of the total. |
visibility? | string | Determines the visibility of the data labels. |
categoryLabelVisibility?
Type:
string
(optional)
Determines the visibility of the category field labels.
dataLabelTypes?
Type:
IResolvable
|
IResolvable
|
Data
[]
(optional)
The option that determines the data label type.
labelColor?
Type:
string
(optional)
Determines the color of the data labels.
labelContent?
Type:
string
(optional)
Determines the content of the data labels.
labelFontConfiguration?
Type:
IResolvable
|
Font
(optional)
Determines the font configuration of the data labels.
measureLabelVisibility?
Type:
string
(optional)
Determines the visibility of the measure field labels.
overlap?
Type:
string
(optional)
Determines whether overlap is enabled or disabled for the data labels.
position?
Type:
string
(optional)
Determines the position of the data labels.
totalsVisibility?
Type:
string
(optional)
Determines the visibility of the total.
visibility?
Type:
string
(optional)
Determines the visibility of the data labels.