Skip to content
v2.273.0

DataBarsOptionsProperty Struct ​

The options for data bars.

Example ​

ts
// 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 ​

fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*stringrequired#
The field ID for the data bars options.
negativeColorstringnegative_colorstrnegativeColorStringNegativeColorstringNegativeColor*string#
The color of the negative data bar.
positiveColorstringpositive_colorstrpositiveColorStringPositiveColorstringPositiveColor*string#
The color of the positive data bar.