Last Updated: 3/4/97
Class NFBoxchart

Class NFBoxchart

public final class NFBoxchart extends NFDataChart 

Chart used to plot individual data points or streams of related points.

Instance Variables

Type Name Description Default
int boxHeight Box Height in pixels 0
int dataType Data value type RAW
Color medianColor Median Color Color.white
Color outlierColor Outlier Color null

Final Variables

Type Name Description
int RAW Data values must be processed to determine percentiles
int SUMMARY The first 5 data values represent the percentile values to be displayed, all others represent outliers

Constructors

Methods


NFBoxchart(Applet a)
Constructor for NFBoxchart class.

NFBoxchart(Applet a,
           int x,
           int y,
           int w,
           int h)
Constructor for NFBoxchart class.

protected void defineParams ()
Defines specific box chart parameters.

protected void drawData (Graphics g)
performs the box chart drawing operation.

protected double[] getMinMax (NFDataSeries ds,
                              NFAxis axis,
                              double minmax[])
Return the min/max for the given dataset

protected void initBoxchart()
creates the axes for the boxchart.

protected synchronized void loadParams () throws Exception
Loads box chart specific parameters

void reset()
reset causes the scaling and axes data to be recomputed.

void setDefaultAxis (NFAxis axis)
Configures the left axis so that all of the data sets are displayed.