Skip to content
v2.274.0

KPISparklineOptionsProperty Struct ​

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

Example ​

ts
// 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 kPISparklineOptionsProperty: quicksight.CfnAnalysis.KPISparklineOptionsProperty = {
  type: 'type',

  // the properties below are optional
  color: 'color',
  tooltipVisibility: 'tooltipVisibility',
  visibility: 'visibility',
};

Properties ​

colorstringcolorstrcolorStringColorstringColor*string#
The color of the sparkline.
tooltipVisibilitystringtooltip_visibilitystrtooltipVisibilityStringTooltipVisibilitystringTooltipVisibility*string#
The tooltip visibility of the sparkline.
typestringtypestrtypeStringTypestringType*stringrequired#
The type of the sparkline.
visibilitystringvisibilitystrvisibilityStringVisibilitystringVisibility*string#
The visibility of the sparkline.