

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

# AWS::QuickSight::Template SparklinesOptions
<a name="aws-properties-quicksight-template-sparklinesoptions"></a>

The options for sparklines in a table.

## Syntax
<a name="aws-properties-quicksight-template-sparklinesoptions-syntax"></a>

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

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

```
{
  "[AllPointsMarker](#cfn-quicksight-template-sparklinesoptions-allpointsmarker)" : {{LineChartMarkerStyleSettings}},
  "[FieldId](#cfn-quicksight-template-sparklinesoptions-fieldid)" : {{String}},
  "[LineColor](#cfn-quicksight-template-sparklinesoptions-linecolor)" : {{String}},
  "[LineInterpolation](#cfn-quicksight-template-sparklinesoptions-lineinterpolation)" : {{String}},
  "[MaxValueMarker](#cfn-quicksight-template-sparklinesoptions-maxvaluemarker)" : {{LineChartMarkerStyleSettings}},
  "[MinValueMarker](#cfn-quicksight-template-sparklinesoptions-minvaluemarker)" : {{LineChartMarkerStyleSettings}},
  "[VisualType](#cfn-quicksight-template-sparklinesoptions-visualtype)" : {{String}},
  "[XAxisField](#cfn-quicksight-template-sparklinesoptions-xaxisfield)" : {{DimensionField}},
  "[YAxisBehavior](#cfn-quicksight-template-sparklinesoptions-yaxisbehavior)" : {{String}}
}
```

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

```
  [AllPointsMarker](#cfn-quicksight-template-sparklinesoptions-allpointsmarker): {{
    LineChartMarkerStyleSettings}}
  [FieldId](#cfn-quicksight-template-sparklinesoptions-fieldid): {{String}}
  [LineColor](#cfn-quicksight-template-sparklinesoptions-linecolor): {{String}}
  [LineInterpolation](#cfn-quicksight-template-sparklinesoptions-lineinterpolation): {{String}}
  [MaxValueMarker](#cfn-quicksight-template-sparklinesoptions-maxvaluemarker): {{
    LineChartMarkerStyleSettings}}
  [MinValueMarker](#cfn-quicksight-template-sparklinesoptions-minvaluemarker): {{
    LineChartMarkerStyleSettings}}
  [VisualType](#cfn-quicksight-template-sparklinesoptions-visualtype): {{String}}
  [XAxisField](#cfn-quicksight-template-sparklinesoptions-xaxisfield): {{
    DimensionField}}
  [YAxisBehavior](#cfn-quicksight-template-sparklinesoptions-yaxisbehavior): {{String}}
```

## Properties
<a name="aws-properties-quicksight-template-sparklinesoptions-properties"></a>

`AllPointsMarker`  <a name="cfn-quicksight-template-sparklinesoptions-allpointsmarker"></a>
Property description not available.  
*Required*: No  
*Type*: [LineChartMarkerStyleSettings](aws-properties-quicksight-template-linechartmarkerstylesettings.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FieldId`  <a name="cfn-quicksight-template-sparklinesoptions-fieldid"></a>
The field ID of the value column that the sparkline is applied to.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `512`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LineColor`  <a name="cfn-quicksight-template-sparklinesoptions-linecolor"></a>
The color of the sparkline line.  
*Required*: No  
*Type*: String  
*Pattern*: `^#[A-F0-9]{6}$`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LineInterpolation`  <a name="cfn-quicksight-template-sparklinesoptions-lineinterpolation"></a>
The interpolation style for the sparkline line.  
*Required*: No  
*Type*: String  
*Allowed values*: `LINEAR | SMOOTH | STEPPED`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MaxValueMarker`  <a name="cfn-quicksight-template-sparklinesoptions-maxvaluemarker"></a>
Property description not available.  
*Required*: No  
*Type*: [LineChartMarkerStyleSettings](aws-properties-quicksight-template-linechartmarkerstylesettings.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MinValueMarker`  <a name="cfn-quicksight-template-sparklinesoptions-minvaluemarker"></a>
Property description not available.  
*Required*: No  
*Type*: [LineChartMarkerStyleSettings](aws-properties-quicksight-template-linechartmarkerstylesettings.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VisualType`  <a name="cfn-quicksight-template-sparklinesoptions-visualtype"></a>
The type of the sparkline. Valid values are `LINE` and `AREA_LINE`.  
*Required*: No  
*Type*: String  
*Allowed values*: `LINE | AREA_LINE`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`XAxisField`  <a name="cfn-quicksight-template-sparklinesoptions-xaxisfield"></a>
Property description not available.  
*Required*: Yes  
*Type*: [DimensionField](aws-properties-quicksight-template-dimensionfield.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`YAxisBehavior`  <a name="cfn-quicksight-template-sparklinesoptions-yaxisbehavior"></a>
Determines whether the Y axis is shared across all sparklines or independent for each sparkline.  
*Required*: No  
*Type*: String  
*Allowed values*: `SHARED | INDEPENDENT`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)