aws-cdk-lib.aws_quicksight.CfnTemplate.ReferenceLineProperty

interface ReferenceLineProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.ReferenceLineProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_ReferenceLineProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.ReferenceLineProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.ReferenceLineProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » ReferenceLineProperty

The reference line visual display options.

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 referenceLineProperty: quicksight.CfnTemplate.ReferenceLineProperty = {
  dataConfiguration: {
    axisBinding: 'axisBinding',
    dynamicConfiguration: {
      calculation: {
        percentileAggregation: {
          percentileValue: 123,
        },
        simpleNumericalAggregation: 'simpleNumericalAggregation',
      },
      column: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },

      // the properties below are optional
      measureAggregationFunction: {
        categoricalAggregationFunction: 'categoricalAggregationFunction',
        dateAggregationFunction: 'dateAggregationFunction',
        numericalAggregationFunction: {
          percentileAggregation: {
            percentileValue: 123,
          },
          simpleNumericalAggregation: 'simpleNumericalAggregation',
        },
      },
    },
    staticConfiguration: {
      value: 123,
    },
  },

  // the properties below are optional
  labelConfiguration: {
    customLabelConfiguration: {
      customLabel: 'customLabel',
    },
    fontColor: 'fontColor',
    fontConfiguration: {
      fontColor: 'fontColor',
      fontDecoration: 'fontDecoration',
      fontSize: {
        relative: 'relative',
      },
      fontStyle: 'fontStyle',
      fontWeight: {
        name: 'name',
      },
    },
    horizontalPosition: 'horizontalPosition',
    valueLabelConfiguration: {
      formatConfiguration: {
        currencyDisplayFormatConfiguration: {
          decimalPlacesConfiguration: {
            decimalPlaces: 123,
          },
          negativeValueConfiguration: {
            displayMode: 'displayMode',
          },
          nullValueFormatConfiguration: {
            nullString: 'nullString',
          },
          numberScale: 'numberScale',
          prefix: 'prefix',
          separatorConfiguration: {
            decimalSeparator: 'decimalSeparator',
            thousandsSeparator: {
              symbol: 'symbol',
              visibility: 'visibility',
            },
          },
          suffix: 'suffix',
          symbol: 'symbol',
        },
        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',
        },
      },
      relativePosition: 'relativePosition',
    },
    verticalPosition: 'verticalPosition',
  },
  status: 'status',
  styleConfiguration: {
    color: 'color',
    pattern: 'pattern',
  },
};

Properties

NameTypeDescription
dataConfigurationIResolvable | ReferenceLineDataConfigurationPropertyThe data configuration of the reference line.
labelConfiguration?IResolvable | ReferenceLineLabelConfigurationPropertyThe label configuration of the reference line.
status?stringThe status of the reference line. Choose one of the following options:.
styleConfiguration?IResolvable | ReferenceLineStyleConfigurationPropertyThe style configuration of the reference line.

dataConfiguration

Type: IResolvable | ReferenceLineDataConfigurationProperty

The data configuration of the reference line.


labelConfiguration?

Type: IResolvable | ReferenceLineLabelConfigurationProperty (optional)

The label configuration of the reference line.


status?

Type: string (optional)

The status of the reference line. Choose one of the following options:.

  • ENABLE
  • DISABLE

styleConfiguration?

Type: IResolvable | ReferenceLineStyleConfigurationProperty (optional)

The style configuration of the reference line.