Class BasicChartSpec
The specification for a basic chart. See BasicChartType for the list of charts this supports.
Inheritance
Implements
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class BasicChartSpec : object, IDirectResponseSchema
Properties
Axis
The axis on the chart.
Declaration
public virtual IList<BasicChartAxis> Axis { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<BasicChartAxis> |
ChartType
The type of the chart.
Declaration
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
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
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
public virtual Nullable<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
public virtual Nullable<bool> InterpolateNulls { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
LegendPosition
The position of the chart legend.
Declaration
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
public virtual Nullable<bool> LineSmoothing { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Series
The data this chart is visualizing.
Declaration
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
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
public virtual Nullable<bool> ThreeDimensional { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |