com.xj.anylogic.engine.analysis
Class ChartItem

java.lang.Object
  extended by com.xj.anylogic.engine.internal.CSVDataProvider
      extended by com.xj.anylogic.engine.analysis.ChartItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataItem, DataSet, Histogram2DData, HistogramData

public class ChartItem
extends com.xj.anylogic.engine.internal.CSVDataProvider
implements java.io.Serializable

An item that holds data and can be displayed by a chart (a unit of what can be displayed by the chart). Can be a single scalar value or a set of values. This base class just has an update() method.

Author:
XJ Technologies Company Ltd. www.anylogic.com
See Also:
Serialized Form

Constructor Summary
ChartItem()
           
 
Method Summary
 long getVersion()
          Returns the version of this chart item.
 void update()
          Should be overridden and perform chart-dependent update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartItem

public ChartItem()
Method Detail

update

public void update()
Should be overridden and perform chart-dependent update.
By default does nothing.


getVersion

public long getVersion()
Returns the version of this chart item. The version is incremeted with each and any change of the item.

Returns:
the version of this chart item


Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.