org.hyperic.image.chart
Class HighLowDataPoint
java.lang.Object
org.hyperic.image.chart.DataPoint
org.hyperic.image.chart.HighLowDataPoint
- All Implemented Interfaces:
- IDataPoint, IDisplayDataPoint, IHighLowDataPoint, IStackedDataPoint
public class HighLowDataPoint
- extends DataPoint
- implements IHighLowDataPoint
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Method Summary |
double |
getAverageValue()
|
double |
getHighValue()
Retrieves the high value of a chart data point. |
double |
getLowValue()
Retrieves the low value of a chart data point. |
double[] |
getValues()
Retrieves the value of a chart data point. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HighLowDataPoint
public HighLowDataPoint(double high,
double low,
double avg)
HighLowDataPoint
public HighLowDataPoint(double high,
double low,
double avg,
long timestamp)
HighLowDataPoint
public HighLowDataPoint(double high,
double low,
double avg,
java.lang.String label)
getAverageValue
public double getAverageValue()
getLowValue
public double getLowValue()
- Description copied from interface:
IHighLowDataPoint
- Retrieves the low value of a chart data point.
- Specified by:
getLowValue
in interface IHighLowDataPoint
- Returns:
- A floating point value for a chart data point.
getHighValue
public double getHighValue()
- Description copied from interface:
IHighLowDataPoint
- Retrieves the high value of a chart data point.
- Specified by:
getHighValue
in interface IHighLowDataPoint
- Returns:
- A floating point value for a chart data point.
getValues
public double[] getValues()
- Description copied from interface:
IStackedDataPoint
- Retrieves the value of a chart data point. The label is displayed on the
X axis for stacked performance charts.
- Specified by:
getValues
in interface IStackedDataPoint
- Returns:
- A floating point value for a chart data point.
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.