public class ChartDataLabelCollection
extends java.lang.Object
implements java.lang.Iterable
ChartDataLabel.
To learn more, visit the Working with Charts documentation article.
| Modifier and Type | Method and Description |
|---|---|
void |
clearFormat()
Clears format of all
ChartDataLabel in this collection. |
ChartDataLabel |
get(int index)
Returns
ChartDataLabel for the specified index. |
int |
getCount()
Returns the number of
ChartDataLabel in this collection. |
ChartNumberFormat |
getNumberFormat()
Gets an
ChartNumberFormat instance allowing to set number format for the data labels of the entire series. |
java.lang.String |
getSeparator()
Gets string separator used for the data labels of the entire series.
|
boolean |
getShowBubbleSize()
Allows to specify whether bubble size is to be displayed for the data labels of the entire series.
|
boolean |
getShowCategoryName()
Allows to specify whether category name is to be displayed for the data labels of the entire series.
|
boolean |
getShowDataLabelsRange()
Allows to specify whether values from data labels range to be displayed in the data labels of the entire series.
|
boolean |
getShowLeaderLines()
Allows to specify whether data label leader lines need be shown for the data labels of the entire series.
|
boolean |
getShowLegendKey()
Allows to specify whether legend key is to be displayed for the data labels of the entire series.
|
boolean |
getShowPercentage()
Allows to specify whether percentage value is to be displayed for the data labels of the entire series.
|
boolean |
getShowSeriesName()
Gets a Boolean to indicate the series name display behavior for the data labels of the entire series.
|
boolean |
getShowValue()
Allows to specify whether values are to be displayed in the data labels of the entire series.
|
boolean |
isInherited() |
java.util.Iterator |
iterator()
Returns an enumerator object.
|
void |
setSeparator(java.lang.String value)
Sets string separator used for the data labels of the entire series.
|
void |
setShowBubbleSize(boolean value)
Allows to specify whether bubble size is to be displayed for the data labels of the entire series.
|
void |
setShowCategoryName(boolean value)
Allows to specify whether category name is to be displayed for the data labels of the entire series.
|
void |
setShowDataLabelsRange(boolean value)
Allows to specify whether values from data labels range to be displayed in the data labels of the entire series.
|
void |
setShowLeaderLines(boolean value)
Allows to specify whether data label leader lines need be shown for the data labels of the entire series.
|
void |
setShowLegendKey(boolean value)
Allows to specify whether legend key is to be displayed for the data labels of the entire series.
|
void |
setShowPercentage(boolean value)
Allows to specify whether percentage value is to be displayed for the data labels of the entire series.
|
void |
setShowSeriesName(boolean value)
Sets a Boolean to indicate the series name display behavior for the data labels of the entire series.
|
void |
setShowValue(boolean value)
Allows to specify whether values are to be displayed in the data labels of the entire series.
|
public ChartDataLabel get(int index)
ChartDataLabel for the specified index.ChartDataLabel for the specified index.public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic void clearFormat()
ChartDataLabel in this collection.public int getCount()
ChartDataLabel in this collection.ChartDataLabel in this collection.public boolean getShowCategoryName()
ChartDataLabel.getShowCategoryName() / ChartDataLabel.setShowCategoryName(boolean) property.boolean value.public void setShowCategoryName(boolean value)
ChartDataLabel.getShowCategoryName() / ChartDataLabel.setShowCategoryName(boolean) property.value - The corresponding boolean value.public boolean getShowBubbleSize()
ChartDataLabel.getShowBubbleSize() / ChartDataLabel.setShowBubbleSize(boolean) property.boolean value.public void setShowBubbleSize(boolean value)
ChartDataLabel.getShowBubbleSize() / ChartDataLabel.setShowBubbleSize(boolean) property.value - The corresponding boolean value.public boolean getShowLegendKey()
ChartDataLabel.getShowLegendKey() / ChartDataLabel.setShowLegendKey(boolean) property.boolean value.public void setShowLegendKey(boolean value)
ChartDataLabel.getShowLegendKey() / ChartDataLabel.setShowLegendKey(boolean) property.value - The corresponding boolean value.public boolean getShowPercentage()
ChartDataLabel.getShowPercentage() / ChartDataLabel.setShowPercentage(boolean) property.boolean value.public void setShowPercentage(boolean value)
ChartDataLabel.getShowPercentage() / ChartDataLabel.setShowPercentage(boolean) property.value - The corresponding boolean value.public boolean getShowSeriesName()
ChartDataLabel.getShowSeriesName() / ChartDataLabel.setShowSeriesName(boolean) property.public void setShowSeriesName(boolean value)
ChartDataLabel.getShowSeriesName() / ChartDataLabel.setShowSeriesName(boolean) property.value - A Boolean to indicate the series name display behavior for the data labels of the entire series.public boolean getShowValue()
ChartDataLabel.getShowValue() / ChartDataLabel.setShowValue(boolean) property.boolean value.public void setShowValue(boolean value)
ChartDataLabel.getShowValue() / ChartDataLabel.setShowValue(boolean) property.value - The corresponding boolean value.public boolean getShowLeaderLines()
Applies to Pie charts only. Leader lines create a visual connection between a data label and its corresponding data point.
Value defined for this property can be overridden for an individual data label with using the ChartDataLabel.getShowLeaderLines() / ChartDataLabel.setShowLeaderLines(boolean) property.
boolean value.public void setShowLeaderLines(boolean value)
Applies to Pie charts only. Leader lines create a visual connection between a data label and its corresponding data point.
Value defined for this property can be overridden for an individual data label with using the ChartDataLabel.getShowLeaderLines() / ChartDataLabel.setShowLeaderLines(boolean) property.
value - The corresponding boolean value.public boolean getShowDataLabelsRange()
ChartDataLabel.getShowDataLabelsRange() / ChartDataLabel.setShowDataLabelsRange(boolean) property.boolean value.public void setShowDataLabelsRange(boolean value)
ChartDataLabel.getShowDataLabelsRange() / ChartDataLabel.setShowDataLabelsRange(boolean) property.value - The corresponding boolean value.public java.lang.String getSeparator()
ChartDataLabel.getSeparator() / ChartDataLabel.setSeparator(java.lang.String) property.public void setSeparator(java.lang.String value)
ChartDataLabel.getSeparator() / ChartDataLabel.setSeparator(java.lang.String) property.value - String separator used for the data labels of the entire series.public ChartNumberFormat getNumberFormat()
ChartNumberFormat instance allowing to set number format for the data labels of the entire series.ChartNumberFormat instance allowing to set number format for the data labels of the entire series.public boolean isInherited()