public final class PieChartSpec 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PieChartSpec() |
Modifier and Type | Method and Description |
---|---|
PieChartSpec |
clone() |
ChartData |
getDomain()
The data that covers the domain of the pie chart.
|
String |
getLegendPosition()
Where the legend of the pie chart should be drawn.
|
Double |
getPieHole()
The size of the hole in the pie chart.
|
ChartData |
getSeries()
The data that covers the one and only series of the pie chart.
|
Boolean |
getThreeDimensional()
True if the pie is three dimensional.
|
PieChartSpec |
set(String fieldName,
Object value) |
PieChartSpec |
setDomain(ChartData domain)
The data that covers the domain of the pie chart.
|
PieChartSpec |
setLegendPosition(String legendPosition)
Where the legend of the pie chart should be drawn.
|
PieChartSpec |
setPieHole(Double pieHole)
The size of the hole in the pie chart.
|
PieChartSpec |
setSeries(ChartData series)
The data that covers the one and only series of the pie chart.
|
PieChartSpec |
setThreeDimensional(Boolean threeDimensional)
True if the pie is three dimensional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ChartData getDomain()
null
for nonepublic PieChartSpec setDomain(ChartData domain)
domain
- domain or null
for nonepublic String getLegendPosition()
null
for nonepublic PieChartSpec setLegendPosition(String legendPosition)
legendPosition
- legendPosition or null
for nonepublic Double getPieHole()
null
for nonepublic PieChartSpec setPieHole(Double pieHole)
pieHole
- pieHole or null
for nonepublic ChartData getSeries()
null
for nonepublic PieChartSpec setSeries(ChartData series)
series
- series or null
for nonepublic Boolean getThreeDimensional()
null
for nonepublic PieChartSpec setThreeDimensional(Boolean threeDimensional)
threeDimensional
- threeDimensional or null
for nonepublic PieChartSpec set(String fieldName, Object value)
set
in class GenericJson
public PieChartSpec clone()
clone
in class GenericJson