interface ConditionalFormattingGradientColorProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.ConditionalFormattingGradientColorProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.ConditionalFormattingGradientColorProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.ConditionalFormattingGradientColorProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » ConditionalFormattingGradientColorProperty |
Formatting configuration for gradient color.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const conditionalFormattingGradientColorProperty: quicksight.CfnAnalysis.ConditionalFormattingGradientColorProperty = {
color: {
stops: [{
gradientOffset: 123,
// the properties below are optional
color: 'color',
dataValue: 123,
}],
},
expression: 'expression',
};
Properties
Name | Type | Description |
---|---|---|
color | IResolvable | Gradient | Determines the color. |
expression | string | The expression that determines the formatting configuration for gradient color. |
color
Type:
IResolvable
|
Gradient
Determines the color.
expression
Type:
string
The expression that determines the formatting configuration for gradient color.