org.ujac.chart
Class RealtimeChartModel

java.lang.Object
  extended by org.ujac.chart.DefaultChartModel
      extended by org.ujac.chart.RealtimeChartModel
All Implemented Interfaces:
ChartModel

public class RealtimeChartModel
extends DefaultChartModel

Name: RealtimeChartModel
Description: A ChartModel implementation for real time charts.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.chart.DefaultChartModel
areaLabels, chartData, maxValue, minValue, segmentLabels, title
 
Constructor Summary
RealtimeChartModel(int numValues)
          Constructs a RealtimeChartModel instance with no specific attributes.
 
Method Summary
 void addValue(double[] values)
          Adds a set of values to the chart data.
 
Methods inherited from class org.ujac.chart.DefaultChartModel
getAreaLabels, getChartData, getMaxValue, getMinValue, getNumAreas, getNumSegments, getSegmentLabels, getTitle, setAreaLabels, setChartData, setMaxValue, setMinValue, setSegmentLabels, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealtimeChartModel

public RealtimeChartModel(int numValues)
Constructs a RealtimeChartModel instance with no specific attributes.

Parameters:
numValues - The number of values to plot
Method Detail

addValue

public void addValue(double[] values)
Adds a set of values to the chart data.

Parameters:
values - The value set to add.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.