Class Plottable

  extended by
Direct Known Subclasses:
CubicSplineInterpolator, LinearInterpolator

public abstract class Plottable
extends Object

Interface to be used for custom datasources. If you wish to use a custom datasource in a graph, you should create a class implementing this interface that represents that datasource, and then pass this class on to the RrdGraphDef.

Constructor Summary
Method Summary
 double getValue(long timestamp)
          Retrieves datapoint value based on a given timestamp.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Plottable()
Method Detail


public double getValue(long timestamp)
Retrieves datapoint value based on a given timestamp. Use this method if you only have one series of data in this class.

timestamp - Timestamp in seconds for the datapoint.
Double value of the datapoint.

Copyright 2003-2008. All Rights Reserved.