Package com.androidplot.xy
Class AdvancedLineAndPointRenderer.Formatter
-
- All Implemented Interfaces:
public class AdvancedLineAndPointRenderer.Formatter extends XYSeriesFormatter<XYRegionFormatter>
Formatter designed to work in tandem with AdvancedLineAndPointRenderer.
- Since:
0.9.9
-
-
Field Summary
Fields Modifier and Type Field Description public PaintlinePaintpublic PointLabelerpointLabelerpublic PointLabelFormatterpointLabelFormatterpublic booleanisLegendIconEnabled
-
Constructor Summary
Constructors Constructor Description AdvancedLineAndPointRenderer.Formatter()AdvancedLineAndPointRenderer.Formatter(Context context, int xmlConfigId)
-
Method Summary
Modifier and Type Method Description PaintgetLinePaint()voidsetLinePaint(@Nullable() Paint linePaint)Class<out SeriesRenderer>getRendererClass()AdvancedLineAndPointRendererdoGetRendererInstance(@NonNull() XYPlot plot)PaintgetLinePaint(int thisIndex, int latestIndex, int seriesSize)By default, simply returns the line paint as-is. -
Methods inherited from class com.androidplot.xy.XYSeriesFormatter
addRegion, getPointLabelFormatter, getPointLabeler, getRegionFormatter, getRegions, hasPointLabelFormatter, removeRegion, setPointLabelFormatter, setPointLabeler -
Methods inherited from class com.androidplot.ui.Formatter
configure, getRendererInstance, isLegendIconEnabled, setLegendIconEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AdvancedLineAndPointRenderer.Formatter
AdvancedLineAndPointRenderer.Formatter()
-
AdvancedLineAndPointRenderer.Formatter
AdvancedLineAndPointRenderer.Formatter(Context context, int xmlConfigId)
-
-
Method Detail
-
getLinePaint
@Nullable() Paint getLinePaint()
-
setLinePaint
void setLinePaint(@Nullable() Paint linePaint)
-
getRendererClass
@NonNull() Class<out SeriesRenderer> getRendererClass()
- Returns:
The Class of SeriesRenderer that should be used when rendering series associated with instances of this formatter.
-
doGetRendererInstance
@NonNull() AdvancedLineAndPointRenderer doGetRendererInstance(@NonNull() XYPlot plot)
- Returns:
An instance of SeriesRenderer constructed with the specified plot.
-
getLinePaint
@Nullable() Paint getLinePaint(int thisIndex, int latestIndex, int seriesSize)
By default, simply returns the line paint as-is. May be overridden to provide custom behavior based on input params.
-
-
-
-