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

    • LinedData

      public LinedData()
      Instantiates a new lined data.
    • LinedData

      public LinedData(T... values)
      Instantiates a new lined data.
      Parameters:
      values - the values
  • Method Details

    • getData

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

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