public interface BarChart
| Modifier and Type | Method and Description |
|---|---|
java.awt.Paint |
getBarPaint(int index)
Returns the paint for the bar with the given index.
|
java.lang.String |
getLabel(int index)
Returns the label for the bar with the given index.
|
int |
getNumBars()
Returns the number of bars
|
double |
getValue(int index)
Returns the value of the specified bar
|
java.lang.String |
getValueString(int index)
Returns the string showing the value for the bar with the
given index.
|
int getNumBars()
double getValue(int index)
index - The index of the barjava.lang.IndexOutOfBoundsException - May be thrown if the index is
smaller than 0 or not smaller than getNumBars()java.lang.String getValueString(int index)
null, then no value
string will be painted.index - The index of the barjava.lang.IndexOutOfBoundsException - May be thrown if the index is
smaller than 0 or not smaller than getNumBars()java.lang.String getLabel(int index)
null, then no label will be painted.index - The index of the barjava.lang.IndexOutOfBoundsException - May be thrown if the index is
smaller than 0 or not smaller than getNumBars()java.awt.Paint getBarPaint(int index)
null, then the respective bar will not be painted.index - The index of the barjava.lang.IndexOutOfBoundsException - May be thrown if the index is
smaller than 0 or not smaller than getNumBars()Copyright © 2018. All Rights Reserved.