Package org.zkoss.chart
Class LangAnnounceNewData
- java.lang.Object
-
- org.zkoss.chart.Optionable
-
- org.zkoss.chart.LangAnnounceNewData
-
- All Implemented Interfaces:
Serializable
,OptionDataListener
,org.zkoss.json.JSONAware
public class LangAnnounceNewData extends Optionable
Default announcement for new data in charts. If addPoint or addSeries is used, and only one series/point is added, thenewPointAnnounce
andnewSeriesAnnounce
strings are used. The...Single
versions will be used if there is only one chart on the page, and the...Multiple
versions will be used if there are multiple charts on the page. For all other new data events, thenewDataAnnounce
string will be used.- 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 LangAnnounceNewData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNewDataAnnounce()
Default:"Updated data for chart {chartTitle}"
String
getNewPointAnnounceMultiple()
Default:"New data point in chart {chartTitle}: {pointDesc}"
String
getNewPointAnnounceSingle()
Default:"New data point: {pointDesc}"
String
getNewSeriesAnnounceMultiple()
Default:"New data series in chart {chartTitle}: {seriesDesc}"
String
getNewSeriesAnnounceSingle()
Default:"New data series: {seriesDesc}"
void
setNewDataAnnounce(String newDataAnnounce)
void
setNewPointAnnounceMultiple(String newPointAnnounceMultiple)
void
setNewPointAnnounceSingle(String newPointAnnounceSingle)
void
setNewSeriesAnnounceMultiple(String newSeriesAnnounceMultiple)
void
setNewSeriesAnnounceSingle(String newSeriesAnnounceSingle)
-
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
-
getNewDataAnnounce
public String getNewDataAnnounce()
Default:
"Updated data for chart {chartTitle}"
-
setNewDataAnnounce
public void setNewDataAnnounce(String newDataAnnounce)
-
getNewPointAnnounceMultiple
public String getNewPointAnnounceMultiple()
Default:
"New data point in chart {chartTitle}: {pointDesc}"
-
setNewPointAnnounceMultiple
public void setNewPointAnnounceMultiple(String newPointAnnounceMultiple)
-
getNewPointAnnounceSingle
public String getNewPointAnnounceSingle()
Default:
"New data point: {pointDesc}"
-
setNewPointAnnounceSingle
public void setNewPointAnnounceSingle(String newPointAnnounceSingle)
-
getNewSeriesAnnounceMultiple
public String getNewSeriesAnnounceMultiple()
Default:
"New data series in chart {chartTitle}: {seriesDesc}"
-
setNewSeriesAnnounceMultiple
public void setNewSeriesAnnounceMultiple(String newSeriesAnnounceMultiple)
-
getNewSeriesAnnounceSingle
public String getNewSeriesAnnounceSingle()
Default:
"New data series: {seriesDesc}"
-
setNewSeriesAnnounceSingle
public void setNewSeriesAnnounceSingle(String newSeriesAnnounceSingle)
-
-