public class BarDataSet extends BarLineScatterCandleBubbleDataSet<BarEntry>
mHighLightColormAxisDependency, mColors, mDrawValues, mHighlightEnabled, mLastEnd, mLastStart, mValueFormatter, mYMax, mYMin, mYVals| Constructor and Description |
|---|
BarDataSet(java.util.List<BarEntry> yVals,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calcMinMax(int start,
int end)
calc minimum and maximum y value
|
DataSet<BarEntry> |
copy()
Provides an exact copy of the DataSet this method is used on.
|
int |
getBarShadowColor()
Returns the color used for drawing the bar-shadows.
|
float |
getBarSpace()
returns the space between bars as the actual value (0 - 1.0f)
|
float |
getBarSpacePercent()
returns the space between bars in percent of the whole width of one value
|
int |
getEntryCountStacks()
returns the overall entry count, including counting each stack-value
individually
|
int |
getHighLightAlpha()
Returns the alpha value (transparency) that is used for drawing the
highlight indicator.
|
java.lang.String[] |
getStackLabels()
returns the labels used for the different value-stacks
|
int |
getStackSize()
Returns the maximum number of bars that can be stacked upon another in
this DataSet.
|
boolean |
isStacked()
Returns true if this DataSet is stacked (stacksize > 1) or not.
|
void |
setBarShadowColor(int color)
Sets the color used for drawing the bar-shadows.
|
void |
setBarSpacePercent(float percent)
sets the space between the bars in percent (0-100) of the total bar width
|
void |
setHighLightAlpha(int alpha)
Set the alpha value (transparency) that is used for drawing the highlight
indicator bar.
|
void |
setStackLabels(java.lang.String[] labels)
Sets labels for different values of bar-stacks, in case there are one.
|
getHighLightColor, setHighLightColoraddColor, addEntry, addEntryOrdered, clear, contains, getAverage, getAxisDependency, getColor, getColor, getColors, getEntriesForXIndex, getEntryCount, getEntryForXIndex, getEntryIndex, getEntryPosition, getIndexInEntries, getLabel, getValueCount, getValueFormatter, getValueTextColor, getValueTextSize, getValueTypeface, getYMax, getYMin, getYValForXIndex, getYVals, getYValueSum, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsDefaultFormatter, notifyDataSetChanged, removeEntry, removeEntry, removeFirst, removeLast, resetColors, setAxisDependency, setColor, setColors, setColors, setColors, setDrawValues, setHighlightEnabled, setLabel, setValueFormatter, setValueTextColor, setValueTextSize, setValueTypeface, setVisible, toSimpleString, toStringpublic BarDataSet(java.util.List<BarEntry> yVals, java.lang.String label)
public DataSet<BarEntry> copy()
DataSetprotected void calcMinMax(int start,
int end)
DataSetcalcMinMax in class DataSet<BarEntry>public int getStackSize()
public boolean isStacked()
public int getEntryCountStacks()
public float getBarSpacePercent()
public float getBarSpace()
public void setBarSpacePercent(float percent)
percent - public void setBarShadowColor(int color)
color - public int getBarShadowColor()
public void setHighLightAlpha(int alpha)
alpha - public int getHighLightAlpha()
public void setStackLabels(java.lang.String[] labels)
labels - public java.lang.String[] getStackLabels()