Class ChartSpec
The specifications of a chart.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class ChartSpec : IDirectResponseSchema
Properties
AltText
The alternative text that describes the chart. This is often used for accessibility.
Declaration
[JsonProperty("altText")]
public virtual string AltText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
BackgroundColor
The background color of the entire chart. Not applicable to Org charts.
Declaration
[JsonProperty("backgroundColor")]
public virtual Color BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
BackgroundColorStyle
The background color of the entire chart. Not applicable to Org charts. If background_color is also set, this field takes precedence.
Declaration
[JsonProperty("backgroundColorStyle")]
public virtual ColorStyle BackgroundColorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ColorStyle |
BasicChart
A basic chart specification, can be one of many kinds of charts. See BasicChartType for the list of all charts this supports.
Declaration
[JsonProperty("basicChart")]
public virtual BasicChartSpec BasicChart { get; set; }
Property Value
| Type | Description |
|---|---|
| BasicChartSpec |
BubbleChart
A bubble chart specification.
Declaration
[JsonProperty("bubbleChart")]
public virtual BubbleChartSpec BubbleChart { get; set; }
Property Value
| Type | Description |
|---|---|
| BubbleChartSpec |
CandlestickChart
A candlestick chart specification.
Declaration
[JsonProperty("candlestickChart")]
public virtual CandlestickChartSpec CandlestickChart { get; set; }
Property Value
| Type | Description |
|---|---|
| CandlestickChartSpec |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FontName
The name of the font to use by default for all chart text (e.g. title, axis labels, legend). If a font is specified for a specific part of the chart it will override this font name.
Declaration
[JsonProperty("fontName")]
public virtual string FontName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HiddenDimensionStrategy
Determines how the charts will use hidden rows or columns.
Declaration
[JsonProperty("hiddenDimensionStrategy")]
public virtual string HiddenDimensionStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HistogramChart
A histogram chart specification.
Declaration
[JsonProperty("histogramChart")]
public virtual HistogramChartSpec HistogramChart { get; set; }
Property Value
| Type | Description |
|---|---|
| HistogramChartSpec |
Maximized
True to make a chart fill the entire space in which it's rendered with minimum padding. False to use the default padding. (Not applicable to Geo and Org charts.)
Declaration
[JsonProperty("maximized")]
public virtual bool? Maximized { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
OrgChart
An org chart specification.
Declaration
[JsonProperty("orgChart")]
public virtual OrgChartSpec OrgChart { get; set; }
Property Value
| Type | Description |
|---|---|
| OrgChartSpec |
PieChart
A pie chart specification.
Declaration
[JsonProperty("pieChart")]
public virtual PieChartSpec PieChart { get; set; }
Property Value
| Type | Description |
|---|---|
| PieChartSpec |
ScorecardChart
A scorecard chart specification.
Declaration
[JsonProperty("scorecardChart")]
public virtual ScorecardChartSpec ScorecardChart { get; set; }
Property Value
| Type | Description |
|---|---|
| ScorecardChartSpec |
Subtitle
The subtitle of the chart.
Declaration
[JsonProperty("subtitle")]
public virtual string Subtitle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SubtitleTextFormat
The subtitle text format. Strikethrough and underline are not supported.
Declaration
[JsonProperty("subtitleTextFormat")]
public virtual TextFormat SubtitleTextFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| TextFormat |
SubtitleTextPosition
The subtitle text position. This field is optional.
Declaration
[JsonProperty("subtitleTextPosition")]
public virtual TextPosition SubtitleTextPosition { get; set; }
Property Value
| Type | Description |
|---|---|
| TextPosition |
Title
The title of the chart.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
TitleTextFormat
The title text format. Strikethrough and underline are not supported.
Declaration
[JsonProperty("titleTextFormat")]
public virtual TextFormat TitleTextFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| TextFormat |
TitleTextPosition
The title text position. This field is optional.
Declaration
[JsonProperty("titleTextPosition")]
public virtual TextPosition TitleTextPosition { get; set; }
Property Value
| Type | Description |
|---|---|
| TextPosition |
TreemapChart
A treemap chart specification.
Declaration
[JsonProperty("treemapChart")]
public virtual TreemapChartSpec TreemapChart { get; set; }
Property Value
| Type | Description |
|---|---|
| TreemapChartSpec |
WaterfallChart
A waterfall chart specification.
Declaration
[JsonProperty("waterfallChart")]
public virtual WaterfallChartSpec WaterfallChart { get; set; }
Property Value
| Type | Description |
|---|---|
| WaterfallChartSpec |