public class TimeSeries

  1. Object
  2. XYSeries
  3. 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

Constructor details

TimeSeries

public TimeSeries(String title)
Builds a new date / time series.

Parameters

title String
the series title

Method details

add

public synchronized void add(Date x, double y)
Adds a new value to the series.

Parameters

x Date
the date / time value for the X axis
y double
the value for the Y axis

getPadding

protected double getPadding(double x)