org.achartengine.model
Class TimeSeries

java.lang.Object
  extended by org.achartengine.model.XYSeries
      extended by org.achartengine.model.TimeSeries
All Implemented Interfaces:
java.io.Serializable

public class TimeSeries
extends XYSeries

A series for the date / time charts.

See Also:
Serialized Form

Constructor Summary
TimeSeries(java.lang.String title)
          Builds a new date / time series.
 
Method Summary
 void add(java.util.Date x, double y)
          Adds a new value to the series.
protected  double getPadding()
           
 
Methods inherited from class org.achartengine.model.XYSeries
add, add, addAnnotation, clear, getAnnotationAt, getAnnotationCount, getAnnotationX, getAnnotationY, getIndexForKey, getItemCount, getMaxX, getMaxY, getMinX, getMinY, getRange, getScaleNumber, getTitle, getX, getY, remove, removeAnnotation, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSeries

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

Parameters:
title - the series title
Method Detail

add

public void add(java.util.Date x,
                double y)
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()
Overrides:
getPadding in class XYSeries


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.