Class TimeSeries
java.lang.Object
com.codename1.charts.models.XYSeries
com.codename1.charts.models.TimeSeries
A series for the date / time charts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new value to the series.protected doublegetPadding(double x) Methods inherited from class XYSeries
add, add, addAnnotation, addAnnotation, clear, clearAnnotations, clearSeriesValues, getAnnotationAt, getAnnotationCount, getAnnotationX, getAnnotationY, getIndexForKey, getItemCount, getMaxX, getMaxY, getMinX, getMinY, getRange, getScaleNumber, getTitle, getX, getXYMap, getY, remove, removeAnnotation, setTitle
-
Constructor Details
-
TimeSeries
Builds a new date / time series.
Parameters
title: the series title
-
-
Method Details
-
add
Adds a new value to the series.
Parameters
-
x: the date / time value for the X axis -
y: the value for the Y axis
-
-
getPadding
protected double getPadding(double x) - Overrides:
getPaddingin classXYSeries
-