public final class MatrixDataPoint extends AbstractDataPoint
Constructor and Description |
---|
MatrixDataPoint()
Creates the object with an empty native object.
|
MatrixDataPoint(Date x,
Date y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(Date x,
double y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(Date x,
String y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(double x,
Date y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(double x,
double y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(double x,
String y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(String x,
Date y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(String x,
double y,
double value)
Creates the object with the passed point values.
|
MatrixDataPoint(String x,
String y,
double value)
Creates the object with the passed point values.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Returns the value of matrix data point.
|
double |
getX()
Returns X value as double (for scatter and bubble datasets).
|
Date |
getXAsDate()
Returns X value as date for time series.
|
String |
getXAsString()
Returns X value as string.
|
ObjectType |
getXObjectType()
Returns the object type of data stored as X.
|
double |
getY()
Returns Y value.
|
Date |
getYAsDate()
Returns Y value as date for time series.
|
String |
getYAsString()
Returns Y value as string.
|
ObjectType |
getYObjectType()
Returns the object type of data stored as Y.
|
void |
setValue(double value)
Sets the value of matrix data point.
|
void |
setX(Date x)
Sets X value as date for time series.
|
void |
setX(double x)
Sets X value as double (for scatter and bubble datasets).
|
void |
setX(String x)
Sets X value as string.
|
void |
setY(Date y)
Sets Y value as date for time series.
|
void |
setY(double y)
Sets Y value.
|
void |
setY(String y)
Sets Y value as string.
|
getAttribute, getAttributeAsDate, getAttributeAsObject, getAttributeAsString, setAttribute, setAttribute, setAttribute, setAttribute
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public MatrixDataPoint()
public MatrixDataPoint(double x, double y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(Date x, double y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(String x, double y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(double x, Date y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(Date x, Date y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(String x, Date y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(double x, String y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic MatrixDataPoint(Date x, String y, double value)
x
- x value of data pointy
- y value of data pointvalue
- value of the data pointpublic ObjectType getXObjectType()
public ObjectType getYObjectType()
public void setX(double x)
x
- X value as doublepublic double getX()
public void setY(double y)
y
- Y value.public double getY()
public void setX(Date x)
x
- X value as date for time seriespublic Date getXAsDate()
null
if is not setpublic void setY(Date y)
y
- Y value as date for time seriespublic Date getYAsDate()
public void setX(String x)
x
- X value as stringpublic String getXAsString()
Undefined.STRING
if is not setpublic void setY(String y)
y
- Y value as stringpublic String getYAsString()
public void setValue(double value)
value
- the value of matrix data pointpublic double getValue()