Class: AWSCDK::QuickSight::CfnTemplate::YAxisOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::YAxisOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The options that are available for a single Y axis in a chart.
Instance Attribute Summary collapse
-
#y_axis ⇒ String
readonly
The Y axis type to be used in the chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(y_axis:) ⇒ YAxisOptionsProperty
constructor
A new instance of YAxisOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(y_axis:) ⇒ YAxisOptionsProperty
Returns a new instance of YAxisOptionsProperty.
30837 30838 30839 30840 |
# File 'quick_sight/cfn_template.rb', line 30837 def initialize(y_axis:) @y_axis = y_axis Jsii::Type.check_type(@y_axis, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "yAxis") end |
Instance Attribute Details
#y_axis ⇒ String (readonly)
The Y axis type to be used in the chart.
If you choose PRIMARY_Y_AXIS , the primary Y Axis is located on the leftmost vertical axis of the chart.
30848 30849 30850 |
# File 'quick_sight/cfn_template.rb', line 30848 def y_axis @y_axis end |
Class Method Details
.jsii_properties ⇒ Object
30850 30851 30852 30853 30854 |
# File 'quick_sight/cfn_template.rb', line 30850 def self.jsii_properties { :y_axis => "yAxis", } end |
Instance Method Details
#to_jsii ⇒ Object
30856 30857 30858 30859 30860 30861 30862 |
# File 'quick_sight/cfn_template.rb', line 30856 def to_jsii result = {} result.merge!({ "yAxis" => @y_axis, }) result.compact end |