public static class DataSources.ArrayDataSource<T> extends java.lang.Object implements ChartDataSource<T>
Constructor and Description |
---|
DataSources.ArrayDataSource(T[] elements) |
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) |
public DataSources.ArrayDataSource(T[] elements)
public int getPointCount()
ChartDataSource
getPointCount
in interface ChartDataSource<T>
public T getPointAt(int index)
ChartDataSource
getPointAt
in interface ChartDataSource<T>
index
- index to value frompublic boolean isReference()
ChartDataSource
true
if charts data source is valid cell range.isReference
in interface ChartDataSource<T>
true
if charts data source is valid cell rangepublic boolean isNumeric()
ChartDataSource
true
if data source points should be treated as numbers.isNumeric
in interface ChartDataSource<T>
true
if data source points should be treated as numberspublic java.lang.String getFormulaString()
ChartDataSource
getFormulaString
in interface ChartDataSource<T>
public void renameSheet(java.lang.String oldname, java.lang.String newname)
renameSheet
in interface ChartDataSource<T>
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.