Package org.pepstock.charba.client
Class Configuration
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.Configuration
-
public final class Configuration extends NativeObjectContainer
This is the configuration object of a chart.
It contains always the type, options, plugins and data.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setData(NativeObject data)
Sets the data of chart by thedata
property in the native object.void
setOptions(NativeObject options)
Sets the options of chart by theoptions
property in the native object.void
setPlugins(ArrayObject plugins)
Sets the inline plugins of chart by theplugins
property in the native object.-
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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Method Detail
-
setOptions
public void setOptions(NativeObject options)
Sets the options of chart by theoptions
property in the native object.- Parameters:
options
- options of chart as native object.
-
setData
public void setData(NativeObject data)
Sets the data of chart by thedata
property in the native object.- Parameters:
data
- data of chart as native object.
-
setPlugins
public void setPlugins(ArrayObject plugins)
Sets the inline plugins of chart by theplugins
property in the native object.- Parameters:
plugins
- inline plugins of chart as array of plugin native object.
-
-