aws-cdk-lib.aws_quicksight.CfnTemplate.DataBarsOptionsProperty

interface DataBarsOptionsProperty

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

The options for data bars.

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 dataBarsOptionsProperty: quicksight.CfnTemplate.DataBarsOptionsProperty = {
  fieldId: 'fieldId',

  // the properties below are optional
  negativeColor: 'negativeColor',
  positiveColor: 'positiveColor',
};

Properties

NameTypeDescription
fieldIdstringThe field ID for the data bars options.
negativeColor?stringThe color of the negative data bar.
positiveColor?stringThe color of the positive data bar.

fieldId

Type: string

The field ID for the data bars options.


negativeColor?

Type: string (optional)

The color of the negative data bar.


positiveColor?

Type: string (optional)

The color of the positive data bar.