Show / Hide Table of Contents

Class HistogramChartSpec

A histogram chart. A histogram chart groups data items into bins, displaying each bin as a column of stacked items. Histograms are used to display the distribution of a dataset. Each column of items represents a range into which those items fall. The number of bins can be chosen automatically or specified explicitly.

Inheritance
object
HistogramChartSpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class HistogramChartSpec : IDirectResponseSchema

Properties

BucketSize

By default the bucket size (the range of values stacked in a single column) is chosen automatically, but it may be overridden here. E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. Cannot be negative. This field is optional.

Declaration
[JsonProperty("bucketSize")]
public virtual double? BucketSize { get; set; }
Property Value
Type Description
double?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LegendPosition

The position of the chart legend.

Declaration
[JsonProperty("legendPosition")]
public virtual string LegendPosition { get; set; }
Property Value
Type Description
string

OutlierPercentile

The outlier percentile is used to ensure that outliers do not adversely affect the calculation of bucket sizes. For example, setting an outlier percentile of 0.05 indicates that the top and bottom 5% of values when calculating buckets. The values are still included in the chart, they will be added to the first or last buckets instead of their own buckets. Must be between 0.0 and 0.5.

Declaration
[JsonProperty("outlierPercentile")]
public virtual double? OutlierPercentile { get; set; }
Property Value
Type Description
double?

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.

Declaration
[JsonProperty("series")]
public virtual IList<HistogramSeries> Series { get; set; }
Property Value
Type Description
IList<HistogramSeries>

ShowItemDividers

Whether horizontal divider lines should be displayed between items in each column.

Declaration
[JsonProperty("showItemDividers")]
public virtual bool? ShowItemDividers { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX