Class: AWSCDK::QuickSight::CfnAnalysis::SingleAxisOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::SingleAxisOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
26809 26810 26811 26812 |
# File 'quick_sight/cfn_analysis.rb', line 26809 def initialize(y_axis_options: nil) @y_axis_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::YAxisOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@y_axis_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLllBeGlzT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "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.
26818 26819 26820 |
# File 'quick_sight/cfn_analysis.rb', line 26818 def @y_axis_options end |
Class Method Details
.jsii_properties ⇒ Object
26820 26821 26822 26823 26824 |
# File 'quick_sight/cfn_analysis.rb', line 26820 def self.jsii_properties { :y_axis_options => "yAxisOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
26826 26827 26828 26829 26830 26831 26832 |
# File 'quick_sight/cfn_analysis.rb', line 26826 def to_jsii result = {} result.merge!({ "yAxisOptions" => @y_axis_options, }) result.compact end |