target.apidocs.com.google.api.services.sheets.v4.model.ChartAxisViewWindowOptions.html Maven / Gradle / Ivy
ChartAxisViewWindowOptions (Google Sheets API v4-rev20240312-2.0.0)
com.google.api.services.sheets.v4.model
Class ChartAxisViewWindowOptions
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sheets.v4.model.ChartAxisViewWindowOptions
-
public final class ChartAxisViewWindowOptions
extends com.google.api.client.json.GenericJson
The options that define a "view window" for a chart (such as the visible values in an axis).
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ChartAxisViewWindowOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChartAxisViewWindowOptions
clone()
Double
getViewWindowMax()
The maximum numeric value to be shown in this view window.
Double
getViewWindowMin()
The minimum numeric value to be shown in this view window.
String
getViewWindowMode()
The view window's mode.
ChartAxisViewWindowOptions
set(String fieldName,
Object value)
ChartAxisViewWindowOptions
setViewWindowMax(Double viewWindowMax)
The maximum numeric value to be shown in this view window.
ChartAxisViewWindowOptions
setViewWindowMin(Double viewWindowMin)
The minimum numeric value to be shown in this view window.
ChartAxisViewWindowOptions
setViewWindowMode(String viewWindowMode)
The view window's mode.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getViewWindowMax
public Double getViewWindowMax()
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.
- Returns:
- value or
null
for none
-
setViewWindowMax
public ChartAxisViewWindowOptions setViewWindowMax(Double viewWindowMax)
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.
- Parameters:
viewWindowMax
- viewWindowMax or null
for none
-
getViewWindowMin
public Double getViewWindowMin()
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.
- Returns:
- value or
null
for none
-
setViewWindowMin
public ChartAxisViewWindowOptions setViewWindowMin(Double viewWindowMin)
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.
- Parameters:
viewWindowMin
- viewWindowMin or null
for none
-
getViewWindowMode
public String getViewWindowMode()
The view window's mode.
- Returns:
- value or
null
for none
-
setViewWindowMode
public ChartAxisViewWindowOptions setViewWindowMode(String viewWindowMode)
The view window's mode.
- Parameters:
viewWindowMode
- viewWindowMode or null
for none
-
set
public ChartAxisViewWindowOptions set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ChartAxisViewWindowOptions clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.