public final class PieChartSpec
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
Constructor and Description |
---|
PieChartSpec() |
Modifier and Type | Method and Description |
---|---|
PieChartSpec |
clone() |
ChartData |
getDomain()
The data that covers the domain of the pie chart.
|
java.lang.String |
getLegendPosition()
Where the legend of the pie chart should be drawn.
|
java.lang.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.
|
java.lang.Boolean |
getThreeDimensional()
True if the pie is three dimensional.
|
PieChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
PieChartSpec |
setDomain(ChartData domain)
The data that covers the domain of the pie chart.
|
PieChartSpec |
setLegendPosition(java.lang.String legendPosition)
Where the legend of the pie chart should be drawn.
|
PieChartSpec |
setPieHole(java.lang.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(java.lang.Boolean threeDimensional)
True if the pie is three dimensional.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public ChartData getDomain()
null
for nonepublic PieChartSpec setDomain(ChartData domain)
domain
- domain or null
for nonepublic java.lang.String getLegendPosition()
null
for nonepublic PieChartSpec setLegendPosition(java.lang.String legendPosition)
legendPosition
- legendPosition or null
for nonepublic java.lang.Double getPieHole()
null
for nonepublic PieChartSpec setPieHole(java.lang.Double pieHole)
pieHole
- pieHole or null
for nonepublic ChartData getSeries()
null
for nonepublic PieChartSpec setSeries(ChartData series)
series
- series or null
for nonepublic java.lang.Boolean getThreeDimensional()
null
for nonepublic PieChartSpec setThreeDimensional(java.lang.Boolean threeDimensional)
threeDimensional
- threeDimensional or null
for nonepublic PieChartSpec set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PieChartSpec clone()
clone
in class com.google.api.client.json.GenericJson