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

NameDescription
add (int)Adds data point by its index in parent series points collection.

Parameters:

NameTypeDescription
dataPointIndexintIndex of data point in parent series points collection.

Error

ErrorCondition
ArgumentExceptionPoint with the given index was not found".

addItem

NameDescription
addItem (ChartDataPoint)Adds data point to collection.

Parameters:

NameTypeDescription
dataPointChartDataPointData point add to.

clear

NameDescription
clear ()Removes all items from the IGenericCollection.

containsItem

NameDescription
containsItem (ChartDataPoint)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemChartDataPointThe object to locate in the IGenericCollection.

Returns: boolean


copyToTArray

NameDescription
copyToTArray (com.aspose.slides.IChartDataPoint[], int)Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

NameTypeDescription
arraycom.aspose.slides.IChartDataPoint[]The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

Error

ErrorCondition
com.aspose.ms.System.ArgumentExceptionThe number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.

getSyncRoot

NameDescription
getSyncRoot ()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item (int)Returns chart data point for specified index.

Parameters:

NameTypeDescription
indexintIndex.

Returns: ChartDataPoint


isReadOnly

NameDescription
isReadOnly ()Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean


isSynchronized

NameDescription
isSynchronized ()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (int)Removes item from collection by it index in parent series points collection.

Parameters:

NameTypeDescription
dataPointIndexintIndex of data point in parent series points collection.

Error

ErrorCondition
ArgumentOutOfRangeExceptiondataPointIndex is negative.

removeItem

NameDescription
removeItem (ChartDataPoint)Removes item from collection.

Parameters:

NameTypeDescription
dataPointChartDataPointData point remove to.

Returns: boolean


size

NameDescription
size ()Returns or sets the count of chart data points. Read-only int.

Returns: int