Class: Google::Apis::SheetsV4::CandlestickDomain

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

The domain of a CandlestickChart.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CandlestickDomain

Returns a new instance of CandlestickDomain.



2520
2521
2522
# File 'lib/google/apis/sheets_v4/classes.rb', line 2520

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

Instance Attribute Details

#dataGoogle::Apis::SheetsV4::ChartData

The data included in a domain or series. Corresponds to the JSON property data



2512
2513
2514
# File 'lib/google/apis/sheets_v4/classes.rb', line 2512

def data
  @data
end

#reversedBoolean Also known as: reversed?

True to reverse the order of the domain values (horizontal axis). Corresponds to the JSON property reversed

Returns:

  • (Boolean)


2517
2518
2519
# File 'lib/google/apis/sheets_v4/classes.rb', line 2517

def reversed
  @reversed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2525
2526
2527
2528
# File 'lib/google/apis/sheets_v4/classes.rb', line 2525

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