Class: AWSCDK::QuickSight::CfnDashboard::YAxisOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The options that are available for a single Y axis in a chart.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(y_axis:) ⇒ YAxisOptionsProperty

Returns a new instance of YAxisOptionsProperty.

Parameters:

  • y_axis (String)

    The Y axis type to be used in the chart.



33636
33637
33638
33639
# File 'quick_sight/cfn_dashboard.rb', line 33636

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_axisString (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.



33647
33648
33649
# File 'quick_sight/cfn_dashboard.rb', line 33647

def y_axis
  @y_axis
end

Class Method Details

.jsii_propertiesObject



33649
33650
33651
33652
33653
# File 'quick_sight/cfn_dashboard.rb', line 33649

def self.jsii_properties
  {
    :y_axis => "yAxis",
  }
end

Instance Method Details

#to_jsiiObject



33655
33656
33657
33658
33659
33660
33661
# File 'quick_sight/cfn_dashboard.rb', line 33655

def to_jsii
  result = {}
  result.merge!({
    "yAxis" => @y_axis,
  })
  result.compact
end