Show / Hide Table of Contents

Class BasicChartSpec

The specification for a basic chart. See BasicChartType for the list of charts this supports.

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

Properties

Axis

The axis on the chart.

Declaration
[JsonProperty("axis")]
public virtual IList<BasicChartAxis> Axis { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<BasicChartAxis>

ChartType

The type of the chart.

Declaration
[JsonProperty("chartType")]
public virtual string ChartType { get; set; }
Property Value
Type Description
System.String

CompareMode

The behavior of tooltips and data highlighting when hovering on data and chart area.

Declaration
[JsonProperty("compareMode")]
public virtual string CompareMode { get; set; }
Property Value
Type Description
System.String

Domains

The domain of data this is charting. Only a single domain is supported.

Declaration
[JsonProperty("domains")]
public virtual IList<BasicChartDomain> Domains { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<BasicChartDomain>

ETag

The ETag of the item.

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

HeaderCount

The number of rows or columns in the data that are "headers". If not set, Google Sheets will guess how many rows are headers based on the data.

(Note that BasicChartAxis.title may override the axis title inferred from the header values.)

Declaration
[JsonProperty("headerCount")]
public virtual int? HeaderCount { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

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). To eliminate these gaps set this to true. Applies to Line, Area, and Combo charts.

Declaration
[JsonProperty("interpolateNulls")]
public virtual bool? InterpolateNulls { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

LegendPosition

The position of the chart legend.

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

LineSmoothing

Gets whether all lines should be rendered smooth or straight by default. Applies to Line charts.

Declaration
[JsonProperty("lineSmoothing")]
public virtual bool? LineSmoothing { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Series

The data this chart is visualizing.

Declaration
[JsonProperty("series")]
public virtual IList<BasicChartSeries> Series { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<BasicChartSeries>

StackedType

The stacked type for charts that support vertical stacking. Applies to Area, Bar, Column, Combo, and Stepped Area charts.

Declaration
[JsonProperty("stackedType")]
public virtual string StackedType { get; set; }
Property Value
Type Description
System.String

ThreeDimensional

True to make the chart 3D. Applies to Bar and Column charts.

Declaration
[JsonProperty("threeDimensional")]
public virtual bool? ThreeDimensional { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

Google.Apis.Requests.IDirectResponseSchema
Back to top