Class PieDonutData<T extends Number>

Type Parameters:
T - the generic type
All Implemented Interfaces:
Serializable, ChartData<Collection<Collection<LabeledItem<T>>>>

public class PieDonutData<T extends Number> extends AbstractCollectionData<Collection<LabeledItem<T>>>
Data Helper to build Pie Donut Charts.
Author:
inaiat
See Also:
  • Constructor Details

    • PieDonutData

      public PieDonutData()
  • Method Details

    • toJsonString

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

      public Collection<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