Class: AWSCDK::QuickSight::CfnDashboard::WaterfallChartGroupColorConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::WaterfallChartGroupColorConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The color configuration for individual groups within a waterfall visual.
Instance Attribute Summary collapse
-
#negative_bar_color ⇒ String?
readonly
Defines the color for the negative bars of a waterfall chart.
-
#positive_bar_color ⇒ String?
readonly
Defines the color for the positive bars of a waterfall chart.
-
#total_bar_color ⇒ String?
readonly
Defines the color for the total bars of a waterfall chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(negative_bar_color: nil, positive_bar_color: nil, total_bar_color: nil) ⇒ WaterfallChartGroupColorConfigurationProperty
constructor
A new instance of WaterfallChartGroupColorConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(negative_bar_color: nil, positive_bar_color: nil, total_bar_color: nil) ⇒ WaterfallChartGroupColorConfigurationProperty
Returns a new instance of WaterfallChartGroupColorConfigurationProperty.
32936 32937 32938 32939 32940 32941 32942 32943 |
# File 'quick_sight/cfn_dashboard.rb', line 32936 def initialize(negative_bar_color: nil, positive_bar_color: nil, total_bar_color: nil) @negative_bar_color = Jsii::Type.check_type(@negative_bar_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "negativeBarColor") unless @negative_bar_color.nil? @positive_bar_color = Jsii::Type.check_type(@positive_bar_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "positiveBarColor") unless @positive_bar_color.nil? @total_bar_color = Jsii::Type.check_type(@total_bar_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "totalBarColor") unless @total_bar_color.nil? end |
Instance Attribute Details
#negative_bar_color ⇒ String? (readonly)
Defines the color for the negative bars of a waterfall chart.
32949 32950 32951 |
# File 'quick_sight/cfn_dashboard.rb', line 32949 def @negative_bar_color end |
#positive_bar_color ⇒ String? (readonly)
Defines the color for the positive bars of a waterfall chart.
32954 32955 32956 |
# File 'quick_sight/cfn_dashboard.rb', line 32954 def @positive_bar_color end |
#total_bar_color ⇒ String? (readonly)
Defines the color for the total bars of a waterfall chart.
32959 32960 32961 |
# File 'quick_sight/cfn_dashboard.rb', line 32959 def @total_bar_color end |
Class Method Details
.jsii_properties ⇒ Object
32961 32962 32963 32964 32965 32966 32967 |
# File 'quick_sight/cfn_dashboard.rb', line 32961 def self.jsii_properties { :negative_bar_color => "negativeBarColor", :positive_bar_color => "positiveBarColor", :total_bar_color => "totalBarColor", } end |
Instance Method Details
#to_jsii ⇒ Object
32969 32970 32971 32972 32973 32974 32975 32976 32977 |
# File 'quick_sight/cfn_dashboard.rb', line 32969 def to_jsii result = {} result.merge!({ "negativeBarColor" => @negative_bar_color, "positiveBarColor" => @positive_bar_color, "totalBarColor" => @total_bar_color, }) result.compact end |