Package com.anylogic.engine.analysis
- java.lang.Object
- com.anylogic.engine.analysis.ChartItem
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BasicDataSet
,DataItem
,Histogram2DData
,HistogramData
public class ChartItem extends Object implements 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:
- AnyLogic North America, LLC https://anylogic.com
- See Also:
- Serialized Form
Constructor | Description |
---|---|
ChartItem() |
Modifier and Type | Method | Description |
---|---|---|
long | getVersion() |
Returns the version of this chart item.
|
void | update() |
Should be overridden and perform chart-dependent update.
By default does nothing. |
public ChartItem()
public void update()
Should be overridden and perform chart-dependent update.
By default does nothing.
By default does nothing.
public long getVersion()
Returns the version of this chart item. The version is incremented
with each and any change of the item.
- Returns:
- the version of this chart item