Package org.zkoss.chart
Class LangLegend
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.LangLegend
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class LangLegend extends Optionable
Language options for accessibility of the legend.- Since:
- 10.2.1.0
- 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 LangLegend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLegendItem()
Default:"Show {itemName}"
String
getLegendLabel()
Default:"Chart legend: {legendTitle}"
String
getLegendLabelNoTitle()
Default:"Toggle series visibility, {chartTitle}."
void
setLegendItem(String legendItem)
void
setLegendLabel(String legendLabel)
void
setLegendLabelNoTitle(String legendLabelNoTitle)
-
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
-
getLegendItem
public String getLegendItem()
Default:
"Show {itemName}"
-
setLegendItem
public void setLegendItem(String legendItem)
-
getLegendLabel
public String getLegendLabel()
Default:
"Chart legend: {legendTitle}"
-
setLegendLabel
public void setLegendLabel(String legendLabel)
-
getLegendLabelNoTitle
public String getLegendLabelNoTitle()
Default:
"Toggle series visibility, {chartTitle}."
-
setLegendLabelNoTitle
public void setLegendLabelNoTitle(String legendLabelNoTitle)
-
-