Class: AWSCDK::QuickSight::CfnTemplate::YAxisOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

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.



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_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.



30848
30849
30850
# File 'quick_sight/cfn_template.rb', line 30848

def y_axis
  @y_axis
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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