Class: AWSCDK::QuickSight::CfnAnalysis::YAxisOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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.



32565
32566
32567
32568
# File 'quick_sight/cfn_analysis.rb', line 32565

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.



32576
32577
32578
# File 'quick_sight/cfn_analysis.rb', line 32576

def y_axis
  @y_axis
end

Class Method Details

.jsii_propertiesObject



32578
32579
32580
32581
32582
# File 'quick_sight/cfn_analysis.rb', line 32578

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

Instance Method Details

#to_jsiiObject



32584
32585
32586
32587
32588
32589
32590
# File 'quick_sight/cfn_analysis.rb', line 32584

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