Class: Google::Apis::SheetsV4::BasicChartDomain
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BasicChartDomain
- 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
-
#domain ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
-
#reversed ⇒ Boolean
(also: #reversed?)
True to reverse the order of the domain values (horizontal axis).
Instance Method Summary collapse
-
#initialize(**args) ⇒ BasicChartDomain
constructor
A new instance of BasicChartDomain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BasicChartDomain
Returns a new instance of BasicChartDomain
7373 7374 7375 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
Corresponds to the JSON property domain
7363 7364 7365 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7363 def domain @domain end |
#reversed ⇒ Boolean Also known as: reversed?
True to reverse the order of the domain values (horizontal axis).
Not applicable to Gauge, Geo, Histogram, Org, Pie, Radar, and Treemap
charts.
Corresponds to the JSON property reversed
7370 7371 7372 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7370 def reversed @reversed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7378 7379 7380 7381 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7378 def update!(**args) @domain = args[:domain] if args.key?(:domain) @reversed = args[:reversed] if args.key?(:reversed) end |