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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HistogramChartSpec() |
Modifier and Type | Method and Description |
---|---|
HistogramChartSpec |
clone() |
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.
|
String |
getLegendPosition()
The position of the chart legend.
|
Double |
getOutlierPercentile()
The outlier percentile is used to ensure that outliers do not adversely affect the calculation
of bucket sizes.
|
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.
|
Boolean |
getShowItemDividers()
Whether horizontal divider lines should be displayed between items in each column.
|
HistogramChartSpec |
set(String fieldName,
Object value) |
HistogramChartSpec |
setBucketSize(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(String legendPosition)
The position of the chart legend.
|
HistogramChartSpec |
setOutlierPercentile(Double outlierPercentile)
The outlier percentile is used to ensure that outliers do not adversely affect the calculation
of bucket sizes.
|
HistogramChartSpec |
setSeries(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(Boolean showItemDividers)
Whether horizontal divider lines should be displayed between items in each column.
|
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 Double getBucketSize()
null
for nonepublic HistogramChartSpec setBucketSize(Double bucketSize)
bucketSize
- bucketSize or null
for nonepublic String getLegendPosition()
null
for nonepublic HistogramChartSpec setLegendPosition(String legendPosition)
legendPosition
- legendPosition or null
for nonepublic Double getOutlierPercentile()
null
for nonepublic HistogramChartSpec setOutlierPercentile(Double outlierPercentile)
outlierPercentile
- outlierPercentile or null
for nonepublic List<HistogramSeries> getSeries()
null
for nonepublic HistogramChartSpec setSeries(List<HistogramSeries> series)
series
- series or null
for nonepublic Boolean getShowItemDividers()
null
for nonepublic HistogramChartSpec setShowItemDividers(Boolean showItemDividers)
showItemDividers
- showItemDividers or null
for nonepublic HistogramChartSpec set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public HistogramChartSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.