Remove
Remove(IChartDataPoint)
从集合中移除项目。
public bool Remove(IChartDataPoint dataPoint)
参数 | 类型 | 描述 |
---|---|---|
dataPoint | IChartDataPoint | 要移除的数据点。 |
返回值
如果项目成功移除,则返回 true;否则返回 false。如果在 System.Collections.Generic.List{T} 中未找到该项目,则此方法也返回 false。
另见
- interface IChartDataPoint
- class PieSplitCustomPointCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides
Remove(int)
通过其在父系列点集合中的索引从集合中移除项目。
public void Remove(int dataPointIndex)
参数 | 类型 | 描述 |
---|---|---|
dataPointIndex | Int32 | 数据点在父系列点集合中的索引。 |
异常
异常 | 条件 |
---|---|
ArgumentException | 未找到具有给定索引的点。 |
ArgumentOutOfRangeException | dataPointIndex 为负数。 |
另见
- class PieSplitCustomPointCollection
- namespace Aspose.Slides.Charts
- assembly Aspose.Slides