Class AreaSeries
java.lang.Object
com.codename1.charts.models.AreaSeries
A series for the category charts like the radar ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSeries(CategorySeries series) Adds a new Category series to the table.voidclear()Removes all data.String[]Returns an array of the Categories.intReturns the Categories count.String[]Returns an array of the Series.intReturns the Series count.doubleReturns the value at the specific index and category.
-
Constructor Details
-
AreaSeries
public AreaSeries()
-
-
Method Details
-
addSeries
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
Returns an array of the Categories.
Returns
the Categories array
-
getSeries
Returns an array of the Series.
Returns
the Series array
-
getValue
Returns the value at the specific index and category.
Parameters
-
index: the index -
category: the category
Returns
the value
-
-