Package org.wicketstuff.jqplot.lib.data
Class LinedData<T extends Number>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.data.AbstractCollectionData<T>
-
- org.wicketstuff.jqplot.lib.data.LinedData<T>
-
- Type Parameters:
T- Type of number. Ex.: Double, Integer, Float, etc.
- All Implemented Interfaces:
Serializable,ChartData<Collection<T>>
public class LinedData<T extends Number> extends AbstractCollectionData<T>
Data Helper to build Line Charts.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>getData()Gets the data.intsize()Gets the size of the data.StringtoJsonString()To json string.-
Methods inherited from class org.wicketstuff.jqplot.lib.data.AbstractCollectionData
addValue, addValues, addValues
-
-
-
-
Constructor Detail
-
LinedData
public LinedData()
Instantiates a new lined data.
-
LinedData
public LinedData(T... values)
Instantiates a new lined data.- Parameters:
values- the values
-
-
Method Detail
-
getData
public Collection<T> getData()
Description copied from interface:ChartDataGets the data.- Returns:
- the data
-
size
public int size()
Gets the size of the data.- Returns:
- the data
-
-