PieSplitCustomPointCollection
PieSplitCustomPointCollection class
Represents a collection of points for splitting point in a bar-of-pie or pie-of-pie chart with a custom split.
add
| Name | Description |
|---|---|
| add (int) | Adds data point by its index in parent series points collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| dataPointIndex | int | Index of data point in parent series points collection. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentException | Point with the given index was not found". |
addItem
| Name | Description |
|---|---|
| addItem (ChartDataPoint) | Adds data point to collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| dataPoint | ChartDataPoint | Data point add to. |
Returns: void
clear
| Name | Description |
|---|---|
| clear () | Removes all items from the IGenericCollection. |
Returns: void
containsItem
| Name | Description |
|---|---|
| containsItem (ChartDataPoint) | Determines whether the IGenericCollection contains a specific value. |
Parameters:
| Name | Type | Description |
|---|---|---|
| item | ChartDataPoint | The object to locate in the IGenericCollection. |
Returns: boolean
copyToTArray
| Name | Description |
|---|---|
| copyToTArray (com.aspose.slides.IChartDataPoint[], int) | Copies the elements of the IGenericCollection to an Array, starting at a particular Array index. |
Parameters:
| Name | Type | Description |
|---|---|---|
| array | com.aspose.slides.IChartDataPoint[] | The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing. |
| arrayIndex | int | The zero-based index in array at which copying begins. |
Returns: void
Exception
| Error | Condition |
|---|---|
| com.aspose.ms.System.ArgumentException | The number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array. |
getSyncRoot
| Name | Description |
|---|---|
| getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
get_Item
| Name | Description |
|---|---|
| get_Item (int) | Returns chart data point for specified index. |
Parameters:
| Name | Type | Description |
|---|---|---|
| index | int | Index. |
Returns: ChartDataPoint
isReadOnly
| Name | Description |
|---|---|
| isReadOnly () | Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean. |
Returns: boolean
isSynchronized
| Name | Description |
|---|---|
| isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
| Name | Description |
|---|---|
| iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
| Name | Description |
|---|---|
| iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
remove
| Name | Description |
|---|---|
| remove (int) | Removes item from collection by it index in parent series points collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| dataPointIndex | int | Index of data point in parent series points collection. |
Returns: void
Exception
| Error | Condition |
|---|---|
| ArgumentOutOfRangeException | dataPointIndex is negative. |
removeItem
| Name | Description |
|---|---|
| removeItem (ChartDataPoint) | Removes item from collection. |
Parameters:
| Name | Type | Description |
|---|---|---|
| dataPoint | ChartDataPoint | Data point remove to. |
Returns: boolean
size
| Name | Description |
|---|---|
| size () | Returns or sets the count of chart data points. Read-only int. |
Returns: int