com.gtosoft.libvoyager.view
Class XYGraphView

java.lang.Object
  extended by View
      extended by com.gtosoft.libvoyager.view.XYGraphView

public class XYGraphView
extends View


Constructor Summary
XYGraphView(Context context)
           
XYGraphView(Context context, AttributeSet attrs)
           
XYGraphView(Context context, AttributeSet attrs, int defStyle)
           
 
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
 

Constructor Detail

XYGraphView

public XYGraphView(Context context)

XYGraphView

public XYGraphView(Context context,
                   AttributeSet attrs)

XYGraphView

public XYGraphView(Context context,
                   AttributeSet attrs,
                   int defStyle)
Method Detail

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)