Class: Google::Apis::SheetsV4::CandlestickChartSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CandlestickChartSpec

Returns a new instance of CandlestickChartSpec.



2370
2371
2372
# File 'lib/google/apis/sheets_v4/classes.rb', line 2370

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

Instance Attribute Details

#dataArray<Google::Apis::SheetsV4::CandlestickData>

The Candlestick chart data. Only one CandlestickData is supported. Corresponds to the JSON property data



2363
2364
2365
# File 'lib/google/apis/sheets_v4/classes.rb', line 2363

def data
  @data
end

#domainGoogle::Apis::SheetsV4::CandlestickDomain

The domain of a CandlestickChart. Corresponds to the JSON property domain



2368
2369
2370
# File 'lib/google/apis/sheets_v4/classes.rb', line 2368

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2375
2376
2377
2378
# File 'lib/google/apis/sheets_v4/classes.rb', line 2375

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @domain = args[:domain] if args.key?(:domain)
end