Class PieData<T extends Number>

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:
  • Constructor Details

    • PieData

      public PieData()
  • Method Details

    • toJsonString

      public String toJsonString()
      Description copied from interface: ChartData
      To json string.
      Returns:
      the string
    • getData

      public Collection<LabeledItem<T>> getData()
      Description copied from interface: ChartData
      Gets the data.
      Returns:
      the data
    • size

      public int size()
      Gets the size of the data.
      Returns:
      the data