interface AxisLabelOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnTemplate.AxisLabelOptionsProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnTemplate.AxisLabelOptionsProperty |
![]() | aws_cdk.aws_quicksight.CfnTemplate.AxisLabelOptionsProperty |
![]() | @aws-cdk/aws-quicksight » CfnTemplate » AxisLabelOptionsProperty |
The label options for a chart axis.
You must specify the field that the label is targeted to.
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 axisLabelOptionsProperty: quicksight.CfnTemplate.AxisLabelOptionsProperty = {
applyTo: {
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
fieldId: 'fieldId',
},
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
};
Properties
Name | Type | Description |
---|---|---|
apply | IResolvable | Axis | The options that indicate which field the label belongs to. |
custom | string | The text for the axis label. |
font | IResolvable | Font | The font configuration of the axis label. |
applyTo?
Type:
IResolvable
|
Axis
(optional)
The options that indicate which field the label belongs to.
customLabel?
Type:
string
(optional)
The text for the axis label.
fontConfiguration?
Type:
IResolvable
|
Font
(optional)
The font configuration of the axis label.