DataBarsOptionsProperty Struct
The options for data bars.
| Source | |
|---|---|
| Type last changed |
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.CfnAnalysis.DataBarsOptionsProperty = {
fieldId: 'fieldId',
// the properties below are optional
negativeColor: 'negativeColor',
positiveColor: 'positiveColor',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
data_bars_options_property = quicksight.CfnAnalysis.DataBarsOptionsProperty(
field_id="fieldId",
# the properties below are optional
negative_color="negativeColor",
positive_color="positiveColor"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
DataBarsOptionsProperty dataBarsOptionsProperty = DataBarsOptionsProperty.builder()
.fieldId("fieldId")
// the properties below are optional
.negativeColor("negativeColor")
.positiveColor("positiveColor")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var dataBarsOptionsProperty = new DataBarsOptionsProperty {
FieldId = "fieldId",
// the properties below are optional
NegativeColor = "negativeColor",
PositiveColor = "positiveColor"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dataBarsOptionsProperty := &DataBarsOptionsProperty{
FieldId: jsii.String("fieldId"),
// the properties below are optional
NegativeColor: jsii.String("negativeColor"),
PositiveColor: jsii.String("positiveColor"),
}
Properties
The field ID for the data bars options.
negativeColoroptionalstringnegative_coloroptionalstrnegativeColoroptionalStringNegativeColoroptionalstringNegativeColoroptional*string #The color of the negative data bar.
positiveColoroptionalstringpositive_coloroptionalstrpositiveColoroptionalStringPositiveColoroptionalstringPositiveColoroptional*string #The color of the positive data bar.