interface KPIPrimaryValueConditionalFormattingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.KPIPrimaryValueConditionalFormattingProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.KPIPrimaryValueConditionalFormattingProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.KPIPrimaryValueConditionalFormattingProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » KPIPrimaryValueConditionalFormattingProperty |
The conditional formatting for the primary value of a KPI visual.
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 kPIPrimaryValueConditionalFormattingProperty: quicksight.CfnAnalysis.KPIPrimaryValueConditionalFormattingProperty = {
icon: {
customCondition: {
expression: 'expression',
iconOptions: {
icon: 'icon',
unicodeIcon: 'unicodeIcon',
},
// the properties below are optional
color: 'color',
displayConfiguration: {
iconDisplayOption: 'iconDisplayOption',
},
},
iconSet: {
expression: 'expression',
// the properties below are optional
iconSetType: 'iconSetType',
},
},
textColor: {
gradient: {
color: {
stops: [{
gradientOffset: 123,
// the properties below are optional
color: 'color',
dataValue: 123,
}],
},
expression: 'expression',
},
solid: {
expression: 'expression',
// the properties below are optional
color: 'color',
},
},
};
Properties
Name | Type | Description |
---|---|---|
icon? | IResolvable | Conditional | The conditional formatting of the primary value's icon. |
text | IResolvable | Conditional | The conditional formatting of the primary value's text color. |
icon?
Type:
IResolvable
|
Conditional
(optional)
The conditional formatting of the primary value's icon.
textColor?
Type:
IResolvable
|
Conditional
(optional)
The conditional formatting of the primary value's text color.