public abstract class SeriesRenderer<PlotType extends Plot,SeriesType extends Series,SeriesFormatterType extends Formatter> extends Object
| Constructor and Description | 
|---|
SeriesRenderer(PlotType plot)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract void | 
doDrawLegendIcon(android.graphics.Canvas canvas,
                android.graphics.RectF rect,
                SeriesFormatterType formatter)
Draw the legend icon in the rect passed in. 
 | 
void | 
drawSeriesLegendIcon(android.graphics.Canvas canvas,
                    android.graphics.RectF rect,
                    SeriesFormatterType formatter)  | 
SeriesFormatterType | 
getFormatter(SeriesType series)  | 
PlotType | 
getPlot()  | 
List<SeriesAndFormatter<SeriesType,? extends SeriesFormatterType>> | 
getSeriesList()  | 
abstract void | 
onRender(android.graphics.Canvas canvas,
        android.graphics.RectF plotArea,
        SeriesType series,
        SeriesFormatterType formatter,
        RenderStack stack)  | 
void | 
render(android.graphics.Canvas canvas,
      android.graphics.RectF plotArea,
      SeriesAndFormatter<SeriesType,SeriesFormatterType> sfPair,
      RenderStack stack)  | 
void | 
setPlot(PlotType plot)  | 
public SeriesRenderer(PlotType plot)
public PlotType getPlot()
public void setPlot(PlotType plot)
public SeriesFormatterType getFormatter(SeriesType series)
public void render(android.graphics.Canvas canvas,
                   android.graphics.RectF plotArea,
                   SeriesAndFormatter<SeriesType,SeriesFormatterType> sfPair,
                   RenderStack stack)
            throws PlotRenderException
canvas - plotArea - sfPair - The series / formatter pair to be renderedPlotRenderExceptionpublic abstract void onRender(android.graphics.Canvas canvas,
                              android.graphics.RectF plotArea,
                              SeriesType series,
                              SeriesFormatterType formatter,
                              RenderStack stack)
                       throws PlotRenderException
canvas - plotArea - series - The series to be renderedformatter - The getFormatter that should be used to render the seriesstack - Ordered list of all series being renderered.  May be manipulated by the Renderer
              to gain effect.PlotRenderExceptionprotected abstract void doDrawLegendIcon(android.graphics.Canvas canvas,
                                         android.graphics.RectF rect,
                                         SeriesFormatterType formatter)
canvas - rect - public void drawSeriesLegendIcon(android.graphics.Canvas canvas,
                                 android.graphics.RectF rect,
                                 SeriesFormatterType formatter)
public List<SeriesAndFormatter<SeriesType,? extends SeriesFormatterType>> getSeriesList()
SeriesAndFormatter instances currently associated
 with this Renderer.