-
public class LineAndPointRenderer<FormatterType extends LineAndPointFormatter> extends XYSeriesRenderer<XYSeries, FormatterType>
Renders a point as a line with the vertices marked. Requires 2 or more points to be rendered.
-
-
Constructor Summary
Constructors Constructor Description LineAndPointRenderer(XYPlot plot)
-
Method Summary
Modifier and Type Method Description voidonRender(Canvas canvas, RectF plotArea, XYSeries series, FormatterType formatter, RenderStack stack)voiddoDrawLegendIcon(Canvas canvas, RectF rect, LineAndPointFormatter formatter)Draw the legend icon in the rect passed in. -
Methods inherited from class com.androidplot.xy.XYSeriesRenderer
getUniqueRegionFormatters -
Methods inherited from class com.androidplot.ui.SeriesRenderer
drawSeriesLegendIcon, getFormatter, getPlot, getSeriesAndFormatterList, getSeriesList, render, setPlot -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LineAndPointRenderer
LineAndPointRenderer(XYPlot plot)
-
-
Method Detail
-
onRender
void onRender(Canvas canvas, RectF plotArea, XYSeries series, FormatterType formatter, RenderStack stack)
- Parameters:
series- The series to be renderedformatter- The getFormatter that should be used to render the seriesstack- Ordered list of all series being renderered.
-
doDrawLegendIcon
void doDrawLegendIcon(Canvas canvas, RectF rect, LineAndPointFormatter formatter)
Draw the legend icon in the rect passed in.
-
-
-
-