Class: Google::Apis::SheetsV4::CandlestickData

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 Candlestick chart data, each containing the low, open, close, and high values for a series.

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) ⇒ CandlestickData

Returns a new instance of CandlestickData



3554
3555
3556
# File 'generated/google/apis/sheets_v4/classes.rb', line 3554

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

Instance Attribute Details

#close_seriesGoogle::Apis::SheetsV4::CandlestickSeries

The series of a CandlestickData. Corresponds to the JSON property closeSeries



3547
3548
3549
# File 'generated/google/apis/sheets_v4/classes.rb', line 3547

def close_series
  @close_series
end

#high_seriesGoogle::Apis::SheetsV4::CandlestickSeries

The series of a CandlestickData. Corresponds to the JSON property highSeries



3537
3538
3539
# File 'generated/google/apis/sheets_v4/classes.rb', line 3537

def high_series
  @high_series
end

#low_seriesGoogle::Apis::SheetsV4::CandlestickSeries

The series of a CandlestickData. Corresponds to the JSON property lowSeries



3542
3543
3544
# File 'generated/google/apis/sheets_v4/classes.rb', line 3542

def low_series
  @low_series
end

#open_seriesGoogle::Apis::SheetsV4::CandlestickSeries

The series of a CandlestickData. Corresponds to the JSON property openSeries



3552
3553
3554
# File 'generated/google/apis/sheets_v4/classes.rb', line 3552

def open_series
  @open_series
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3559
3560
3561
3562
3563
3564
# File 'generated/google/apis/sheets_v4/classes.rb', line 3559

def update!(**args)
  @high_series = args[:high_series] if args.key?(:high_series)
  @low_series = args[:low_series] if args.key?(:low_series)
  @close_series = args[:close_series] if args.key?(:close_series)
  @open_series = args[:open_series] if args.key?(:open_series)
end