public final class ChartSpec
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ChartSpec() |
| Modifier and Type | Method and Description |
|---|---|
ChartSpec |
clone() |
BasicChartSpec |
getBasicChart()
A basic chart specification, can be one of many kinds of charts.
|
java.lang.String |
getHiddenDimensionStrategy()
Determines how the charts will use hidden rows or columns.
|
PieChartSpec |
getPieChart()
A pie chart specification.
|
java.lang.String |
getTitle()
The title of the chart.
|
ChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
ChartSpec |
setBasicChart(BasicChartSpec basicChart)
A basic chart specification, can be one of many kinds of charts.
|
ChartSpec |
setHiddenDimensionStrategy(java.lang.String hiddenDimensionStrategy)
Determines how the charts will use hidden rows or columns.
|
ChartSpec |
setPieChart(PieChartSpec pieChart)
A pie chart specification.
|
ChartSpec |
setTitle(java.lang.String title)
The title of the chart.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic BasicChartSpec getBasicChart()
null for nonepublic ChartSpec setBasicChart(BasicChartSpec basicChart)
basicChart - basicChart or null for nonepublic java.lang.String getHiddenDimensionStrategy()
null for nonepublic ChartSpec setHiddenDimensionStrategy(java.lang.String hiddenDimensionStrategy)
hiddenDimensionStrategy - hiddenDimensionStrategy or null for nonepublic PieChartSpec getPieChart()
null for nonepublic ChartSpec setPieChart(PieChartSpec pieChart)
pieChart - pieChart or null for nonepublic java.lang.String getTitle()
null for nonepublic ChartSpec setTitle(java.lang.String title)
title - title or null for nonepublic ChartSpec set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ChartSpec clone()
clone in class com.google.api.client.json.GenericJson