Class: Google::Apis::SheetsV4::WaterfallChartDomain

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

The domain of a waterfall chart.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WaterfallChartDomain

Returns a new instance of WaterfallChartDomain.



11158
11159
11160
# File 'generated/google/apis/sheets_v4/classes.rb', line 11158

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataGoogle::Apis::SheetsV4::ChartData

The data included in a domain or series. Corresponds to the JSON property data



11150
11151
11152
# File 'generated/google/apis/sheets_v4/classes.rb', line 11150

def data
  @data
end

#reversedBoolean Also known as: reversed?

True to reverse the order of the domain values (horizontal axis). Corresponds to the JSON property reversed

Returns:

  • (Boolean)


11155
11156
11157
# File 'generated/google/apis/sheets_v4/classes.rb', line 11155

def reversed
  @reversed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11163
11164
11165
11166
# File 'generated/google/apis/sheets_v4/classes.rb', line 11163

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @reversed = args[:reversed] if args.key?(:reversed)
end