public final class DataPoint extends JavaScriptObjectContainer
Constructor and Description |
---|
DataPoint() |
Modifier and Type | Method and Description |
---|---|
double |
getAttribute(java.lang.String key)
Returns a custom field value from data point.
|
double |
getR()
Returns the bubble radius in pixels (not scaled).
|
java.util.Date |
getT()
Returns T value, is the date for time series.
|
double |
getX()
Returns X value.
|
double |
getY()
Returns Y value.
|
void |
setAttribute(java.lang.String key,
double value)
Sets a custom field to data point.
|
void |
setR(double r)
Sets the bubble radius in pixels (not scaled).
It is not scaled by the chart, it is the raw radius in pixels of the bubble that is drawn on the canvas. |
void |
setT(java.util.Date t)
Sets T value, is the date for time series.
|
void |
setX(double x)
Sets X value.
|
void |
setY(double y)
Sets Y value.
|
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public void setX(double x)
x
- X value.public double getX()
public void setY(double y)
y
- Y value.public double getY()
public void setR(double r)
r
- the bubble radius in pixels (not scaled).public double getR()
public void setT(java.util.Date t)
t
- T value.public java.util.Date getT()
null
is not set.public void setAttribute(java.lang.String key, double value)
key
- key of java script object to set.value
- value to set.public double getAttribute(java.lang.String key)
key
- key of java script object to get.Double.MIN_VALUE
.