Package org.zkoss.chart
Class LangAxis
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.LangAxis
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class LangAxis extends Optionable
Axis description format strings for lang accessibility.- 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 LangAxis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRangeCategories()
Default:"Data range: {numCategories} categories."
String
getRangeFromTo()
Default:"Data ranges from {rangeFrom} to {rangeTo}."
String
getTimeRangeDays()
Default:"Data range: {range} days."
String
getTimeRangeHours()
Default:"Data range: {range} hours."
String
getTimeRangeMinutes()
Default:"Data range: {range} minutes."
String
getTimeRangeSeconds()
Default:"Data range: {range} seconds."
String
getXAxisDescriptionPlural()
Default:"The chart has {numAxes} X axes displaying {#each(names, -1), }and {names[-1]}."
String
getXAxisDescriptionSingular()
Default:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}"
String
getYAxisDescriptionPlural()
Default:"The chart has {numAxes} Y axes displaying {#each(names, -1), }and {names[-1]}."
String
getYAxisDescriptionSingular()
Default:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}"
void
setRangeCategories(String rangeCategories)
void
setRangeFromTo(String rangeFromTo)
void
setTimeRangeDays(String timeRangeDays)
void
setTimeRangeHours(String timeRangeHours)
void
setTimeRangeMinutes(String timeRangeMinutes)
void
setTimeRangeSeconds(String timeRangeSeconds)
void
setXAxisDescriptionPlural(String xAxisDescriptionPlural)
void
setXAxisDescriptionSingular(String xAxisDescriptionSingular)
void
setYAxisDescriptionPlural(String yAxisDescriptionPlural)
void
setYAxisDescriptionSingular(String yAxisDescriptionSingular)
-
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
-
getRangeCategories
public String getRangeCategories()
Default:
"Data range: {numCategories} categories."
-
setRangeCategories
public void setRangeCategories(String rangeCategories)
-
getRangeFromTo
public String getRangeFromTo()
Default:
"Data ranges from {rangeFrom} to {rangeTo}."
-
setRangeFromTo
public void setRangeFromTo(String rangeFromTo)
-
getTimeRangeDays
public String getTimeRangeDays()
Default:
"Data range: {range} days."
-
setTimeRangeDays
public void setTimeRangeDays(String timeRangeDays)
-
getTimeRangeHours
public String getTimeRangeHours()
Default:
"Data range: {range} hours."
-
setTimeRangeHours
public void setTimeRangeHours(String timeRangeHours)
-
getTimeRangeMinutes
public String getTimeRangeMinutes()
Default:
"Data range: {range} minutes."
-
setTimeRangeMinutes
public void setTimeRangeMinutes(String timeRangeMinutes)
-
getTimeRangeSeconds
public String getTimeRangeSeconds()
Default:
"Data range: {range} seconds."
-
setTimeRangeSeconds
public void setTimeRangeSeconds(String timeRangeSeconds)
-
getXAxisDescriptionPlural
public String getXAxisDescriptionPlural()
Default:
"The chart has {numAxes} X axes displaying {#each(names, -1), }and {names[-1]}."
-
setXAxisDescriptionPlural
public void setXAxisDescriptionPlural(String xAxisDescriptionPlural)
-
getXAxisDescriptionSingular
public String getXAxisDescriptionSingular()
Default:
"The chart has 1 X axis displaying {names[0]}. {ranges[0]}"
-
setXAxisDescriptionSingular
public void setXAxisDescriptionSingular(String xAxisDescriptionSingular)
-
getYAxisDescriptionPlural
public String getYAxisDescriptionPlural()
Default:
"The chart has {numAxes} Y axes displaying {#each(names, -1), }and {names[-1]}."
-
setYAxisDescriptionPlural
public void setYAxisDescriptionPlural(String yAxisDescriptionPlural)
-
getYAxisDescriptionSingular
public String getYAxisDescriptionSingular()
Default:
"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}"
-
setYAxisDescriptionSingular
public void setYAxisDescriptionSingular(String yAxisDescriptionSingular)
-
-