Package com.anylogic.engine.analysis
- java.lang.Object
-
- com.anylogic.engine.analysis.ChartItem
-
- com.anylogic.engine.analysis.DataItem
- All Implemented Interfaces:
java.io.Serializable
public class DataItem extends ChartItem
A chart item that contains a single scalar value of type double.
- Author:
- AnyLogic North America, LLC https://anylogic.com
- See Also:
- Serialized Form
DataItem() |
|
Constructor | Description |
---|
java.util.List<java.util.List<java.lang.Object>> |
getPlainDataTable() |
|
double |
getValue() |
Returns the value of the data item
|
void |
setValue(double val) |
Sets the value of the data item.
|
java.lang.String |
toString() |
Returns the textual representation of the data item -
the formatted value.
|
void |
update() |
Should be overridden and call setValue(...) if the user has
specified the value for item.
|
Modifier and Type | Method | Description |
---|
getVersion
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public DataItem()
public void setValue(double val)
Sets the value of the data item.
- Parameters:
val
- the new value of the data item
public final double getValue()
Returns the value of the data item
- Returns:
- the value of the data item
public java.lang.String toString()
Returns the textual representation of the data item -
the formatted value.
- Overrides:
toString
in classjava.lang.Object
- Returns:
- the formatted value
@AnyLogicInternalAPI public java.util.List<java.util.List<java.lang.Object>> getPlainDataTable()
public void update()
Should be overridden and call setValue(...) if the user has
specified the value for item.
By default does nothing.
-
How can we improve this article?
-