Class: Google::Apis::SheetsV4::CandlestickDomain
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CandlestickDomain
- 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 CandlestickChart.
Instance Attribute Summary collapse
-
#data ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
-
#reversed ⇒ Boolean
(also: #reversed?)
True to reverse the order of the domain values (horizontal axis).
Instance Method Summary collapse
-
#initialize(**args) ⇒ CandlestickDomain
constructor
A new instance of CandlestickDomain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CandlestickDomain
Returns a new instance of CandlestickDomain.
2432 2433 2434 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
Corresponds to the JSON property data
2424 2425 2426 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2424 def data @data end |
#reversed ⇒ Boolean Also known as: reversed?
True to reverse the order of the domain values (horizontal axis).
Corresponds to the JSON property reversed
2429 2430 2431 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2429 def reversed @reversed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2437 2438 2439 2440 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2437 def update!(**args) @data = args[:data] if args.key?(:data) @reversed = args[:reversed] if args.key?(:reversed) end |