com.aspose.words
Class ChartXValueCollection

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

public class ChartXValueCollection 
extends java.lang.Object

Represents a collection of X values for a chart series.

All items of the collection other than null must have the same ChartXValue.ValueType.

The collection allows only changing X values. To add or insert new values to a chart series, or remove values, the appropriate methods of the ChartSeries class can be used.

See Also:
ChartSeries.add(com.aspose.words.ChartXValue,com.aspose.words.ChartYValue), ChartSeries.add(com.aspose.words.ChartXValue,com.aspose.words.ChartYValue,double), ChartSeries.insert(int,com.aspose.words.ChartXValue,com.aspose.words.ChartYValue), ChartSeries.insert(int,com.aspose.words.ChartXValue,com.aspose.words.ChartYValue,double), ChartSeries.remove(int)

Property Getters/Setters Summary
intgetCount()
           Gets the number of items in this collection.
ChartXValueget(int index)
voidset(int index, ChartXValue value)
           Gets or sets the X value at the specified index.
 
Method Summary
java.util.Iterator<ChartXValue>iterator()
           Returns an enumerator object.
 

Property Getters/Setters Detail

getCount

public int getCount()
Gets the number of items in this collection.

get/set

public ChartXValue get(int index) / public void set(int index, ChartXValue value)
Gets or sets the X value at the specified index. Empty values are represented as null.

Method Detail

iterator

public java.util.Iterator<ChartXValueiterator()
Returns an enumerator object.

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