Class: Google::Apis::SheetsV4::CandlestickData
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CandlestickData
- 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
-
#close_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
-
#high_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
-
#low_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
-
#open_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CandlestickData
constructor
A new instance of CandlestickData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CandlestickData
Returns a new instance of CandlestickData
2352 2353 2354 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#close_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
Corresponds to the JSON property closeSeries
2335 2336 2337 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2335 def close_series @close_series end |
#high_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
Corresponds to the JSON property highSeries
2340 2341 2342 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2340 def high_series @high_series end |
#low_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
Corresponds to the JSON property lowSeries
2345 2346 2347 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2345 def low_series @low_series end |
#open_series ⇒ Google::Apis::SheetsV4::CandlestickSeries
The series of a CandlestickData.
Corresponds to the JSON property openSeries
2350 2351 2352 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2350 def open_series @open_series end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2357 2358 2359 2360 2361 2362 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2357 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 |