ChartCellCollection

ChartCellCollection class

Represents collection of a cells with data.

add

NameDescription
add (ChartDataCell)Add new cell to the collection.

Parameters:

NameTypeDescription
cellChartDataCellNew cell to add.

Returns: void


add

NameDescription
add (Object)Creates ChartDataCell from specified value and adds it to the collection.

Parameters:

NameTypeDescription
valueObjectThe value. This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataWorkbook to add or edit Cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680

Returns: void

Exception

ErrorCondition
com.aspose.ms.System.InvalidOperationExceptionif limit exceeded

getCellsAddress

NameDescription
getCellsAddress ()Returns address of the set of cells in workbook.

Returns: String


getConcatenatedValuesFromCells

NameDescription
getConcatenatedValuesFromCells ()Concatenation string from all cells string values.

Returns: String


getCount

NameDescription
getCount ()Gets the count of cells in collection. Read-only int.

Returns: int


get_Item

NameDescription
get_Item (int)Returns a cell (IChartDataCell) by index.

Parameters:

NameTypeDescription
indexintIndex of a cell.

Returns: ChartDataCell


iterator

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

Returns:


iteratorJava

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

Returns:


removeAt

NameDescription
removeAt (int)Removes a cell from the collection by index.

Parameters:

NameTypeDescription
indexintIndex of a cell to remove.

Returns: void