

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::QuickSight::Analysis DataLabelOptions
<a name="aws-properties-quicksight-analysis-datalabeloptions"></a>

The options that determine the presentation of the data labels.

## Syntax
<a name="aws-properties-quicksight-analysis-datalabeloptions-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-quicksight-analysis-datalabeloptions-syntax.json"></a>

```
{
  "[CategoryLabelVisibility](#cfn-quicksight-analysis-datalabeloptions-categorylabelvisibility)" : String,
  "[DataLabelTypes](#cfn-quicksight-analysis-datalabeloptions-datalabeltypes)" : [ DataLabelType, ... ],
  "[LabelColor](#cfn-quicksight-analysis-datalabeloptions-labelcolor)" : String,
  "[LabelContent](#cfn-quicksight-analysis-datalabeloptions-labelcontent)" : String,
  "[LabelFontConfiguration](#cfn-quicksight-analysis-datalabeloptions-labelfontconfiguration)" : FontConfiguration,
  "[MeasureLabelVisibility](#cfn-quicksight-analysis-datalabeloptions-measurelabelvisibility)" : String,
  "[Overlap](#cfn-quicksight-analysis-datalabeloptions-overlap)" : String,
  "[Position](#cfn-quicksight-analysis-datalabeloptions-position)" : String,
  "[TotalsVisibility](#cfn-quicksight-analysis-datalabeloptions-totalsvisibility)" : String,
  "[Visibility](#cfn-quicksight-analysis-datalabeloptions-visibility)" : String
}
```

### YAML
<a name="aws-properties-quicksight-analysis-datalabeloptions-syntax.yaml"></a>

```
  [CategoryLabelVisibility](#cfn-quicksight-analysis-datalabeloptions-categorylabelvisibility): String
  [DataLabelTypes](#cfn-quicksight-analysis-datalabeloptions-datalabeltypes): 
    - DataLabelType
  [LabelColor](#cfn-quicksight-analysis-datalabeloptions-labelcolor): String
  [LabelContent](#cfn-quicksight-analysis-datalabeloptions-labelcontent): String
  [LabelFontConfiguration](#cfn-quicksight-analysis-datalabeloptions-labelfontconfiguration): 
    FontConfiguration
  [MeasureLabelVisibility](#cfn-quicksight-analysis-datalabeloptions-measurelabelvisibility): String
  [Overlap](#cfn-quicksight-analysis-datalabeloptions-overlap): String
  [Position](#cfn-quicksight-analysis-datalabeloptions-position): String
  [TotalsVisibility](#cfn-quicksight-analysis-datalabeloptions-totalsvisibility): String
  [Visibility](#cfn-quicksight-analysis-datalabeloptions-visibility): String
```

## Properties
<a name="aws-properties-quicksight-analysis-datalabeloptions-properties"></a>

`CategoryLabelVisibility`  <a name="cfn-quicksight-analysis-datalabeloptions-categorylabelvisibility"></a>
Determines the visibility of the category field labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `HIDDEN | VISIBLE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DataLabelTypes`  <a name="cfn-quicksight-analysis-datalabeloptions-datalabeltypes"></a>
The option that determines the data label type.  
*Required*: No  
*Type*: Array of [DataLabelType](aws-properties-quicksight-analysis-datalabeltype.md)  
*Minimum*: `0`  
*Maximum*: `100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LabelColor`  <a name="cfn-quicksight-analysis-datalabeloptions-labelcolor"></a>
Determines the color of the data labels.  
*Required*: No  
*Type*: String  
*Pattern*: `^#[A-F0-9]{6}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LabelContent`  <a name="cfn-quicksight-analysis-datalabeloptions-labelcontent"></a>
Determines the content of the data labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `VALUE | PERCENT | VALUE_AND_PERCENT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LabelFontConfiguration`  <a name="cfn-quicksight-analysis-datalabeloptions-labelfontconfiguration"></a>
Determines the font configuration of the data labels.  
*Required*: No  
*Type*: [FontConfiguration](aws-properties-quicksight-analysis-fontconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MeasureLabelVisibility`  <a name="cfn-quicksight-analysis-datalabeloptions-measurelabelvisibility"></a>
Determines the visibility of the measure field labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `HIDDEN | VISIBLE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Overlap`  <a name="cfn-quicksight-analysis-datalabeloptions-overlap"></a>
Determines whether overlap is enabled or disabled for the data labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `DISABLE_OVERLAP | ENABLE_OVERLAP`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Position`  <a name="cfn-quicksight-analysis-datalabeloptions-position"></a>
Determines the position of the data labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `INSIDE | OUTSIDE | LEFT | TOP | BOTTOM | RIGHT`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TotalsVisibility`  <a name="cfn-quicksight-analysis-datalabeloptions-totalsvisibility"></a>
Determines the visibility of the total.  
*Required*: No  
*Type*: String  
*Allowed values*: `HIDDEN | VISIBLE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Visibility`  <a name="cfn-quicksight-analysis-datalabeloptions-visibility"></a>
Determines the visibility of the data labels.  
*Required*: No  
*Type*: String  
*Allowed values*: `HIDDEN | VISIBLE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)