public final class BasicChartSpec
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 |
|---|
BasicChartSpec() |
| Modifier and Type | Method and Description |
|---|---|
BasicChartSpec |
clone() |
java.util.List<BasicChartAxis> |
getAxis()
The axis on the chart.
|
java.lang.String |
getChartType()
The type of the chart.
|
java.lang.String |
getCompareMode()
The behavior of tooltips and data highlighting when hovering on data and chart area.
|
java.util.List<BasicChartDomain> |
getDomains()
The domain of data this is charting.
|
java.lang.Integer |
getHeaderCount()
The number of rows or columns in the data that are "headers".
|
java.lang.Boolean |
getInterpolateNulls()
If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in
a line chart will be missing).
|
java.lang.String |
getLegendPosition()
The position of the chart legend.
|
java.lang.Boolean |
getLineSmoothing()
Gets whether all lines should be rendered smooth or straight by default.
|
java.util.List<BasicChartSeries> |
getSeries()
The data this chart is visualizing.
|
java.lang.String |
getStackedType()
The stacked type for charts that support vertical stacking.
|
java.lang.Boolean |
getThreeDimensional()
True to make the chart 3D.
|
BasicChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
BasicChartSpec |
setAxis(java.util.List<BasicChartAxis> axis)
The axis on the chart.
|
BasicChartSpec |
setChartType(java.lang.String chartType)
The type of the chart.
|
BasicChartSpec |
setCompareMode(java.lang.String compareMode)
The behavior of tooltips and data highlighting when hovering on data and chart area.
|
BasicChartSpec |
setDomains(java.util.List<BasicChartDomain> domains)
The domain of data this is charting.
|
BasicChartSpec |
setHeaderCount(java.lang.Integer headerCount)
The number of rows or columns in the data that are "headers".
|
BasicChartSpec |
setInterpolateNulls(java.lang.Boolean interpolateNulls)
If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in
a line chart will be missing).
|
BasicChartSpec |
setLegendPosition(java.lang.String legendPosition)
The position of the chart legend.
|
BasicChartSpec |
setLineSmoothing(java.lang.Boolean lineSmoothing)
Gets whether all lines should be rendered smooth or straight by default.
|
BasicChartSpec |
setSeries(java.util.List<BasicChartSeries> series)
The data this chart is visualizing.
|
BasicChartSpec |
setStackedType(java.lang.String stackedType)
The stacked type for charts that support vertical stacking.
|
BasicChartSpec |
setThreeDimensional(java.lang.Boolean threeDimensional)
True to make the chart 3D.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<BasicChartAxis> getAxis()
null for nonepublic BasicChartSpec setAxis(java.util.List<BasicChartAxis> axis)
axis - axis or null for nonepublic java.lang.String getChartType()
null for nonepublic BasicChartSpec setChartType(java.lang.String chartType)
chartType - chartType or null for nonepublic java.lang.String getCompareMode()
null for nonepublic BasicChartSpec setCompareMode(java.lang.String compareMode)
compareMode - compareMode or null for nonepublic java.util.List<BasicChartDomain> getDomains()
null for nonepublic BasicChartSpec setDomains(java.util.List<BasicChartDomain> domains)
domains - domains or null for nonepublic java.lang.Integer getHeaderCount()
null for nonepublic BasicChartSpec setHeaderCount(java.lang.Integer headerCount)
headerCount - headerCount or null for nonepublic java.lang.Boolean getInterpolateNulls()
null for nonepublic BasicChartSpec setInterpolateNulls(java.lang.Boolean interpolateNulls)
interpolateNulls - interpolateNulls or null for nonepublic java.lang.String getLegendPosition()
null for nonepublic BasicChartSpec setLegendPosition(java.lang.String legendPosition)
legendPosition - legendPosition or null for nonepublic java.lang.Boolean getLineSmoothing()
null for nonepublic BasicChartSpec setLineSmoothing(java.lang.Boolean lineSmoothing)
lineSmoothing - lineSmoothing or null for nonepublic java.util.List<BasicChartSeries> getSeries()
null for nonepublic BasicChartSpec setSeries(java.util.List<BasicChartSeries> series)
series - series or null for nonepublic java.lang.String getStackedType()
null for nonepublic BasicChartSpec setStackedType(java.lang.String stackedType)
stackedType - stackedType or null for nonepublic java.lang.Boolean getThreeDimensional()
null for nonepublic BasicChartSpec setThreeDimensional(java.lang.Boolean threeDimensional)
threeDimensional - threeDimensional or null for nonepublic BasicChartSpec set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BasicChartSpec clone()
clone in class com.google.api.client.json.GenericJson