Class: AWSCDK::QuickSight::CfnAnalysis::WaterfallChartOptionsProperty

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

Overview

The options that determine the presentation of a waterfall visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total_bar_label: nil) ⇒ WaterfallChartOptionsProperty

Returns a new instance of WaterfallChartOptionsProperty.

Parameters:

  • total_bar_label (String, nil) (defaults to: nil)

    This option determines the total bar label of a waterfall visual.



31916
31917
31918
31919
# File 'quick_sight/cfn_analysis.rb', line 31916

def initialize(total_bar_label: nil)
  @total_bar_label = total_bar_label
  Jsii::Type.check_type(@total_bar_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "totalBarLabel") unless @total_bar_label.nil?
end

Instance Attribute Details

#total_bar_labelString? (readonly)

This option determines the total bar label of a waterfall visual.



31925
31926
31927
# File 'quick_sight/cfn_analysis.rb', line 31925

def total_bar_label
  @total_bar_label
end

Class Method Details

.jsii_propertiesObject



31927
31928
31929
31930
31931
# File 'quick_sight/cfn_analysis.rb', line 31927

def self.jsii_properties
  {
    :total_bar_label => "totalBarLabel",
  }
end

Instance Method Details

#to_jsiiObject



31933
31934
31935
31936
31937
31938
31939
# File 'quick_sight/cfn_analysis.rb', line 31933

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