Class: Google::Apis::SheetsV4::WaterfallChartSpec
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SheetsV4::WaterfallChartSpec
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb 
Overview
A waterfall chart.
Instance Attribute Summary collapse
- 
  
    
      #connector_line_style  ⇒ Google::Apis::SheetsV4::LineStyle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Properties that describe the style of a line.
 - 
  
    
      #domain  ⇒ Google::Apis::SheetsV4::WaterfallChartDomain 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The domain of a waterfall chart.
 - 
  
    
      #first_value_is_total  ⇒ Boolean 
    
    
      (also: #first_value_is_total?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
True to interpret the first value as a total.
 - 
  
    
      #hide_connector_lines  ⇒ Boolean 
    
    
      (also: #hide_connector_lines?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
True to hide connector lines between columns.
 - 
  
    
      #series  ⇒ Array<Google::Apis::SheetsV4::WaterfallChartSeries> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The data this waterfall chart is visualizing.
 - 
  
    
      #stacked_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The stacked type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WaterfallChartSpec 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WaterfallChartSpec.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WaterfallChartSpec
Returns a new instance of WaterfallChartSpec
      10054 10055 10056  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10054 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#connector_line_style ⇒ Google::Apis::SheetsV4::LineStyle
Properties that describe the style of a line.
Corresponds to the JSON property connectorLineStyle
      10025 10026 10027  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10025 def connector_line_style @connector_line_style end  | 
  
#domain ⇒ Google::Apis::SheetsV4::WaterfallChartDomain
The domain of a waterfall chart.
Corresponds to the JSON property domain
      10030 10031 10032  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10030 def domain @domain end  | 
  
#first_value_is_total ⇒ Boolean Also known as: first_value_is_total?
True to interpret the first value as a total.
Corresponds to the JSON property firstValueIsTotal
      10035 10036 10037  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10035 def first_value_is_total @first_value_is_total end  | 
  
#hide_connector_lines ⇒ Boolean Also known as: hide_connector_lines?
True to hide connector lines between columns.
Corresponds to the JSON property hideConnectorLines
      10041 10042 10043  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10041 def hide_connector_lines @hide_connector_lines end  | 
  
#series ⇒ Array<Google::Apis::SheetsV4::WaterfallChartSeries>
The data this waterfall chart is visualizing.
Corresponds to the JSON property series
      10047 10048 10049  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10047 def series @series end  | 
  
#stacked_type ⇒ String
The stacked type.
Corresponds to the JSON property stackedType
      10052 10053 10054  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10052 def stacked_type @stacked_type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      10059 10060 10061 10062 10063 10064 10065 10066  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 10059 def update!(**args) @connector_line_style = args[:connector_line_style] if args.key?(:connector_line_style) @domain = args[:domain] if args.key?(:domain) @first_value_is_total = args[:first_value_is_total] if args.key?(:first_value_is_total) @hide_connector_lines = args[:hide_connector_lines] if args.key?(:hide_connector_lines) @series = args[:series] if args.key?(:series) @stacked_type = args[:stacked_type] if args.key?(:stacked_type) end  |