Package | Description |
---|---|
org.pepstock.charba.client.data |
Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).
|
Modifier and Type | Method and Description |
---|---|
default List<DataPoint> |
HasDataPoints.getDataPoints()
Returns the data property of a dataset for a chart is specified as an array of data points
|
default List<DataPoint> |
HasDataPoints.getDataPoints(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of data points
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HasTimeSeriesItems.isTimeSeriesItem(DataPoint datapoint)
Returns
true if the data point, passed as argument, has got the properties to be a time series item (time
and Y value). |
default void |
HasTimeSeriesItems.setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
default void |
HasDataPoints.setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
Modifier and Type | Method and Description |
---|---|
static void |
HasTimeSeriesItems.checkTimeSeriesItems(List<DataPoint> datapoints)
Checks if the list of data points, passed as argument, have got the properties to be time series items (time and Y
value).
If not, a IllegalArgumentException will be thrown. |
default void |
HasTimeSeriesItems.setDataPoints(List<DataPoint> datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
default void |
HasDataPoints.setDataPoints(List<DataPoint> datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|