@Beta public class DataSources extends java.lang.Object
DataSources
is a factory for ChartDataSource
instances.Modifier and Type | Class and Description |
---|---|
static class |
DataSources.ArrayDataSource<T> |
Modifier and Type | Method and Description |
---|---|
static <T> ChartDataSource<T> |
fromArray(T[] elements) |
static ChartTextSource |
fromCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
static ChartDataSource<java.lang.Number> |
fromNumericCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
static ChartTextSource |
fromString(java.lang.String element) |
static ChartDataSource<java.lang.String> |
fromStringCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
public static <T> ChartDataSource<T> fromArray(T[] elements)
public static ChartDataSource<java.lang.Number> fromNumericCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
public static ChartDataSource<java.lang.String> fromStringCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
public static ChartTextSource fromString(java.lang.String element)
public static ChartTextSource fromCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.