Class: AWSCDK::QuickSight::CfnAnalysis::SmallMultiplesOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::SmallMultiplesOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
26936 26937 26938 26939 26940 26941 26942 26943 26944 26945 26946 26947 |
# File 'quick_sight/cfn_analysis.rb', line 26936 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::CfnAnalysis::PanelConfigurationProperty.new(**panel_configuration.transform_keys(&:to_sym)) : panel_configuration Jsii::Type.check_type(@panel_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlBhbmVsQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "panelConfiguration") unless @panel_configuration.nil? @x_axis = x_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::SmallMultiplesAxisPropertiesProperty.new(**x_axis.transform_keys(&:to_sym)) : x_axis Jsii::Type.check_type(@x_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNtYWxsTXVsdGlwbGVzQXhpc1Byb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "xAxis") unless @x_axis.nil? @y_axis = y_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::SmallMultiplesAxisPropertiesProperty.new(**y_axis.transform_keys(&:to_sym)) : y_axis Jsii::Type.check_type(@y_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNtYWxsTXVsdGlwbGVzQXhpc1Byb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "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.
26955 26956 26957 |
# File 'quick_sight/cfn_analysis.rb', line 26955 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.
26962 26963 26964 |
# File 'quick_sight/cfn_analysis.rb', line 26962 def max_visible_rows @max_visible_rows end |
#panel_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Configures the display options for each small multiples panel.
26967 26968 26969 |
# File 'quick_sight/cfn_analysis.rb', line 26967 def panel_configuration @panel_configuration end |
#x_axis ⇒ AWSCDK::IResolvable, ... (readonly)
The properties of a small multiples X axis.
26972 26973 26974 |
# File 'quick_sight/cfn_analysis.rb', line 26972 def x_axis @x_axis end |
#y_axis ⇒ AWSCDK::IResolvable, ... (readonly)
The properties of a small multiples Y axis.
26977 26978 26979 |
# File 'quick_sight/cfn_analysis.rb', line 26977 def y_axis @y_axis end |
Class Method Details
.jsii_properties ⇒ Object
26979 26980 26981 26982 26983 26984 26985 26986 26987 |
# File 'quick_sight/cfn_analysis.rb', line 26979 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
26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 |
# File 'quick_sight/cfn_analysis.rb', line 26989 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 |