com.jpowered.vbgraph
Class Xlabelobject

java.lang.Object
  |
  +--com.jpowered.vbgraph.Xlabelobject
All Implemented Interfaces:
java.io.Serializable

public class Xlabelobject
extends java.lang.Object
implements java.io.Serializable

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)

See Also:
VerticalBarGraph, Serialized Form

Constructor 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

Xlabelobject

public Xlabelobject()
Creates a new X Labels Object
Method Detail

setXlabels

public void setXlabels(java.lang.String value)
Sets labels for the X Labels object
The value contains all the labels seperated by a comma character


Parameters:
value - java.lang.String

setCharsep

public 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. a # character).

Parameters:
value - java.lang.String