public class XSSFChartNumDataSource<T> extends Object implements ChartDataSource<T>
Constructor and Description |
---|
XSSFChartNumDataSource(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource vat) |
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) |
public XSSFChartNumDataSource(org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource vat)
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 String getFormulaString()
ChartDataSource
getFormulaString
in interface ChartDataSource<T>
public void renameSheet(String oldname, String newname)
renameSheet
in interface ChartDataSource<T>
Copyright © 2020. All rights reserved.