T - type of points the data source contents@Beta public interface ChartDataSource<T>
| Modifier and Type | Method and Description |
|---|---|
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(String oldname,
String newname) |
int getPointCount()
T getPointAt(int index)
index - index to value from{@code - IndexOutOfBoundsException} if index
parameter not in range 0 <= index <= pointCountboolean 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 numbersString getFormulaString()
{@code - UnsupportedOperationException} if the data source is not a
reference.Copyright © 2020. All rights reserved.