Class: Google::Apis::SheetsV4::ChartData

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 data included in a domain or series.

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) ⇒ ChartData

Returns a new instance of ChartData.



4366
4367
4368
# File 'generated/google/apis/sheets_v4/classes.rb', line 4366

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

Instance Attribute Details

#source_rangeGoogle::Apis::SheetsV4::ChartSourceRange

Source ranges for a chart. Corresponds to the JSON property sourceRange



4364
4365
4366
# File 'generated/google/apis/sheets_v4/classes.rb', line 4364

def source_range
  @source_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4371
4372
4373
# File 'generated/google/apis/sheets_v4/classes.rb', line 4371

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