public class TimeSeries
A series for the date / time charts.
Constructors
public TimeSeries(String title) | Builds a new date / time series. |
Methods
public synchronized void add(Date x, double y) | Adds a new value to the series. |
protected double getPadding(double x) |
Inherited methods
From XYSeries
getScaleNumber, getTitle, setTitle, add, add, remove, clear, clearSeriesValues, clearAnnotations, getXYMap, getX, getY, addAnnotation, addAnnotation, removeAnnotation, getAnnotationX, getAnnotationY, getAnnotationCount, getAnnotationAt, getRange, getIndexForKey, getItemCount, getMinX, getMinY, getMaxX, getMaxY
Constructor details
TimeSeries
public TimeSeries(String title)Builds a new date / time series.
Parameters
titleString- the series title
Method details
add
public synchronized void add(Date x, double y)Adds a new value to the series.
Parameters
xDate- the date / time value for the X axis
ydouble- the value for the Y axis
getPadding
protected double getPadding(double x)