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
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 com.google.api.client.json.GenericJson
public PieChartSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.