

# KPISparklineOptions


The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.

## Contents


**Note**  
In the following list, the required parameters are described first.

 ** Type **   <a name="QS-Type-KPISparklineOptions-Type"></a>
The type of the sparkline.  
Type: String  
Valid Values: `LINE | AREA`   
Required: Yes

 ** Color **   <a name="QS-Type-KPISparklineOptions-Color"></a>
The color of the sparkline.  
Type: String  
Pattern: `^#[A-F0-9]{6}$`   
Required: No

 ** TooltipVisibility **   <a name="QS-Type-KPISparklineOptions-TooltipVisibility"></a>
The tooltip visibility of the sparkline.  
Type: String  
Valid Values: `HIDDEN | VISIBLE`   
Required: No

 ** Visibility **   <a name="QS-Type-KPISparklineOptions-Visibility"></a>
The visibility of the sparkline.  
Type: String  
Valid Values: `HIDDEN | VISIBLE`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/quicksight-2018-04-01/KPISparklineOptions) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/KPISparklineOptions) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/KPISparklineOptions) 