com.androidplot.xy
Class LineAndPointRenderer<FormatterType extends LineAndPointFormatter >
java.lang.Object
com.androidplot.ui.widget.renderer.DataRenderer <XYPlot ,XYFormatterType>
com.androidplot.xy.XYSeriesRenderer <FormatterType>
com.androidplot.xy.LineAndPointRenderer<FormatterType>
Direct Known Subclasses: 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.
Method Summary
void
drawLegendIcon (android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
LineAndPointFormatter formatter)
Draw the legend icon in the rect passed in.
void
onRender (android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
LineAndPointRenderer
public LineAndPointRenderer (XYPlot plot)
onRender
public void onRender (android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
throws PlotRenderException
Specified by: onRender in class DataRenderer <XYPlot ,FormatterType extends LineAndPointFormatter >
Throws:
PlotRenderException
drawLegendIcon
public void drawLegendIcon (android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
LineAndPointFormatter formatter)
Description copied from class: DataRenderer
Draw the legend icon in the rect passed in.
Specified by: drawLegendIcon in class DataRenderer <XYPlot ,FormatterType extends LineAndPointFormatter >
Copyright © 2011. All Rights Reserved.