T
- type of points the data source contents@Beta public interface ChartDataSource<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormulaString()
Returns formula representation of the data source.
|
T |
getPointAt(int index)
Returns point value at specified index.
|
int |
getPointCount()
Return number of points contained by data source.
|
boolean |
isNumeric()
Returns
true if data source points should be treated as numbers. |
boolean |
isReference()
Returns
true if charts data source is valid cell range. |
void |
renameSheet(java.lang.String oldname,
java.lang.String newname) |
int getPointCount()
T getPointAt(int index)
index
- index to value from{@code
- IndexOutOfBoundsException} if index
parameter not in range 0 <= index <= pointCount
boolean isReference()
true
if charts data source is valid cell range.true
if charts data source is valid cell rangeboolean isNumeric()
true
if data source points should be treated as numbers.true
if data source points should be treated as numbersjava.lang.String getFormulaString()
{@code
- UnsupportedOperationException} if the data source is not a
reference.void renameSheet(java.lang.String oldname, java.lang.String newname)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.