public final class ChartSpec extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
String |
getHiddenDimensionStrategy()
Determines how the charts will use hidden rows or columns.
|
PieChartSpec |
getPieChart()
A pie chart specification.
|
String |
getTitle()
The title of the chart.
|
ChartSpec |
set(String fieldName,
Object value) |
ChartSpec |
setBasicChart(BasicChartSpec basicChart)
A basic chart specification, can be one of many kinds of charts.
|
ChartSpec |
setHiddenDimensionStrategy(String hiddenDimensionStrategy)
Determines how the charts will use hidden rows or columns.
|
ChartSpec |
setPieChart(PieChartSpec pieChart)
A pie chart specification.
|
ChartSpec |
setTitle(String title)
The title of the chart.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic BasicChartSpec getBasicChart()
null for nonepublic ChartSpec setBasicChart(BasicChartSpec basicChart)
basicChart - basicChart or null for nonepublic String getHiddenDimensionStrategy()
null for nonepublic ChartSpec setHiddenDimensionStrategy(String hiddenDimensionStrategy)
hiddenDimensionStrategy - hiddenDimensionStrategy or null for nonepublic PieChartSpec getPieChart()
null for nonepublic ChartSpec setPieChart(PieChartSpec pieChart)
pieChart - pieChart or null for nonepublic String getTitle()
null for nonepublic ChartSpec setTitle(String title)
title - title or null for nonepublic ChartSpec set(String fieldName, Object value)
set in class GenericJsonpublic ChartSpec clone()
clone in class GenericJson