class Google::Apis::SheetsV4::CandlestickData

The Candlestick chart data, each containing the low, open, close, and high values for a series.

Attributes

close_series[RW]

The series of a CandlestickData. Corresponds to the JSON property `closeSeries` @return [Google::Apis::SheetsV4::CandlestickSeries]

high_series[RW]

The series of a CandlestickData. Corresponds to the JSON property `highSeries` @return [Google::Apis::SheetsV4::CandlestickSeries]

low_series[RW]

The series of a CandlestickData. Corresponds to the JSON property `lowSeries` @return [Google::Apis::SheetsV4::CandlestickSeries]

open_series[RW]

The series of a CandlestickData. Corresponds to the JSON property `openSeries` @return [Google::Apis::SheetsV4::CandlestickSeries]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 2404
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 2409
def update!(**args)
  @close_series = args[:close_series] if args.key?(:close_series)
  @high_series = args[:high_series] if args.key?(:high_series)
  @low_series = args[:low_series] if args.key?(:low_series)
  @open_series = args[:open_series] if args.key?(:open_series)
end