public class FastLineAndPointRenderer extends XYSeriesRenderer<XYSeries,FastLineAndPointRenderer.Formatter>
LineAndPointRenderer. For performance reasons, has these constraints:
- Interpolation is not supported
- Does not draw fill
- Does not support null values| Modifier and Type | Class and Description |
|---|---|
static class |
FastLineAndPointRenderer.Formatter
Formatter designed to work in tandem with
AdvancedLineAndPointRenderer. |
| Constructor and Description |
|---|
FastLineAndPointRenderer(XYPlot plot) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDrawLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
FastLineAndPointRenderer.Formatter formatter)
Draw the legend icon in the rect passed in.
|
protected void |
drawSegment(android.graphics.Canvas canvas,
float[] points,
int offset,
int len,
FastLineAndPointRenderer.Formatter formatter) |
protected void |
onRender(android.graphics.Canvas canvas,
android.graphics.RectF plotArea,
XYSeries series,
FastLineAndPointRenderer.Formatter formatter,
RenderStack stack) |
getUniqueRegionFormattersdrawSeriesLegendIcon, getFormatter, getPlot, getSeriesAndFormatterList, getSeriesList, render, setPlotpublic FastLineAndPointRenderer(XYPlot plot)
protected void onRender(android.graphics.Canvas canvas,
android.graphics.RectF plotArea,
XYSeries series,
FastLineAndPointRenderer.Formatter formatter,
RenderStack stack)
throws PlotRenderException
onRender in class SeriesRenderer<XYPlot,XYSeries,FastLineAndPointRenderer.Formatter>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 void drawSegment(android.graphics.Canvas canvas,
float[] points,
int offset,
int len,
FastLineAndPointRenderer.Formatter formatter)
protected void doDrawLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
FastLineAndPointRenderer.Formatter formatter)
SeriesRendererdoDrawLegendIcon in class SeriesRenderer<XYPlot,XYSeries,FastLineAndPointRenderer.Formatter>