interface KPIOptionsProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.KPIOptionsProperty | 
|  Java | software.amazon.awscdk.services.quicksight.CfnTemplate.KPIOptionsProperty | 
|  Python | aws_cdk.aws_quicksight.CfnTemplate.KPIOptionsProperty | 
|  TypeScript | @aws-cdk/aws-quicksight»CfnTemplate»KPIOptionsProperty | 
The options that determine the presentation of a KPI visual.
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 kPIOptionsProperty: quicksight.CfnTemplate.KPIOptionsProperty = {
  comparison: {
    comparisonFormat: {
      numberDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        numberScale: 'numberScale',
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
      percentageDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
    },
    comparisonMethod: 'comparisonMethod',
  },
  primaryValueDisplayType: 'primaryValueDisplayType',
  primaryValueFontConfiguration: {
    fontColor: 'fontColor',
    fontDecoration: 'fontDecoration',
    fontSize: {
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  progressBar: {
    visibility: 'visibility',
  },
  secondaryValue: {
    visibility: 'visibility',
  },
  secondaryValueFontConfiguration: {
    fontColor: 'fontColor',
    fontDecoration: 'fontDecoration',
    fontSize: {
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  trendArrows: {
    visibility: 'visibility',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| comparison? | IResolvable | Comparison | The comparison configuration of a KPI visual. | 
| primary | string | The options that determine the primary value display type. | 
| primary | IResolvable | Font | The options that determine the primary value font configuration. | 
| progress | IResolvable | Progress | The options that determine the presentation of the progress bar of a KPI visual. | 
| secondary | IResolvable | Secondary | The options that determine the presentation of the secondary value of a KPI visual. | 
| secondary | IResolvable | Font | The options that determine the secondary value font configuration. | 
| trend | IResolvable | Trend | The options that determine the presentation of trend arrows in a KPI visual. | 
comparison?
Type:
IResolvable | Comparison
(optional)
The comparison configuration of a KPI visual.
primaryValueDisplayType?
Type:
string
(optional)
The options that determine the primary value display type.
primaryValueFontConfiguration?
Type:
IResolvable | Font
(optional)
The options that determine the primary value font configuration.
progressBar?
Type:
IResolvable | Progress
(optional)
The options that determine the presentation of the progress bar of a KPI visual.
secondaryValue?
Type:
IResolvable | Secondary
(optional)
The options that determine the presentation of the secondary value of a KPI visual.
secondaryValueFontConfiguration?
Type:
IResolvable | Font
(optional)
The options that determine the secondary value font configuration.
trendArrows?
Type:
IResolvable | Trend
(optional)
The options that determine the presentation of trend arrows in a KPI visual.
