public interface HasDataPoints extends HasDataset
Modifier and Type | Method and Description |
---|---|
default List<DataPoint> |
getDataPoints()
Returns the data property of a dataset for a chart is specified as an array of data points
|
default List<DataPoint> |
getDataPoints(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of data points
|
default void |
setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
default void |
setDataPoints(List<DataPoint> datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
getDataset
default void setDataPoints(DataPoint... datapoints)
datapoints
- an array of data pointsdefault void setDataPoints(List<DataPoint> datapoints)
datapoints
- a list of data pointsdefault List<DataPoint> getDataPoints()
DataType.POINTS
.default List<DataPoint> getDataPoints(boolean binding)
binding
- if true
binds the new array list in the containerDataType.POINTS
.