Uses of Class
org.pepstock.charba.client.data.DataPoint
-
Packages that use DataPoint Package Description org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.data Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).org.pepstock.charba.client.geo Contains all classes to activate the GEO controllers (AKAchartjs-chart-geo.js
) for CHART.js.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.ml Contains all classes to activate the ML library to use the regression capabilities. -
-
Uses of DataPoint in org.pepstock.charba.client.commons
Fields in org.pepstock.charba.client.commons declared as DataPoint Modifier and Type Field Description static DataPoint[]
ArrayUtil. EMPTY_DATA_POINT_ARRAY
An empty immutableDataPoint
array.Methods in org.pepstock.charba.client.commons that return DataPoint Modifier and Type Method Description static DataPoint[]
ArrayUtil. toDataPoints(List<DataPoint> list)
Returns an array of dates from a list.Method parameters in org.pepstock.charba.client.commons with type arguments of type DataPoint Modifier and Type Method Description static DataPoint[]
ArrayUtil. toDataPoints(List<DataPoint> list)
Returns an array of dates from a list. -
Uses of DataPoint in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return types with arguments of type DataPoint Modifier and Type Method Description default List<DataPoint>
HasDataPoints. getDataPoints()
Returns the data property of a dataset for a chart is specified as an array of data pointsdefault List<DataPoint>
HasDataPoints. getDataPoints(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of data pointsMethods in org.pepstock.charba.client.data with parameters of type DataPoint Modifier and Type Method Description static boolean
HasTimeSeriesItems. isTimeSeriesItem(DataPoint datapoint)
Returnstrue
if the data point, passed as argument, has got the properties to be a time series item (time and Y value).default void
HasDataPoints. setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.default void
HasTimeSeriesItems. setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.Method parameters in org.pepstock.charba.client.data with type arguments of type DataPoint Modifier and Type Method 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, aIllegalArgumentException
will be thrown.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.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. -
Uses of DataPoint in org.pepstock.charba.client.geo
Methods in org.pepstock.charba.client.geo that return types with arguments of type DataPoint Modifier and Type Method Description List<DataPoint>
BubbleMapDataset. getDataPoints(boolean binding)
Throws an exception because not available.Methods in org.pepstock.charba.client.geo with parameters of type DataPoint Modifier and Type Method Description void
BubbleMapDataset. setDataPoints(DataPoint... datapoints)
Throws an exception because not available.Method parameters in org.pepstock.charba.client.geo with type arguments of type DataPoint Modifier and Type Method Description void
BubbleMapDataset. setDataPoints(List<DataPoint> datapoints)
Throws an exception because not available. -
Uses of DataPoint in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return DataPoint Modifier and Type Method Description DataPoint
DataItem. getValueAsDataPoint()
Returns the value for the data set asDataPoint
if it is ornull
. -
Uses of DataPoint in org.pepstock.charba.client.ml
Methods in org.pepstock.charba.client.ml with parameters of type DataPoint Modifier and Type Method Description double
IsRegression. predict(DataPoint dataPoint)
Returns the Y value, calculated by the regression formula at specific X value.List<Double>
IsRegression. predictByDataPoints(DataPoint... dataPoints)
Returns a list of Y values, calculated by the regression formula for specific X values.Method parameters in org.pepstock.charba.client.ml with type arguments of type DataPoint Modifier and Type Method Description List<Double>
IsRegression. predictByDataPoints(List<DataPoint> dataPoints)
Returns a list of Y values, calculated by the regression formula for specific X values.RegressionScore
IsRegression. scoreByDataPoints(List<DataPoint> dataPoints)
Evaluates the regression formula if the model fits enough.RegressionDatasetBuilder
RegressionDatasetBuilder. setSamplesByDataPoints(List<DataPoint> dataPoints)
Sets the samples by the passedDataPoint
s.
-