[]
Represents the data label on a chart point or trendline.
public interface IDataLabel
Gets or sets whether the object automatically generates appropriate text based on context.
bool AutoText { get; set; }
Gets or sets the text direction.
TextDirection Direction { get; set; }
Gets the IFontFormat object that represents the font of the specified object.
IFontFormat Font { get; }
Returns the IChartFormat object.
IChartFormat Format { get; }
Gets or sets the format code for the object.
string NumberFormat { get; set; }
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; }
Gets or sets the text orientation. Can be an integer value from –90 to 90 degrees.
int Orientation { get; set; }
Returns the parent object for the specified object.
object Parent { get; }
Gets or sets the position of the data label.
DataLabelPosition Position { get; set; }
Gets or sets an object that represents the separator used for the data labels on a chart.
string Separator { get; set; }
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; }
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; }
Gets or sets whether the data label legend key is visible.
bool ShowLegendKey { get; set; }
Gets or sets whether to display the percentage (True to display the percentage value for the data labels on a chart; False to hide).
bool ShowPercentage { get; set; }
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; }
Gets or sets a Boolean that corresponds to a specified chart's data label values display behavior. True displays the values. False to hide.
bool ShowValue { get; set; }
Gets or sets the text for the specified object.
string Text { get; set; }
Returns the ITextFrame object that contains the text and font style properties for the specified data label.
ITextFrame TextFrame { get; }
Deletes the object.
void Delete()