Class: Google::Apis::SheetsV4::CandlestickDomain

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 CandlestickChart.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CandlestickDomain

Returns a new instance of CandlestickDomain.



2758
2759
2760
# File 'generated/google/apis/sheets_v4/classes.rb', line 2758

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



2750
2751
2752
# File 'generated/google/apis/sheets_v4/classes.rb', line 2750

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)


2755
2756
2757
# File 'generated/google/apis/sheets_v4/classes.rb', line 2755

def reversed
  @reversed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2763
2764
2765
2766
# File 'generated/google/apis/sheets_v4/classes.rb', line 2763

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