com.androidplot.xy
Class LineAndPointRenderer

java.lang.Object
  extended by com.androidplot.ui.widget.renderer.DataRenderer<XYPlot,XYFormatterType>
      extended by com.androidplot.xy.XYSeriesRenderer<LineAndPointFormatter>
          extended by com.androidplot.xy.LineAndPointRenderer

public class LineAndPointRenderer
extends XYSeriesRenderer<LineAndPointFormatter>

Renders a point as a line with the vertices marked. Requires 2 or more points to be rendered.


Constructor Summary
LineAndPointRenderer(XYPlot plot)
           
 
Method Summary
 void onRender(android.graphics.Canvas canvas, android.graphics.RectF plotArea)
           
 
Methods inherited from class com.androidplot.xy.XYSeriesRenderer
getMaxX, getMaxY, getMinX, getMinY, recalculateMinMaxVals, setMaxX, setMaxY, setMinX, setMinY
 
Methods inherited from class com.androidplot.ui.widget.renderer.DataRenderer
getFormatter, getPlot, render, setPlot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineAndPointRenderer

public LineAndPointRenderer(XYPlot plot)
Method Detail

onRender

public void onRender(android.graphics.Canvas canvas,
                     android.graphics.RectF plotArea)
              throws PlotRenderException
Specified by:
onRender in class DataRenderer<XYPlot,LineAndPointFormatter>
Throws:
PlotRenderException


Copyright © 2011. All Rights Reserved.