-
public class AdvancedLineAndPointRenderer extends XYSeriesRenderer<XYSeries, AdvancedLineAndPointRenderer.Formatter>
This is an experimental (but stable) implementation of an XYSeriesRenderer that provides instrumentation allowing advanced behaviors like dynamically coloring / styling individual segments of a series, etc. This class may be removed or renamed in future releases. Currently has the following constraints: - Interpolation is not supported - Only draws lines; no points or fill - Draws series lines using simple Canvas.drawLine(...) invocations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
AdvancedLineAndPointRenderer.Formatter
Formatter designed to work in tandem with AdvancedLineAndPointRenderer.
-
Field Summary
Fields Modifier and Type Field Description private int
latestIndex
-
Constructor Summary
Constructors Constructor Description AdvancedLineAndPointRenderer(XYPlot plot)
-
Method Summary
Modifier and Type Method Description void
setLatestIndex(int latestIndex)
-
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
-
AdvancedLineAndPointRenderer
AdvancedLineAndPointRenderer(XYPlot plot)
-
-
Method Detail
-
setLatestIndex
void setLatestIndex(int latestIndex)
-
-
-
-