Class: Google::Apis::SheetsV4::CandlestickChartSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::CandlestickChartSpec
- 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
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CandlestickChartSpec
Returns a new instance of CandlestickChartSpec
1905 1906 1907 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1905 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
1898 1899 1900 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1898 def data @data end |
#domain ⇒ Google::Apis::SheetsV4::CandlestickDomain
The domain of a CandlestickChart.
Corresponds to the JSON property domain
1903 1904 1905 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1903 def domain @domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1910 1911 1912 1913 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1910 def update!(**args) @data = args[:data] if args.key?(:data) @domain = args[:domain] if args.key?(:domain) end |