|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jpowered.vbgraph.Xlabelobject
The X Labels object defines the labels along the x-axis of the chart display.
The following code demostrates how to create an X Labels object with 12 labels:-
Xlabelobject xaxislabels_object = new Xlabelobject();
xaxislabels_object.setXlabels("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec");
The value contains all the labels seperated by a comma character
The X Labels Object is then added to the Vertical Bar Graph bean with via the method:-
setXlabelobj(Xlabelobject xlabel_obj)
VerticalBarGraph
, Serialized FormConstructor Summary | |
Xlabelobject()
Creates a new X Labels Object |
Method Summary | |
void |
setCharsep(java.lang.String value)
Sets character to be used as the label seperator By default this will be a comma character, however if for instance one or more labels contain a comma, then it would be desirable to change the seperator to something other than a comma (eg. |
void |
setXlabels(java.lang.String value)
Sets labels for the X Labels object The value contains all the labels seperated by a comma character |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Xlabelobject()
Method Detail |
public void setXlabels(java.lang.String value)
value
- java.lang.Stringpublic void setCharsep(java.lang.String value)
value
- java.lang.String
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |