Class XYValueSeries
java.lang.Object
com.codename1.charts.models.XYSeries
com.codename1.charts.models.XYValueSeries
Deprecated.
An extension of the XY series which adds a third dimension. It is used for XY
charts like bubble.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(double x, double y) Deprecated.Adds a new value to the series.voidadd(double x, double y, double value) Deprecated.Adds a new value to the series.voidclear()Deprecated.Removes all the values from the series.doubleDeprecated.Returns the maximum value.doubleDeprecated.Returns the minimum value.doublegetValue(int index) Deprecated.Returns the value at the specified index.voidremove(int index) Deprecated.Removes an existing value from the series.Methods inherited from class XYSeries
add, addAnnotation, addAnnotation, clearAnnotations, clearSeriesValues, getAnnotationAt, getAnnotationCount, getAnnotationX, getAnnotationY, getIndexForKey, getItemCount, getMaxX, getMaxY, getMinX, getMinY, getPadding, getRange, getScaleNumber, getTitle, getX, getXYMap, getY, removeAnnotation, setTitle
-
Constructor Details
-
XYValueSeries
Deprecated.Builds a new XY value series.
Parameters
title: the series title.
-
-
Method Details
-
add
public void add(double x, double y, double value) Deprecated.Adds a new value to the series.
Parameters
-
x: the value for the X axis -
y: the value for the Y axis -
value: the value
-
-
add
-
remove
-
clear
-
getValue
public double getValue(int index) Deprecated.Returns the value at the specified index.
Parameters
index: the index
Returns
the value
-
getMinValue
public double getMinValue()Deprecated.Returns the minimum value.
Returns
the minimum value
-
getMaxValue
public double getMaxValue()Deprecated.Returns the maximum value.
Returns
the maximum value
-
com.codename1.ui.chartpackage instead.