Class AreaSeries

java.lang.Object
com.codename1.charts.models.AreaSeries

public class AreaSeries extends java.lang.Object
A series for the category charts like the radar ones.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new Category series to the table.
    void
    Removes all data.
    Returns an array of the Categories.
    int
    Returns the Categories count.
    Returns an array of the Series.
    int
    Returns the Series count.
    double
    getValue(int index, String category)
    Returns the value at the specific index and category.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AreaSeries

      public AreaSeries()
  • Method Details

    • addSeries

      public void addSeries(CategorySeries series)

      Adds a new Category series to the table.

      Parameters
      • series: the Category series to add
    • clear

      public void clear()
      Removes all data.
    • getCategoriesCount

      public int getCategoriesCount()

      Returns the Categories count.

      Returns

      the Categories count

    • getSeriesCount

      public int getSeriesCount()

      Returns the Series count.

      Returns

      the Series series count

    • getCategories

      public String[] getCategories()

      Returns an array of the Categories.

      Returns

      the Categories array

    • getSeries

      public String[] getSeries()

      Returns an array of the Series.

      Returns

      the Series array

    • getValue

      public double getValue(int index, String category)

      Returns the value at the specific index and category.

      Parameters
      • index: the index

      • category: the category

      Returns

      the value