com.androidplot.ui.widget.renderer
Class DataRenderer<PlotType extends Plot ,SeriesFormatterType extends Formatter >
java.lang.Object
com.androidplot.ui.widget.renderer.DataRenderer<PlotType,SeriesFormatterType>
Direct Known Subclasses: XYSeriesRenderer
public abstract class DataRenderer<PlotType extends Plot ,SeriesFormatterType extends Formatter > extends Object
DataRenderer
public DataRenderer (PlotType plot)
getPlot
public PlotType getPlot ()
setPlot
public void setPlot (PlotType plot)
getFormatter
public SeriesFormatterType getFormatter (Series series)
render
public void render (android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
throws PlotRenderException
Throws:
PlotRenderException
onRender
public abstract void onRender (android.graphics.Canvas canvas,
android.graphics.RectF plotArea)
throws PlotRenderException
Throws:
PlotRenderException
drawLegendIcon
public abstract void drawLegendIcon (android.graphics.Canvas canvas,
android.graphics.RectF rect,
String text,
SeriesFormatterType formatter)
Draw the legend icon in the rect passed in.
Parameters: canvas - rect - text -
Copyright © 2011. All Rights Reserved.