org.jrobin.data
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.
Method Summary | |
---|---|
double | getValue(long timestamp)
Retrieves datapoint value based on a given timestamp.
|
Parameters: timestamp Timestamp in seconds for the datapoint.
Returns: Double value of the datapoint.