Class

ac.Value2D

Represents a value which consists of two attributes, e.g. a point on a 2D line chart. For convenience, this class contains several static creation methods with all supported combinations of parameters.

Summary

Methods
Value2D(x, y)
create(value1, value2)
createStrFloat(value1, value2)
equals(other)
getAttribute(column)
getX()
getY()
toString()

Method detail

Value2D(x, y)

Constructs a new ac.Value2D instance with passed parameters.

Parameters

* x (ac.DataType or greater) * y (ac.DataType or greater)

create(value1, value2)

Creates a new ac.Value2D with passed parameters.

Parameters

* value1 (ac.DataType) * value2 (ac.DataType)

Returns

* ac.Value2D

createStrFloat(value1, value2)

Creates a new ac.Value2D with passed parameters.

Parameters

* value1 (integer) * value2 (numeric)

Returns

* ac.Value2D

equals(other)

Checks whether this ac.Value2D is equals to the other.

Parameters

* other (ac.Value2D)

Returns

* boolean value

getAttribute(column)

PARAMETERS

Returns

* ac.DataType

getX()

RETURN VALUE

getY()

RETURN VALUE

toString()

Returns

* text value