public interface AQChartRow
Synopsis:
ChartRow represents one row of chart data.
Description:
A ChartRow contains a category and a list of values, one for each series in the model.
Modifier and Type | Method and Description |
---|---|
Object |
getCategory()
Get the category object for the row.
|
double |
getCategoryNumeric()
Get a numeric representation of the category object.
|
int |
getOriginalRowIndex()
Get the index of this row in its original datasource (if any exists).
|
List<Number> |
getValues()
Get this row's list of values, where value[0] is from series 0, value[1] is from series 1, etc.
|
void |
setCategory(Object category)
Set the category object for the row.
|
void |
setCategoryNumeric(double categoryNumeric)
Set the numeric representation of the category object.
|
void |
setOriginalRowIndex(int originalRowIndex)
Set the index of this row in its original datasource (if any exists).
|
void |
setValues(List<Number> values)
Set this row's list of values, where value[0] is from series 0, value[1] is from series 1, etc.
|
Object getCategory()
If this value is a Date, Time, DateTime or Number, then it will be rendered in the Chart using the appropriate formatter. The default format is defined by the application. The AQChartProperties contains format properties which can override the defaults.
void setCategory(Object category)
If this value is a Date, Time, DateTime or Number, then it will be rendered in the Chart using the appropriate formatter. The default format is defined by the application. The AQChartProperties contains format properties which can override the defaults.
category
- Category objectList<Number> getValues()
void setValues(List<Number> values)
values
- List of numbers, one for each series in the data modeldouble getCategoryNumeric()
void setCategoryNumeric(double categoryNumeric)
categoryNumeric
- numeric representation of the category objectint getOriginalRowIndex()
void setOriginalRowIndex(int originalRowIndex)
originalRowIndex
- Index of this row in the original table model (if any exists)
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.