Class: AWSCDK::QuickSight::CfnTemplate::BarChartAggregatedFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::BarChartAggregatedFieldWellsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The aggregated field wells of a bar chart.
Instance Attribute Summary collapse
-
#category ⇒ AWSCDK::IResolvable, ...
readonly
The category (y-axis) field well of a bar chart.
-
#colors ⇒ AWSCDK::IResolvable, ...
readonly
The color (group/color) field well of a bar chart.
-
#small_multiples ⇒ AWSCDK::IResolvable, ...
readonly
The small multiples field well of a bar chart.
-
#values ⇒ AWSCDK::IResolvable, ...
readonly
The value field wells of a bar chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category: nil, colors: nil, small_multiples: nil, values: nil) ⇒ BarChartAggregatedFieldWellsProperty
constructor
A new instance of BarChartAggregatedFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category: nil, colors: nil, small_multiples: nil, values: nil) ⇒ BarChartAggregatedFieldWellsProperty
Returns a new instance of BarChartAggregatedFieldWellsProperty.
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 |
# File 'quick_sight/cfn_template.rb', line 1647 def initialize(category: nil, colors: nil, small_multiples: nil, values: nil) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "category") unless @category.nil? @colors = colors Jsii::Type.check_type(@colors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "colors") unless @colors.nil? @small_multiples = small_multiples Jsii::Type.check_type(@small_multiples, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5EaW1lbnNpb25GaWVsZFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "smallMultiples") unless @small_multiples.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5NZWFzdXJlRmllbGRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#category ⇒ AWSCDK::IResolvable, ... (readonly)
The category (y-axis) field well of a bar chart.
1662 1663 1664 |
# File 'quick_sight/cfn_template.rb', line 1662 def category @category end |
#colors ⇒ AWSCDK::IResolvable, ... (readonly)
The color (group/color) field well of a bar chart.
1667 1668 1669 |
# File 'quick_sight/cfn_template.rb', line 1667 def colors @colors end |
#small_multiples ⇒ AWSCDK::IResolvable, ... (readonly)
The small multiples field well of a bar chart.
1672 1673 1674 |
# File 'quick_sight/cfn_template.rb', line 1672 def small_multiples @small_multiples end |
#values ⇒ AWSCDK::IResolvable, ... (readonly)
The value field wells of a bar chart.
Values are aggregated by category.
1679 1680 1681 |
# File 'quick_sight/cfn_template.rb', line 1679 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'quick_sight/cfn_template.rb', line 1681 def self.jsii_properties { :category => "category", :colors => "colors", :small_multiples => "smallMultiples", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'quick_sight/cfn_template.rb', line 1690 def to_jsii result = {} result.merge!({ "category" => @category, "colors" => @colors, "smallMultiples" => @small_multiples, "values" => @values, }) result.compact end |