Class DataLabel
Settings for one set of data labels. Data labels are annotations that appear next to a set of data, such as the points on a line chart, and provide additional information about what the data represents, such as a text representation of the value behind that point on the graph.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class DataLabel : IDirectResponseSchema
Properties
CustomLabelData
Data to use for custom labels. Only used if type is set to CUSTOM. This data must be the same length as the series or other element this data label is applied to. In addition, if the series is split into multiple source ranges, this source data must come from the next column in the source data. For example, if the series is B2:B4,E6:E8 then this data must come from C2:C4,F6:F8.
Declaration
[JsonProperty("customLabelData")]
public virtual ChartData CustomLabelData { get; set; }
Property Value
Type | Description |
---|---|
ChartData |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Placement
The placement of the data label relative to the labeled data.
Declaration
[JsonProperty("placement")]
public virtual string Placement { get; set; }
Property Value
Type | Description |
---|---|
string |
TextFormat
The text format used for the data label. The link field is not supported.
Declaration
[JsonProperty("textFormat")]
public virtual TextFormat TextFormat { get; set; }
Property Value
Type | Description |
---|---|
TextFormat |
Type
The type of the data label.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |