com.androidplot.xy
Class LineAndPointRenderer<FormatterType extends LineAndPointFormatter>

java.lang.Object
  extended by com.androidplot.ui.SeriesRenderer<XYPlot,XYSeries,XYFormatterType>
      extended by com.androidplot.xy.XYSeriesRenderer<FormatterType>
          extended by com.androidplot.xy.LineAndPointRenderer<FormatterType>
Direct Known Subclasses:
BezierLineAndPointRenderer, StepRenderer

public class LineAndPointRenderer<FormatterType extends LineAndPointFormatter>
extends XYSeriesRenderer<FormatterType>

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 doDrawLegendIcon(android.graphics.Canvas canvas, android.graphics.RectF rect, LineAndPointFormatter formatter)
          Draw the legend icon in the rect passed in.
 void onRender(android.graphics.Canvas canvas, android.graphics.RectF plotArea)
           
 
Methods inherited from class com.androidplot.xy.XYSeriesRenderer
getUniqueRegionFormatters
 
Methods inherited from class com.androidplot.ui.SeriesRenderer
drawSeriesLegendIcon, getFormatter, getPlot, getSeriesAndFormatterList, 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 SeriesRenderer<XYPlot,XYSeries,FormatterType extends LineAndPointFormatter>
Throws:
PlotRenderException

doDrawLegendIcon

public void doDrawLegendIcon(android.graphics.Canvas canvas,
                             android.graphics.RectF rect,
                             LineAndPointFormatter formatter)
Description copied from class: SeriesRenderer
Draw the legend icon in the rect passed in.



Copyright © 2010-2013 androidplot.com. All Rights Reserved.