marvin.statistic
Class MarvinBarChart

java.lang.Object
  extended by marvin.statistic.MarvinBarChart

public class MarvinBarChart
extends java.lang.Object

Bar Chart.


Field Summary
static int ORIGINAL_BAR_COLOR
           
static int SEQUENTIAL_BAR_COLOR
           
 
Constructor Summary
MarvinBarChart(java.lang.String desc)
           
 
Method Summary
 void addEntry(MarvinBarChartEntry entry)
           
 void draw(int px, int py, int width, int height, java.awt.Graphics graphics)
           
 java.awt.image.BufferedImage getImage(int width, int height)
           
 void setBarsColor(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORIGINAL_BAR_COLOR

public static final int ORIGINAL_BAR_COLOR
See Also:
Constant Field Values

SEQUENTIAL_BAR_COLOR

public static final int SEQUENTIAL_BAR_COLOR
See Also:
Constant Field Values
Constructor Detail

MarvinBarChart

public MarvinBarChart(java.lang.String desc)
Method Detail

addEntry

public void addEntry(MarvinBarChartEntry entry)

setBarsColor

public void setBarsColor(int type)

draw

public void draw(int px,
                 int py,
                 int width,
                 int height,
                 java.awt.Graphics graphics)

getImage

public java.awt.image.BufferedImage getImage(int width,
                                             int height)