Show / Hide Table of Contents

Class ChartSpec

The specifications of a chart.

Inheritance
System.Object
ChartSpec
Implements
IDirectResponseSchema
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class ChartSpec : object, IDirectResponseSchema

Properties

AltText

The alternative text that describes the chart. This is often used for accessibility.

Declaration
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
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
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
public virtual BasicChartSpec BasicChart { get; set; }
Property Value
Type Description
BasicChartSpec

BubbleChart

A bubble chart specification.

Declaration
public virtual BubbleChartSpec BubbleChart { get; set; }
Property Value
Type Description
BubbleChartSpec

CandlestickChart

A candlestick chart specification.

Declaration
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
public virtual string FontName { get; set; }
Property Value
Type Description
System.String

HiddenDimensionStrategy

Determines how the charts will use hidden rows or columns.

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

HistogramChart

A histogram chart specification.

Declaration
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
public virtual Nullable<bool> Maximized { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

OrgChart

An org chart specification.

Declaration
public virtual OrgChartSpec OrgChart { get; set; }
Property Value
Type Description
OrgChartSpec

PieChart

A pie chart specification.

Declaration
public virtual PieChartSpec PieChart { get; set; }
Property Value
Type Description
PieChartSpec

ScorecardChart

A scorecard chart specification.

Declaration
public virtual ScorecardChartSpec ScorecardChart { get; set; }
Property Value
Type Description
ScorecardChartSpec

Subtitle

The subtitle of the chart.

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

SubtitleTextFormat

The subtitle text format. Strikethrough and underline are not supported.

Declaration
public virtual TextFormat SubtitleTextFormat { get; set; }
Property Value
Type Description
TextFormat

SubtitleTextPosition

The subtitle text position. This field is optional.

Declaration
public virtual TextPosition SubtitleTextPosition { get; set; }
Property Value
Type Description
TextPosition

Title

The title of the chart.

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

TitleTextFormat

The title text format. Strikethrough and underline are not supported.

Declaration
public virtual TextFormat TitleTextFormat { get; set; }
Property Value
Type Description
TextFormat

TitleTextPosition

The title text position. This field is optional.

Declaration
public virtual TextPosition TitleTextPosition { get; set; }
Property Value
Type Description
TextPosition

TreemapChart

A treemap chart specification.

Declaration
public virtual TreemapChartSpec TreemapChart { get; set; }
Property Value
Type Description
TreemapChartSpec

WaterfallChart

A waterfall chart specification.

Declaration
public virtual WaterfallChartSpec WaterfallChart { get; set; }
Property Value
Type Description
WaterfallChartSpec

Implements

IDirectResponseSchema
Back to top