com.gtosoft.libvoyager.view
Class XYGraphView
java.lang.Object
View
com.gtosoft.libvoyager.view.XYGraphView
public class XYGraphView
- extends View
Method Summary |
void |
addPoint(int newPointValue)
|
void |
setGraphLabel(java.lang.String newLabel)
|
void |
setMinMax(int newMin,
int newMax)
Set the min/max values of the data which you plan on setting with addPoint(). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XYGraphView
public XYGraphView(Context context)
XYGraphView
public XYGraphView(Context context,
AttributeSet attrs)
XYGraphView
public XYGraphView(Context context,
AttributeSet attrs,
int defStyle)
setMinMax
public void setMinMax(int newMin,
int newMax)
- Set the min/max values of the data which you plan on setting with addPoint(). Default is 0, 100 if not specified here
- Parameters:
newMin
- newMax
-
addPoint
public void addPoint(int newPointValue)
setGraphLabel
public void setGraphLabel(java.lang.String newLabel)