public class AreaSeries
- Object
- AreaSeries
A series for the category charts like the radar ones.
Constructors
public AreaSeries() |
Methods
public synchronized void addSeries(CategorySeries series) | Adds a new Category series to the table. |
public synchronized void clear() | Removes all data. |
public synchronized int getCategoriesCount() | Returns the Categories count. |
public synchronized int getSeriesCount() | Returns the Series count. |
public synchronized String[] getCategories() | Returns an array of the Categories. |
public synchronized String[] getSeries() | Returns an array of the Series. |
public synchronized double getValue(int index, String category) | Returns the value at the specific index and category. |
Inherited methods
Constructor details
AreaSeries
public AreaSeries()Method details
addSeries
public synchronized void addSeries(CategorySeries series)Adds a new Category series to the table.
Parameters
seriesCategorySeries- the Category series to add
clear
public synchronized void clear()Removes all data.
getCategoriesCount
public synchronized int getCategoriesCount()Returns the Categories count.
Returns
the Categories count
getSeriesCount
public synchronized int getSeriesCount()Returns the Series count.
Returns
the Series series count
getCategories
public synchronized String[] getCategories()Returns an array of the Categories.
Returns
the Categories array
getSeries
public synchronized String[] getSeries()Returns an array of the Series.
Returns
the Series array
getValue
public synchronized double getValue(int index, String category)Returns the value at the specific index and category.
Parameters
indexint- the index
categoryString- the category
Returns
the value