Class: Google::Apis::SheetsV4::BasicChartDomain

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

The domain of a chart. For example, if charting stock prices over time, this would be the date.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BasicChartDomain

Returns a new instance of BasicChartDomain.



1123
1124
1125
# File 'generated/google/apis/sheets_v4/classes.rb', line 1123

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

Instance Attribute Details

#domainGoogle::Apis::SheetsV4::ChartData

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



1115
1116
1117
# File 'generated/google/apis/sheets_v4/classes.rb', line 1115

def domain
  @domain
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)


1120
1121
1122
# File 'generated/google/apis/sheets_v4/classes.rb', line 1120

def reversed
  @reversed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1128
1129
1130
1131
# File 'generated/google/apis/sheets_v4/classes.rb', line 1128

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