org.rhq.enterprise.gui.image.chart
Class HighLowDataPoint
java.lang.Object
org.rhq.enterprise.gui.image.chart.DataPoint
org.rhq.enterprise.gui.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. |
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,
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 © 2008-2012 Red Hat, Inc.. All Rights Reserved.