interface GaugeChartConditionalFormattingOptionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_GaugeChartConditionalFormattingOptionProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty |
![]() | aws_cdk.aws_quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty |
![]() | aws-cdk-lib » aws_quicksight » CfnDashboard » GaugeChartConditionalFormattingOptionProperty |
Conditional formatting options of a GaugeChartVisual
.
Example
// 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 gaugeChartConditionalFormattingOptionProperty: quicksight.CfnDashboard.GaugeChartConditionalFormattingOptionProperty = {
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 |
---|---|---|
arc? | IResolvable | Gauge | The options that determine the presentation of the arc of a GaugeChartVisual . |
primary | IResolvable | Gauge | The conditional formatting for the primary value of a GaugeChartVisual . |
arc?
Type:
IResolvable
|
Gauge
(optional)
The options that determine the presentation of the arc of a GaugeChartVisual
.
primaryValue?
Type:
IResolvable
|
Gauge
(optional)
The conditional formatting for the primary value of a GaugeChartVisual
.