Class: AWSCDK::QuickSight::CfnDashboard::SingleAxisOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::SingleAxisOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The settings of a chart's single axis configuration.
Instance Attribute Summary collapse
-
#y_axis_options ⇒ AWSCDK::IResolvable, ...
readonly
The Y axis options of a single axis configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(y_axis_options: nil) ⇒ SingleAxisOptionsProperty
constructor
A new instance of SingleAxisOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(y_axis_options: nil) ⇒ SingleAxisOptionsProperty
Returns a new instance of SingleAxisOptionsProperty.
27847 27848 27849 27850 |
# File 'quick_sight/cfn_dashboard.rb', line 27847 def initialize(y_axis_options: nil) @y_axis_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::YAxisOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@y_axis_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5ZQXhpc09wdGlvbnNQcm9wZXJ0eSJ9XX19")), "yAxisOptions") unless @y_axis_options.nil? end |
Instance Attribute Details
#y_axis_options ⇒ AWSCDK::IResolvable, ... (readonly)
The Y axis options of a single axis configuration.
27856 27857 27858 |
# File 'quick_sight/cfn_dashboard.rb', line 27856 def @y_axis_options end |
Class Method Details
.jsii_properties ⇒ Object
27858 27859 27860 27861 27862 |
# File 'quick_sight/cfn_dashboard.rb', line 27858 def self.jsii_properties { :y_axis_options => "yAxisOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
27864 27865 27866 27867 27868 27869 27870 |
# File 'quick_sight/cfn_dashboard.rb', line 27864 def to_jsii result = {} result.merge!({ "yAxisOptions" => @y_axis_options, }) result.compact end |