Class: AWSCDK::QuickSight::CfnAnalysis::WaterfallChartGroupColorConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::WaterfallChartGroupColorConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
31865 31866 31867 31868 31869 31870 31871 31872 |
# File 'quick_sight/cfn_analysis.rb', line 31865 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.
31878 31879 31880 |
# File 'quick_sight/cfn_analysis.rb', line 31878 def @negative_bar_color end |
#positive_bar_color ⇒ String? (readonly)
Defines the color for the positive bars of a waterfall chart.
31883 31884 31885 |
# File 'quick_sight/cfn_analysis.rb', line 31883 def @positive_bar_color end |
#total_bar_color ⇒ String? (readonly)
Defines the color for the total bars of a waterfall chart.
31888 31889 31890 |
# File 'quick_sight/cfn_analysis.rb', line 31888 def @total_bar_color end |
Class Method Details
.jsii_properties ⇒ Object
31890 31891 31892 31893 31894 31895 31896 |
# File 'quick_sight/cfn_analysis.rb', line 31890 def self.jsii_properties { :negative_bar_color => "negativeBarColor", :positive_bar_color => "positiveBarColor", :total_bar_color => "totalBarColor", } end |
Instance Method Details
#to_jsii ⇒ Object
31898 31899 31900 31901 31902 31903 31904 31905 31906 |
# File 'quick_sight/cfn_analysis.rb', line 31898 def to_jsii result = {} result.merge!({ "negativeBarColor" => @negative_bar_color, "positiveBarColor" => @positive_bar_color, "totalBarColor" => @total_bar_color, }) result.compact end |