public class BarBuffer extends AbstractBuffer<BarEntry>
| Modifier and Type | Field and Description |
|---|---|
protected float |
mBarSpace |
protected boolean |
mContainsStacks |
protected int |
mDataSetCount |
protected int |
mDataSetIndex |
protected float |
mGroupSpace |
protected boolean |
mInverted |
| Constructor and Description |
|---|
BarBuffer(int size,
float groupspace,
int dataSetCount,
boolean containsStacks) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBar(float left,
float top,
float right,
float bottom) |
void |
feed(java.util.List<BarEntry> entries)
Builds up the buffer with the provided data and resets the buffer-index
after feed-completion.
|
void |
setBarSpace(float barspace) |
void |
setDataSet(int index) |
void |
setInverted(boolean inverted) |
protected float mBarSpace
protected float mGroupSpace
protected int mDataSetIndex
protected int mDataSetCount
protected boolean mContainsStacks
protected boolean mInverted
public BarBuffer(int size,
float groupspace,
int dataSetCount,
boolean containsStacks)
public void setBarSpace(float barspace)
public void setDataSet(int index)
public void setInverted(boolean inverted)
protected void addBar(float left,
float top,
float right,
float bottom)
public void feed(java.util.List<BarEntry> entries)
AbstractBufferfeed in class AbstractBuffer<BarEntry>