@Beta public class DataSources extends 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<Number> |
fromNumericCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
static ChartTextSource |
fromString(String element) |
static ChartDataSource<String> |
fromStringCellRange(Sheet sheet,
CellRangeAddress cellRangeAddress) |
public static <T> ChartDataSource<T> fromArray(T[] elements)
public static ChartDataSource<Number> fromNumericCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
public static ChartDataSource<String> fromStringCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
public static ChartTextSource fromString(String element)
public static ChartTextSource fromCellRange(Sheet sheet, CellRangeAddress cellRangeAddress)
Copyright © 2020. All rights reserved.