interface GaugeChartConditionalFormattingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.GaugeChartConditionalFormattingProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.GaugeChartConditionalFormattingProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.GaugeChartConditionalFormattingProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » GaugeChartConditionalFormattingProperty |
The conditional formatting of a GaugeChartVisual
.
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 gaugeChartConditionalFormattingProperty: quicksight.CfnAnalysis.GaugeChartConditionalFormattingProperty = {
conditionalFormattingOptions: [{
arc: {
foregroundColor: {
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',
},
},
},
primaryValue: {
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 |
---|---|---|
conditional | IResolvable | IResolvable | Gauge [] | Conditional formatting options of a GaugeChartVisual . |
conditionalFormattingOptions?
Type:
IResolvable
|
IResolvable
|
Gauge
[]
(optional)
Conditional formatting options of a GaugeChartVisual
.