interface DataBarsOptionsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.DataBarsOptionsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_DataBarsOptionsProperty | 
  Java | software.amazon.awscdk.services.quicksight.CfnDashboard.DataBarsOptionsProperty | 
  Python | aws_cdk.aws_quicksight.CfnDashboard.DataBarsOptionsProperty | 
  TypeScript  | aws-cdk-lib » aws_quicksight » CfnDashboard » 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.CfnDashboard.DataBarsOptionsProperty = {
  fieldId: 'fieldId',
  // the properties below are optional
  negativeColor: 'negativeColor',
  positiveColor: 'positiveColor',
};
Properties
| Name | Type | Description | 
|---|---|---|
| field | string | The field ID for the data bars options. | 
| negative | string | The color of the negative data bar. | 
| positive | string | The 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.

 .NET
 Go
 Java
 Python
 TypeScript