Class: AWSCDK::QuickSight::CfnDashboard::SmallMultiplesOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::SmallMultiplesOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
Options that determine the layout and display options of a chart's small multiples.
Instance Attribute Summary collapse
-
#max_visible_columns ⇒ Numeric?
readonly
Sets the maximum number of visible columns to display in the grid of small multiples panels.
-
#max_visible_rows ⇒ Numeric?
readonly
Sets the maximum number of visible rows to display in the grid of small multiples panels.
-
#panel_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Configures the display options for each small multiples panel.
-
#x_axis ⇒ AWSCDK::IResolvable, ...
readonly
The properties of a small multiples X axis.
-
#y_axis ⇒ AWSCDK::IResolvable, ...
readonly
The properties of a small multiples Y axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_visible_columns: nil, max_visible_rows: nil, panel_configuration: nil, x_axis: nil, y_axis: nil) ⇒ SmallMultiplesOptionsProperty
constructor
A new instance of SmallMultiplesOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_visible_columns: nil, max_visible_rows: nil, panel_configuration: nil, x_axis: nil, y_axis: nil) ⇒ SmallMultiplesOptionsProperty
Returns a new instance of SmallMultiplesOptionsProperty.
27974 27975 27976 27977 27978 27979 27980 27981 27982 27983 27984 27985 |
# File 'quick_sight/cfn_dashboard.rb', line 27974 def initialize(max_visible_columns: nil, max_visible_rows: nil, panel_configuration: nil, x_axis: nil, y_axis: nil) @max_visible_columns = max_visible_columns Jsii::Type.check_type(@max_visible_columns, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxVisibleColumns") unless @max_visible_columns.nil? @max_visible_rows = max_visible_rows Jsii::Type.check_type(@max_visible_rows, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxVisibleRows") unless @max_visible_rows.nil? @panel_configuration = panel_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::PanelConfigurationProperty.new(**panel_configuration.transform_keys(&:to_sym)) : panel_configuration Jsii::Type.check_type(@panel_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5QYW5lbENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "panelConfiguration") unless @panel_configuration.nil? @x_axis = x_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SmallMultiplesAxisPropertiesProperty.new(**x_axis.transform_keys(&:to_sym)) : x_axis Jsii::Type.check_type(@x_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TbWFsbE11bHRpcGxlc0F4aXNQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "xAxis") unless @x_axis.nil? @y_axis = y_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SmallMultiplesAxisPropertiesProperty.new(**y_axis.transform_keys(&:to_sym)) : y_axis Jsii::Type.check_type(@y_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TbWFsbE11bHRpcGxlc0F4aXNQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "yAxis") unless @y_axis.nil? end |
Instance Attribute Details
#max_visible_columns ⇒ Numeric? (readonly)
Sets the maximum number of visible columns to display in the grid of small multiples panels.
The default is Auto , which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart.
27993 27994 27995 |
# File 'quick_sight/cfn_dashboard.rb', line 27993 def max_visible_columns @max_visible_columns end |
#max_visible_rows ⇒ Numeric? (readonly)
Sets the maximum number of visible rows to display in the grid of small multiples panels.
The default value is Auto , which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart.
28000 28001 28002 |
# File 'quick_sight/cfn_dashboard.rb', line 28000 def max_visible_rows @max_visible_rows end |
#panel_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Configures the display options for each small multiples panel.
28005 28006 28007 |
# File 'quick_sight/cfn_dashboard.rb', line 28005 def panel_configuration @panel_configuration end |
#x_axis ⇒ AWSCDK::IResolvable, ... (readonly)
The properties of a small multiples X axis.
28010 28011 28012 |
# File 'quick_sight/cfn_dashboard.rb', line 28010 def x_axis @x_axis end |
#y_axis ⇒ AWSCDK::IResolvable, ... (readonly)
The properties of a small multiples Y axis.
28015 28016 28017 |
# File 'quick_sight/cfn_dashboard.rb', line 28015 def y_axis @y_axis end |
Class Method Details
.jsii_properties ⇒ Object
28017 28018 28019 28020 28021 28022 28023 28024 28025 |
# File 'quick_sight/cfn_dashboard.rb', line 28017 def self.jsii_properties { :max_visible_columns => "maxVisibleColumns", :max_visible_rows => "maxVisibleRows", :panel_configuration => "panelConfiguration", :x_axis => "xAxis", :y_axis => "yAxis", } end |
Instance Method Details
#to_jsii ⇒ Object
28027 28028 28029 28030 28031 28032 28033 28034 28035 28036 28037 |
# File 'quick_sight/cfn_dashboard.rb', line 28027 def to_jsii result = {} result.merge!({ "maxVisibleColumns" => @max_visible_columns, "maxVisibleRows" => @max_visible_rows, "panelConfiguration" => @panel_configuration, "xAxis" => @x_axis, "yAxis" => @y_axis, }) result.compact end |