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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/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.



11378
11379
11380
# File 'lib/google/apis/sheets_v4/classes.rb', line 11378

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



11370
11371
11372
# File 'lib/google/apis/sheets_v4/classes.rb', line 11370

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)


11375
11376
11377
# File 'lib/google/apis/sheets_v4/classes.rb', line 11375

def reversed
  @reversed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11383
11384
11385
11386
# File 'lib/google/apis/sheets_v4/classes.rb', line 11383

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