com.androidplot.xy
Class BarFormatter
java.lang.Object
com.androidplot.ui.Formatter<XYPlot>
com.androidplot.xy.XYSeriesFormatter<XYRegionFormatter>
com.androidplot.xy.LineAndPointFormatter
com.androidplot.xy.BarFormatter
public class BarFormatter
- extends LineAndPointFormatter
Constructor Summary |
BarFormatter()
Should only be used in conjunction with calls to configure()... |
BarFormatter(int fillColor,
int borderColor)
|
Methods inherited from class com.androidplot.xy.LineAndPointFormatter |
disableShadows, enableShadows, getFillDirection, getLinePaint, getPointLabeler, getPointLabelFormatter, getVertexPaint, setFillDirection, setLinePaint, setPointLabeler, setPointLabelFormatter, setVertexPaint |
BarFormatter
public BarFormatter()
- Should only be used in conjunction with calls to configure()...
BarFormatter
public BarFormatter(int fillColor,
int borderColor)
getFillPaint
public android.graphics.Paint getFillPaint()
- Overrides:
getFillPaint
in class LineAndPointFormatter
setFillPaint
public void setFillPaint(android.graphics.Paint fillPaint)
- Overrides:
setFillPaint
in class LineAndPointFormatter
getBorderPaint
public android.graphics.Paint getBorderPaint()
setBorderPaint
public void setBorderPaint(android.graphics.Paint borderPaint)
getRendererClass
public Class<? extends SeriesRenderer> getRendererClass()
- Overrides:
getRendererClass
in class LineAndPointFormatter
- Returns:
- The Class of SeriesRenderer that should be used.
getRendererInstance
public SeriesRenderer getRendererInstance(XYPlot plot)
- Description copied from class:
XYSeriesFormatter
- Not completely sure why this is necessary, but if it's not here then
subclasses are forced to take a Plot instead of an XYPlot as a parameter,
which in turn breaks the pattern.
- Overrides:
getRendererInstance
in class LineAndPointFormatter
- Returns:
- An instance of SeriesRenderer that took plot as an argument to its constructor.
Copyright © 2010-2013 androidplot.com. All Rights Reserved.