-
public class BarFormatter extends LineAndPointFormatter
-
-
Field Summary
Fields Modifier and Type Field Description private PaintfillPaintprivate PaintborderPaintprivate floatmarginTopprivate floatmarginBottomprivate floatmarginLeftprivate floatmarginRight
-
Constructor Summary
Constructors Constructor Description BarFormatter()Should only be used in conjunction with calls to configure()... BarFormatter(int fillColor, int borderColor)BarFormatter(Context context, int xmlCfgId)
-
Method Summary
Modifier and Type Method Description PaintgetFillPaint()Get the Paint used to fill series areas. voidsetFillPaint(Paint fillPaint)PaintgetBorderPaint()voidsetBorderPaint(Paint borderPaint)floatgetMarginTop()voidsetMarginTop(float marginTop)floatgetMarginBottom()voidsetMarginBottom(float marginBottom)floatgetMarginLeft()voidsetMarginLeft(float marginLeft)floatgetMarginRight()voidsetMarginRight(float marginRight)Class<out SeriesRenderer>getRendererClass()SeriesRendererdoGetRendererInstance(XYPlot plot)-
Methods inherited from class com.androidplot.xy.LineAndPointFormatter
getFillDirection, getInterpolationParams, getLinePaint, getVertexPaint, hasFillPaint, hasLinePaint, hasVertexPaint, setFillDirection, setInterpolationParams, setLinePaint, setVertexPaint -
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
-
BarFormatter
BarFormatter()
Should only be used in conjunction with calls to configure()...
-
BarFormatter
BarFormatter(int fillColor, int borderColor)
-
BarFormatter
BarFormatter(Context context, int xmlCfgId)
-
-
Method Detail
-
getFillPaint
Paint getFillPaint()
Get the Paint used to fill series areas. Will instantiate and a new default instanceif it is currently null. To run whether or not fill paint has been set, use hasFillPaint.
-
setFillPaint
void setFillPaint(Paint fillPaint)
-
getBorderPaint
Paint getBorderPaint()
-
setBorderPaint
void setBorderPaint(Paint borderPaint)
-
getMarginTop
float getMarginTop()
-
setMarginTop
void setMarginTop(float marginTop)
-
getMarginBottom
float getMarginBottom()
-
setMarginBottom
void setMarginBottom(float marginBottom)
-
getMarginLeft
float getMarginLeft()
-
setMarginLeft
void setMarginLeft(float marginLeft)
-
getMarginRight
float getMarginRight()
-
setMarginRight
void setMarginRight(float marginRight)
-
getRendererClass
Class<out SeriesRenderer> getRendererClass()
-
doGetRendererInstance
SeriesRenderer doGetRendererInstance(XYPlot plot)
-
-
-
-