interface ComparisonConfigurationProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.ComparisonConfigurationProperty | 
|  Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.ComparisonConfigurationProperty | 
|  Python | aws_cdk.aws_quicksight.CfnAnalysis.ComparisonConfigurationProperty | 
|  TypeScript | @aws-cdk/aws-quicksight»CfnAnalysis»ComparisonConfigurationProperty | 
The comparison display configuration of a KPI or gauge chart.
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 comparisonConfigurationProperty: quicksight.CfnAnalysis.ComparisonConfigurationProperty = {
  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',
};
Properties
| Name | Type | Description | 
|---|---|---|
| comparison | IResolvable | Comparison | The format of the comparison. | 
| comparison | string | The method of the comparison. Choose from the following options:. | 
comparisonFormat?
Type:
IResolvable | Comparison
(optional)
The format of the comparison.
comparisonMethod?
Type:
string
(optional)
The method of the comparison. Choose from the following options:.
- DIFFERENCE
- PERCENT_DIFFERENCE
- PERCENT
