public class TimeSeries extends XYSeries
Constructor and Description |
---|
TimeSeries(String title)
Builds a new date / time series.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Date x,
double y)
Adds a new value to the series.
|
protected double |
getPadding(double x) |
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
public TimeSeries(String title)
title
- the series titlepublic void add(Date x, double y)
x
- the date / time value for the X axisy
- the value for the Y axisprotected double getPadding(double x)
getPadding
in class XYSeries