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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 GenericJsonpublic PieChartSpec clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.