class Google::Apis::SheetsV4::ChartAxisViewWindowOptions

The options that define a “view window” for a chart (such as the visible values in an axis).

Attributes

view_window_max[RW]

The maximum numeric value to be shown in this view window. If unset, will automatically determine a maximum value that looks good for the data. Corresponds to the JSON property `viewWindowMax` @return [Float]

view_window_min[RW]

The minimum numeric value to be shown in this view window. If unset, will automatically determine a minimum value that looks good for the data. Corresponds to the JSON property `viewWindowMin` @return [Float]

view_window_mode[RW]

The view window's mode. Corresponds to the JSON property `viewWindowMode` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 2713
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 2718
def update!(**args)
  @view_window_max = args[:view_window_max] if args.key?(:view_window_max)
  @view_window_min = args[:view_window_min] if args.key?(:view_window_min)
  @view_window_mode = args[:view_window_mode] if args.key?(:view_window_mode)
end