class Google::Apis::SheetsV4::AddChartRequest
Adds a chart to a sheet in the spreadsheet.
Attributes
chart[RW]
A chart embedded in a sheet. Corresponds to the JSON property `chart` @return [Google::Apis::SheetsV4::EmbeddedChart]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 72 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 77 def update!(**args) @chart = args[:chart] if args.key?(:chart) end