Package com.cmobilecom.af.model.chart
Class ChartSeries
- java.lang.Object
-
- com.cmobilecom.af.model.chart.ChartSeries
-
- All Implemented Interfaces:
java.io.Serializable
public class ChartSeries extends java.lang.Object implements java.io.Serializable
A chart series has a name and consists of a list of values.- Since:
- 5.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChartSeries(I18NName name)
ConstructorChartSeries(I18NName name, java.util.List<java.lang.Number> values)
Constructor with name and values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(java.lang.Number value)
Append a valueI18NName
getName()
Get series namejava.util.List<java.lang.Number>
getValues()
Get the series valuesvoid
setName(I18NName name)
Set series namevoid
setValues(java.util.List<java.lang.Number> values)
Set the series values
-
-
-
Method Detail
-
addValue
public void addValue(java.lang.Number value)
Append a value- Parameters:
value
- value
-
getName
public I18NName getName()
Get series name- Returns:
- name
-
setName
public void setName(I18NName name)
Set series name- Parameters:
name
- the series name to set
-
getValues
public java.util.List<java.lang.Number> getValues()
Get the series values- Returns:
- a list of values
-
setValues
public void setValues(java.util.List<java.lang.Number> values)
Set the series values- Parameters:
values
- a list of values
-
-