Package com.androidplot.xy
Class BubbleFormatter
-
- All Implemented Interfaces:
public class BubbleFormatter extends XYSeriesFormatter<XYRegionFormatter>
Format for drawing a value using BubbleRenderer.
- Since:
1.2.2
-
-
Field Summary
Fields Modifier and Type Field Description public PaintstrokePaintpublic PaintfillPaintpublic PointLabelerpointLabelerpublic PointLabelFormatterpointLabelFormatterpublic booleanisLegendIconEnabled
-
Constructor Summary
Constructors Constructor Description BubbleFormatter()BubbleFormatter(Context context, int xmlCfgId)BubbleFormatter(int fillColor, int strokeColor)
-
Method Summary
Modifier and Type Method Description PaintgetStrokePaint()voidsetStrokePaint(@NonNull() Paint strokePaint)PaintgetFillPaint()voidsetFillPaint(@NonNull() Paint fillPaint)Class<out SeriesRenderer>getRendererClass()BubbleRendererdoGetRendererInstance(@NonNull() XYPlot plot)-
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
-
BubbleFormatter
BubbleFormatter()
-
BubbleFormatter
BubbleFormatter(Context context, int xmlCfgId)
-
BubbleFormatter
BubbleFormatter(int fillColor, int strokeColor)
-
-
Method Detail
-
getStrokePaint
@NonNull() Paint getStrokePaint()
-
setStrokePaint
void setStrokePaint(@NonNull() Paint strokePaint)
-
getFillPaint
@NonNull() Paint getFillPaint()
-
setFillPaint
void setFillPaint(@NonNull() Paint fillPaint)
-
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() BubbleRenderer doGetRendererInstance(@NonNull() XYPlot plot)
- Returns:
An instance of SeriesRenderer constructed with the specified plot.
-
-
-
-