Class: Google::Apis::SheetsV4::CandlestickChartSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CandlestickChartSpec
- 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
A candlestick chart.
Instance Attribute Summary collapse
-
#data ⇒ Array<Google::Apis::SheetsV4::CandlestickData>
The Candlestick chart data.
-
#domain ⇒ Google::Apis::SheetsV4::CandlestickDomain
The domain of a CandlestickChart.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CandlestickChartSpec
constructor
A new instance of CandlestickChartSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CandlestickChartSpec
Returns a new instance of CandlestickChartSpec.
2456 2457 2458 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Array<Google::Apis::SheetsV4::CandlestickData>
The Candlestick chart data. Only one CandlestickData is supported.
Corresponds to the JSON property data
2449 2450 2451 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2449 def data @data end |
#domain ⇒ Google::Apis::SheetsV4::CandlestickDomain
The domain of a CandlestickChart.
Corresponds to the JSON property domain
2454 2455 2456 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2454 def domain @domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2461 2462 2463 2464 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2461 def update!(**args) @data = args[:data] if args.key?(:data) @domain = args[:domain] if args.key?(:domain) end |