public class BarBuffer extends AbstractBuffer<IBarDataSet>
| Modifier and Type | Field and Description |
|---|---|
protected float |
mBarWidth
width of the bar on the x-axis, in values (not pixels)
|
protected boolean |
mContainsStacks |
protected int |
mDataSetCount |
protected int |
mDataSetIndex |
protected boolean |
mInverted |
| Constructor and Description |
|---|
BarBuffer(int size,
int dataSetCount,
boolean containsStacks) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBar(float left,
float top,
float right,
float bottom) |
void |
feed(IBarDataSet data)
Builds up the buffer with the provided data and resets the buffer-index
after feed-completion.
|
void |
setBarWidth(float barWidth) |
void |
setDataSet(int index) |
void |
setInverted(boolean inverted) |
protected int mDataSetIndex
protected int mDataSetCount
protected boolean mContainsStacks
protected boolean mInverted
protected float mBarWidth
public void setBarWidth(float barWidth)
public void setDataSet(int index)
public void setInverted(boolean inverted)
protected void addBar(float left,
float top,
float right,
float bottom)
public void feed(IBarDataSet data)
AbstractBufferfeed in class AbstractBuffer<IBarDataSet>