All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
   |
   +----MSBChart.ChartComponent
           |
           +----MSBChart.Plotter
                   |
                   +----MSBChart.BarPlotter
Plotter used to draw a bar chart. It only admits DataSeries of type BarDataSerie.
Example:
MSBChart.BarPlotter plot=new BarPlotter();
plot.interBarSpace=1;plot.addSerie(data2);
plot.addSerie(data1);

 
 barWidth
	barWidth
   cumulative
	cumulative
   interBarSpace
	interBarSpace
   InterGroupSpace
	InterGroupSpace
   verticalBars
	verticalBars
   
 BarPlotter()
	BarPlotter()
   
 addSerie(DataSerie)
	addSerie(DataSerie)
   
 verticalBars
verticalBars
public boolean verticalBars
this fields indicates whether bars (horizontal) or columns (vertical) should be used.
 barWidth
barWidth
public int barWidth
Width of the bar. This will be automatically calculated if not specified (pixels).
 interBarSpace
interBarSpace
public int interBarSpace
space between two bars (pixels).
 InterGroupSpace
InterGroupSpace
public double InterGroupSpace
space between two groups of bars (pixels). This will be automatically calculated if not specified.
 cumulative
cumulative
public boolean cumulative
If true the bars will be display on the top of each other to create a stack bar chart.
 
 BarPlotter
BarPlotter
public BarPlotter()
 
 addSerie
addSerie
public void addSerie(DataSerie s)
adds a serie to the plotter. Only BarDataSerie are allowed.
All Packages Class Hierarchy This Package Previous Next Index