Last Updated: 3/4/97
Class NFTimeChart

Class NFTimeChart

public final class NFTimeChart extends NFDataChart

Chart used to display sets of time-based activities. Each data set defined is displayed as a horizontal line of boxes, each with a starting and ending time. The top axis may be optionally scrolled and zoomed to show any subset of the assigned times.

Constructors

Methods


NFTimeChart(Applet a)
Constructor for NFTimeChart class.

NFTimeChart(Applet a,
            int x,
            int y,
            int w,
            int h)
Constructor for NFTimeChart class. The chart is reshaped to the given coordinates.

protected void defineParams ()
Define all specific parameters for the time chart This extends NFDataChart.defineParams()

protected void drawData (Graphics g)
Draw all of the datasets defined

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

protected void initTimeChart()
Initializes the time chart

protected synchronized void loadParams () throws Exception
Loads all specific parameters for the time chart

protected void reset()
Reset all display properties in preparation for drawing

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

void setDefaultGrid()
Overrides the data chart's default grid.