
**遗产：**
java.lang.Object

**所有已实现的接口：**
java.lang.Iterable
```
public class ChartDataLabelCollection implements Iterable
```

代表集合[ChartDataLabel](../../com.aspose.words/chartdatalabel).

要了解更多信息，请访问**Working with Charts**文档文章。
## 方法

| 方法 | 描述 |
| --- | --- |
| [clearFormat()](#clearFormat--) | 清除所有格式[ChartDataLabel](../../com.aspose.words/chartdatalabel)在这个集合中。 |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | 退货[ChartDataLabel](../../com.aspose.words/chartdatalabel)对于指定的索引。 |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | 返回的数量[ChartDataLabel](../../com.aspose.words/chartdatalabel)在这个集合中。 |
| [getNumberFormat()](#getNumberFormat--) | 得到一个[ChartNumberFormat](../../com.aspose.words/chartnumberformat)允许为整个系列的数据标签设置数字格式的实例。 |
| [getSeparator()](#getSeparator--) | 获取用于整个系列数据标签的字符串分隔符。 |
| [getShowBubbleSize()](#getShowBubbleSize--) | 允许指定是否为整个系列的数据标签显示气泡大小。 |
| [getShowCategoryName()](#getShowCategoryName--) | 允许指定是否为整个系列的数据标签显示类别名称。 |
| [getShowDataLabelsRange()](#getShowDataLabelsRange--) | 允许指定数据标签范围内的值是否显示在整个系列的数据标签中。 |
| [getShowLeaderLines()](#getShowLeaderLines--) | 允许指定是否需要为整个系列的数据标签显示数据标签引导线。 |
| [getShowLegendKey()](#getShowLegendKey--) | 允许指定是否为整个系列的数据标签显示图例键。 |
| [getShowPercentage()](#getShowPercentage--) | 允许指定是否为整个系列的数据标签显示百分比值。 |
| [getShowSeriesName()](#getShowSeriesName--) | 获取一个布尔值以指示整个系列的数据标签的系列名称显示行为。 |
| [getShowValue()](#getShowValue--) | 允许指定值是否要显示在整个系列的数据标签中。 |
| [hashCode()](#hashCode--) |  |
| [isInherited()](#isInherited--) |  |
| [iterator()](#iterator--) | 返回一个枚举器对象。 |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setSeparator(String value)](#setSeparator-java.lang.String-) | 设置用于整个系列数据标签的字符串分隔符。 |
| [setShowBubbleSize(boolean value)](#setShowBubbleSize-boolean-) | 允许指定是否为整个系列的数据标签显示气泡大小。 |
| [setShowCategoryName(boolean value)](#setShowCategoryName-boolean-) | 允许指定是否为整个系列的数据标签显示类别名称。 |
| [setShowDataLabelsRange(boolean value)](#setShowDataLabelsRange-boolean-) | 允许指定数据标签范围内的值是否显示在整个系列的数据标签中。 |
| [setShowLeaderLines(boolean value)](#setShowLeaderLines-boolean-) | 允许指定是否需要为整个系列的数据标签显示数据标签引导线。 |
| [setShowLegendKey(boolean value)](#setShowLegendKey-boolean-) | 允许指定是否为整个系列的数据标签显示图例键。 |
| [setShowPercentage(boolean value)](#setShowPercentage-boolean-) | 允许指定是否为整个系列的数据标签显示百分比值。 |
| [setShowSeriesName(boolean value)](#setShowSeriesName-boolean-) | 设置一个布尔值以指示整个系列的数据标签的系列名称显示行为。 |
| [setShowValue(boolean value)](#setShowValue-boolean-) | 允许指定值是否要显示在整个系列的数据标签中。 |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### clearFormat() {#clearFormat--}
```
public void clearFormat()
```


清除所有格式[ChartDataLabel](../../com.aspose.words/chartdatalabel)在这个集合中。

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### get(int index) {#get-int-}
```
public ChartDataLabel get(int index)
```


退货[ChartDataLabel](../../com.aspose.words/chartdatalabel)对于指定的索引。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int |  |

**退货：**
[ChartDataLabel](../../com.aspose.words/chartdatalabel) -\{[ChartDataLabel](../../com.aspose.words/chartdatalabel)对于指定的索引。
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


返回的数量[ChartDataLabel](../../com.aspose.words/chartdatalabel)在这个集合中。

**退货：**
 int - 数量[ChartDataLabel](../../com.aspose.words/chartdatalabel)在这个集合中。
### getNumberFormat() {#getNumberFormat--}
```
public ChartNumberFormat getNumberFormat()
```


得到一个[ChartNumberFormat](../../com.aspose.words/chartnumberformat)允许为整个系列的数据标签设置数字格式的实例。

**退货：**
[ChartNumberFormat](../../com.aspose.words/chartnumberformat) 一个[ChartNumberFormat](../../com.aspose.words/chartnumberformat)允许为整个系列的数据标签设置数字格式的实例。
### getSeparator() {#getSeparator--}
```
public String getSeparator()
```


获取用于整个系列数据标签的字符串分隔符。默认为逗号，但仅显示类别名称和百分比的饼图除外，此时应使用换行符。可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getSeparator()](../../com.aspose.words/chartdatalabel\#getSeparator--) / [ChartDataLabel.setSeparator(java.lang.String)](../../com.aspose.words/chartdatalabel\#setSeparator-java.lang.String-)财产。

**退货：**
java.lang.String - 用于整个系列数据标签的字符串分隔符。
### getShowBubbleSize() {#getShowBubbleSize--}
```
public boolean getShowBubbleSize()
```


允许指定是否为整个系列的数据标签显示气泡大小。仅适用于气泡图。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowBubbleSize()](../../com.aspose.words/chartdatalabel\#getShowBubbleSize--) / [ChartDataLabel.setShowBubbleSize(boolean)](../../com.aspose.words/chartdatalabel\#setShowBubbleSize-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowCategoryName() {#getShowCategoryName--}
```
public boolean getShowCategoryName()
```


允许指定是否为整个系列的数据标签显示类别名称。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowCategoryName()](../../com.aspose.words/chartdatalabel\#getShowCategoryName--) / [ChartDataLabel.setShowCategoryName(boolean)](../../com.aspose.words/chartdatalabel\#setShowCategoryName-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowDataLabelsRange() {#getShowDataLabelsRange--}
```
public boolean getShowDataLabelsRange()
```


允许指定数据标签范围内的值是否显示在整个系列的数据标签中。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowDataLabelsRange()](../../com.aspose.words/chartdatalabel\#getShowDataLabelsRange--) / [ChartDataLabel.setShowDataLabelsRange(boolean)](../../com.aspose.words/chartdatalabel\#setShowDataLabelsRange-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowLeaderLines() {#getShowLeaderLines--}
```
public boolean getShowLeaderLines()
```


允许指定是否需要为整个系列的数据标签显示数据标签引导线。默认值为**false**.

仅适用于饼图。引导线在数据标签和相应的数据点之间创建视觉连接。

可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowLeaderLines()](../../com.aspose.words/chartdatalabel\#getShowLeaderLines--) / [ChartDataLabel.setShowLeaderLines(boolean)](../../com.aspose.words/chartdatalabel\#setShowLeaderLines-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowLegendKey() {#getShowLegendKey--}
```
public boolean getShowLegendKey()
```


允许指定是否为整个系列的数据标签显示图例键。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowLegendKey()](../../com.aspose.words/chartdatalabel\#getShowLegendKey--) / [ChartDataLabel.setShowLegendKey(boolean)](../../com.aspose.words/chartdatalabel\#setShowLegendKey-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowPercentage() {#getShowPercentage--}
```
public boolean getShowPercentage()
```


允许指定是否为整个系列的数据标签显示百分比值。默认值为**false**.仅适用于饼图。可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowPercentage()](../../com.aspose.words/chartdatalabel\#getShowPercentage--) / [ChartDataLabel.setShowPercentage(boolean)](../../com.aspose.words/chartdatalabel\#setShowPercentage-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### getShowSeriesName() {#getShowSeriesName--}
```
public boolean getShowSeriesName()
```


获取一个布尔值以指示整个系列的数据标签的系列名称显示行为。**True**显示系列名称。**False**隐藏。默认**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowSeriesName()](../../com.aspose.words/chartdatalabel\#getShowSeriesName--) / [ChartDataLabel.setShowSeriesName(boolean)](../../com.aspose.words/chartdatalabel\#setShowSeriesName-boolean-)财产。

**退货：**
boolean - 一个布尔值，指示整个系列数据标签的系列名称显示行为。
### getShowValue() {#getShowValue--}
```
public boolean getShowValue()
```


允许指定值是否要显示在整个系列的数据标签中。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowValue()](../../com.aspose.words/chartdatalabel\#getShowValue--) / [ChartDataLabel.setShowValue(boolean)](../../com.aspose.words/chartdatalabel\#setShowValue-boolean-)财产。

**退货：**
boolean - 相应的布尔值。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### isInherited() {#isInherited--}
```
public boolean isInherited()
```




**退货：**
布尔值
### iterator() {#iterator--}
```
public Iterator iterator()
```


返回一个枚举器对象。

**退货：**
java.util.迭代器
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setSeparator(String value) {#setSeparator-java.lang.String-}
```
public void setSeparator(String value)
```


设置用于整个系列数据标签的字符串分隔符。默认为逗号，但仅显示类别名称和百分比的饼图除外，此时应使用换行符。可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getSeparator()](../../com.aspose.words/chartdatalabel\#getSeparator--) / [ChartDataLabel.setSeparator(java.lang.String)](../../com.aspose.words/chartdatalabel\#setSeparator-java.lang.String-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | java.lang.String | 用于整个系列的数据标签的字符串分隔符。 |

### setShowBubbleSize(boolean value) {#setShowBubbleSize-boolean-}
```
public void setShowBubbleSize(boolean value)
```


允许指定是否为整个系列的数据标签显示气泡大小。仅适用于气泡图。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowBubbleSize()](../../com.aspose.words/chartdatalabel\#getShowBubbleSize--) / [ChartDataLabel.setShowBubbleSize(boolean)](../../com.aspose.words/chartdatalabel\#setShowBubbleSize-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowCategoryName(boolean value) {#setShowCategoryName-boolean-}
```
public void setShowCategoryName(boolean value)
```


允许指定是否为整个系列的数据标签显示类别名称。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowCategoryName()](../../com.aspose.words/chartdatalabel\#getShowCategoryName--) / [ChartDataLabel.setShowCategoryName(boolean)](../../com.aspose.words/chartdatalabel\#setShowCategoryName-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowDataLabelsRange(boolean value) {#setShowDataLabelsRange-boolean-}
```
public void setShowDataLabelsRange(boolean value)
```


允许指定数据标签范围内的值是否显示在整个系列的数据标签中。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowDataLabelsRange()](../../com.aspose.words/chartdatalabel\#getShowDataLabelsRange--) / [ChartDataLabel.setShowDataLabelsRange(boolean)](../../com.aspose.words/chartdatalabel\#setShowDataLabelsRange-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowLeaderLines(boolean value) {#setShowLeaderLines-boolean-}
```
public void setShowLeaderLines(boolean value)
```


允许指定是否需要为整个系列的数据标签显示数据标签引导线。默认值为**false**.

仅适用于饼图。引导线在数据标签和相应的数据点之间创建视觉连接。

可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowLeaderLines()](../../com.aspose.words/chartdatalabel\#getShowLeaderLines--) / [ChartDataLabel.setShowLeaderLines(boolean)](../../com.aspose.words/chartdatalabel\#setShowLeaderLines-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowLegendKey(boolean value) {#setShowLegendKey-boolean-}
```
public void setShowLegendKey(boolean value)
```


允许指定是否为整个系列的数据标签显示图例键。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowLegendKey()](../../com.aspose.words/chartdatalabel\#getShowLegendKey--) / [ChartDataLabel.setShowLegendKey(boolean)](../../com.aspose.words/chartdatalabel\#setShowLegendKey-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowPercentage(boolean value) {#setShowPercentage-boolean-}
```
public void setShowPercentage(boolean value)
```


允许指定是否为整个系列的数据标签显示百分比值。默认值为**false**.仅适用于饼图。可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowPercentage()](../../com.aspose.words/chartdatalabel\#getShowPercentage--) / [ChartDataLabel.setShowPercentage(boolean)](../../com.aspose.words/chartdatalabel\#setShowPercentage-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### setShowSeriesName(boolean value) {#setShowSeriesName-boolean-}
```
public void setShowSeriesName(boolean value)
```


设置一个布尔值以指示整个系列的数据标签的系列名称显示行为。**True**显示系列名称。**False**隐藏。默认**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowSeriesName()](../../com.aspose.words/chartdatalabel\#getShowSeriesName--) / [ChartDataLabel.setShowSeriesName(boolean)](../../com.aspose.words/chartdatalabel\#setShowSeriesName-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 一个布尔值，用于指示整个系列的数据标签的系列名称显示行为。 |

### setShowValue(boolean value) {#setShowValue-boolean-}
```
public void setShowValue(boolean value)
```


允许指定值是否要显示在整个系列的数据标签中。默认值为**false**.可以使用为单个数据标签覆盖为此属性定义的值[ChartDataLabel.getShowValue()](../../com.aspose.words/chartdatalabel\#getShowValue--) / [ChartDataLabel.setShowValue(boolean)](../../com.aspose.words/chartdatalabel\#setShowValue-boolean-)财产。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | boolean | 对应的布尔值。 |

### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
