com.aspose.words
Class ChartDataPointCollection

java.lang.Object
    extended by com.aspose.words.ChartDataPointCollection
All Implemented Interfaces:
java.lang.Iterable

public class ChartDataPointCollection 
extends java.lang.Object

Represents collection of a ChartDataPoint.

Property Getters/Setters Summary
intgetCount()
           Returns the number of ChartDataPoint in this collection.
ChartDataPointget(int index)
           Returns ChartDataPoint for the specified index. If there is no ChartDataPoint for the specified index, returns default series ChartDataPoint.
 
Method Summary
ChartDataPointadd(int index)
           Adds new ChartDataPoint at the specified index.
voidclear()
           Removes all ChartDataPoint from this collection.
voidremoveAt(int index)
           Removes a ChartDataPoint at the specified index.
 

Property Getters/Setters Detail

getCount

public int getCount()
Returns the number of ChartDataPoint in this collection.

get

public ChartDataPoint get(int index)
Returns ChartDataPoint for the specified index. If there is no ChartDataPoint for the specified index, returns default series ChartDataPoint.

Method Detail

add

public ChartDataPoint add(int index)
Adds new ChartDataPoint at the specified index.
Parameters:
index - Target data point index.

clear

public void clear()
Removes all ChartDataPoint from this collection.

removeAt

public void removeAt(int index)
Removes a ChartDataPoint at the specified index.
Parameters:
index - The zero-based index of the bookmark to remove.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.