public class StackedValueFormatter extends ValueFormatter
| Constructor and Description |
|---|
StackedValueFormatter(boolean drawWholeStack,
java.lang.String suffix,
int decimals)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBarStackedLabel(float value,
BarEntry entry)
Used to draw stacked bar labels, calls
ValueFormatter.getFormattedValue(float) by default. |
getAxisLabel, getBarLabel, getBubbleLabel, getCandleLabel, getFormattedValue, getFormattedValue, getFormattedValue, getPieLabel, getPointLabel, getRadarLabelpublic StackedValueFormatter(boolean drawWholeStack,
java.lang.String suffix,
int decimals)
drawWholeStack - if true, all stack values of the stacked bar entry are drawn, else only topsuffix - a string that should be appended behind the valuedecimals - the number of decimal digits to usepublic java.lang.String getBarStackedLabel(float value,
BarEntry entry)
ValueFormatterValueFormatter.getFormattedValue(float) by default.getBarStackedLabel in class ValueFormattervalue - current value to be formattedentry - stacked entry being labeled, contains all Y values