Class MultipleCategorySeries
java.lang.Object
com.codename1.charts.models.MultipleCategorySeries
Deprecated.
A series for the multiple category charts like the doughnut.
-
Constructor Summary
ConstructorsConstructorDescriptionMultipleCategorySeries(String title) Deprecated.Builds a new category series. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds a new value to the seriesvoidDeprecated.Adds a new value to the series.voidclear()Deprecated.Removes all the existing values from the series.intDeprecated.Returns the categories count.getCategory(int index) Deprecated.Returns the category name at the specified index.intgetItemCount(int index) Deprecated.Returns the series item count.String[]getTitles(int index) Deprecated.Returns the series titles.double[]getValues(int index) Deprecated.Returns the values at the specified index.voidremove(int index) Deprecated.Removes an existing value from the series.Deprecated.Transforms the category series to an XY series.
-
Constructor Details
-
MultipleCategorySeries
Deprecated.Builds a new category series.
Parameters
title: the series title
-
-
Method Details
-
add
Deprecated.Adds a new value to the series
Parameters
-
titles: the titles to be used as labels -
values: the new value
-
-
add
-
remove
public void remove(int index) Deprecated.Removes an existing value from the series.
Parameters
index: the index in the series of the value to remove
-
clear
public void clear()Deprecated.Removes all the existing values from the series. -
getValues
public double[] getValues(int index) Deprecated.Returns the values at the specified index.
Parameters
index: the index
Returns
the value at the index
-
getCategory
Deprecated.Returns the category name at the specified index.
Parameters
index: the index
Returns
the category name at the index
-
getCategoriesCount
public int getCategoriesCount()Deprecated.Returns the categories count.
Returns
the categories count
-
getItemCount
public int getItemCount(int index) Deprecated.Returns the series item count.
Parameters
index: the index
Returns
the series item count
-
getTitles
Deprecated.Returns the series titles.
Parameters
index: the index
Returns
the series titles
-
toXYSeries
Deprecated.Transforms the category series to an XY series.
Returns
the XY series
-
com.codename1.ui.chartpackage instead.