public final class HistogramChartSpec
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 |
---|
HistogramChartSpec() |
Modifier and Type | Method and Description |
---|---|
HistogramChartSpec |
clone() |
java.lang.Double |
getBucketSize()
By default the bucket size (the range of values stacked in a single column) is chosen
automatically, but it may be overridden here.
|
java.lang.String |
getLegendPosition()
The position of the chart legend.
|
java.lang.Double |
getOutlierPercentile()
The outlier percentile is used to ensure that outliers do not adversely affect the calculation
of bucket sizes.
|
java.util.List<HistogramSeries> |
getSeries()
The series for a histogram may be either a single series of values to be bucketed or multiple
series, each of the same length, containing the name of the series followed by the values to be
bucketed for that series.
|
java.lang.Boolean |
getShowItemDividers()
Whether horizontal divider lines should be displayed between items in each column.
|
HistogramChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
HistogramChartSpec |
setBucketSize(java.lang.Double bucketSize)
By default the bucket size (the range of values stacked in a single column) is chosen
automatically, but it may be overridden here.
|
HistogramChartSpec |
setLegendPosition(java.lang.String legendPosition)
The position of the chart legend.
|
HistogramChartSpec |
setOutlierPercentile(java.lang.Double outlierPercentile)
The outlier percentile is used to ensure that outliers do not adversely affect the calculation
of bucket sizes.
|
HistogramChartSpec |
setSeries(java.util.List<HistogramSeries> series)
The series for a histogram may be either a single series of values to be bucketed or multiple
series, each of the same length, containing the name of the series followed by the values to be
bucketed for that series.
|
HistogramChartSpec |
setShowItemDividers(java.lang.Boolean showItemDividers)
Whether horizontal divider lines should be displayed between items in each column.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Double getBucketSize()
null
for nonepublic HistogramChartSpec setBucketSize(java.lang.Double bucketSize)
bucketSize
- bucketSize or null
for nonepublic java.lang.String getLegendPosition()
null
for nonepublic HistogramChartSpec setLegendPosition(java.lang.String legendPosition)
legendPosition
- legendPosition or null
for nonepublic java.lang.Double getOutlierPercentile()
null
for nonepublic HistogramChartSpec setOutlierPercentile(java.lang.Double outlierPercentile)
outlierPercentile
- outlierPercentile or null
for nonepublic java.util.List<HistogramSeries> getSeries()
null
for nonepublic HistogramChartSpec setSeries(java.util.List<HistogramSeries> series)
series
- series or null
for nonepublic java.lang.Boolean getShowItemDividers()
null
for nonepublic HistogramChartSpec setShowItemDividers(java.lang.Boolean showItemDividers)
showItemDividers
- showItemDividers or null
for nonepublic HistogramChartSpec set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public HistogramChartSpec clone()
clone
in class com.google.api.client.json.GenericJson