com.androidplot.xy
Class PointLabelFormatter

java.lang.Object
  extended by com.androidplot.xy.PointLabelFormatter
All Implemented Interfaces:
PointFormatter

public class PointLabelFormatter
extends java.lang.Object
implements PointFormatter

Default PointFormatter used by LineAndPointRenderer to draw a point's text label onto the display.


Constructor Summary
PointLabelFormatter()
           
 
Method Summary
 void draw(android.graphics.Canvas canvas, java.lang.Number value, android.graphics.PointF coords)
          Draws the point specified onto the canvas.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointLabelFormatter

public PointLabelFormatter()
Method Detail

draw

public void draw(android.graphics.Canvas canvas,
                 java.lang.Number value,
                 android.graphics.PointF coords)
Description copied from interface: PointFormatter
Draws the point specified onto the canvas.

Specified by:
draw in interface PointFormatter
value - Actual value of the point.
coords - Screen coordinates of the point.


Copyright © 2012. All Rights Reserved.