Interface BarColumn
public interface BarColumn
The bar column interface for the Bar Chart Class
- Author:
- shishlo created October 10, 2005
-
Method Summary
Modifier and TypeMethodDescriptiongetColor
(int index) Returns the color for the line inside the barmarker()
Returns a marker for this barboolean
show()
Returns true if user wants to see the barboolean
show
(int index) Returns true if user wants to see the line with this indexint
size()
double
value
(int index) Returns the value for the line hight inside the bar
-
Method Details
-
size
int size()- Returns:
- Returns number of lines inside this bar
-
show
boolean show(int index) Returns true if user wants to see the line with this index- Parameters:
index
- The index of the line inside the bar- Returns:
- True (or false) if user (does not ) wants to see the line with this index
-
show
boolean show()Returns true if user wants to see the bar- Returns:
- True (or false) if user (does not ) wants to see the column
-
value
double value(int index) Returns the value for the line hight inside the bar- Parameters:
index
- The index of the line inside the bar- Returns:
- The value for the line hight inside the bar
-
getColor
Returns the color for the line inside the bar- Parameters:
index
- The index of the line inside the bar- Returns:
- The value for the line hight inside the bar
-
marker
String marker()Returns a marker for this bar- Returns:
- The string with marker
-