Class: AWSCDK::QuickSight::CfnTemplate::PieChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PieChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The sort configuration of a pie chart.
Instance Attribute Summary collapse
-
#category_items_limit ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of categories that are displayed in a pie chart.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the category fields.
-
#small_multiples_limit_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of small multiples panels that are displayed.
-
#small_multiples_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the small multiples field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_items_limit: nil, category_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ PieChartSortConfigurationProperty
constructor
A new instance of PieChartSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_items_limit: nil, category_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ PieChartSortConfigurationProperty
Returns a new instance of PieChartSortConfigurationProperty.
19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 |
# File 'quick_sight/cfn_template.rb', line 19510 def initialize(category_items_limit: nil, category_sort: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) @category_items_limit = category_items_limit.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty.new(**category_items_limit.transform_keys(&:to_sym)) : category_items_limit Jsii::Type.check_type(@category_items_limit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimit") unless @category_items_limit.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil? @small_multiples_limit_configuration = small_multiples_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ItemsLimitConfigurationProperty.new(**small_multiples_limit_configuration.transform_keys(&:to_sym)) : small_multiples_limit_configuration Jsii::Type.check_type(@small_multiples_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "smallMultiplesLimitConfiguration") unless @small_multiples_limit_configuration.nil? @small_multiples_sort = small_multiples_sort Jsii::Type.check_type(@small_multiples_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "smallMultiplesSort") unless @small_multiples_sort.nil? end |
Instance Attribute Details
#category_items_limit ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of categories that are displayed in a pie chart.
19525 19526 19527 |
# File 'quick_sight/cfn_template.rb', line 19525 def category_items_limit @category_items_limit end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the category fields.
19530 19531 19532 |
# File 'quick_sight/cfn_template.rb', line 19530 def category_sort @category_sort end |
#small_multiples_limit_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of small multiples panels that are displayed.
19535 19536 19537 |
# File 'quick_sight/cfn_template.rb', line 19535 def small_multiples_limit_configuration @small_multiples_limit_configuration end |
#small_multiples_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the small multiples field.
19540 19541 19542 |
# File 'quick_sight/cfn_template.rb', line 19540 def small_multiples_sort @small_multiples_sort end |
Class Method Details
.jsii_properties ⇒ Object
19542 19543 19544 19545 19546 19547 19548 19549 |
# File 'quick_sight/cfn_template.rb', line 19542 def self.jsii_properties { :category_items_limit => "categoryItemsLimit", :category_sort => "categorySort", :small_multiples_limit_configuration => "smallMultiplesLimitConfiguration", :small_multiples_sort => "smallMultiplesSort", } end |
Instance Method Details
#to_jsii ⇒ Object
19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 |
# File 'quick_sight/cfn_template.rb', line 19551 def to_jsii result = {} result.merge!({ "categoryItemsLimit" => @category_items_limit, "categorySort" => @category_sort, "smallMultiplesLimitConfiguration" => @small_multiples_limit_configuration, "smallMultiplesSort" => @small_multiples_sort, }) result.compact end |