public final class ChartData
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ChartData() |
Modifier and Type | Method and Description |
---|---|
ChartData |
clone() |
String |
getAggregateType()
The aggregation type for the series of a data source chart.
|
DataSourceColumnReference |
getColumnReference()
The reference to the data source column that the data reads from.
|
ChartGroupRule |
getGroupRule()
The rule to group the data by if the ChartData backs the domain of a data source chart.
|
ChartSourceRange |
getSourceRange()
The source ranges of the data.
|
ChartData |
set(String fieldName,
Object value) |
ChartData |
setAggregateType(String aggregateType)
The aggregation type for the series of a data source chart.
|
ChartData |
setColumnReference(DataSourceColumnReference columnReference)
The reference to the data source column that the data reads from.
|
ChartData |
setGroupRule(ChartGroupRule groupRule)
The rule to group the data by if the ChartData backs the domain of a data source chart.
|
ChartData |
setSourceRange(ChartSourceRange sourceRange)
The source ranges of the data.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAggregateType()
null
for nonepublic ChartData setAggregateType(String aggregateType)
aggregateType
- aggregateType or null
for nonepublic DataSourceColumnReference getColumnReference()
null
for nonepublic ChartData setColumnReference(DataSourceColumnReference columnReference)
columnReference
- columnReference or null
for nonepublic ChartGroupRule getGroupRule()
null
for nonepublic ChartData setGroupRule(ChartGroupRule groupRule)
groupRule
- groupRule or null
for nonepublic ChartSourceRange getSourceRange()
null
for nonepublic ChartData setSourceRange(ChartSourceRange sourceRange)
sourceRange
- sourceRange or null
for nonepublic ChartData set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ChartData clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.