Package org.wicketstuff.jqplot.lib.data
Class PieData<T extends Number>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.data.AbstractCollectionData<LabeledItem<T>>
-
- org.wicketstuff.jqplot.lib.data.PieData<T>
-
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
Serializable,ChartData<Collection<LabeledItem<T>>>
public class PieData<T extends Number> extends AbstractCollectionData<LabeledItem<T>>
Data Helper to build Pie Charts.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PieData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<LabeledItem<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
-
-
-
-
Method Detail
-
toJsonString
public String toJsonString()
Description copied from interface:ChartDataTo json string.- Returns:
- the string
-
getData
public Collection<LabeledItem<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
-
-