AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.analysis.ChartItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DataItem, DataSet, Histogram2DData, HistogramData

public class ChartItem
extends java.lang.Object
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:
AnyLogic North America, LLC https://anylogic.com
See Also:
Serialized Form

Constructor Summary

Constructors 
ChartItem()  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
long getVersion()
Returns the version of this chart item.
void update()
Should be overridden and perform chart-dependent update.
By default does nothing.
Modifier and Type Method Description

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 incremented with each and any change of the item.
Returns:
the version of this chart item
How can we improve this article?