Package org.zkoss.chart
Class Options
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.Options
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class Options extends Optionable
The global options for Highcharts- Author:
- jumperchen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.zkoss.chart.Optionable
NOT_NULL_VALUE, options
-
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Global
getGlobal()
Returns Global optionsLang
getLang()
Returns the Language optionsvoid
setGlobal(Global global)
Sets the Global object.void
setLang(Lang lang)
Sets the Language object.-
Methods inherited from class org.zkoss.chart.Optionable
addExtraAttr, addOptionDataListener, clearOptonDataListener, clone, containsKey, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getAttr, getAttr, getClientState, getExtraAttr, merge, onChange, removeExtraAttr, removeKey, removeOptionDataListener, setAttr, setAttr, setAttr, setAttr, toJSONString, toString
-
-
-
-
Method Detail
-
setGlobal
public void setGlobal(Global global)
Sets the Global object. The Global object is global and it can't be set on each chart initiation. Instead, useCharts.setOptions(Options)
to set it before any chart is initiated.
-
getGlobal
public Global getGlobal()
Returns Global options
-
setLang
public void setLang(Lang lang)
Sets the Language object. The language object is global and it can't be set on each chart initiation. Instead, useCharts.setOptions(Options)
to set it before any chart is initiated.
-
getLang
public Lang getLang()
Returns the Language options
-
-