Class ParsedData
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.callbacks.ParsedData
-
- All Implemented Interfaces:
IsPoint
public final class ParsedData extends NativeObjectContainer implements IsPoint
Represents the parsed data values for the given data index and dataset index.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getR()
Returns value as double (forScaleType.SINGLE
).ScaleType
getType()
Returns the type of data are stored in the parsed data.double
getValue()
Returns value as double (forScaleType.NONE
).double
getX()
Returns X value as double (forScaleType.MULTI
).double
getY()
Returns Y value as double (forScaleType.MULTI
).String
toString()
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, 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, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.commons.IsPoint
isConsistent
-
-
-
-
Method Detail
-
getX
public double getX()
Returns X value as double (forScaleType.MULTI
).- Specified by:
getX
in interfaceIsPoint
- Returns:
- X value as double (for
ScaleType.MULTI
)
-
getY
public double getY()
Returns Y value as double (forScaleType.MULTI
).- Specified by:
getY
in interfaceIsPoint
- Returns:
- Y value as double (for
ScaleType.MULTI
)
-
getR
public double getR()
Returns value as double (forScaleType.SINGLE
).- Returns:
- value as double (for
ScaleType.SINGLE
)
-
getValue
public double getValue()
Returns value as double (forScaleType.NONE
).- Returns:
- value as double (for
ScaleType.NONE
)
-
getType
public ScaleType getType()
Returns the type of data are stored in the parsed data.- Returns:
- the type of data are stored in the parsed data
-
-