# 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 Summary

  Constructors
  Constructor
  Description
  `AreaSeries()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addSeries(CategorySeries series)`
  Adds a new Category series to the table.
  `void`
  `clear()`
  Removes all data.
  `String[]`
  `getCategories()`
  Returns an array of the Categories.
  `int`
  `getCategoriesCount()`
  Returns the Categories count.
  `String[]`
  `getSeries()`
  Returns an array of the Series.
  `int`
  `getSeriesCount()`
  Returns the Series count.
  `double`
  `getValue(int index, String category)`
  Returns the value at the specific index and category.

  ### Methods inherited from class 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