public interface IDataLabels extends java.lang.Iterable<IDataLabel>
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.| Modifier and Type | Method and Description |
|---|---|
IDataLabel |
get(int index)
Returns a single object from the collection.
|
boolean |
getAutoText()
Gets whether the object automatically generates appropriate text based on
context.
|
int |
getCount()
Returns the number of objects in the collection.
|
IFontFormat |
getFont()
Returns the
IFontFormat object that represents the font of the
specified object. |
IChartFormat |
getFormat()
Returns the
IChartFormat object. |
IChartLines |
getLeaderLines()
Returns leader lines of the data label.
|
java.lang.String |
getNumberFormat()
Gets the format code for the object.
|
boolean |
getNumberFormatLinked()
Gets whether the number format is linked to the cells (so that the number
format changes in the labels when it changes in the cells).
|
int |
getOrientation()
Gets the text orientation.
|
ISeries |
getParent()
Returns the parent object for the specified object.
|
DataLabelPosition |
getPosition()
Gets the position of the data label.
|
java.lang.String |
getSeparator()
Gets an object that represents the separator used for the data labels on a
chart.
|
boolean |
getShowBubbleSize()
Gets whether to show the bubble size (True to show the bubble size for the
data labels on a chart; False to hide).
|
boolean |
getShowCategoryName()
Gets whether to show the category name (True to display the category name for
the data labels on a chart; False to hide).
|
boolean |
getShowLeaderLines()
Gets a Boolean that corresponds to a specified chart's data label values
display behavior.
|
boolean |
getShowLegendKey()
Gets whether the data label legend key is visible.
|
boolean |
getShowPercentage()
Gets whether to display a percentage (True to display the percentage value
for the data labels on a chart; False to hide).
|
boolean |
getShowSeriesName()
Gets a Boolean to indicate the series name display behavior for the data
labels on a chart.
|
boolean |
getShowValue()
Gets a Boolean that corresponds to a specified chart's data label values
display behavior.
|
void |
setAutoText(boolean value)
Sets whether the object automatically generates appropriate text based on
context.
|
void |
setNumberFormat(java.lang.String value)
Sets the format code for the object.
|
void |
setNumberFormatLinked(boolean value)
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).
|
void |
setOrientation(int value)
Sets the text orientation.
|
void |
setPosition(DataLabelPosition value)
Sets the position of the data label.
|
void |
setSeparator(java.lang.String value)
Sets an object that represents the separator used for the data labels on a
chart.
|
void |
setShowBubbleSize(boolean value)
Sets whether to show the bubble size (True to show the bubble size for the
data labels on a chart; False to hide).
|
void |
setShowCategoryName(boolean value)
Sets whether to show the category name (True to display the category name for
the data labels on a chart; False to hide).
|
void |
setShowLeaderLines(boolean value)
Sets a Boolean that corresponds to a specified chart's data label values
display behavior.
|
void |
setShowLegendKey(boolean value)
Sets whether the data label legend key is visible.
|
void |
setShowPercentage(boolean value)
Sets whether to display a percentage (True to display the percentage value
for the data labels on a chart; False to hide).
|
void |
setShowSeriesName(boolean value)
Sets a Boolean to indicate the series name display behavior for the data
labels on a chart.
|
void |
setShowValue(boolean value)
Sets a Boolean that corresponds to a specified chart's data label values
display behavior.
|
boolean getAutoText()
void setAutoText(boolean value)
int getCount()
IFontFormat getFont()
IFontFormat object that represents the font of the
specified object.IChartFormat getFormat()
IChartFormat object.java.lang.String getNumberFormat()
void setNumberFormat(java.lang.String value)
boolean getNumberFormatLinked()
void setNumberFormatLinked(boolean value)
ISeries getParent()
DataLabelPosition getPosition()
void setPosition(DataLabelPosition value)
java.lang.String getSeparator()
void setSeparator(java.lang.String value)
boolean getShowBubbleSize()
void setShowBubbleSize(boolean value)
boolean getShowCategoryName()
void setShowCategoryName(boolean value)
boolean getShowLegendKey()
void setShowLegendKey(boolean value)
boolean getShowPercentage()
void setShowPercentage(boolean value)
boolean getShowSeriesName()
void setShowSeriesName(boolean value)
boolean getShowValue()
void setShowValue(boolean value)
boolean getShowLeaderLines()
void setShowLeaderLines(boolean value)
IChartLines getLeaderLines()
IDataLabel get(int index)
index - The index number for the object.int getOrientation()
void setOrientation(int value)