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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CandlestickChartSpec

Returns a new instance of CandlestickChartSpec.



2694
2695
2696
# File 'generated/google/apis/sheets_v4/classes.rb', line 2694

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



2687
2688
2689
# File 'generated/google/apis/sheets_v4/classes.rb', line 2687

def data
  @data
end

#domainGoogle::Apis::SheetsV4::CandlestickDomain

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



2692
2693
2694
# File 'generated/google/apis/sheets_v4/classes.rb', line 2692

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2699
2700
2701
2702
# File 'generated/google/apis/sheets_v4/classes.rb', line 2699

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