GaugeChartPrimaryValueConditionalFormattingProperty Struct
The conditional formatting for the primary value of a GaugeChartVisual .
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 gaugeChartPrimaryValueConditionalFormattingProperty: quicksight.CfnDashboard.GaugeChartPrimaryValueConditionalFormattingProperty = {
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
iconIResolvable | CfnDashboard.ConditionalFormattingIconPropertyicontyping.Union[IResolvable, ConditionalFormattingIconProperty]iconIResolvableIconIResolvableIconinterface{}#The conditional formatting of the primary value icon.
textColorIResolvable | CfnDashboard.ConditionalFormattingColorPropertytext_colortyping.Union[IResolvable, ConditionalFormattingColorProperty]textColorIResolvableTextColorIResolvableTextColorinterface{}#The conditional formatting of the primary value text color.