aws-cdk-lib.aws_quicksight.CfnTemplate.ComparisonConfigurationProperty

interface ComparisonConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.ComparisonConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_ComparisonConfigurationProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.ComparisonConfigurationProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.ComparisonConfigurationProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » 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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
const comparisonConfigurationProperty: quicksight.CfnTemplate.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

NameTypeDescription
comparisonFormat?IResolvable | ComparisonFormatConfigurationPropertyThe format of the comparison.
comparisonMethod?stringThe method of the comparison. Choose from the following options:.

comparisonFormat?

Type: IResolvable | ComparisonFormatConfigurationProperty (optional)

The format of the comparison.


comparisonMethod?

Type: string (optional)

The method of the comparison. Choose from the following options:.

  • DIFFERENCE
  • PERCENT_DIFFERENCE
  • PERCENT