Class AreaSeries

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

public class AreaSeries extends Object
A series for the category charts like the radar ones.
  • 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