Class: Google::Apis::SheetsV4::ChartAxisViewWindowOptions
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::ChartAxisViewWindowOptions
- 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 options that define a "view window" for a chart (such as the visible values in an axis).
Instance Attribute Summary collapse
-
#view_window_max ⇒ Float
The maximum numeric value to be shown in this view window.
-
#view_window_min ⇒ Float
The minimum numeric value to be shown in this view window.
-
#view_window_mode ⇒ String
The view window's mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChartAxisViewWindowOptions
constructor
A new instance of ChartAxisViewWindowOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChartAxisViewWindowOptions
Returns a new instance of ChartAxisViewWindowOptions.
2710 2711 2712 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#view_window_max ⇒ Float
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
2697 2698 2699 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2697 def view_window_max @view_window_max end |
#view_window_min ⇒ Float
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
2703 2704 2705 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2703 def view_window_min @view_window_min end |
#view_window_mode ⇒ String
The view window's mode.
Corresponds to the JSON property viewWindowMode
2708 2709 2710 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2708 def view_window_mode @view_window_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2715 2716 2717 2718 2719 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2715 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 |