[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IDataLabels

Interface IDataLabels

Namespace
GrapeCity.Documents.Excel.Drawing
Assembly
GcDocs.Excel.dll

Represents a collection of all the IDataLabel objects for the specified series. Each DataLabel object represents a data label for a point or trendline. For a series without definable points (such as an area series), the DataLabels collection contains a single data label.

public interface IDataLabels : IEnumerable<IDataLabel>, IEnumerable
Inherited Members
System.Collections.Generic.IEnumerable<GrapeCity.Documents.Excel.Drawing.IDataLabel>.GetEnumerator()

Properties

AutoText

Gets or sets whether the object automatically generates appropriate text based on context.

bool AutoText { get; set; }

Property Value

bool

Count

Returns the number of objects in the collection.

int Count { get; }

Property Value

int

Direction

Gets or sets the text direction.

TextDirection Direction { get; set; }

Property Value

TextDirection

Font

Returns the IFontFormat object that represents the font of the specified object.

IFontFormat Font { get; }

Property Value

IFontFormat

Format

Returns the IChartFormat object.

IChartFormat Format { get; }

Property Value

IChartFormat

this[int]

Returns a single object from the collection.

IDataLabel this[int index] { get; }

Parameters

index int

The index number for the object.

Property Value

IDataLabel

The object at the specified index.

LeaderLines

Returns leader lines of the data label.

IChartLines LeaderLines { get; }

Property Value

IChartLines

NumberFormat

Gets or sets the format code for the object.

string NumberFormat { get; set; }

Property Value

string

NumberFormatLinked

Gets or sets whether the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).

bool NumberFormatLinked { get; set; }

Property Value

bool

Orientation

Gets or sets the text orientation. Can be an integer value from –90 to 90 degrees.

int Orientation { get; set; }

Property Value

int

Parent

Returns the parent object for the specified object.

ISeries Parent { get; }

Property Value

ISeries

Position

Gets or sets the position of the data label.

DataLabelPosition Position { get; set; }

Property Value

DataLabelPosition

Separator

Gets or sets an object that represents the separator used for the data labels on a chart.

string Separator { get; set; }

Property Value

string

ShowBubbleSize

Gets or sets whether to show the bubble size (True to show the bubble size for the data labels on a chart; False to hide).

bool ShowBubbleSize { get; set; }

Property Value

bool

ShowCategoryName

Gets or sets whether to show the category name (True to display the category name for the data labels on a chart; False to hide).

bool ShowCategoryName { get; set; }

Property Value

bool

ShowLeaderLines

Gets or sets a Boolean that corresponds to a specified chart's data label values display behavior. True displays the leader lines.

bool ShowLeaderLines { get; set; }

Property Value

bool

ShowLegendKey

Gets or sets whether the data label legend key is visible.

bool ShowLegendKey { get; set; }

Property Value

bool

ShowPercentage

Gets or sets whether to display a percentage (True to display the percentage value for the data labels on a chart; False to hide).

bool ShowPercentage { get; set; }

Property Value

bool

ShowSeriesName

Gets or sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide.

bool ShowSeriesName { get; set; }

Property Value

bool

ShowValue

Gets or sets a Boolean that corresponds to a specified chart's data label values display behavior. True displays the values.

bool ShowValue { get; set; }

Property Value

bool