Class: AWSCDK::QuickSight::CfnAnalysis::LineChartSortConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::LineChartSortConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The sort configuration of a line chart.
Instance Attribute Summary collapse
-
#category_items_limit_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of categories that are displayed in a line chart.
-
#category_sort ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of the category fields.
-
#color_items_limit_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The limit on the number of lines that are displayed in a line chart.
-
#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_configuration: nil, category_sort: nil, color_items_limit_configuration: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ LineChartSortConfigurationProperty
constructor
A new instance of LineChartSortConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_items_limit_configuration: nil, category_sort: nil, color_items_limit_configuration: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) ⇒ LineChartSortConfigurationProperty
Returns a new instance of LineChartSortConfigurationProperty.
18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 |
# File 'quick_sight/cfn_analysis.rb', line 18160 def initialize(category_items_limit_configuration: nil, category_sort: nil, color_items_limit_configuration: nil, small_multiples_limit_configuration: nil, small_multiples_sort: nil) @category_items_limit_configuration = category_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**category_items_limit_configuration.transform_keys(&:to_sym)) : category_items_limit_configuration Jsii::Type.check_type(@category_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "categoryItemsLimitConfiguration") unless @category_items_limit_configuration.nil? @category_sort = category_sort Jsii::Type.check_type(@category_sort, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "categorySort") unless @category_sort.nil? @color_items_limit_configuration = color_items_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ItemsLimitConfigurationProperty.new(**color_items_limit_configuration.transform_keys(&:to_sym)) : color_items_limit_configuration Jsii::Type.check_type(@color_items_limit_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "colorItemsLimitConfiguration") unless @color_items_limit_configuration.nil? @small_multiples_limit_configuration = small_multiples_limit_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkl0ZW1zTGltaXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5GaWVsZFNvcnRPcHRpb25zUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "smallMultiplesSort") unless @small_multiples_sort.nil? end |
Instance Attribute Details
#category_items_limit_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of categories that are displayed in a line chart.
18177 18178 18179 |
# File 'quick_sight/cfn_analysis.rb', line 18177 def category_items_limit_configuration @category_items_limit_configuration end |
#category_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the category fields.
18182 18183 18184 |
# File 'quick_sight/cfn_analysis.rb', line 18182 def category_sort @category_sort end |
#color_items_limit_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of lines that are displayed in a line chart.
18187 18188 18189 |
# File 'quick_sight/cfn_analysis.rb', line 18187 def color_items_limit_configuration @color_items_limit_configuration end |
#small_multiples_limit_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The limit on the number of small multiples panels that are displayed.
18192 18193 18194 |
# File 'quick_sight/cfn_analysis.rb', line 18192 def small_multiples_limit_configuration @small_multiples_limit_configuration end |
#small_multiples_sort ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of the small multiples field.
18197 18198 18199 |
# File 'quick_sight/cfn_analysis.rb', line 18197 def small_multiples_sort @small_multiples_sort end |
Class Method Details
.jsii_properties ⇒ Object
18199 18200 18201 18202 18203 18204 18205 18206 18207 |
# File 'quick_sight/cfn_analysis.rb', line 18199 def self.jsii_properties { :category_items_limit_configuration => "categoryItemsLimitConfiguration", :category_sort => "categorySort", :color_items_limit_configuration => "colorItemsLimitConfiguration", :small_multiples_limit_configuration => "smallMultiplesLimitConfiguration", :small_multiples_sort => "smallMultiplesSort", } end |
Instance Method Details
#to_jsii ⇒ Object
18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 |
# File 'quick_sight/cfn_analysis.rb', line 18209 def to_jsii result = {} result.merge!({ "categoryItemsLimitConfiguration" => @category_items_limit_configuration, "categorySort" => @category_sort, "colorItemsLimitConfiguration" => @color_items_limit_configuration, "smallMultiplesLimitConfiguration" => @small_multiples_limit_configuration, "smallMultiplesSort" => @small_multiples_sort, }) result.compact end |