-
public class BarFormatter extends LineAndPointFormatter
-
-
Field Summary
Fields Modifier and Type Field Description private Paint
fillPaint
private Paint
borderPaint
private float
marginTop
private float
marginBottom
private float
marginLeft
private float
marginRight
-
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 Paint
getFillPaint()
Get the Paint used to fill series areas. void
setFillPaint(Paint fillPaint)
Paint
getBorderPaint()
void
setBorderPaint(Paint borderPaint)
float
getMarginTop()
void
setMarginTop(float marginTop)
float
getMarginBottom()
void
setMarginBottom(float marginBottom)
float
getMarginLeft()
void
setMarginLeft(float marginLeft)
float
getMarginRight()
void
setMarginRight(float marginRight)
Class<out SeriesRenderer>
getRendererClass()
SeriesRenderer
doGetRendererInstance(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)
-
-
-
-