public interface AQDataSource
Synopsis:
A DataSource provides series and category values to a ChartModel.
Description:
A DataSource is used by a ChartModel to reference externally-generated data sets.
The two primary procedures for adding data to a ChartModel are: Adding series and category values directly to the ChartModel using the addSeries(), addCategory(), and setValue() methods. OR Setting the ChartModel's datasource and selecting series and category fields from that datasource using the addSeriesField() and addCategoryField() methods.
The most common DataSource is a DataSet obtained from a database query (for example, using the Connection.executeSnapshot() method). Another DataSource is the PivotDataSet, which can be created from a DataSet.
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Get the number of columns in the datasource.
|
String |
getColumnName(int columnNumber)
Get the name of the specified column in the datasource.
|
int |
getRowCount()
Get the number of rows in the datasource.
|
Object |
getValueAt(int rowNumber,
int columnNumber)
Get the value at the specified row and column in the datasource.
|
int getRowCount()
int getColumnCount()
String getColumnName(int columnNumber)
columnNumber
- Zero-based index of columnObject getValueAt(int rowNumber, int columnNumber)
rowNumber
- Zero-based index of rowcolumnNumber
- Zero-based index of column
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.